spec/tmp/config/application.rb in sunrise-cms-0.5.0.rc2 vs spec/tmp/config/application.rb in sunrise-cms-0.5.0.rc3

- old
+ new

@@ -1,8 +1,12 @@ require File.expand_path('../boot', __FILE__) require 'rails/all' +unless defined?(SUNRISE_ORM) + SUNRISE_ORM = (ENV["SUNRISE_ORM"] || :active_record).to_sym +end + if defined?(Bundler) # If you precompile assets before deploying to production, use this line Bundler.require(*Rails.groups(:assets => %w(development test))) # If you want your assets lazily compiled in production, use this line Bundler.require(SUNRISE_ORM)