lib/micro_sessions.rb in micro_sessions-0.1.1 vs lib/micro_sessions.rb in micro_sessions-0.2.0

- old
+ new

@@ -1,14 +1,7 @@ -unless defined?(ActionController) - begin - require "action_pack" - require "action_controller" - require "action_view" - rescue LoadError - require "rubygems" - require_gem "actionpack" - end -end +require "rails" +require "action_controller" +require "action_view" module MicroSessions extend ActiveSupport::Concern extend ActiveSupport::Autoload