Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

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

Rails has_many :through with conditions and building associations

Identifying whether record/object is dirty in Rails

Why does ActiveRecord return fields encoded as ASCII-8BIT even with mysql2 gem?

using paper trail, getting the difference with object_changes?

Rails Override Save To Perform Selective Update

How to increase ActiveRecord connection timeout?

MVC: Correct pattern to reference objects from a different model