Maybe one of you guys can figure this out:
- has_many :comments
- belongs_to :user
- belongs_to :commentable, :polymorphic => true
- has_many :comments, :as => commentable
I have a story (variable called story) and I say:
story.comments.create :user_id => current_user.id
and now story.comments contains this comment but not user.comments.
The comment that was created has a commentable_id, a commentable_type,
but not a user_id, even if I specify it explicitly like above.
Am I going about creating the comment wrong or did I setup the