Rails developers: What's your favorite library for defining and enforcing access control rules?
Ahh, probably wasn’t explicit enough there: You’re working in: class DashboardController << LoggedInController Most of the time, not directly in LoggedInController. (Which is ~10 lines long and changes very, very infrequently.)
-
-
Can’t you just set a before_filter on ApplicationController, and skip_before_filter on PreauthController?
-
Or before_action and skip_before_action for more recent Rails releases -- but yes, that works fine.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.