Forum: Ruby on Rails How to call stored Procedure(mysql) in rails

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
3218124dc039bf9afba426245deaaf13?d=identicon&s=25 Tsolmon Narantsogt (Guest)
on 2014-07-31 14:23
(Received via mailing list)
Hello Comrades

How to call stored Procedure(mysql) in rails.
i'm using rails 3.2
174dad5d84e4dce9b21365418d5765ae?d=identicon&s=25 Annapoorna R (Guest)
on 2014-07-31 15:16
(Received via mailing list)
@Tsolmon,

 You can try this
ActiveRecord::Base.connection.execute("procedure_name")


On Thu, Jul 31, 2014 at 5:51 PM, Tsolmon Narantsogt <mnts26@gmail.com>
This topic is locked and can not be replied to.