Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

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

ActiveRecord - Denormalization Case Study

Fork, Ruby, ActiveRecord and File Descriptors on Fork

RoR Cookies using ActiveRecordStore + Sticky Sessions

How do I retrieve a list of created IDs for bulk insert in Active Record?

ActiveRecord execute SQL need to close connection? DEPRECATION WARNING: Database connections will not be closed automatically

ActiveRecord: How to find parents whose ALL children match a condition?

Value gets set even though before_save sets it to nil

How to unscope default_scope in join/eager_load?

has_many :through questions

How can one obtain a row count from has_many :through relations with :uniq => true

Rails paginate existing array of ActiveRecord results