summaryrefslogtreecommitdiff
path: root/config/application.rb
diff options
context:
space:
mode:
authorazul <azul@riseup.net>2017-03-27 16:38:20 +0000
committerazul <azul@riseup.net>2017-03-27 16:38:20 +0000
commitd53ff24edb72f35b710cb300738c330316475de5 (patch)
tree7623101cb8f65cd9477d7bc61dabcd18fa02ef1e /config/application.rb
parent9beeee8aa2d1656e7c80e54137156e7922737aa5 (diff)
parentb1b523f08a9ce7ea5fe0d50dc8b86995e00b48d6 (diff)
Merge branch 'fix/bootstrap-3' into 'master'
Fix/bootstrap 3 See merge request !31
Diffstat (limited to 'config/application.rb')
-rw-r--r--config/application.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb
index d8e4c82..9534d3e 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -7,6 +7,13 @@ require "action_mailer/railtie"
require "sprockets/railtie"
require "rails/test_unit/railtie"
+# Require gems that depend on a certain load order
+# client_side_validations modules get included only if active_model is loaded.
+# they will only be included in couchrest_model if that is required last.
+require 'active_model'
+require 'client_side_validations'
+require 'couchrest_model'
+
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)