Reputation: 6068
How can i access 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.01
Thanks....
Upvotes: 1
Views: 1893
Reputation:
try this below: ActiveRecord::Base.connection.execute("call sp_name(param1,param2,.....)")
Upvotes: 3