Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Order by associated model with pagination

Counter cache for association of an association

Can I write this in more idiomatic Active Record way?

Overriding to_xml for collection of ActiveRecord objects

Which should I use in my delete action: user.delete or user.destroy?

Kaminari and unscoped

Rails 3 - unserialize returns only ActiveRecord::AttributeMethods::Serialization::Attribute

Get the id of the last updated record

Select records created between a time range regardless the date of creation

TypeError (no implicit conversion of nil into Integer) Active Record

How to count unique records through an association using a scope in Rails 3

Finding multiple records at once in Yii Framework using the infamous CActiveRecord?

php search activerecord date yii

Rails security: Avoiding mass-assignment altogether

ActiveRecord: Retrieve all records where updated_at is 24 hours or more after created_at

Date fields and textinput in rails

Run a helper method on a model class method