Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How to set transaction isolation level using ActiveRecord connection?

How do I specify shared attributes translations between models in I18n locale file?

get a list of all models from rails [duplicate]

Codeigniter Active record: greater than statement

Applying a different order to postgres "DISTINCT ON" using rails

Rails invalid datetime on model results in nil

"NoMethodError (undefined method `with_indifferent_access' for..." when passing it nested attributes

Rails: Multiple or conditions in ActiveRecord

Why does Sidekiq not close old connections?

Why does Rails ignore a Rollback in a (pseudo)nested transaction?

Cannot add foreign key constraint error when running rails migration

Rails 3 has_many :through naming issue

How to find the record with the maximum price?

Rails - Joining multiple tables

How to eager load association for an array of model records

ActiveRecord: Can I copy associations?

Do "like" queries with ActiveRecord in Rails 2.x and 3.x?

Ruby / Rails - Can I use a joined table's scope(or class method) as part of my WHERE clause?

ActiveRecord Find All not sorting by ID?

Rails: Copying attributes from an object to another using the "attributes" method