> Perhaps the input value is being cast to
> an integer for storage, and so the trailing letters are being stripped
> out.

This is one simple way to check this: puts "f123" to field.
"f123".to_i => 0
"123f".to_i => 123
But in Rails validation, "f123" is validates too.

Michael

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to