I have a fairly simple (I hope) set up that just doesn't work right and I'd appreciate assistance in properly configuring it.
Model is Event, with a field called status, in the model I have a method status_enum that returns an array of strings and attr_accessible on the status field. In rails_admin.rb inside the Event model block I have:
config.model Event do
edit do
field :status
end
end
Result is the edit page shows the current value of the field, read only.
I also tried these variations with no different/better results:
config.model Event do
edit do
field :status, :enum
end
end
config.model Event do
edit do
field :status, :enum do
enum_method do
:status_enum
end
end
end
Thanks,
Bill