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

Authorize a ActiveRecord collection #256

Closed
wants to merge 1 commit into from
Closed

Authorize a ActiveRecord collection #256

wants to merge 1 commit into from

Conversation

acrogenesis
Copy link

authorize_many calls authorize on all members of the collection or array.
#213

@jnicklas
Copy link
Collaborator

I think I'd be okay with this change, though maybe authorize_all or authorize_each would be nicer names? @thomasklemm, thoughts?

Anyway, this needs tests :)

@jnicklas
Copy link
Collaborator

jnicklas commented Apr 1, 2015

After considering this for a while longer, I'm no longer in favour of this. It adds more API surface for little gain.

@jnicklas jnicklas closed this Apr 1, 2015
@acrogenesis acrogenesis deleted the patch-1 branch April 2, 2015 02:02
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

Successfully merging this pull request may close these issues.

2 participants