Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Can this solution be used side-by-side with attr_accessible? #112

Open
shyam-habarakada opened this Issue · 0 comments

1 participant

shyam-habarakada
shyam-habarakada

My scenario involves two sets of controllers for v1 and v2 of an API. Both sets of controllers operate on the same models. I want the v1 controllers to continue using attr_accessible and for v2 to start using strong_parameters. Since using this gem requires patching each of the models (or ActiveRecord::Base), I'm wondering what the right pattern to use might be for accomplishing what I want .. or if this is even possible.

Thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.