ActiveModel::MassAssignmentSecurity::Error in Refinery/portfolio/admin/galleries#new #69

Closed
jaimie-van-santen opened this Issue Apr 30, 2012 · 0 comments

Projects

None yet

2 participants

@jaimie-van-santen

Can't mass-assign protected attributes: locale

9: :current_locale => Thread.current[:globalize_locale]
10: } if defined?(::Refinery::I18n) %>
11:

12:


13: <%= f.label :title -%>
14: <%= f.text_field :title, :class => 'larger widest' -%>
15:

This was caused in Rails 3.2.3 upon clean install.

@ugisozols ugisozols added a commit that closed this issue Apr 30, 2012
@ugisozols ugisozols Fix mass assignment errors. Closes #69.
Conflicts:

	app/models/refinery/portfolio/gallery.rb
9e178dc
@ugisozols ugisozols closed this in 9e178dc Apr 30, 2012
@simi simi added a commit to zizkovrb/refinerycms-portfolio that referenced this issue Apr 26, 2014
@ugisozols ugisozols Fix mass assignment errors. Closes #69. 001a9d6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment