Sha256: f15d8fd4c52077169565984c99818e512ef040659272b6ba4b63393e460702d4
Contents?: true
Size: 769 Bytes
Versions: 3
Compression:
Stored size: 769 Bytes
Contents
require 'rubygems' require 'genosaurus' require 'activerecord' module ActiveRecord # :nodoc: end fl = File.join(File.dirname(__FILE__), "mack-active_record") require File.join(fl, "database") require File.join(fl, "helpers", "orm_helpers") require File.join(fl, "model_column") require File.join(fl, "genosaurus_helpers") # [:migration, :model, :scaffold].each do |gen| # require File.join(fl, "#{gen}_generator", "#{gen}_generator") # end [:helpers, :migration_generator, :model_generator, :scaffold_generator].each do |folder| Dir.glob(File.join(fl, folder.to_s, "**/*.rb")).each {|f| require f} end ActiveRecord::Base.logger = Mack.logger Mack::Database.establish_connection(Mack.env) require File.join(File.dirname(__FILE__), 'mack-active_record_tasks')
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mack-active_record-0.6.1.1 | lib/mack-active_record.rb |
mack-active_record-0.6.1 | lib/mack-active_record.rb |
mack-active_record-0.6.1.2 | lib/mack-active_record.rb |