RailsCasts Pro episodes are now free!

Learn more or hide this

Steve Brown's Profile

GitHub User: jpgeek

Comments by Steve Brown

Avatar

Great stuff Ryan.

I hit a problem with the overridden - in /config/initializers/scope_operators.rb though. It conflicts with
activerecord-3.2.8/lib/active_record/associations/collection_association.rb:479

unless concat(new_target - target)

The minus operator fires the not() method defined in scope_operators.rb. Removing the alias made it happy again.