method
string_to_array
v4.1.8 -
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 121
def string_to_array(string, oid)
parse_pg_array(string).map {|val| type_cast_array(oid, val)}
end