On Wed, Dec 15, 2010 at 11:16 AM, Marnen Laibow-Koser
<[email protected]>wrote:

> Tom Ha wrote in post #968590:
> >> :message =>lambda { I18n.t('please_select_whatever') }
> >
> > Thanks for the suggestion - unfortunately, it doesn't change the
> > outcome...
>
> Perhaps you should just have the validation routine generate the
> translation key (in other words, leave off I18n.t), then apply the
> translation in the view layer.
>
> Best,
> --
>

since that is the default behavior i assumed  'please_select_whatever' is a
dynamic value taken from the model, if its not the case
everything should word without the need of doing the translation in the
model

-- 
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