method
string_to_array
v4.0.2 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::PostgreSQLColumn::Cast
string_to_array(string, oid)public
No documentation available.
# File activerecord/lib/active_record/connection_adapters/postgresql/cast.rb, line 117
def string_to_array(string, oid)
parse_pg_array(string).map{|val| oid.type_cast val}
end