Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Why is Rails ActiveRecord hitting the database twice?

Subtract two ActiveRecord::Relation objects

How to save related Models in one transaction?

ActiveRecord update_attributes to ignore invalid keys

How to declare an array data type in rails generator

Belongs To Foreign Key

Pass custom argument to rails event model callbacks?

ActiveRecord custom attributes used in rails 3 not working in rails 4

ActiveRecord: call find with same id twice, get the same instance?

Getting the ActiveRecord_Relation that received the class method call

How to include coalesce() in ActiveRecord statement

Eager Loading in Many to Many relationship in Rails 4

Rails: any way to preload (include) parent association

Selection of records through a join table in Ruby on Rails

Rails Get Nested Relationship as ActiveRecord object without collect/map

How to get a scope for all database rows in rails 3?

Rails includes not working on rails console

Active record where.not returns empty array