Hi!

I am using Rails3.0.0.rc and get an error which do not occur on
Rails2.3.5

In my model I have:

validates :title, :presence => true, :uniqueness => true

when I start up the console and enter:

x=Blog.new
x.valid? --> false
x.errors --> OrderedHash{:title => ["can't be blank"]}
x.title="an_existing_title"
x.valid? --> false
x.errors --> OrderedHash{:title=> ["translation missing: en,
activerecord, errors, models, blog, attributes, title, taken"]}

In Rails2.3.5 this error does not occur. ("title has already been
taken")

Is this an i18n error or is this a rails3.0.0.rc error?

-- 
You received this message because you are subscribed to the Google Groups 
"rails-i18n" 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/rails-i18n?hl=en.

Reply via email to