Hi *,

I cannot find any active bug tracker, so I want to share my todays
experience here...

Concerning this commit:

https://github.com/rails/rails/commit/bfbdeeae3080c89a0b27e42d684cbeb6206c6f60#activerecord/lib/active_record/named_scope.rb

I updated my rails app today and discovered, that this commit might
have broken some compatibility. I used something like this:

collection = <Model>.scoped
...

This does not work anymore, I have to add ({}) - so i think it should
be

def scoped(scope={}, &block)

instead of

def scoped(scope, &block)

What do you think?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to