Skip to content
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

Gem Name Misleading! It's Not Just for CanCan #7

Closed
joshhepworth opened this issue Jun 24, 2013 · 1 comment
Closed

Gem Name Misleading! It's Not Just for CanCan #7

joshhepworth opened this issue Jun 24, 2013 · 1 comment

Comments

@joshhepworth
Copy link

It's potentially worth noting that this project isn't actually specific to CanCan. This will work well for any auto-resource-loading gem. For example, with ActiveAdmin:

ActiveAdmin.register Member do
  controller do
    permit_params :project_id, :name, :email
  end
end

It might be worth renaming the gem!

@colinyoung
Copy link
Owner

Thanks for the point! Renaming a gem seems like it might be too hard, but I'll think about it - and I'll also update the readme to mention your point. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants