-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Milestone
Description
Hello,
I found an issue in this gem, I have a model with an enum field :format
FORMATS = %w[s m l xl xxl].freeze
enum format: FORMATS
When doing on the show view of one of this item I have the error :
too few arguments
here https://github.com/sferik/rails_admin/blob/v2.0.2/lib/rails_admin/config/fields/types/active_record_enum.rb#L19
It comes from using send(:format) instead of .format which works.
I think the private method format is defined somewhere.
Maybe same issue as this ?
Thank you
kelvinromero and DanAndreasson
Metadata
Metadata
Assignees
Labels
No labels