aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/initializer.rb
diff options
context:
space:
mode:
authorAliaksey Kandratsenka <alk@tut.by>2008-11-01 13:55:45 +0200
committerMichael Koziarski <michael@koziarski.com>2008-11-06 19:52:44 +0000
commit099f10679ec6d9ead9606cac2f843e854787db0c (patch)
tree4c94c2e2534909915bd05fb6ca1c91a81dd68195 /railties/lib/initializer.rb
parentaf5b304a4002fe8ebeb8f31cd0a481dfa4a944db (diff)
downloadrails-099f10679ec6d9ead9606cac2f843e854787db0c.tar.gz
rails-099f10679ec6d9ead9606cac2f843e854787db0c.tar.bz2
rails-099f10679ec6d9ead9606cac2f843e854787db0c.zip
Don't eval recognize_optimized use __FILE__ and __LINE__ in the optimised recognition code.
It produces meaningless line numbers. This also easily produces line numbers greater than recognition_optimization.rb have, which causes rcov to trash memory outside of it's coverage counting arrays. [#1319 state:committed] Signed-off-by: Michael Koziarski <michael@koziarski.com>
Diffstat (limited to 'railties/lib/initializer.rb')
0 files changed, 0 insertions, 0 deletions