I have a Contact model that is a non activerecord model. I can use the validation thanks to Rails3, but I do not in which section of en.yml/de.yml I should localize the attributes of my Contact model.
on 2011-02-07 20:38
on 2011-02-08 11:45
The scope is not under activerecord, but activemodel, which you can change: https://github.com/rails/rails/blob/master/activem... Hope this helps Cheers, iain
on 2011-02-09 15:05
Iain Hecker wrote in post #980254: > The scope is not under activerecord, but activemodel, which you can > change: > https://github.com/rails/rails/blob/master/activem... > > Hope this helps > > Cheers, iain Thank you!
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.