Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Sum associated tables using Active Record

How to get calculated value in hash (attr_accessor) within ActiveRecord query in rails 4?

ActiveRecord erroneously escapes JSON string

How to list out all items in a nested table in Laravel

Rails ActiveRecord "maximum(:column)" ignores order

Why does rails change the type of the attribute _was value after it is set?

Find records which assoicated records do not belong to certain record

Call to undefined method app\models\Message::model()

Rails Active Record: How to reduce number of trips to database?

Ruby on Rails: Model.all.each vs find_by_sql("SELECT * FROM model").each?

How to find only Grandparent records where all grandchildren match some criteria in Rails?

Inserting an invalid ActiveRecord date to a MySQL database

Code Igniter catch errors on inserting data (Active Record)

Drop or Delete Schema Postgresql via controller Rails

Multiple like conditions in active record

Mysql2::Error: Incorrect string value Rails 3 UTF8

What generates the first ActiveAdmin COUNT query?

Ruby: What does binds mean in ActiveRecord gem?

rails 4-1 error: undefined method `map' for ThreadSafe::Cache