exchange .to_a with Array(…)

remove warning
lib/assignable_values/active_record/restriction/base.rb:95: warning: default `to_a' will be obsolete