Skip to content

Commit

Permalink
Sequel in, DataMapper out
Browse files Browse the repository at this point in the history
  • Loading branch information
lucapette committed Feb 20, 2015
1 parent b20c658 commit f10570f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pryrc
Expand Up @@ -23,8 +23,7 @@ if defined?(Rails) && Rails.env
ActiveRecord::Base.clear_active_connections!
end

if defined?(DataMapper)
DataMapper::Logger.new($stdout, :debug)
if defined?(Sequel)
Sequel::Model.loggers << Logger.new(STDOUT)
end

end

0 comments on commit f10570f

Please sign in to comment.