On 28 February 2012 07:14, sachin kewale <sachinkew...@gmail.com> wrote: > hi all, > i have one issue with the greater than operator ,how should i use greater > than operator ? > i have condition <%if @c_page > 5%> it giving error 'undefined method `>' > for nil:NilClass'
?? Did you read the error? It has nothing to do with HTML; it has nothing to do with the "greater than" operator. It's telling you that the @c_page variable is nil. :-/ -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.