Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Retrieving Rails Model Column Names

Rails Remove child association from parent

Rails rake db:migrate has no effect

Rails 3 validates inclusion of when using a find (how to proc or lambda)

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