Hi Friends, i am new to ruby on rails, i want to connect mysql from ruby on rails, how i connect and how to operations like create and update delete . any one have idea please help me out Thanks In Advance V.Venkateswara rao -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Go read a tutorial. http://ruby.railstutorial.org/ruby-on-rails-tutorial-book -- Dheeraj Kumar On Thursday 7 February 2013 at 3:04 PM, Venkat Vejandla wrote:> Hi Friends, > > i am new to ruby on rails, i want to connect mysql from ruby on rails, > how i connect and how to operations like create and update delete . any > one have idea please help me out > > Thanks In Advance > V.Venkateswara rao > > -- > Posted via http://www.ruby-forum.com/. > > -- > 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 rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org (mailto:rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org). > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org (mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org). > For more options, visit https://groups.google.com/groups/opt_out. > >-- 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 rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On 7 February 2013 09:36, Dheeraj Kumar <a.dheeraj.kumar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Go read a tutorial. > > http://ruby.railstutorial.org/ruby-on-rails-tutorial-bookAgreed, but do more than read it, work right through the tutorial in order to understand the basics of rails. The tutorial is free to use online. Colin> > -- > Dheeraj Kumar > > On Thursday 7 February 2013 at 3:04 PM, Venkat Vejandla wrote: > > Hi Friends, > > i am new to ruby on rails, i want to connect mysql from ruby on rails, > how i connect and how to operations like create and update delete . any > one have idea please help me out > > Thanks In Advance > V.Venkateswara rao > > -- > Posted via http://www.ruby-forum.com/. > > -- > 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 rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > > > -- > 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 rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > >-- 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 rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Colin Law wrote in post #1095694:> On 7 February 2013 09:36, Dheeraj Kumar <a.dheeraj.kumar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: >> Go read a tutorial. >> >> http://ruby.railstutorial.org/ruby-on-rails-tutorial-book > > Agreed, but do more than read it, work right through the tutorial in > order to understand the basics of rails. The tutorial is free to use > online. > > ColinThank you Colin.... -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
For connecting mysql to your rails App follow below commands
1. in terminal when your creating new App
    rails new <App Name>  -d  mysql (-d for database)
2. Open your database.yml file (Appname/config/database.yml)
     give password of your mysql at DEVELOPMENT and Testing
3. rake db:create
4.rake db:migrate
On Thu, Feb 7, 2013 at 4:37 PM, Venkat Vejandla
<lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>wrote:
> Colin Law wrote in post #1095694:
> > On 7 February 2013 09:36, Dheeraj Kumar
<a.dheeraj.kumar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> > wrote:
> >> Go read a tutorial.
> >>
> >> http://ruby.railstutorial.org/ruby-on-rails-tutorial-book
> >
> > Agreed, but do more than read it, work right through the tutorial in
> > order to understand the basics of rails.  The tutorial is free to use
> > online.
> >
> > Colin
>
>
>
>
> Thank you Colin....
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> 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
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
-- 
----------------------------------------------------------------------------------------------------
Thank You.
Best Wishes,
BalaRaju Vankala,
8886565300.
-- 
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
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.