browsermedia/browsercms — Issue #455: Saving data to CMS content_block generates User error
Author: crh3675
Created: 2011-10-19 19:10:55+00:00
State: open

When logged *out* of the CMS and submitting a form generated from a Dynamic Portlet, that submits to a custom controller which creates a CMS content_block record, Rails displays an error expecting a certain user to be present when *save* is called or *update_attributes* is called.

Workaround was to change the content block model as such:

acts_as_content_block :userstamped => false

It was discussed that the possible issue is how form_authenticity_token is now being used/rendered within Portlets/Dynamic Portlets.