Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

why is Model.all different to Model.where('true') in rails 3

PG_SEARCH gem search specific columns only for JSON

Devise error undefined method `email'

Rails ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation "pg_range" does not exist LINE 3: LEFT JOIN pg_range as r ON oid = rngtypid

ActiveRecord adding rating range in migration file

Rails 3 - Turning multiple counts into a single query - OrderedHash

ActiveRecord find by model's array attribute containing a value (not association array)

Why is Model.associations an Array, but still supports sql queries? [duplicate]

Rails 3.2 ActiveRecord Transaction

How can I get Rails 5 to play nicely with a primary key that has a period in it?

ActiveRecord update_column: How to increase a record value depending on it's current value with just one query

count with has_many in rails

how to override a validation call in activerecord in a gem?

Stubbing ActiveRecord dynamic finders with RSpec

ActiveRecord configuration for reading from slave MySQL box