Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rails-activerecord

Is there a way to combine named scopes into a new named scope?

Rails 3 ActiveModel: cannot include ActiveModel::Model directly

Rails migration create_join_table with uuids

How to make Rails 4.2 work with Postgres Jsonb?

Using WHERE IN with Rails prepared statement syntax

Should I test associations between models?

Delete records from table which matches the data in an array?

Rails exec_query bindings ignored

undefined method `explain' for #<ActiveRecord::ConnectionAdapters::MysqlAdapter

Saving ActiveRecord's associations which are pointing to each other, at once

Rails uniq Public Activity

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