Any ideas as to how to elegantly change a column''s human_name in
ActiveRecord??
The only way I can think of so far is to alias the accessor method, redefine
and have a map defined somewhere between the table and column names and the
human name to present a ''better'' human_name..
On Monday 11 April 2005 19:53, Luke Galea wrote:> Hi All,
>
> How does one go about setting the human_name for an active record column??
> I''d rather not name the columns around what I expect to be
displayed in the
> validation error messages, etc..
>
> Thanks in advance!!
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails