Sha256: 8c75e2f118ede7a228fb98d5260174b4b781db04dc961b482c1940cbe458caab

Contents?: true

Size: 206 Bytes

Versions: 3

Compression:

Stored size: 206 Bytes

Contents

if defined? (Rails)

  module Dynamoid
    class Railtie < Rails::Railtie
      rake_tasks do
        Dir[File.join(File.dirname(__FILE__), 'tasks/*.rake')].each { |f| load f }
      end
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dynamoid-2.2.0 lib/dynamoid/railtie.rb
dynamoid-2.1.0 lib/dynamoid/railtie.rb
dynamoid-2.0.0 lib/dynamoid/railtie.rb