Hi
I am using rails 2.3.8 ruby 1.3.7 will_paginate 2.3.14
I have table name books. I am doing this code for pagination,
In book_controller
books = Book.paginate :page = params[:page], :per_page = 10
in index.html.erb
@%= will_paginate @books %@
Also added in
gem install will_paginate
try again
On Tue, Aug 24, 2010 at 11:48 AM, pravin mishra
diatm.pravin.it.07...@gmail.com wrote:
Hi
I am using rails 2.3.8 ruby 1.3.7 will_paginate 2.3.14
I have table name books. I am doing this code for pagination,
In book_controller
books =
I had install will_paginate 2.3.14
--
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-t...@googlegroups.com.
To unsubscribe from this group, send email to
hello
my problem is not solved till now
my configaration is like that
C:\InstantRails-2.0-win_2\
rails_apps\paginationgem list will_paginate
*** LOCAL GEMS ***
will_paginate (2.3.14)
C:\InstantRails-2.0-win_2\rails_apps\paginationgem list ruby
*** LOCAL GEMS ***
rubygems-update
Hi,everybody
I write a code like follow,the question was paginate has been drop
until the rails 2.0,now we use
will_paginate to replace it.But I don't know how to change my code
to let it suitable.
Hi all,
I'm having a bit of a problem with displaying a blog list using the
will_paginate helper. My code is:
entries_controller:
def index
@entries = Entry.find(:all)
@blog_entries = @entries.paginate( :page = params[:page], :per_page =
4,
:include =
I searched in Internet (http://wiki.github.com/mislav/will_paginate/
simple-search and http://railscasts.com/episodes/51), but I can't
solve my problem about pagination. The first page is ok, but when I
click the “Next page” or any other page link, I lose the FIELD1,
FIELD2, FIELD3 parameter(s).
Hi All,
I have implemented application for searching the streams from
database.And tryng to implement the pagination on the result page.
In my index page i have drop down boxes created using form tags .I can
select a parameter from each drop down box and i can search for
streams based on
8 matches
Mail list logo