aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/ruby_version_check.rb
diff options
context:
space:
mode:
authorVictor Costan <costan@gmail.com>2013-11-24 12:52:53 -0500
committerVictor Costan <costan@gmail.com>2013-12-03 02:52:26 -0500
commitddf27acbc285a892842866cde04951cdad52c5c9 (patch)
tree9497d0ae23ce1217adb5d21143587c54825dc564 /railties/lib/rails/ruby_version_check.rb
parentabc1e5831cae724cfcdf524f62abb71be02d7e86 (diff)
downloadrails-ddf27acbc285a892842866cde04951cdad52c5c9.tar.gz
rails-ddf27acbc285a892842866cde04951cdad52c5c9.tar.bz2
rails-ddf27acbc285a892842866cde04951cdad52c5c9.zip
Introduce a context for rendering fixtures ERB.
Fixture files are passed through an ERB renderer before being read as YAML. The rendering is currently done in the context of the main object, so method definitons leak into other fixtures, and there is no clean place to define fixture helpers. After this commit, the ERB renderer will use a new subclass of ActiveRecord::FixtureSet.context_class each time a fixture is rendered.
Diffstat (limited to 'railties/lib/rails/ruby_version_check.rb')
0 files changed, 0 insertions, 0 deletions