Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Add support Mass-Assignment Role of ActiveRecord #577

Closed
wants to merge 1 commit into from
Closed

Add support Mass-Assignment Role of ActiveRecord #577

wants to merge 1 commit into from

Conversation

jpascal
Copy link

@jpascal jpascal commented Mar 8, 2012

No description provided.

Sija pushed a commit to Sija/cancan that referenced this pull request Mar 19, 2012
@ramaboo
Copy link

ramaboo commented Apr 9, 2012

I ran into this problem as well.. now that attr_accessible takes an :as option it seems like this is an important fix. Any chance of getting it rolled up into the gem?

@sevenseacat
Copy link

+1 for adding this!

@pietia
Copy link

pietia commented Apr 30, 2012

+2

@driehle
Copy link

driehle commented May 7, 2012

+1 would like to see this in cancan!

@jeremyf
Copy link
Contributor

jeremyf commented May 10, 2012

@ramaboo I ran the tests and they do not pass on master branch. I'd imagine with a month passing there may be an API change.

Also please remove the white space at the end of # Passing to ActiveRecord for support Mass-Assignment Role in lib/cancan/controller_additions.rb

Hit me up when you get this working.

@andhapp
Copy link
Collaborator

andhapp commented Jun 18, 2012

Can someone write specs around this behaviour? It won't be merged into master without specs. Thanks.

@rvanlieshout
Copy link

Written some specs for this in #657

@andhapp
Copy link
Collaborator

andhapp commented Jun 22, 2012

Hello all, I am closing this pull request as @rvanlieshout has updated the pull request with some specs. Let's carry on a discussion there (#657).

@andhapp andhapp closed this Jun 22, 2012
ghost pushed a commit to bignerdranch/cancan that referenced this pull request Apr 16, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants