Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rails-activerecord

Rails 4 counter cache out of sync

Rails error: Index name '...' on table '...' already exists while running rails db:migrate

Rails: Unknown attribute during model create

Add NOT NULL field without default value into a populated DB

Rails - Active Record Join across 3 Tables

ActiveRecord joins condition satisfy all relations

Rails: eager-loading on an already-left-joined table?

using multiple scope params in Rails3

Removing has_many :through association doesn't change model's updated_at attribute

How to create a record only if it doesn't exist, avoid duplications and don't raise any error?

Query jsonb column containing array of JSON objects

return custom query select in activerecord

having trouble testing upload file with Capybara attach_file method

ActiveRecord loads binary field incorrectly on Heroku, fine on OSX

validate and update single attribute rails

Rails 3 - ActiveRecord and reverse sort

Are `save` and `save!` the only methods that persist ActiveRecord objects?

ruby rails-activerecord

Cloning a relation in rails

Loading ActiveRecord fixtures with RSpec without Rails