Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Rails ActiveRecord Arels: Unsupported argument type: String. Construct an Arel node instead

activerecord find through association

Changing created_at for seed.rb data

Get a Rails record count without quering a 2nd time

What is the best way to maintain a record's edit history with Rails and ActiveRecord

Rails 3 ActiveRecord Transactions

Find all objects with no associated has_many objects

counter_cache has_many_through sql optimisation, reduce number of sql queries

Rails, scope, OR and joins

How to debug silent database errors (such as "save") in Rails?

Yii Activerecord without yii

php activerecord yii yii2

my_object.save(false) doesn't REALLY skip my Active Record validations

How to use WHERE IN in Rails 3 project using MySQL 2?

Rails - Find records that are not present another join table

Override as_json or to_json model class name

ActiveRecord Query to identify orphan child records

Rails 4 - Many to many relationship

How to serialize nested Model in Rails?

Rails find where ALL associated records meet condition