> For example, I have an Address model with subclasses of EmailAddress
> and WebAddress and the "address" attribute will contain an email
> address or a url for the respective classes.
>
> By overriding human_attribute_name in my subclasses I can make my
> error messages friendlier. If the method goes away, I'm not sure how
> I'd do it.

I don't know that there's any plan to remove this method, if you'd
kept quiet it would probably have lived on forever ;).  In the
meantime I think we can view it as a 'hook' for customisation rather
than as part of the stable API intended for surviving indefinitely.


-- 
Cheers

Koz

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to