Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

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

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