Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rails-activerecord

Is it possible to define composite primary key for table using active record? [duplicate]

PostgreSQL jsonb field in ActiveRecord belongs_to association

Delegating method to has_many association ignores preloading

Avoid PG::InvalidTextRepresentation error when using Postgres UUID in Rails

ActiveRecord eager load multiple belongs_to associations

Rails 3 - Eager loading with conditions

How do you declare an optional condition for an ActiveRecord belongs_to association?

Difference between ActiveRecord and ActiveRecord::Relation objects

Turn off active record logging in production

How to add conditional where clauses in rails

Ruby on Rails: :include on a polymorphic association with submodels

Running destroy_all on an array?

Rails 3 SQLite3 Boolean false

Ordering of has_and_belongs_to_many associations

Finding records based on different fields/columns?

Creating a PostgreSQL sequence to a field (which is not the ID of the record)

Rails 4 eager load for an object

Sessions in Rails 4

Rails Search ActiveRecord with Logical Operators

How to get all values of an object in ActiveRecord in Rails?