Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Rails attr_readonly doesn't work

ActiveRecord converts symbol keys to strings when serializing my hash

Triggering dependent: :destroy with overridden destroy-method

How can I validate that has_many relations are not changed

How can I access an ActiveRecord grandparent association through a parent association that has not yet been saved?

Rails joins with limit on association

ActiveRecord - Finding all objects with shared attributes in a join model

ruby activerecord

How do I define a relationship between activerecord and activeresource using foreign keys?

Rails Reaper not working

"TypeError: no implicit conversion of nil into String" when eager loading results

How do you get a list from complex active record has_many involved from a subset of downstream objects

Rails ActiveRecord: Is a combined :include and :conditions query possible?

How to copy a (Active)record between tables, partially?

Rails ActiveRecord group results into sub-collections by date

Multiple has_many :through

Active Record order by group size

Efficiently bulk-updating in ActiveRecord?

Why ActiveRecord automatically validates has_many association

Use Ruby's select method on a Rails relation and update it

Multiple query conditions in Rails - if they exist.