aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/enum.rb
diff options
context:
space:
mode:
authorgmarik <gmarik@users.noreply.github.com>2013-12-31 11:51:33 -0600
committergmarik <gmarik@users.noreply.github.com>2013-12-31 11:51:33 -0600
commit8ea00ed91a89997098edc9d83b8ecb26ed72f8fc (patch)
tree06976b1ed9285bdf628b8ce0441176dab7cd07e9 /activerecord/lib/active_record/enum.rb
parentc4fb191a4cc246db849f7acf31bd7edb4664cca5 (diff)
downloadrails-8ea00ed91a89997098edc9d83b8ecb26ed72f8fc.tar.gz
rails-8ea00ed91a89997098edc9d83b8ecb26ed72f8fc.tar.bz2
rails-8ea00ed91a89997098edc9d83b8ecb26ed72f8fc.zip
Use `Array#wrap` instead `Array()`
- since `Array()` calls `to_ary` or `to_a` on a subject - the intent is to 'wrap' subject into an array
Diffstat (limited to 'activerecord/lib/active_record/enum.rb')
0 files changed, 0 insertions, 0 deletions