From 4b32a8583b9460a13de538597f98abcd0c79fb21 Mon Sep 17 00:00:00 2001 From: Mikel Lindsaar Date: Wed, 19 Aug 2015 15:51:50 +1000 Subject: [PATCH] Host applications might be using "Cas" as a constant and not using "CAS" In that scenario, simply including the CASino Engine into that application will cause the entire app to "blow up". In accordance with the "Principle of least astonishment", CASino should not mandate how certain words are inflected unless they are entirely unique to CASino. * Removes the inflection rule for the CAS acronym * There was no need to edit any code, CAS is not used in the CASino code base by itself --- lib/casino/inflections.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/casino/inflections.rb b/lib/casino/inflections.rb index 7332cd4d..f9850210 100644 --- a/lib/casino/inflections.rb +++ b/lib/casino/inflections.rb @@ -2,6 +2,5 @@ # the Railtie is going to declare a table_name_suffix based upon the name of the # Railtie. Without this definition, the Railtie would use 'ca_s_ino' ActiveSupport::Inflector.inflections do |inflect| - inflect.acronym 'CAS' inflect.acronym 'CASino' end \ No newline at end of file