Ruby on Rails
Saturday, April 2, 2011
On 1 April 2011 23:22, John Merlino <lists@ruby-forum.com> wrote:
> = item_view "title", @post.title, :class => 'stuff'
Have you got a field in your model called "class"? If so, I'd change
that, as it's a reserved word, and will cause all sorts of confusion
to Ruby.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment