Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

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

Why am I getting a "SystemStackError: stack level too deep" in my rails3 beta4 model

Rails find_or_create_by where block runs in the find case?

Bulk Insert records into Active Record table

ActiveRecord::Relation, any way to remove existing limit and offset?

CodeIgniter ActiveRecord field names in JOIN statement

Getting the model class from active record relation

Unique foreign key in rails migration

Rails belongs_to_many

how to handle ActiveRecord::RecordNotFound in rails controller?

Postgresql and ActiveRecord where: Regex matching

Yii2: How to set default attribute values in ActiveRecord?

Remove a 'where' clause from an ActiveRecord::Relation

Rails callback for the equivalent of "after_new"

Checking if ActiveRecord find returns a result

query where date = Date.today with Rails, MySQL, and Active Record