Hi, I have a php bot that fill a mysql database, and i want to build a web app on top of that with rails. I have te possibility to change the database structure to adhere to the rails convetions (it is still quasi empty) If i do that, i will able to use all the rails commodities and convetions (as if i build the bot and/or database directly in rails) ? You have other suggestions for, or methods to adjust the database ? It'' s a good idea do modify it to adhere to the rails convetions ? Or it is the same (i mean, if I modify it i will really able to use rails with it as if I built it ?). Thank you in advance. Bye -- 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 -~----------~----~----~----~------~----~------~--~---
Thorsten Mueller
2008-Feb-14 14:04 UTC
Re: Using rails with existing database or adjusting it
this may depend on many details, so nobody can give you really good advice but in my experience Rails relies much on naming conventions, eg where to use singular or plural forms for names most of that can be adjusted, but you may have trouble to find errors, when Rails automaticly tries to access some table or field with an ''assumed'' name and it will slow down your development process, since you''ll have to find out more details how to tell Rails, what fieldames to use if you can adjust it, you should definitely go for that -- 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 -~----------~----~----~----~------~----~------~--~---