On Monday, October 21, 2013 11:28:22 AM UTC+1, Neil Williams wrote:
>
> Hi All,
>
> I have been told to post discussion based topic on here instead of the 
> GitHub Issues.
>
> I thought this 'could' be a bug, but just need some clarification really. 
> The issue I posted is here <https://github.com/rails/rails/issues/12597>, 
> does anyone have any thoughts?
>
> Again: https://github.com/rails/rails/issues/12597
>
> Thanks a lot.
>

To be honest it feels to me like what you were using just happened to work 
by accident, because by default method_missing on the association sets up a 
scope and calls the method on the class. If this was indeed accidental 
behaviour then the change could well be the side effect of another change. 
Using new in this way isn't something I've come across in quite a few years 
of using rails.

Fred

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/3f7c34b5-4bb6-4ce9-9f61-8a87e4238d46%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to