This project is archived and is in readonly mode.
scope firings up on association
-
eagle.anton (at gmail)
- Tag changed from scope association to association, rails3, scope
-
Anil Wadghule
Hi Eagle.
What do you mean by not needing scope for user association. Can you please elaborate more?
-
eagle.anton (at gmail)
Problem was solved by AR#unscoped with block:
def self.some_action u = User.find(x) unscoped { u.posts } endTicket may be closed. Thank you.
-
Rohit Arondekar
- State changed from new to invalid
- Importance changed from to Low