Difference between underscore and tableize

Hey all,

Not sure what the difference between underscore and tableize, other than
tableize also pluralizes. However, not sure how they can be used
differently. Obviously, you can use tableize to reference table name in
database. But what different functionality does underscore provide?
Thanks for any suggestions.

John M. wrote:

Not sure what the difference between underscore and tableize, other than
tableize also pluralizes. However, not sure how they can be used
differently. Obviously, you can use tableize to reference table name in
database. But what different functionality does underscore provide?

You are not talking about the Ruby programming language.

I think you may be talking about ActiveSupport, which is part of Rails.
Rails has its own mailing lists; please ask there.

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