I think if you want the workflow gem to save to the database, you have to create a string field column in your table called workflow_state
(see Integration with ActiveRecord)
class AddWorkflowToArticlesTable < ActiveRecord::Migration
def change
add_column :articles, :workflow_state, :string
end
end
Something that like should work, and then article.state
should reflect what's saved in the database
Hope this helps