[Rails] Many to many polymorphic relationships...

2009-07-15 Thread Omega
I've been struggling to get a clear and straight-forward answer on this one, I'm hoping this time I'll get it! :D I definitely have a lot to learn still with Rails, however I do understand the problem I'm facing and would really appreciate additional help. o I have a model called Task. o I have

[Rails] named_scopes

2009-06-25 Thread Omega
Hey all, I'm learning rails and am trying to put together a generic ACL check for all models. I've been able to sucessfully implement it as a method for all models by decorating ActiveRecord::Base. But when I try to do the rails way of creating an association (and thereby taking advantage of