Displaying 2 results from an estimated 2 matches for "hasmany".
Did you mean:
has_many
2013 Feb 25
3
ActiveRecord associations: design question
Hi guys,
In my Rails app, I have three models: A, B and C, with the following
relationships:
- B hasMany C
- C belongsTo B
I would like A to "has_one" instance of B+C. By that I mean A needs to
be linked to a specific instance of B AND a specific instance of C.
My first guess would be to create a fourth object, say B_plus_C that
would:
- belongs to B
- belongs to C
- belongs to A
Is it a...
2006 Jun 11
47
Ruby on Rails and CakePHP Comparison
>From a development standpoint, what are the features that make Ruby on
Rails a better choice compared to CakePHP?
--
Posted via http://www.ruby-forum.com/.