lib/sequel_rails/railtie.rb in sequel-rails-0.8.0 vs lib/sequel_rails/railtie.rb in sequel-rails-0.9.0
- old
+ new
@@ -15,13 +15,12 @@
require 'sequel_rails/migrations'
require 'sequel_rails/railties/log_subscriber'
require 'sequel_rails/railties/i18n_support'
require 'sequel_rails/railties/controller_runtime'
require 'sequel_rails/sequel/database/active_support_notification'
+require 'action_dispatch/middleware/session/sequel_store'
module SequelRails
- autoload :SessionStore, 'sequel_rails/session_store'
-
class Railtie < Rails::Railtie
::SequelRails::Railties::LogSubscriber.attach_to :sequel
config.app_generators.orm :sequel, :migration => true
config.rails_fancy_pants_logging = true