Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

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)?

Where do the created_at and updated_at columns come from?

Race conditions in Rails first_or_create

yii2 ActiveRecord Find OrderBy with calculation

php mysql activerecord yii2