I just inherited a Ruby on Rails web site. I don''t know anything about this topic (I do VB.NET normally). I''m so confused that I''m about to either throw my laptop out the window or throw myself out the window.... I connected to MySQL Query Browser and added a record using an INSERT command. But then on the web site, I don''t see the new record anywhere. And vice versa... I add a record into the web site''s CMS program but then I don''t see it anywhere in MySQL. I don''t know anything about Ruby on Rails apps. Do I need to compile it before seeing changes? or run some sort of deployment utility? Any help would be very helpful... Tom -- 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 -~----------~----~----~----~------~----~------~--~---
Look in your config/database.yml file to see how your databases are configured. You should be in production mode on your server. I''m guessing you are looking at the wrong db. On Jan 8, 3:26 pm, Tom Nen <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> I just inherited a Ruby on Rails web site. I don''t know anything about > this topic (I do VB.NET normally). I''m so confused that I''m about to > either throw my laptop out the window or throw myself out the window.... > > I connected to MySQL Query Browser and added a record using an INSERT > command. But then on the web site, I don''t see the new record anywhere. > > And vice versa... I add a record into the web site''s CMS program but > then I don''t see it anywhere in MySQL. > > I don''t know anything about Ruby on Rails apps. Do I need to compile it > before seeing changes? or run some sort of deployment utility? > > Any help would be very helpful... > > Tom > -- > 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 -~----------~----~----~----~------~----~------~--~---
Ben, Thanks for the reply. Do you know how I can toggle to "production mode"? I see 3 databases in the database.yml file (development, test, production). Thanks for your help. Tom -- 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 -~----------~----~----~----~------~----~------~--~---