aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
diff options
context:
space:
mode:
authorJon Moss <me@jonathanmoss.me>2017-04-28 21:31:36 -0400
committerJon Moss <me@jonathanmoss.me>2017-04-28 21:31:36 -0400
commite82d2251e3fc64b415513904b014aa84d5ac6103 (patch)
tree6c97b60212faf0e807cc888a5b457ddf193aa938 /activerecord/lib/active_record/relation
parent55cce92f80d01bb3c926d8ca3181ee53bbb89a2b (diff)
downloadrails-e82d2251e3fc64b415513904b014aa84d5ac6103.tar.gz
rails-e82d2251e3fc64b415513904b014aa84d5ac6103.tar.bz2
rails-e82d2251e3fc64b415513904b014aa84d5ac6103.zip
Stop creating duplicate Struct instances
Just use one `Event` class. Reduces duplication, makes the tests easier to read. It might seem like each tests needs a different kind of Struct, since we make a new one for each test case.
Diffstat (limited to 'activerecord/lib/active_record/relation')
0 files changed, 0 insertions, 0 deletions