glenngillen/rails-database-url — pull request #5 by hph (2014-02-27 15:34:14+00:00)
Title: Use defined? instead of const_defined?

Using const_defined(:Rails) returns nil, this returns the correct value. I'm on JRuby 1.7.10 (1.9.3p392).