I have a comment model, what to use in my mvc's? @comment, :comment or comment?

Posted by Winston on Stack Overflow See other posts from Stack Overflow or by Winston
Published on 2010-03-24T08:19:41Z Indexed on 2010/03/24 8:23 UTC
Read the original article Hit count: 375

Filed under:
|
|

I have a comment model, I've seen examples of using @comment, :comment, comment to reference for the object in MVC? how do I know which is which? Is there a distinction?

© Stack Overflow or respective owner

Related posts about ruby

Related posts about ruby-on-rails