File: railtie.rb

package info (click to toggle)
ruby-data-migrate 6.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 568 kB
  • sloc: ruby: 1,844; makefile: 6
file content (9 lines) | stat: -rw-r--r-- 269 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
module DataMigrate
  class Railtie < ::Rails::Railtie
    generators = config.respond_to?(:app_generators) ? config.app_generators : config.generators

    rake_tasks do
      load File.join(File.dirname(__FILE__), '..', '..', 'tasks/databases.rake')
    end
  end
end