List Info

Thread: What helper makes "News Item" out of "news_item"?




What helper makes "News Item" out of "news_item"?
user name
2006-08-17 18:16:17
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
Railslists.rubyonrails.org
h
ttp://lists.rubyonrails.org/mailman/listinfo/rails
What helper makes "News Item" out of "news_item"?
user name
2006-08-17 18:24:32
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
> Railslists.rubyonrails.org
> h
ttp://lists.rubyonrails.org/mailman/listinfo/rails

_______________________________________________
Rails mailing list
Railslists.rubyonrails.org
h
ttp://lists.rubyonrails.org/mailman/listinfo/rails
What helper makes "News Item" out of "news_item"?
user name
2006-08-17 19:25:37
Thanks a lot 

-- 
Posted via http://www.ruby-forum.com
/.
_______________________________________________
Rails mailing list
Railslists.rubyonrails.org
h
ttp://lists.rubyonrails.org/mailman/listinfo/rails
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )