Ruby on Rails Wednesday, September 1, 2010

Hello,

I've been googling for about two hours already but not successful yet so
I hope you guys can help me out.

I need some kind of n:m polymorphic relation like this:
building_types: living, shops
block_types: residential, commercial

activity_types: act1, act2

So now I need a connection table e.g. activity_scope so I can for
example allow
act1 only for living and residential and act2 for commercial and shops

Any ideas?
--
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.

No comments:

Post a Comment