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.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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