Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How to remove items from Activerecord query resultset?

Active Record with Delegate and conditions

Getting typed results from ActiveRecord raw SQL

Rails/Arel: Selecting all records as an ActiveRecord::Relation

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?