On Mar 10, 8:43 am, Scott LaBounty <[email protected]> wrote:
> All,
>
> I've just posted a new item on the one_to_many/many_to_one models that you
> all were helping me with earlier. This is on my Steamcode blog 
> athttp://steamcode.blogspot.com. Let me know if you would of any problems you
> see so that I'm not leading people astray.

Looks good.  I generally recommend using:

  foreign_key :country_id, :countries

Which sets up an actual foreign key reference.  As SQLite ignores the
foreign key reference, it's probably not worth changing, though if you
use another database, I'd definitely recommend it.

Jeremy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sequel-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/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to