On 28 February 2012 11:26, sachin kewale wrote:
i am getting an error 'undefined method 'current' for 852:Fixnum', the
error coming for following line
<%if @expert_pagination.current.previous%>
i am getting an error 'undefined method 'current' for 852:Fixnum', the
error coming for following line
<%if @expert_pagination.current.previous%>
I assume you expect it to be an object of some sort with a method
".current"; but the error is telling you that it's a Fixnum...
--
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.