Skip to content


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

shyam-habarakada opened this Issue · 0 comments

1 participant


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.


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.