Sha256: 06c34c2343d3d688448f23bac974eabf95938fbb918a6f40cd7c9fdcc4f0d10d

Contents?: true

Size: 406 Bytes

Versions: 4

Compression:

Stored size: 406 Bytes

Contents

# make sure we're running inside Merb
if defined?(Merb::Plugins)
  if Merb::Server.app_loaded?
    puts "Warning: The merb_active_record gem must be loaded before the application"
  else
    require "merb/orms/active_record/connection"
    Merb::Orms::ActiveRecord.connect
    Merb::Orms::ActiveRecord.register_session_type
  end
  Merb::Plugins.add_rakefiles "merb/orms/active_record/tasks/databases"
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
merb_activerecord-0.4.2 lib/merb_activerecord.rb
merb_activerecord-0.4.3 lib/merb_activerecord.rb
merb_active_record-0.4.0 lib/merb_active_record.rb
merb_active_record-0.0.1 lib/merb_active_record.rb