-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
invalid value for Float(): "50 100"
popsoul edited this page Apr 6, 2021
·
5 revisions
I followed the guide on how to set up action text with administrate gem
https://github.com/thoughtbot/administrate/wiki/Field:-RichTextAreaField
https://github.com/thoughtbot/administrate/wiki/Rails-6-&-Webpacker
I successfully implemented all the code.
On the administrate admin, I get this error when I want to view any record with action text custom field
description: RichTextAreaField
All the other models without rich text works with no issues
ActionView::Template::Error (invalid value for Float(): "50 - 100"):
16: [1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/Number
17: %>
18:
19: <%= field.to_s %>