i18n_alchemy icon indicating copy to clipboard operation
i18n_alchemy copied to clipboard

I18n date/number parsing/localization - RMU Project

Results 12 i18n_alchemy issues
Sort by recently updated
recently updated
newest added

In PR #44 the requrest is to cast the AC::Parameters to a hash. This is not needed, since AC::Parameters has a values call that delegates it to the @parameters variable....

Would be nice if the localized assign did not fail on nil date input. E.g. object.localized({date_col: nil}) throws now: no implicit conversion of nil into String # /Users/work/.rvm/gems/ruby-2.5.8/gems/i18n_alchemy-0.3.1/lib/i18n_alchemy/date_parser.rb:9:in `_strptime'

ActionController::Parameters does not implement method map.

Hi @carlosantoniodasilva, Trying to make this gem work with nested forms and nested attributes in my project, but for some reason, I'm getting the following error. ![Screenshot from 2019-11-06 13-12-36](https://user-images.githubusercontent.com/1370340/68280460-a01b9000-0086-11ea-9ceb-7e5585fa0c90.png)...

I have a form with the object located, I'm trying to use a select_date, but it gives the error below: undefined method `change' for "23/07/2015":String actionview (4.2.3) lib/action_view/helpers/date_helper.rb:832:in `set_day_if_discarded' actionview...

Hi, I have tried using the parser on a lot of data and have found a issue with a very specific case of the parser. **description of issue** When using...

Hi mate :) We are working in a project that have a lot of decimal columns with different precisions. Currently we are workarounding with decorators: ``` ruby class PublicityDecorator <...