Я использую rails 3.1.0.rc3 с formtastic 2.0.0.rc2 и получаю эту ошибку:
undefined method `inputs' for #<ActionView::Helpers::FormBuilder:0x000001059c2fb0>
Вот блок кода
= form_tag '#', :class => 'formtastic' do
= fields_for CustomFields::Field.new, :builder => Formtastic::Helpers::FormHelper.builder do |g|
= g.inputs :name => :attributes do
= g.input :_alias
= g.input :hint
= g.input :text_formatting, :as => 'select', :collection => options_for_text_formatting, :include_blank => false, :wrapper_html => { :style => 'display: none' }
= g.input :target, :as => 'select', :collection => options_for_association_target, :include_blank => false, :wrapper_html => { :style => 'display: none' }
Это ошибка?
Спасибо, Алекс