Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Aliasing class_eval makes JRuby ornery.

  • Loading branch information...
commit 79b0b5082c74b008c73dabcd3216fdc5bac8e6ee 1 parent 54a69c3
@wycats wycats authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 railties/lib/rails/application.rb
View
5 railties/lib/rails/application.rb
@@ -15,7 +15,10 @@ class Application < Engine
class << self
private :new
- alias :configure :class_eval
+
+ def configure(&block)
+ class_eval(&block)
+ end
def instance
if self == Rails::Application
Please sign in to comment.
Something went wrong with that request. Please try again.