Open postmodern opened 1 year ago
Since certain model names contain acronyms, we must configure ActiveSupport::Inflector to preserve them as acronyms instead of converting them to CamelCase when converting the model name into a human readable name:
ActiveSupport::Inflector
IPAddress.model_name.human # => "Ip address"
IPAddress.model_name.human # => "IP address"
This will require renaming some of the migration classes as well CreateRoninIpAddressesTable -> CreateRoninIPAddressesTable.
CreateRoninIpAddressesTable
CreateRoninIPAddressesTable
Since certain model names contain acronyms, we must configure
ActiveSupport::Inflector
to preserve them as acronyms instead of converting them to CamelCase when converting the model name into a human readable name:IPAddress.model_name.human # => "Ip address"
IPAddress.model_name.human # => "IP address"