Sha256: cb031375b455964d50246c634056fed5e233cbb08645caee21d3b620a5f905f6

Contents?: true

Size: 452 Bytes

Versions: 1

Compression:

Stored size: 452 Bytes

Contents

if defined?(Application) && (Application.send(:identifier) rescue '-') == 'ruby-app'

  # add rake paths
  App.rake_paths << [
      File.join(File.dirname(__FILE__), %w{ ruby-app-ar tasks.rake })
    ].map{|f| File.expand_path(f) }

  # add initializers
  App.initializer_paths << [
      File.join(File.dirname(__FILE__), %w{ config.rb }),
      File.join(File.dirname(__FILE__), %w{ init-activerecord.rb })
    ].map{|f| File.expand_path(f) }

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-app-ar-0.1.2 lib/ruby-app-ar.rb