-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined method hide_action
- using Rails 5
#221
Comments
Hey @tomkadwill, if you're interested, I've been working on a gem designed to be a drop-in Rails 5 replacement for Declarative Authorization called Authoreyes. It uses the exact same authorization rules DSL syntax. I'm using it comfortably in a production/professional app right now despite the warnings in the README (which probably should be updated). I'm not sure how the rest of the community feels about it, but I would love to have some Decl Auth users try it out and provide feedback or contributions. |
Thanks @zeiv, I'll give it a try :) |
@tomkadwill I know it's been awhile, but for you or people in the future who find this, I'd recommend our fork of declarative_authorization. |
@dvicory is there any documentation for upgrading from declarative_authorization to your fork? Or everything will continue to work the same there is nothing specific to be changed/added after switching over to your fork? |
@dabizlja, there's no explicit documentation on how to do it. What I can say is our internal change from our monkey patched Since the first release, we've continued to add support for more things like Rails 6 and Grape. I know each of these changes were done with an eye towards backwards compatibility to minimize our internal burden of upgrading since we use it extensively. I don't think I can guarantee drop-in compatibility for later releases, but I find it likely the upgrade would be painless and likely consist of simply changing the dependency and perhaps a few One big thing I know we included was the removal of the rules browser (looking at the old issue now it seems it may have not worked anyway). Please try it out and if there's something interesting about your upgrade process, please do let us know with a new issue in |
I'm using Rails 5. After I install the gem and run
rails g authorization:install
I get the following error:Let me know if this is something that the maintainers want to fix - I would be happy to help with this.
The text was updated successfully, but these errors were encountered: