lib/kredis/railtie.rb in kredis-1.0.0 vs lib/kredis/railtie.rb in kredis-1.0.1

- old
+ new

@@ -28,6 +28,11 @@ ActiveSupport.on_load(:active_record) do include Kredis::Attributes end end + + rake_tasks do + path = File.expand_path("..", __dir__) + Dir.glob("#{path}/tasks/**/*.rake").each { |f| load f } + end end