Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

No possibility to update model attributes with a block syntax?

Postgres JSON field update with ActiveRecord

Rails: `includes` a `has_many` relation with `limit`

Find records with multiple foreign key values in Rails

Know what event triggered the after_commit of an ActiveRecord model

rails active record has_many foreign key after custom function

Rails Active Record Instance Variables

Nested Object w/ Checkboxes - mass-assignment even with accepts_nested_attributes_for?

User specified dynamic model fields in Rails

Find all objects with broken association

find_or_create race conditions

Rails 3 ActiveRecord .skip_callback thread safety

FactoryGirl before(:create) callback not creating associations

Rails transactions within transactions?

How do I get this complex query?

NameError: uninitialized constant ActiveRecord::Migrator::Zlib

ruby activerecord sinatra

`form_for` is bypassing model accessors. How to make it stop? (Or: How to make a custom attribute serializer?)

ActiveRecord::Relation.concat failing in Rails 5

:has_many :through associations two levels deep

Rails 3 default scope, scope with override