erwin
unread,May 26, 2012, 9:48:50 AM5/26/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SimpleForm
I have a model Blog with settings as store attributes
class Blog < ActiveRecord::Base
store :settings, accessors:
[ :blog_name, :blog_subtitle, :lang, ...
migrated as :
create_table :blogs do |t|
t.text :settings
is it possible to set up a simple_form to update these attributes or
should i use the standard form_tag ?
the standard way doesn't accept @blog.settings...
= simple_form_for @blog, :url => backoffice_blog_path, :html =>
{ :method => "put", :class => 'form-vertical'} do |f|
thanks for feedback and suggestions