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 :slight_smile:
Joshua

Hey Joshua,

searching for human on api.rubyonrails.com you’ll get:

"human_name()

Returns the human name of the column name. "

Jodi

Thanks a lot :slight_smile:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs