issue with greater than operator in rhtml

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’

thanks in advanced

Regards
Sachin

?? 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.
:-/