diff options
author | Henare Degan <henare.degan@gmail.com> | 2012-12-09 18:32:29 +1100 |
---|---|---|
committer | Henare Degan <henare.degan@gmail.com> | 2012-12-11 11:09:34 +1100 |
commit | a01611c61b27cbcbe046d2073c791a407743ace8 (patch) | |
tree | 6c7651fe8c370e4a6d761e7d08e78c5f3f32d287 /vendor/plugins/globalize2/lib/globalize.rb | |
parent | 4b007cbcc938bd88230ac81e8b377d181d7d9c20 (diff) |
Upgrade globalize
Diffstat (limited to 'vendor/plugins/globalize2/lib/globalize.rb')
-rw-r--r-- | vendor/plugins/globalize2/lib/globalize.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/vendor/plugins/globalize2/lib/globalize.rb b/vendor/plugins/globalize2/lib/globalize.rb deleted file mode 100644 index 67c1878ec..000000000 --- a/vendor/plugins/globalize2/lib/globalize.rb +++ /dev/null @@ -1,15 +0,0 @@ -module Globalize - autoload :ActiveRecord, 'globalize/active_record' - - class << self - def fallbacks? - I18n.respond_to?(:fallbacks) - end - - def fallbacks(locale) - fallbacks? ? I18n.fallbacks[locale] : [locale.to_sym] - end - end -end - -ActiveRecord::Base.send(:include, Globalize::ActiveRecord) |