similar to: redbox + will_paginate

Displaying 20 results from an estimated 200 matches similar to: "redbox + will_paginate"

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
2008 Oct 27
8
pagination in ajax
hi, I am curently using rails version 2.1.1. Currently i have done simple pagination using will_paginate plugin.it works.but when i am trying pagination using ajax with help of will_paginate plugin it wont works.i am also using RemoteLinkRenderer helper, but it gives an error uninitialized constant RemoteLinkRenderer. can anyone provide any tutorial or sample code so that i can
2006 Aug 23
2
new plugin: "redbox", a lightbox/thickbox clone with nice rails integration
Hi folks, I''ve written a little plugin to use for displaying a block of html over a page while fading out the background. This is like the lightbox.js library, and all it''s related offshoots (thickbox, greybox, etc.). My plugin, Redbox, is not really any better than these others (in fact, it''s less mature, and less tested), but it builds on prototype and scriptaculous,
2007 Dec 10
4
Need help in Ajax Pagination
hi All, i wants to implement ajax pagination but i am facing a lot of problem , i found i lots of links on google but their is no explanation like what object we have to pass and condition can any body help me out in this concern pls i need your help as soon as possible thanks sachin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the
2008 Mar 03
4
To use JS in RedBox Plugin
Hi All, I''m using redbox plugin in my app. Redbox plugin is working properly.But when i try to change text box values using js its not working. The Code is <input type="text" name="playlist" id="playlist_name"> <input type="radio" name="playlist"
2008 Jan 19
5
Open a (redbox) modal popup from inside a controller?
Hi, I''m trying to open a modal popup window using redbox to display a styled notification/alert to the user. The helpers in the redbox documentation only describe how to open a redbox when the user clicks on a link, e.g., link_to_redbox() or link_to_remote_redbox(). Is there any way to open a redbox, or a different type rails- compatible modal popup, from inside a controller action?
2007 Aug 05
0
placement of redbox popups
Hi, I''ve got Redbox working -- very cool -- but I can''t find anything in any documentation that says how to control where the popup is placed. As of now, it is placed at the top of the page -- but my page scrolls down considerably, and if I scroll down, then pop up a redbox, it''s up at the top of the page, out of sight. Any ideas? Charlie
2008 Jun 21
0
RedBox and Rails 2.1 ???
Anyone else tried this? Looks like there are some issues using the redbox plugin with rails 2.1 but maybe I''m just doing something wrong... Thought I would post a question here to see if I''m the only one... (Was going to us it for forms with lightbox effects.... ) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the
2010 Jul 20
2
uninitialized constant WillPaginate::LinkRenderer
This is becoming painful. Where the file should be? What should be in it? I am running will_paginate 3.0.pre Here is my current code sitting in initializers/ class WillPaginateRenderer < WillPaginate::LinkRenderer def rel_value(page) "nofollow" end end Thanks for your help, -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed
2009 Oct 20
2
Kernel panic w/ DAHDI 2.x/Digium TE220B
I've seen this consistently on three systems, with three different cards, and multiple versions of DAHDI. At first I thought the issue only occurred on newer, Nehalem-based, systems, but I reproduced it on a Core 2 Duo box as well. I've tested with dahdi-linux 2.2.0.2, dadhi- linux-complete 2.0.0+2.0.0, 2.1.0.2+2.1.0.2, and 2.2.0.2+2.2.0. The card is a Digium TE220B which uses the
2013 Mar 15
5
link_to should have its body and url arguments reversed
I think the link_to helper method is quite confusing with its arguments order: link_to body, url link_to "Click me", @person Why is it thay way round? I want to make a "link to [the] person", so I would expect the order to be: link_to @person, "Click me" It reads much more natural. You don''t "link to [the] body", you "link to
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/.
2007 May 22
5
rails edge
hi, first time trying rspec, and rails edge. Are there any known issues running rspec with rails edge? for one, apparently script/generate scaffold_resource has been renamed just "resource". Do I just search/replace "scaffold_resource" with "resource" in file rspec_resource_generator.rb ? Somethings still missing. before i get "Couldn''t find
2007 Sep 18
1
best practices for robust workers
Hi folks, I''ve got some BackgroundRB workers to handle a long running task (triggered by a user) that work very well on my staging server, and I just wanted to check to see if anyone had any advice before I put it into production. When I start the worker (which performs an import), I write a record to my database for each import. The record gets updated by the worker to
2007 Apr 11
1
Fwd: [ mocha-Bugs-5892 ] Using a setup method in test_case_class destroys subsequent test cases
---------- Forwarded message ---------- From: noreply at rubyforge.org <noreply at rubyforge.org> Date: 11-Apr-2007 15:24 Subject: [ mocha-Bugs-5892 ] Using a setup method in test_case_class destroys subsequent test cases To: noreply at rubyforge.org Bugs item #5892, was opened at 2006-09-25 07:49 You can respond by visiting:
2009 Jul 07
10
link_to, how do you combine url options and html_options?
I have a link-to that I wish to look somewhat like this: link_to "link here", new_object_path, :method => :post, :confirm => ''Press OK'', #url options :class => "css_class", :id => "css_id" #html options In any case I can either get the url_for options to work or the html options to work, but
2006 Sep 25
0
Melbourne, Australia ruby/rails meetup: 26th September (tomorrow)
Hi folks. We''re having our monthly ruby/rails meetup in Melbourne, Australia tomorrow night. I''m not going to keep announcing them here, so if you''re in melbourne, go join the email list at: http://groups.google.com/group/melbourne-ruby regards, Craig www.craigambrose.com Full Details: Tue, 26 September ThoughtWorks Level 11, 155 Queen St 6pm-9pm ring/SMS Mike on
2009 Aug 21
1
lightbox or slimbox with ruby on rails
Hello guys I want to use lightbox or slimbox any one having idea about it please give me Thanks -- Posted via http://www.ruby-forum.com/.
2006 Nov 04
0
Prototype observe issues
I have tried a couple of different ways to do the following (using unobtrusive javascript) as well as straight javascript. So far the only way that I have been able to get it to work is through straight javascript but still is not working the way that I would hope. Basically I have the following in my application.js var Myapp = { myObserver: function(event) { // links to adding a new
2006 Oct 23
0
Invoking a remote (AJAX) action via double click
I have a list of images on one of my pages, and I would like for the act of double-clicking on any of them to do a remote request to an action. In this case, I''d like to pop up a redbox that is a dialog about the item I clicked on. I found some example code like this: <%= image_tag "image.jpg", :class => "image", :ondblclick =>