AlchemyCMS / alchemy_cms

Alchemy is the Open Source Rails CMS framework for the component based web that can be used as classic server side rendered or headless CMS.
https://www.alchemy-cms.com
BSD 3-Clause "New" or "Revised" License
846 stars 315 forks source link

Mass-assignment issue on alchemy_cms 2.2 stable #284

Closed robinboening closed 12 years ago

robinboening commented 12 years ago

Deleting an element throws an error when using alchemy 2-2 stable and rails 3.2.8

Can't mass-assign protected attributes: position

This depents on acts_as_list, because its using update_attributes.

In the master we already whitelisted the position attributes. We need to backport that to 2-2.

tvdeyen commented 12 years ago

Backported the fix from 2.3-stable