I am new to RoR, so I will apologize in advance. However, I am
creating an mapping system with the Google API. So I have a model
called Routes and a model called Locations. These are related in the
fact that Routes have a start and end Location. Yet, I can't determine
the relationship to use. So...

Idea 1: HABTM relationship, and adding a column to the join table for
start/end. But that "feels wrong".
Idea 2: Add options on a has_one relationship to map it accordingly.
Idea 3: Something I haven't thought of...

I don't know. Again, I'm new. Any direction would be appreciated.

Thanks,
Jason
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to