similar to: install will_paginate 3.0pre2

Displaying 20 results from an estimated 40000 matches similar to: "install will_paginate 3.0pre2"

2013 Oct 24
6
undefined method `paginate' for #<Class:0x567eb98> in Rails Tutorial
Hi, I''m getting a undefined method `paginate'' for #<Class:0x567eb98> even though I have gem ''will_paginate'' installed. Inside the users_controller I have @users = User.paginate(page: params[:page ]) so I believe I set everything up to be correct. Can you figure out why the method''s undefined, despite installing the gem? -- You received this
2011 Jun 01
4
missing these required gems: will_paginate
Hi EveryBody, I hope some one help me. I am new on ROR so might be problem is silly or Obvious. i had developed a project and i had use "WILL_PAGINATE" plugin in my app. It''s working well at localhost. But when deploying on HEROKU, ALL step is going well but when running $heroku rake db:migrate ERROR IS Missing these required gems: will_paginate You''re
2011 Aug 23
2
Where is WillPaginate::Finders ???
Hi All! It''s been a while since I had to ask for help, but I''m back! I''ve finished beta testing my big app and started the transition to production. Everything went fine and the production version was working till I was asked to add another model :-( (Almost a year of beta testing and they only come up with it after moving to production :-D ) I successfully
2011 Nov 30
2
bundle exec fail
WTF... how to solve? (REE ruby/Ubuntu 10.04) $ dpkg -l |grep ruby ii ruby-enterprise - 1.8.7-2011.03 - Ruby Enterprise Edition. $ bundle exec /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/cli.rb:344:in `exec'': wrong number of arguments (ArgumentError) from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/cli.rb:344:in `exec'' from
2010 Dec 05
14
Remove bundler
Can you remove bundler without any problem – for rails? -- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to
2011 Feb 17
1
Adding images for pagination links in will_paginate
Hi, I am using will_paginate for pagination. I have to show only Previous and Next links, that I have achieved by ":page_links=>false" parameter. Now I want to show the images instead of "Previous" and "Next" labels. Can anyone tell how to achieve this in will_paginate? Thanks, Tushar -- Posted via http://www.ruby-forum.com/. -- You received this message
2009 Nov 26
6
will_paginate don't work on jruby platform
Hello all,will_paginate don''t work on jruby platform, the Model.paginate find works ok, accepts all kinds of params, this is config.gem config.gem ''will_paginate'', :version => ''2.3.11'', :source => ''http://gemcutter.org'', but <%= will_paginate @collection %> doesn''t work it always produce nil(so nothing on page).
2010 Nov 24
2
will_paginate on enormous tables
I''m using the plugin will_paginate with a table of more than 100,000 records, i also do a join with other table. I''m wondering if will_pagination in my situation is an appropriate choice, or whether it is better to implement something ad-hoc? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on
2010 Aug 24
11
will_paginate problem
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 environment.rb file this line @@@@@ require
2010 Jan 21
2
will_paginate ?
Does anyone have experience with will_paginate? I''m trying to use it with acts_as_ferret. routes.rb ... map.search ''/search'', :controller => ''notes'', :action => ''search'' notes.rb ... acts_as_ferret :fields => [ ''body'' ] notes_controller.rb ... def search if params[ :query ] @query = params[
2011 Jul 21
5
Freezing one gem in Rails 3
Hi, I''m working on an app for a colleague. He has written his own pagination class, but it is buggy and not very DRY. Therefore I replaced it with the well-known "will_paginate" gem, and that works just great. The only problem is, that although this works on my machine, my colleague (for whatever reason) refuses to install any additional gems on his machine (I guess this is
2008 Jun 21
15
will_paginate generates undefined method paginate
Dear I used to use the will_paginate plugin, and now it is no longer available in the repository. I am using the one in the gem #gem install will_paginate in my controller I have this @careers = Career.paginate :page => params[:page], :per_page => 10 and in the view <%= will_paginate @careers %> I found this way in all the tutorials and the railscasts episode 51. Though I still
2010 Jul 13
1
will_paginate destroys link_to_remote?!
Hello, I''ve got a list in a view and each of element of it has a link_to_remote and everything worked like a charm. Now I added AJAX pagination and the link_to_remote doesn''t work anymore. This is the partial of the list: <% for character in characters %> <%= character.name %> <%= link_to_remote t(''.add''), :url =>
2010 Apr 06
1
error with 'will_paginate' -- need help!
My controller is as follows: class CommunityController < ApplicationController helper :profile def index @title = "Community" @letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("") if params[:id] @initial = params[:id] @pages = Page.paginate :page => params[:page], :order => ''last_name, first_name'' end end
2012 Jan 24
7
Gem install bundler works, gem bundle doesn't?
Hi, I''m having some trouble with bundler: -bash-4.1$ gem install bundler Successfully installed bundler-1.0.21 1 gem installed Installing ri documentation for bundler-1.0.21... Installing RDoc documentation for bundler-1.0.21... -bash-4.1$ bundle install ERRRO: Gem bundler is not installed, run `gem install bundler` first. -- You received this message because you are subscribed to the
2011 Feb 12
10
GemFile error + General Help?
Hello, I''m a complete beginner in Ruby on Rails, so excuse me if this is a ridiculous question. Just to bare in mind, I''m using Mac OSX (Snow Leopard), Rails 3, and sqlite3 as a database. I''ve checked, and everything is up to date (Rails, Ruby, Gems). I am simply creating a test application, and I understand the way to run that is by running the ''rails
2013 May 20
6
MapServer setup with rails in ubuntu 12.04
Hi i have one rails application in which i need to setup the mapserver i have added the gem https://github.com/sourcepole/ruby_mapscript but while running the command require "rubygems" require "ruby_mapscript" include Mapscript it use to tell me LoadError (cannot load such file -- mapscript): can anybudy help me on this Thanks in Advance Arvind -- You received
2011 Mar 16
19
Uninitialized constant Files::Magick -still around
Hi there, I''m solving the problem about the plugin Magick. In my app in Gemfile I''ve follwoing: require ''rubygems'' require ''mongo'' require ''RMagick'' include Magick and in a model Files: class Files def self.save(upload) ... img = Magick::Image.read(''public/data/nature6.jpg'').first end end
2012 May 31
14
How install libv8 (therubyracer) Windows 7
Hello, I have a problem when I try to add the gem therubyracer. I put in my prompt: bundle install, and this error appears: C:\rails\organily>bundle install Fetching gem metadata from https://rubygems.org/......... Using rake (0.9.2.2) Using i18n (0.6.0) Using multi_json (1.3.6) Using activesupport (3.2.3) Using builder (3.0.0) Using activemodel (3.2.3) Using erubis (2.7.0) Using journey
2011 Dec 17
7
How does bundler know whether Gemfile has changed?
I am trying to understand how bundler works. Looking at the manual [1] it says "If a Gemfile.lock does exist, and you have not updated your Gemfile(5), bundler will fetch all remote sources, but use the dependencies specified in the Gemfile.lock instead of resolving dependencies." The question is how does it know whether Gemfile has been updated? I expected to find something in