Permalink
Browse files

load mongo_mapper mixin for ap too

  • Loading branch information...
1 parent dbd2bcd commit ff85bcab55d434060c3e556720489e45cf9af993 @fuJiin fuJiin committed Mar 29, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/ap.rb
View
@@ -15,3 +15,4 @@
# console when required from ~/.irbrc.
require File.dirname(__FILE__) + "/ap/mixin/active_record" if defined?(ActiveRecord) || (defined?(IRB) && ENV['RAILS_ENV'])
require File.dirname(__FILE__) + "/ap/mixin/active_support" if defined?(ActiveSupport) || (defined?(IRB) && ENV['RAILS_ENV'])
+require File.dirname(__FILE__) + "/ap/mixin/mongo_mapper" if defined?(MongoMapper)

0 comments on commit ff85bca

Please sign in to comment.