lib/mailboxer/engine.rb in mailboxer-0.12.5 vs lib/mailboxer/engine.rb in mailboxer-0.13.0
- old
+ new
@@ -1,6 +1,6 @@
# Database foreign keys
-require 'foreigner'
+require 'foreigner' if Rails.version < "4.2.0"
require 'carrierwave'
begin
require 'sunspot_rails'
rescue LoadError
end