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

Open
shyam-habarakada opened this Issue Mar 2, 2013 · 0 comments

Projects

None yet

1 participant

@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