Joshua Muheim
2006-Aug-17 18:17 UTC
[Rails] What helper makes "News Item" out of "news_item"?
Hi all Look at the title, I guess you know what I mean... What helper makes the attribute names of tables human readable? news_item >> News Item name >> Name etc. Thanks for info :-) Joshua -- Posted via http://www.ruby-forum.com/.
Jodi Showers
2006-Aug-17 18:24 UTC
[Rails] What helper makes "News Item" out of "news_item"?
Hey Joshua, searching for human on api.rubyonrails.com you''ll get: "human_name() Returns the human name of the column name. " Jodi On 17-Aug-06, at 2:16 PM, Joshua Muheim wrote:> Hi all > > Look at the title, I guess you know what I mean... What helper > makes the > attribute names of tables human readable? > > news_item >> News Item > name >> Name > etc. > > Thanks for info :-) > Joshua > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails