aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/enum_test.rb
diff options
context:
space:
mode:
authorAndrew White <andrew.white@unboxedconsulting.com>2016-04-03 23:35:15 +0100
committerAndrew White <andrew.white@unboxedconsulting.com>2016-04-03 23:47:05 +0100
commit811fd0a6b47c83cd4f668127bb822dc5cdcfc0f5 (patch)
treec76c339e8709aa4e0dd5920ef2c933cd5b68e25e /activerecord/test/cases/enum_test.rb
parent7199301a7bc1eec34a20c1549e19ec1c32c419e7 (diff)
downloadrails-811fd0a6b47c83cd4f668127bb822dc5cdcfc0f5.tar.gz
rails-811fd0a6b47c83cd4f668127bb822dc5cdcfc0f5.tar.bz2
rails-811fd0a6b47c83cd4f668127bb822dc5cdcfc0f5.zip
Prevent void context warnings
The constant reference A::B used to trigger autoloading causes a warning to be logged about the possible use of :: in a void context so assign it to the _ variable to prevent the warnings from being triggered.
Diffstat (limited to 'activerecord/test/cases/enum_test.rb')
0 files changed, 0 insertions, 0 deletions