i know ruby on rails little bit(but i have to connect mysql with ruby so plz give the details procedure) 1) Plz give me some details abt rails controller.... & its contained folders(app,log,public,script,test, temp......) I want to know the functions (& other details) of each them... 2)how can i connect mysql with ruby.....plz give details... i.e "how r we doing so? and why?" any help...............plz thanx in advance -- 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
www.railscasts.com spend some time there, im sure it will help. On Jul 1, 2:50 pm, Sumanta Das <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> i know ruby on rails little bit(but i have to connect mysql with ruby so > plz give the details procedure) > > 1) Plz give me some details abt rails controller.... & its contained > folders(app,log,public,script,test, temp......) I want to know the > functions (& other details) of each them... > > 2)how can i connect mysql with ruby.....plz give details... i.e "how r > we doing so? and why?" > > any help...............plz > > thanx in advance > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
2. Go to config/database.yml development: adapter: mysql database: development username: root password: PASSWORD host: localhost socket: /var/lib/mysql/mysql.sock timeout: 5000 Now rails can connect to the database. If not, you have to make database in mysq command line mysql -u root -p create database development; On 1 heinä, 16:50, Sumanta Das <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> i know ruby on rails little bit(but i have to connect mysql with ruby so > plz give the details procedure) > > 1) Plz give me some details abt rails controller.... & its contained > folders(app,log,public,script,test, temp......) I want to know the > functions (& other details) of each them... > > 2)how can i connect mysql with ruby.....plz give details... i.e "how r > we doing so? and why?" > > any help...............plz > > thanx in advance > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---