Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

cantonic's Profile

GitHub User: cantonic

Comments by

Avatar

fixed it by using

@message = Message.new
@message.parent_id=params[:parent_id]

instead of

@message = Message.new(:parent_id => params[:parent_id])

Avatar

I have the same problem with Rails 3.1.3