Jump to content

The ultimate community for Ruby on Rails developers.


Photo

Controller ignores comma with german locale

view controller german locale comma

  • Please log in to reply
No replies to this topic

#1 decker

decker

    Passenger

  • Members
  • 1 posts

Posted 01 June 2014 - 01:25 PM

Hi there,

 

I am a rails beginner and have a problem handling decimals with comma in the view. That means if the user input contains a comma, it is ignored. It works with a decimal point, so I think I have to set the right locale. But that is already set in the application. I could implement it in the controller, but that could not be the right solution, or?

 

Thanks in advance,

 

Dirk







Also tagged with one or more of these keywords: view, controller, german locale, comma

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users