On Tue, Apr 19, 2011 at 1:52 PM, Neil Bye wrote:
> Im trying to makee an application that allows subcomments ie comments on
> comments. The point where I get stuck is finding the comment that is
> commented on.
>
> This is an excerpt from subcomment.rb
>
> def create
> @comment = Comment.find(p
Im trying to makee an application that allows subcomments ie comments on
comments. The point where I get stuck is finding the comment that is
commented on.
This is an excerpt from subcomment.rb
def create
@comment = Comment.find(params[:id])
@comment.subcomments.create( :comment_id => @co
2 matches
Mail list logo