Calling Stored procedure through Rails?
How can i acces开发者_Go百科s Stored procedure created in Mysql through rails code? I am currently using following versions for rails application:-
Rails 2.1.0
Ruby Enterprise Edition 2010.01Thanks....
try this below: ActiveRecord::Base.connection.execute("call sp_name(param1,param2,.....)")
精彩评论