Rails Inflector Lookup

.camelize#=>"BarId"
.classify#=>"BarId"
.constantize#=>
wrong constant name bar_id
.dasherize#=>"bar-id"
.deconstantize#=>""
.demodulize#=>"bar_id"
.foreign_key#=>"bar_id_id"
.humanize#=>"Bar"
.ordinal#=>
undefined method
.ordinalize#=>
undefined method
.parameterize#=>"bar_id"
.pluralize#=>"bar_ids"
.safe_constantize#=>""
.singularize#=>"bar_id"
.tableize#=>"bar_ids"
.titleize#=>"Bar"
.underscore#=>"bar_id"
.upcase_first#=>"Bar_id"