-
Notifications
You must be signed in to change notification settings - Fork 200
Closed
Description
Hi!
We are using the enumerize gem along with the activeadmin gem, which makes use of formtastic. A number of our forms do not provide an object, like so:
panel 'Do something awesome' do
active_admin_form_for(
'',
method: :post,
url: awesome_admin_user_path(user)
) do |f|
f.inputs do
f.input :awesome_id, as: :select
f.input :other_awesome_thing
end
f.submit 'Submit me!'
end
end
With an update of enumerize from 2.1.2 to 2.2.0, we now get the error in the title when we render these views. I've tracked it down to a change in lib/enumerize/hooks/formtastic.rb on line 8.
I have downgraded our version to 2.1.2 for the time being, but would appreciate your recommendation on whether this is a bug, or we are using forms in an unusual manner that isn't compatible with the changes in enumerize.
Thank you!
drn
Metadata
Metadata
Assignees
Labels
No labels