lib/flipper.rb in flipper-0.21.0.rc1 vs lib/flipper.rb in flipper-0.21.0.rc2
- old
+ new
@@ -14,11 +14,11 @@
end
# Public: Configure flipper.
#
# Flipper.configure do |config|
- # config.default { ... }
+ # config.adapter { ... }
# end
#
# Yields Flipper::Configuration instance.
def configure
yield configuration if block_given?
@@ -162,5 +162,7 @@
require 'flipper/types/group'
require 'flipper/types/percentage'
require 'flipper/types/percentage_of_actors'
require 'flipper/types/percentage_of_time'
require 'flipper/typecast'
+
+require "flipper/railtie" if defined?(Rails::Railtie)