Rails v2.3.8
formtastic v1.1.0
Forms draw correctly, validation works, but the validation messages for anything involving the length of a string are showing up as:
is too short (minimum is {{count}} characters)
Basically {{count}}
is not getting filled in. In irb, I can see that the value is in the @options of the ActiveRecord::Errors:
>> u.errors
=> #<ActiveRecord::Errors:0x7f98785b4ab0 @errors=#<OrderedHash {"password"=>[#<ActiveRecord::Error:0x7f9878561b30 @type=:too_short, @options={:default=>nil, :count=>4},...
Note that this is a validation on a User model being performed by authlogic v2.1.6 (which may not be relevant).
--- UPDATE --------- :
After some more digging, I copied the en.yml locale file out of the activerecord-2.3.8 gem dir and into my local app config/locales dir. After changing all the {{count}} to %{count} things are now displaying properly.
Maybe a bug with formtastic v1.1.1 working with rails v2.3.8? The changelog speaks to a few things generally that it could possibly fall under. There are several newer versions of formtastic available. I unfortunately cannot upgrade this environment so I am going to setup another to test the newer formtastic versions.