ronin-rb / ronin-db-activerecord

ActiveRecord backend for the Ronin Database
https://ronin-rb.dev
GNU Lesser General Public License v3.0
7 stars 5 forks source link

Add custom inflections for acronyms used in model names #37

Open postmodern opened 1 year ago

postmodern commented 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:

postmodern commented 1 year ago

This will require renaming some of the migration classes as well CreateRoninIpAddressesTable -> CreateRoninIPAddressesTable.