chengpan
2008-Jul-17 15:44 UTC
Using Ruby on Rails with existing Microsoft SQL Server database
Hey guys, I just started learning how to use RORs and am really satisfied with it. I installed it and created my first web page in under two hours. I''ve decided to make a more advanced page by using an existing SQL server database but there does not seem to be anything documentation online on how to use existing databases. Do I just edit my database.yml file? Do I still have to migrate everything? Will ROR understand my current database structure? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Pardee, Roy
2008-Jul-17 15:53 UTC
Re: Using Ruby on Rails with existing Microsoft SQL Server database
ROR will not understand the current structure. It''s good, but it''s not *that* good. ;-) See: http://wiki.rubyonrails.org/rails/pages/HowToUseLegacySchemas And: http://wiki.rubyonrails.org/rails/show/HowtoConnectToMicrosoftSQLServer HTH, -Roy -----Original Message----- From: rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org [mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org] On Behalf Of chengpan Sent: Thursday, July 17, 2008 8:45 AM To: Ruby on Rails: Talk Subject: [Rails] Using Ruby on Rails with existing Microsoft SQL Server database Hey guys, I just started learning how to use RORs and am really satisfied with it. I installed it and created my first web page in under two hours. I''ve decided to make a more advanced page by using an existing SQL server database but there does not seem to be anything documentation online on how to use existing databases. Do I just edit my database.yml file? Do I still have to migrate everything? Will ROR understand my current database structure? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
chengpan
2008-Jul-17 16:29 UTC
Re: Using Ruby on Rails with existing Microsoft SQL Server database
Thanks I will give it a shot. On Jul 17, 11:53 am, "Pardee, Roy" <parde...-go57ItdSaco@public.gmane.org> wrote:> ROR will not understand the current structure. It''s good, but it''s not > *that* good. ;-) > > See: > > http://wiki.rubyonrails.org/rails/pages/HowToUseLegacySchemas > > And: > > http://wiki.rubyonrails.org/rails/show/HowtoConnectToMicrosoftSQLServer > > HTH, > > -Roy > > -----Original Message----- > From: rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org] On Behalf Of chengpan > Sent: Thursday, July 17, 2008 8:45 AM > To: Ruby on Rails: Talk > Subject: [Rails] Using Ruby on Rails with existing Microsoft SQL Server > database > > Hey guys, > I just started learning how to use RORs and am really satisfied with it. > I installed it and created my first web page in under two hours. > I''ve decided to make a more advanced page by using an existing SQL > server database but there does not seem to be anything documentation > online on how to use existing databases. Do I just edit my database.yml > file? Do I still have to migrate everything? Will ROR understand my > current database structure?--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---