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

Strong parameters #16

Open
asecondwill opened this issue May 30, 2014 · 0 comments
Open

Strong parameters #16

asecondwill opened this issue May 30, 2014 · 0 comments

Comments

@asecondwill
Copy link

I needed to set permit to allow the params for seo. Just a documentation issue. for some reason explicitly setting allowed items:

:seo_meta_attributes => []

did not work - seo_meta_attributes was still a unpermitted attribute. so i strong armed it, I guess less secure but its in the cms, so maybe ok:

controller do
  def permitted_params
    params.permit!
end
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

No branches or pull requests

1 participant