aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2014-06-09 13:53:41 -0400
committereileencodes <eileencodes@gmail.com>2014-06-09 19:16:00 -0400
commit9eb87fbf15b2bb68d9d16c83dfe46f88d89a915c (patch)
treeab90e12db40fe7adc8c9c4a39add6bde87c7f436 /.travis.yml
parent66eb847c9dc571421ca2d91bb7de23a788ecd76b (diff)
downloadrails-9eb87fbf15b2bb68d9d16c83dfe46f88d89a915c.tar.gz
rails-9eb87fbf15b2bb68d9d16c83dfe46f88d89a915c.tar.bz2
rails-9eb87fbf15b2bb68d9d16c83dfe46f88d89a915c.zip
Abstract away use of HABTM macro
By having the `:has_and_belongs_to_many` macro in the `@collection` we are punishing `:has_many` associations because it has to allocate the array and check the macro. @collection is returned to `macro == :has_many` and a new reflection class `HABTMReflection` is created to handle this case instead.
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions