@Tsolmon,

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


On Thu, Jul 31, 2014 at 5:51 PM, Tsolmon Narantsogt <[email protected]>
wrote:

> Hello Comrades
>
> How to call stored Procedure(mysql) in rails.
> i'm using rails 3.2
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/CAPs6WScrwGWnquq0%2BWWFSYz9oxbA9MAUbT02b2iqHuGZYoatCA%40mail.gmail.com
> <https://groups.google.com/d/msgid/rubyonrails-talk/CAPs6WScrwGWnquq0%2BWWFSYz9oxbA9MAUbT02b2iqHuGZYoatCA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAEGezZXNkC04TmeTVhTzBLiHUYF8G25%2Bo3hrLfzAjdf%3DW1TX1A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to