Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

What is the purpose of views' predefinitions in dump file

undefined method `spec' for #<ActiveRecord::ConnectionAdapters::NullPool:0x00007fd44f8ab300> - Rails 6 schema:load

rails xml to active record object

find_or_create_by multiple attributes not finding records when called in context of belongs_to object (AR bug in 2.3.11?)

does ruby on rails automatically lock active record associations when locking the active record?

Saving join attributes through a has_many :through with :conditions

Eager loading association but limit return

Is it possible to access a child object from the errors on an active record parent?

Active Record has_many generates sql with foreign key IS NULL

Yii - Multiple relations to the same model

Postgresql table values don't match Ruby on Rails Active Record query results

activerecord preloading causing after-effect performance degredation

Models not reloading in development in Rails (3.2.11) project

Active Model Serializer and Custom JSON Structure

Getting the SQL from a Rails Migration

Rails: No connection pool for ActiveRecord::Base

Why doesn't Rails' "errors.full_messages" replace attribute and message variables?

How can I use Mongoid and ActiveRecord in parallel in Rails 3?

Rails validating values in array