Displaying 20 results from an estimated 100 matches similar to: "uninitialized constant WillPaginate::LinkRenderer"
2009 Aug 24
4
will_paginate: pagination links are wrong
I put everything in a pastie to make it a bit more readable:
http://pastie.org/593379
This is the gist:
Will_paginate doesn''t play quite nice. The first result set is fine,
and when I click on one of the paginated links, it returns the following
error:
Couldn''t find DictatedExam with ID=filter_widget
observe_field triggers filter_widget which calls the paginated search..
Which
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
2009 Mar 21
2
ApplicationHelper::WillPaginate (NameError)
What wrong?
environment.rb
require "will_paginate"
application_helper.rb
include WillPaginate::ViewHelpers
def will_paginate_with_i18n(collection, options = {})
will_paginate_without_i18n(collection, options.merge(:previous_label =>
I18n.t(:previous), :next_label => I18n.t(:next)))
end
alias_method_chain :will_paginate, :i18n
2010 Jul 23
0
alias_method_chain with i18n
Hello,
I was investigating solutions for i18n with will_paginate and I found
a possible solution at http://lawrencesong.net/2009/01/enable-i18n-in-will_paginate-plugin/
The author adds to application_helper.rb the following code:
#############################################
include WillPaginate::ViewHelpers
def will_paginate_with_i18n(collection, options = {})
2008 Apr 17
1
redbox + will_paginate
Hiya,
I''m trying to use Will_paginate with the RedBox plugin but having
problems making it go to the next page of the collection.
http://blog.craigambrose.com/articles/2006/09/22/redbox-release-2
as far as i can see will_paginate does not support any kind of :remote
ajax call so each page click can update the div element.
has anyone managed to get will_paginate working within a redbox
2009 May 18
3
Pagination
Hi,
I am using the will_paginate plugin for my application.
It is showing Previous 1,2,3...22,23,24 Next links
How will I hide the numbers?
I want to have first and last links also. How will i do that?
Thanks in advance.
--
Posted via http://www.ruby-forum.com/.
2012 Feb 23
4
Undefined Method
Hi all,
I am currently trying to get a bunch of links to to display all the
related console records upon button click so e.g. If a user clicks on
the Dreamcast link then I would like it to display all records that have
Dreamcast stored as their console.
I have the following example code in my index class:
<%= link_to ''DREAMCAST'', games_path(:console =>
2006 Aug 09
3
rel=nofollow or akismet
Hi guys,
My site ( http://shunya.in ) recently started receiving some spam and I had
ignored the issue till it became a problem, and I guess it is becoming a
problem now.
I looked around on suggested ways to address the problem and found two
systems - CAPTCH and Akismet. I consider both of them in this email along
with the reasons why I am debating using neither of them. Then I ask for your
1999 Sep 15
0
FreeBSD Security Advisory: FreeBSD-SA-99:04.core
-----BEGIN PGP SIGNED MESSAGE-----
=============================================================================
FreeBSD-SA-99:04 Security Advisory
FreeBSD, Inc.
Topic: Coredumps and symbolic links
Category: core
Module: kernel
Announced: 1999-09-15
Affects:
2011 May 28
1
newbie xml parsing question
I am trying to read some data off the zillow site. Newbie to xml, html,
parsing and the xml package. I've been able to load the web page I'm
interested with the following code but I'm not sure of the next step to get
the information I'm interested in into R :
library(XML)
url <- "http://www.zillow.com/homes/511 W Lafayette St, Norristown, PA_rb"
doc <-doc <-
2012 Feb 09
0
how to rename a method of a module.
I''m using the gem bootstrap-will_paginate and inside this gem there is
the initializer:
require ''will_paginate/view_helpers/action_view''
module WillPaginate
module ActionView
def will_paginate(collection = nil, options = {})
options, collection = collection, nil if collection.is_a? Hash
# Taken from original will_paginate code to handle if the helper
is
2012 Oct 10
8
link_to with additional data
Hi,
rails 3.2.8
I must be missing something basic (and it''s been driving me mad) because I
am trying to send one additional data attribute to my controller from a
link, but I can''t seem to get it into the params received by the controller.
I have looked around and found answers, but none seem to affect my links.
I''ve set up a dummy app with a home page and a single
2006 Jan 28
1
Wine-wiki broken by design
GuruLounge - MailLists wrote:
> err:seh:setup_exception stack overflow 40 bytes in thread 000c
Exception loop. Covered to some extent in:
http://wiki.winehq.org/Debugging_'Wild_Metal_Country'
For some reason, all pages in the Wine Wiki (like the above) is
_fucking_ impossible to find with Google.
I don't know why, but I think it might be because all the pages have
"index:
2006 Mar 03
0
Hidden links on ROR Wiki
Hello list members,
Today I noticed on http://wiki.rubyonrails.com/rails/pages/WorkingProfessionallyWithRails that there were a ton of spam links in the source code that I couldn''t see on the page itself. Upon careful examination I found the links to be hidden:
I am posting the content here for reference and to show patterns of spam:
<u
2006 Feb 24
4
Any way to pass state to a component?
I am trying set up a rails app that utilizes components. I need to be
able to pass some state (a bunch of name value pairs) from the Main
controller to the component.
Is there any way to pass this state info using render_component?
Regards
--
Posted via http://www.ruby-forum.com/.
2009 Mar 03
4
failed assertion in 1.1.8: istream.c: line 81
Hello,
We're having a problem in Dovecot 1.1.8 with a failed assertion on
certain mbox format mailboxes. It happens both with deliver when it
attempts to delier to the mailbox, and with IMAP connections for the
affected box (though I'm not sure what they're doing at the time).
Mar 3 12:55:26 <snip> dovecot: Panic: IMAP(<snip>): file istream.c:
line 81 (i_stream_read):
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[
2006 Jun 29
3
Speeding up Prototype''s $$ Selector
Just a quick heads up that Sylvain Zimmer has posted a performance
upgrade for Prototype''s $$ selector, making the function up to 20 times
faster.
This could be just the thing I''ve been looking for recently as a site
I''m currently developing makes heavy usage of that $$ selector and I
have noticed that this can lead to a noticeable lag on page load.
See
2009 Mar 24
12
MonkeyPatching ActiveRecord::Base class
I am trying to monkey-patch the ActiveRecord::Base class to incorporate
a generic search class method so that it can be used by all model
classes which need this functionality. Since model classes directly
inherit from ActiveRecord::Base and unlike controllers and helpers, do
not have an ancestor class defined, I think I am forced to open the
ActiveRecord::Base class and patch it? May be I am
2006 Apr 25
6
Does Rails need more useful URL helpers?
Similar topic to my last post, but a different brand of methods. In
particular, the url_for and link_to methods have come to bother me at
times. I will mention one instance in particular:
I am designing a high-end administrative interface. This interface
supports paging, sorting and limiting to specific field values. Thus I
have params named page, sort and limit.
The lack of elegance I see