Check this

http://nasir.wordpress.com/2007/12/03/stored-procedures-and-rails

On Aug 27, 3:09 pm, Chris Dekker <rails-mailing-l...@andreas-s.net>
wrote:
> Adding the 65536 flag seems to allow me to gather a resultset from the
> stored procedure, yet my commands go out of sync. Running any query
> (even a simple Model.first) after running a Stored Proc that returns
> results gives this error:
>
> ActiveRecord::StatementInvalid: Mysql::Error: Commands out of sync; you
> can't run this command now: call scores(DATE('2009-08-24'), 3282, 1);
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to