Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Is it a bad idea do divide the models into directories?

CodeIgniter: INSERT multiple records without cycle

Rails 3 / Ruby: ActiveRecord Find method IN condition Array to Parameters single quote issue

Is there a "first_or_build" method on has_many associations?

Rails has_one with class name and foreign key

How to increase max pool size in ActiveRecord?

ruby activerecord sqlite

ActiveRecord select a string field has a certain length in Rails 3?

Issue when retrieving records with empty array

How to use OR condition in ActiveRecord query

Find ActiveRecord object by maximum field value of a child object?

UNION query with codeigniter's active record pattern

How to eager load objects with a custom join in rails?

When to use "validates_associated" v "validate => true"

Rails 4: Append to a "has_many" relation without saving to DB

How to create schema in sql

Rails first_or_create ActiveRecord method

Cloning a record in rails, is it possible to clone associations and deep copy?

How do I set up a kind of "belongs_to :through" association without a direct belongs_to?

Merge two ActiveRecord arrays and order by created_at

How to translate active record model validations