My rails app is getting this error:
syntax error, unexpected ',', expecting =>
The line in my model that it is complaining about is this:
validates :body, presence: true,
length: {minimum: 2, maximum: 1000},
:chat_room_id, :user_id
Seems to be the comma between :chat_room_id and :user_id
Any ideas? Thanks!