I’ve got 3 models: Comment, Venue and User. Comment has many :venues
and belongs to :user. Venue belongs to :user as well.
When adding a comment, user should be able to attach a venue to it.
In Venue model “user_id” attribute is protected and it is required as
well - this causes problem when trying to create a venue when adding a
comment using nested attributes, because I can’t pass “user_id”
attribute required by venue - it’s protected and thus rejected.
Any ideas how to solve it?