gunn / rails_admin

RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data
MIT License
9 stars 5 forks source link

accepts_nested_attributes_for work in Rails_admin ? #40

Open leosmeira opened 13 years ago

leosmeira commented 13 years ago

In MODEL: accepts_nested_attributes_for :seo

IN RAILS_ADMIN config.model Conteudo do

  edit do
    field :titulo
    field :conteudo, :text do
      ckeditor true
    end

    nested_fields :seo do
      field :browser_title, :string
      field :meta_keywords, :string
      field :meta_description, :text
    end
  end
end

ERROR MESSAGE: undefined method `nested_fields' for

RailsAdmin::Config::Sections::Create:0xb6b1680c (NoMethodError)

gunn commented 13 years ago

Does this issue occur with the main rails admin branch? If so, it should be posted there. If not, perhaps gist a bit more of the model and stacktrace.

Thanks!