Sha256: 292e102a0c49106a5ecef6720d234fc33c383fe9de16eba45e4a7785179ff55b
Contents?: true
Size: 395 Bytes
Versions: 21
Compression:
Stored size: 395 Bytes
Contents
require 'modalfields/modalfields' require 'modalfields/standardfields' if defined?(Rails) && Rails.respond_to?(:version) if Rails.version.split('.').first.to_i > 2 class BackupTask < Rails::Railtie rake_tasks do Dir[File.join(File.dirname(__FILE__), 'tasks', '**/*.rake')].each { |f| load f } end end end ModalFields.enable if defined?(ActiveRecord::Base) end
Version data entries
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
modalfields-1.1.11 | lib/modalfields.rb |