Open dryaf opened 13 years ago
This is not an attrtastic-Bug. It is a rails bug
probably its good to leave this bug open tills it is fixed so people can find a solution quickly
fix is here: https://github.com/rails/rails/issues/2802
Ok, no problem leaving this as a way to find correct solution for problem.
results in
Framework-Trace: actionpack (3.1.0) lib/action_view/helpers/number_helper.rb:281:in
round' actionpack (3.1.0) lib/action_view/helpers/number_helper.rb:281:in
number_with_precision' attrtastic (0.4.2) lib/attrtastic/semantic_attributes_builder.rb:390:informat_attribute_value' attrtastic (0.4.2) lib/attrtastic/semantic_attributes_builder.rb:314:in
attribute' haml (3.1.3) lib/haml/helpers/action_view_mods.rb:93:inblock in capture_with_haml' haml (3.1.3) lib/haml/helpers.rb:345:in
call' haml (3.1.3) lib/haml/helpers.rb:345:inblock in capture_haml' haml (3.1.3) lib/haml/helpers.rb:569:in
with_haml_buffer' haml (3.1.3) lib/haml/helpers.rb:341:incapture_haml' haml (3.1.3) lib/haml/helpers/xss_mods.rb:61:in
capture_haml_with_haml_xss' haml (3.1.3) lib/haml/helpers/action_view_mods.rb:93:incapture_with_haml' attrtastic (0.4.2) lib/attrtastic/semantic_attributes_builder.rb:355:in
attributes_for' attrtastic (0.4.2) lib/attrtastic/semantic_attributes_builder.rb:196:inattributes' haml (3.1.3) lib/haml/helpers/action_view_mods.rb:93:in
block in capture_with_haml' haml (3.1.3) lib/haml/helpers.rb:345:incall' haml (3.1.3) lib/haml/helpers.rb:345:in
block in capture_haml' haml (3.1.3) lib/haml/helpers.rb:569:inwith_haml_buffer' haml (3.1.3) lib/haml/helpers.rb:341:in
capture_haml' haml (3.1.3) lib/haml/helpers/xss_mods.rb:61:incapture_haml_with_haml_xss' haml (3.1.3) lib/haml/helpers/action_view_mods.rb:93:in
capture_with_haml' attrtastic (0.4.2) lib/attrtastic/semantic_attributes_helper.rb:51:in `semantic_attributes_for'