Permalink
Browse files

Aliasing class_eval makes JRuby ornery.

  • Loading branch information...
wycats committed Mar 8, 2010
1 parent 54a69c3 commit 79b0b5082c74b008c73dabcd3216fdc5bac8e6ee
Showing with 4 additions and 1 deletion.
  1. +4 −1 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

0 comments on commit 79b0b50

Please sign in to comment.