Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

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

Safely pass a dynamic column name into an ActiveRecord query with a Postgres cast?

Test for ActiveRecord::RecordNotFound

ActiveRecord::StatementInvalid. PG Error

Rails ActiveRecord - how can I lock a table for reading?

Retrieving only certain columns with Rails 3 where clause

Add a clause to a MySQL statement without quotes using CodeIgniter's Active Record functions

activerecord codeigniter

ActiveRecord::HasManyThroughAssociationNotFoundError in UserController#welcome