spree/spree — pull request #1363 by simonmd (2012-04-08 05:27:42+00:00)
Title: Fixed mass assignment error when editing taxonomy tree

Using a 3.2.3 Rails App with spree gem from git/master.

In Admin, under 'Configuration' / 'Taxonomies' , while creating or editing a Taxonomy tree, right clicking on the tree root, editing the name of the child and pressing enter does not save.

An error dialog appears and the console reads ActiveModel::MassAssignmentSecurity::Error (Can't mass-assign protected attributes: parent_id, position) .

Due to new 3.2.3 mass assignment protection we have to set parent_id, position under attr_accessible.