Displaying 1 result from an estimated 1 matches for "select_sp".
Did you mean:
select_dp
2008 Mar 20
0
Mixing stored procedure call with RoR db calls in the same function gives errors
...ord, database, port, socket], config)
to
ConnectionAdapters::MysqlAdapter.new(mysql, logger, [host, username,
password, database, port, socket, 65536 + 131072], config)
as recommended. However I use connection.select_all("call
spName(params)") to execute my stored proc instead of using select_sp
as defined and recommended in the abovementioned article - partly
because select_all seemed to work fine and the article above was
written for some older version of rails as the lines numbers where
changes were to be made didn''t match with those in my version of
mysql_adapter.rb file.
How...