I have a habtm relationship between User and Activity
when I create a new Activity why do I have to manually set the foreign
user_id in the activity table???
@activity = Activity.new(params[:activity])
@activity.user_id = self.current_user.id #why is this
necessary??? but I guess rails can’t magically know what I mean by
@activity.users << User.find_by_id(self.current_user.id)