Yes. ALWAYS. Otherwise, you may need to spend a significant amount of time to investigate what causes invalid data.
Elias Orozco wrote: > Hello, > > I have a dilemma. Should I create foreign keys on my database or > should I let the app models do all the work? > > Thanks, > > Elioncho -- 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 [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

