lib/power_enum.rb in power_enum-1.3.1 vs lib/power_enum.rb in power_enum-1.3.2
- old
+ new
@@ -1,7 +1,13 @@
require "rails"
require 'testing/rspec'
+# Power Enum allows you to treat instances of your ActiveRecord models as
+# though they were an enumeration of values. It allows you to cleanly solve
+# many of the problems that the traditional Rails alternatives handle poorly
+# if at all. It is particularly suitable for scenarios where your Rails
+# application is not the only user of the database, such as when it's used for
+# analytics or reporting.
class PowerEnum < Rails::Engine
config.autoload_paths << File.expand_path(File.join(__FILE__, "../"))
initializer 'power_enum' do
ActiveSupport.on_load(:active_record) do