Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Rails 4 HABTM custom validation on associations

Rails - ActiveRecord includes for multiple levels

Validate attribute's length if present

Arel AND clause and Empty condition

How to select only part of json, stored in Postgres, with ActiveRecord

Create partial index for postgresql jsonb field

Rails: get the first n active record objects of a model

Rails shared sessions with activerecord

Rails add custom eager load

has_many :through a has_and_belongs_to_many association

Understanding Simple ActiveRecord Updates in Rails

Way to view Rails Migration output

Rails accepts_nested_attributes_for Error, please help me spot it

Connecting to an MSSQL database from a Ruby on Rails application running on Ubuntu

Yii find models through many_many relationship

Cannot access attr_accessor defined variables

Select only one column from multiple rows in codeigniter. How to and is this more efficient?

has_many and :after_add / :before_add => callback for << and create methods

Convert ActiveRecord habtm query to Arel

Rails 4 .order() gets mangled with JOINS