I have a country attribute to my guidelines model. I don\'t want to use a plugin, I just want to have country as a string. Everything is working until I try to edit a guide
I'm not sure where you get this form code from but I had the same issue with Active Admin and resolved it by explicitly instructing the form to treat the field as a string:
ActiveAdmin.register Guideline do
form do |f|
f.inputs 'Details' do
f.input :country, :as => :string
end
f.actions
end
end