|
|
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/Field:-RichTextAreaField)
|
|
|
|
|
|
[https://github.com/thoughtbot/administrate/wiki/Rails-6-&-Webpacker](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`
|
|
|
|
|
|
`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 %>` |