RailsCasts Pro episodes are now free!

Learn more or hide this

Can Edremitoglu's Profile

GitHub User: cantonic

Comments by Can Edremitoglu

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