Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Rails list created/updated records within last 24 hours

How to use ANY instead of IN in a WHERE clause with Rails?

Callback for changed ActiveRecord attributes?

How can I iterate through a MySQL result set?

ActiveRecord#exists? or rescue from ActiveRecord::RecordNotFound

Default values for models in rails

Rails: Create association if none is found to avoid nil errors

Ruby on Rails guides document on Activerecord association incorrect?

How to use 'after_initialize' in Rails 3?

thorough guide to Locks/Transactions/Isolation Levels in Rails [closed]

Timestamps on HABTM relationships with ActiveRecord

Delete duplicate records based on multiple columns

How to add a method to an activerecord collection?

How to touch multiple records in ActiveRecord?

Rails / ActiveRecord: avoid two threads updating model at the same time with locks

Comparing ActiveRecord objects with Rspec

Is there any way to check that has_many association exists in Rails 3.1?

Rails getting validation failed error, but no errors in ActiveRecord error model

Rails: organizing models in subfolders having warning: toplevel constant A referenced by B::A

What role do ActiveRecord model constructors have in Rails (if any)?