Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

ActiveRecord OR operator slows down query by factor of 10. Why?

What might this be: New Active Record chainable query language built on top of relational algebra?

Rails validating virtual attributes

Rails: Disable root in JSON for only specific controller actions?

Why is overriding ActiveRecord::Base.initialize wrong?

Ruby on Rails: should all my ActiveRecord callback methods be private?

Rails Active Record select parent and child as one result

Rails 4 Has_many :through join association with select

Update multiple records in one ActiveRecord transaction in Rails

Why am I getting this "undefined method `#<ActiveRecord::Associations::CollectionProxy::ActiveRecord_Associations_CollectionProxy_Survey" error?

How to create a new ActiveRecord Connection Pool with Ruby on Rails?

Double has_many attributes

How to obtain constant memory usage when migrating a Rails application from mongoid (MongoDB) to ActiveRecord (Postgres)?

Complex rails query - unions? sub-select? can I still used named_scope?

Eager loading of polymorphic associations in ActiveRecord

How do I force active record (Ruby) eager loading at the model level?

In a Rails 3 model, DateTime attributes are falsly "dirty"

Rails 3 ActiveRecord: Find model by finding it's association

Sort a query based on an association 2 or more levels deep

Rails ActiveRecord Model Linked List