Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A administrate
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 96
    • Issues 96
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 32
    • Merge requests 32
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • thoughtbot, inc.
  • administrate
  • Wiki
  • invalid value for Float(): "50 100"

invalid value for Float(): "50 100" · Changes

Page history
Updated invalid value for Float(): "50 100" (markdown) authored Apr 06, 2021 by popsoul's avatar popsoul
Hide whitespace changes
Inline Side-by-side
invalid-value-for-Float():-"50---100".md
View page @ 62e99add
...@@ -7,10 +7,11 @@ I followed the guide on how to set up action text with administrate gem ...@@ -7,10 +7,11 @@ I followed the guide on how to set up action text with administrate gem
I successfully implemented all the code. 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 On the administrate admin, I get this error when I want to view any record with action text custom field
`description: RichTextAreaField` `description: RichTextAreaField`
All the other models without rich text works with no issues `All the other models without rich text works with no issues`
`ActionView::Template::Error (invalid value for Float(): "50 - 100"):` `ActionView::Template::Error (invalid value for Float(): "50 - 100"):`
`16: [1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/Number` `16: [1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/Number`
`17: %>` ` 17: %>`
`18: ` `18: `
`19: <%= field.to_s %>` `19: <%= field.to_s %>`
Clone repository

User Docs

  • List of Plugins