public
Description: FixtureReplacement rails plugin (version 2 and on)
Homepage: http://replacefixtures.rubyforge.org/
Clone URL: git://github.com/smtlaissezfaire/fixturereplacement.git
commit  5c16b52168e61e1642b77b2db646ae070287d110
tree    42b5310aaf934a6de0e15681e3cca42f9f9ea76f
parent  3da75a0e606781f1dda4c88c40d0835d40a869be
fixturereplacement / lib / fixture_replacement / controller / delayed_evaluation_proc.rb
100644 7 lines (6 sloc) 0.265 kb
1
2
3
4
5
6
7
module FixtureReplacementController
  # This is here so that if someone (some how) assigns a proc
  # to an accessor on an ActiveRecord object, FixtureReplacement
  # won't get tripped up, and try to evaluate the proc.
  class DelayedEvaluationProc < Proc; end
end