Ruby on Rails
Monday, December 29, 2014
Sounds like you are looking for
some_scope.unscope(:where)
This doesn't appear to return the existing constraints for me to re-use them.
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+unsubscribe@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/18fc65f3-251a-4542-a4c3-5fa4b0eb079b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment