diff options
author | kennyj <kennyj@gmail.com> | 2012-07-18 01:16:55 +0900 |
---|---|---|
committer | kennyj <kennyj@gmail.com> | 2012-07-18 01:16:55 +0900 |
commit | 414008f98e6eefb6efe14a93b6a969fbae3d339f (patch) | |
tree | b4c3e39da37f542d6405f3434c26ea8e57720bab /actionpack/lib | |
parent | 15bfaa3d13f84c689f9182c0be658ddde019e572 (diff) | |
download | rails-414008f98e6eefb6efe14a93b6a969fbae3d339f.tar.gz rails-414008f98e6eefb6efe14a93b6a969fbae3d339f.tar.bz2 rails-414008f98e6eefb6efe14a93b6a969fbae3d339f.zip |
Fix class_eval without __FILE__ and __LINE__.
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/route_set.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb index 1d6ca0c78d..0bbed6cbea 100644 --- a/actionpack/lib/action_dispatch/routing/route_set.rb +++ b/actionpack/lib/action_dispatch/routing/route_set.rb @@ -333,7 +333,7 @@ module ActionDispatch end end - MountedHelpers.class_eval <<-RUBY + MountedHelpers.class_eval(<<-RUBY, __FILE__, __LINE__ + 1) def #{name} @#{name} ||= _#{name} end |