Hello,

When I try to insert a record using either the insert or create syntax

MyModel.create(:item1 => item1, :item2 => item2, :pgarray_item => [])

I get the error:
Sequel::DatabaseError - PG::SyntaxError: ERROR:  syntax error at or near "]"
LINE 1: ...item1, item2, ARRAY[]::integer...

I am using ruby 1.8.7, postgres 8.3 and sequel 4.2.0

Any help would be greatly appreciated.


Thanks,
Ben

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to