Closed Danielpk closed 9 years ago
You're correct, we were locking to <= 4.2.0
, which does not allow for 4.2.1
. I've updated it locally but got some failures with 4.2.1 which I'll have to look at, so it will take a bit of time for the fix to come.
Thanks for reporting! :)
any updates ?
Sorry, I haven't had a chance to look back at this, if anyone has time it'd be appreciated, otherwise I'll try to do it in the following days/weeks.
@carlosantoniodasilva i tried to take a look but i couldnt find any solution. If you have any tip that can help i will try again...
Edit: I tried to fix 3 failure tests:
1) Failure:
ActionViewTest#test_text_field_with_date_attribute [/Users/danielpk/Code/i18n_alchemy/test/action_view_test.rb:36]:
Expected ["<input id=\"product_released_at\" name=\"product[released_at]\" type=\"text\" value=\"28/02/2011\" />", "<input type=\"text\" value=\"28/02/2011\" name=\"product[released_at]\" id=\"product_released_at\" />"] to include "<input type=\"text\" value=\"2011-02-28\" name=\"product[released_at]\" id=\"product_released_at\" />".
2) Failure:
ActionViewTest#test_text_field_with_time_attribute [/Users/danielpk/Code/i18n_alchemy/test/action_view_test.rb:40]:
Expected ["<input id=\"product_last_sale_at\" name=\"product[last_sale_at]\" type=\"text\" value=\"28/02/2011 13:25:30\" />", "<input type=\"text\" value=\"28/02/2011 13:25:30\" name=\"product[last_sale_at]\" id=\"product_last_sale_at\" />"] to include "<input type=\"text\" value=\"2011-02-28 13:25:30 -0300\" name=\"product[last_sale_at]\" id=\"product_last_sale_at\" />".
3) Failure:
ActionViewTest#test_text_field_with_decimal_attribute [/Users/danielpk/Code/i18n_alchemy/test/action_view_test.rb:32]:
Expected ["<input id=\"product_price\" name=\"product[price]\" type=\"text\" value=\"1,99\" />", "<input type=\"text\" value=\"1,99\" name=\"product[price]\" id=\"product_price\" />"] to include "<input type=\"text\" value=\"1.99\" name=\"product[price]\" id=\"product_price\" />".
Fixed by #38, let us know if you're still seeing any issue. Thanks!
Just released v0.2.2.
I trying to update my rails version to 4.2.1 but it looks like i18n_alchemy isnt compatible with rails
activesupport =< 4.2.0
is that right?My Gemfile
What i doing: