RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: matenia
Site: http://www.matenia.com/
How would I use a custom scope within default_scope?
(if the user is logged in, show inactive stuff if not only the active stuff)
This is what I'm trying to do ...
https://gist.github.com/844917
hope someone can shed some light on this.
Thanks, Matenia
How would I use a custom scope within default_scope?
(if the user is logged in, show inactive stuff if not only the active stuff)
This is what I'm trying to do ...
https://gist.github.com/844917
hope someone can shed some light on this.
Thanks,
Matenia