Ruby on Rails
Tuesday, February 28, 2012
hi all,
i am getting an error 'undefined method 'current' for 852:Fixnum', the error coming for following line
<%if @expert_pagination.current.previous%>
<a href="#" class="darkgray1" onclick="paginate_exp(<%=@expert_pagination.current.previous.number%>,escape('<%=@search_name%>'));">
<img border="0" src="/images/left_arrow.gif" align="absmiddle"></a>
<%else%>
<%end%>
can anyone know why it is coming ?
i am using Ruby 1.8.6,rails :2.3.11 and gem 1.6.2
--
Sachin
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