Sha256: 2f137c5204db8bda5bb5c8058639697b95fc77f6417d352d32768c75e3b223c3

Contents?: true

Size: 696 Bytes

Versions: 2

Compression:

Stored size: 696 Bytes

Contents

require 'rubygems'
require 'genosaurus'

require 'activerecord'

module ActiveRecord # :nodoc:
end

fl = File.join(File.dirname(__FILE__))

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(File.dirname(__FILE__), folder.to_s, "**/*.rb")).each {|f| require f}
end

ActiveRecord::Base.logger = Mack.logger

Mack::Database.establish_connection(Mack.env)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mack-active_record-0.6.0 lib/mack-active_record.rb
mack-active_record-0.6.0.1 lib/mack-active_record.rb