aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/fixtures.rb
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2014-12-26 14:12:16 -0700
committerSean Griffin <sean@thoughtbot.com>2014-12-26 14:12:16 -0700
commita3936bbe21f4bff8247f890cacfd0fc882921003 (patch)
tree615ff2d3ed709121f8aea1a2cd6eb56870af0ce9 /activerecord/lib/active_record/fixtures.rb
parentaf55197d86676c371a0a50e62c162df4d6006849 (diff)
downloadrails-a3936bbe21f4bff8247f890cacfd0fc882921003.tar.gz
rails-a3936bbe21f4bff8247f890cacfd0fc882921003.tar.bz2
rails-a3936bbe21f4bff8247f890cacfd0fc882921003.zip
Change `PredicateBuilder` handler methods to instance methods
This will allow us to pass the predicate builder into the constructor of these handlers. The procs had to be changed to objects, because the `PredicateBuilder` needs to be marshalable. If we ever decide to make `register_handler` part of the public API, we should come up with a better solution which allows procs. /cc @mrgilman [Sean Griffin & Melanie Gilman]
Diffstat (limited to 'activerecord/lib/active_record/fixtures.rb')
0 files changed, 0 insertions, 0 deletions