I have the following:
Posts belong to a User
Posts may be Monitored by many Users
How do you characterize this?
class Post < ActiveRecord::Base
class Monitor < ActiveRecord::Base
has_many :posts, :as => user
class User < ActiveRecord::Base
has_many :posts # when a user does a post
belongs_to :monitor, :polymorphic => true
View this message in context:
Sent from the RubyOnRails Users forum at Nabble.com.