Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How do I get this complex query?

NameError: uninitialized constant ActiveRecord::Migrator::Zlib

ruby activerecord sinatra

`form_for` is bypassing model accessors. How to make it stop? (Or: How to make a custom attribute serializer?)

ActiveRecord::Relation.concat failing in Rails 5

:has_many :through associations two levels deep

Rails 3 default scope, scope with override

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'?