Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How to take a hash of key/val pairs and set ActiveRecord attributes with it

Find all records that were created on a specific day of the week

MySQL, Rails ActiveRecord date grouping and timezones

How to filter records from association

keep original array order when appling a active record "where" on it

ActiveRecord boolean validation accepting non-boolean values

Rails ActiveRecord - querying on last record of relationship

Selecting a Record With a Max Value When Grouping

Sort by date in jsonb postgres

Convert sql with JOIN clause containing an IN condition to CodeIgniter active record

Parameterize an ActiveRecord #joins method

Rewhere or unscope a query containing an array condition on Rails

Finding in array of active record results

Migrations are pending error while everything is up to date

How to force ActiveRecord to open database in read-only mode?

activerecord readonly

Rails ActiveRecord Table Indexes - When should they be used?

undefined method `type_cast' for #<ActiveRecord::ConnectionAdapters::Column> (NoMethodError)