Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Maximum length of an SQL Query

How to create ActiveRecord tableless Model in Rails 3

Rails: How to run before_update only for one changed attribute?

Duplicate an AR record & re-insert this into the database

php database activerecord yii

Custom SQL query without Corresponding Table

Rails: order using a has_many/belongs_to relationship

Rails 3 scoped finds giving ActiveRecord::ReadOnlyRecord

Rails: validating a field is present only if another is present

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