impress/config/initializers/inflections.rb
Emi Matchu 1d4771ecc5 Create new DTIRequests.load_many helper, to make parallel requests
Just a wrapper for the barrier/semaphore thing we're doing constantly!

I only applied it in the importer rake tasks for now. There's other
call sites to move over to it, too!
2024-12-16 13:16:03 -08:00

30 lines
950 B
Ruby

# Be sure to restart your server when you modify this file.
# Add new inflection rules using the following format. Inflections
# are locale specific, and you may define rules for as many different
# locales as you wish. All of these examples are active by default:
# ActiveSupport::Inflector.inflections(:en) do |inflect|
# inflect.plural /^(ox)$/i, "\\1en"
# inflect.singular /^(ox)en/i, "\\1"
# inflect.irregular "person", "people"
# inflect.uncountable %w( fish sheep )
# end
# These inflection rules are supported but not enabled by default:
# ActiveSupport::Inflector.inflections(:en) do |inflect|
# inflect.acronym "RESTful"
# end
ActiveSupport::Inflector.inflections(:en) do |inflect|
# `lib/rocketamf` => `RocketAMF`
inflect.acronym "RocketAMF"
# `neopass.rb` => `NeoPass`
inflect.acronym "NeoPass"
# `nc_mall.rb` => `NCMall`
inflect.acronym "NC"
# `dti_requests.rb` => `DTIRequests`
inflect.acronym "DTI"
end