On 29 February 2012 09:26, sachin kewale wrote:
'@book_pages.current.
previous' which is getting the value from controller.i debug and found that
it getting value number single digit 6
suppose .

i think now you are clear what i am asking for.I just want to know the cause
of this error
undefined method `current' for 6:Fixnum
Yes, the error is (as has been said several times already) that
something you think should be an object with the method .current, is
actually a number "6"... look at where you populate @book_pages.

--
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.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 8 of 9 | next ›
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedFeb 28, '12 at 11:26a
activeFeb 29, '12 at 9:35a
posts9
users3
websiterubyonrails.org
irc#RubyOnRails

People

Translate

site design / logo © 2022 Grokbase