Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Rails has_many :through with conditions and building associations

Identifying whether record/object is dirty in Rails

Why does ActiveRecord return fields encoded as ASCII-8BIT even with mysql2 gem?

using paper trail, getting the difference with object_changes?

Rails Override Save To Perform Selective Update

How to increase ActiveRecord connection timeout?

MVC: Correct pattern to reference objects from a different model

Union of two active record relations should be another active record in ruby on rails

Codeigniter: Can I use $this->db->trans_start() and trans_complete with in my controller function?

Converting ActiveRecord results to json in transaction script

Specify currently grabbed records within Model class method

When creating an object in Ruby on Rails, which method of saving do you prefer, and why?

What patterns to use to build layers for delphi win 32 application

Rails: is there a difference between 'references :foo' and 'integer :foo_id'?

How do I sort a table by the maximum value of associated records?

Setting default integer values in activerecord

How to fully reload an ActiveRecord to reset it's memoized values?

Is ActiveRecord::Batches::find_each thread safe?

Rails preview update associations without saving to database

Scope with "WHERE ... LIKE" on a related table