Re: [Rails] What Model Association?
The car exists independently of a CarWashStation.
A CarWashStation can perform these [Enumerated] functions on a Class of Vehicle [such as a car].
Version 0.
--
Charles A. Lopez
charlesalopez@gmail.com
What's your vision for your organization?
What's your biggest challenge?
Let's talk.
(IBM Partner)
-- On 4 April 2012 17:39, Mark 01 <lists@ruby-forum.com> wrote:
I have the following two models and am not quite sure how they should be
associated.
- Car
- CarWashStation
At any given time, an instance of Car will be at (belong to?) one of a
dozen car wash stations. What associations should I use (if any) between
these models?
Thanks in advance!
Mark
--
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@googlegroups.com.
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.
Charles A. Lopez
charlesalopez@gmail.com
What's your vision for your organization?
What's your biggest challenge?
Let's talk.
(IBM Partner)
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@googlegroups.com.
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home