"Something #{errors[:Leading]}"
On 13/09/06, Alex <rails-mailing-list@andreas-s.net>
wrote:>
>
> Hi!
>
> How do I define a individual human name for an ActiveRecord
> class-member? I got a class:
>
> class Vorgang < ActiveRecord::Base
> validates_presence_of :leading, :message => 'muß gewählt
werden!'
> end
>
> When calling errors.full_messages I got an errormessage "Leading muß
> gewählt werden!". Is it possible to replace the "Leading"
with an own,
> localized string?
>
>
> Alex.
>
> --
> 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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---