我想像这样传递一个ruby数组值:User.connection.raw_connection.exec_params(sql, [[1,2]])PG:IndeterminateDatatype: ERROR: could not determine data type of parameter $1
如果我将sql更改为"SELECT $1::int[]",我将得到PG有没有一种方法可以将拼音数组传递给exec_params并将其
ERROR: Could not find a valid gem '–with-pg-config=/usr/local/pg/bin/pg_config' (>= 0) in any repository--curdir
--ruby=/Users/TonyNg/.rvm/rubies/ruby-1.9.2-p180/bin/<e