When I try to save a certain of my ActiveRecord instances, I get this validation error
"Weight must be greater than {{count}}"
The model file specifies the command
validates_numericality_of :weight, :greater_than => 10, :less_than_or_equal_to => 900, :unless => :is_spia?
So why does the error read {{count}} instead of just 10? And what’s the proper thing to do about it?
Sys: Rails 2.3.5 Ruby 1.8.7
I had similar problem Rails views showing formatting input in double curly braces like {{parameter}} instead of actual values but best if you could upgrade to latest rails or at least rails 3.