[v4.0] Refined Content API

Jamela Black edited this page Aug 3, 2014 · 2 revisions

Refined Content API

.save now works identically between ActiveRecord and Content Blocks

Previously, calling .save on a block would save a draft copy, rather then updating the record in place. This has been changed. To save a draft, you can do either:

@block.publish_on_save
@block.save
# or
@block.save_draft
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.