I have an m:n relationsship (has_and_belongs_to_many) between the models
CoreUser and CoreGroup. So from some rails experience I thought I’d
be able to add a (user,group)-relation simply by doing
agroup.core_users << auser.
Unfortunately the following test-case fails on the last assertion
(unless I include the line that is commented out):
I have an m:n relationsship (has_and_belongs_to_many) between the models
There’s a whole mailing list dedicated to Ruby on Rails and populated
with people who love to discuss RoR. While there are some Rails-ers
here, you’re going to get a lot more help on the RoR list. Find it here:
Firstly, get on the Goole Ruby-on-Rails Talk forum. I know it’s a pain in
the nuts compared to USENET, but you need the best answers for these
questions.
It’s available as an NNTP feed on news.gmane.org as
gmane.comp.lang.ruby.rails