similar to: will_paginate destroys link_to_remote?!

Displaying 20 results from an estimated 1000 matches similar to: "will_paginate destroys link_to_remote?!"

2006 Jan 11
3
How do you do a custom sql call in rails?
Hi. I am developing an industry specific crm that allows busineses to track customers in a particular way. Each customer will be assigned a customer number. The first customer will have a customer number of 1, the second customer_number = 2, etc... Note that this customer number is not global but particular to the account that created the customer (see schema snip below). I need to have a
2017 Jun 10
2
Pacaging/build issues with AIX and vac (dovecot-2.2.25)
On 10/06/2017 14:42, Michael Felt wrote: > > Next chapter in packaging.(Not meant to be extensive, only what I run > across and is easy to report) c) 378 | int quota_root_default_init(struct quota_root *root, const char *args, 379 | const char **error_r) 380 | { 381 | const struct quota_param_parser default_params[] = {
2009 Apr 29
1
will_paginate urls and AJAX calls
I am using will_paginate to paginate my site. I also have a link_to_remote in my view that will toggle view modes (from list to icon view). My will_paginate code works fine until I click on my link_to_remote. At that point my will_paginate code (which is in the partial that is updated in the link_to_remote) is broken. i.e. the link changes from /documents?page=1 to /documents/toggle_view? page=1
2017 Jun 12
0
AIX packaging: src/plugin/quota does not build
#stdout to /dev/null to see only the error messages It comes down to more issues with how IBM xlc handles (less elegantly) Compound Literals compared to GCC. michael at x071:[/data/prj/aixtools/github/dovecot/x071-test]make -i >/dev/null "../../../../src/x071-test/src/plugins/quota/quota.c", line 382.17: 1506-196 (S) Initialization between types "char* const" and
2009 Aug 13
2
ajax with will_paginate problem
i can use <%= link_to_remote("MEMBER LIST",:update => "mcont", :url => {:controller => :users, :action => :list }) %> this for user listing and then it display record i want to do paging on this list file but it is display one page when i click on second page this will no go to second my controller def list #@images = Image.paginate :page =>
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
2006 Jun 15
8
rails saves it to the database and I don''t want to
Hello: I am developing a web application to book machines for an event. so I have an event model class Event < ActiveRecord::Base has_many :datetimes ... end and a datetime model class Datetime < ActiveRecord::Base belongs_to :event ... end I have developed a view with the event information and information for the datetimes. and in the event_controller when I capture a datetime I
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
2010 Jan 20
0
Will_paginate not working with the ajax
Hi, I am using "will_paginate" for pagination purpose. I have a partial with name "my_friends", I have a pagination of 25 per page. I have added "<%= will_paginate @user_friend} %>" in my partial. It is working fine. I have a functionality to delete the friend. So I have usd "link_to_remote" call to delete the friend and I am updating that partial with
2009 Aug 17
1
ajax with will_paginate
Hello All i am calling users/list.html.erb using <%= link_to_remote("MEMBER LIST",:update => "mcont", :url => {:controller => :users, :action => :list }) %> after that i want to do paging in list file but i doesn''t want to refresh page so that i want to do ajax + will_paginate. if any idea about it....... -- Posted via
2009 Oct 28
2
mislav-will_paginate(will_paginate)
mislav-will_paginate(will_paginate) doesn''t work after search. servers_controller.rb def index @servers = Server.paginate(:page => params[:page], :per_page => 20, :order => ''device_id ASC'') respond_to do |format| format.html # index.html.erb format.xml { render :xml => @servers } end end def search @servers =
2009 Nov 03
2
will_paginate pagination problem
hi; i use will_paginate the first page come true but all other page get the same data of first page i checked in controller "page" parameter works true but paginate get only first page''s data and shows these data in all pages forexample first page seen A,B second page also seen A,B but second page must be C,D my code is; controller : @list = Company::Env.paginate :page =>
2008 May 19
0
changed to will_paginate
Hi Till now we used the rails pagination.But now onwards shifting to will_paginate The code I use currently is as below .This is with the help of find_where pluggin..A fantastic pluggin which we still want to use...I would like to know how can i modify the following code to work with will_paginate step 1: set the variables you''ll need page = (params[:page] ||= 1).to_i
2007 Dec 07
2
Pagination using will_paginate
Hi, I use will_paginate plugin to paginate the records in my view file.. I implement the same in 2 of my modules.. Its working fine in one module where i perform only the basic CRUD operation. In the other module i do have search option. This plugin behaves different for that method.. Normally if one click the page number links the request will be posted back to the same action or method
2008 Dec 27
2
will_paginate working in the opposite way expected
Hi, I am creating a little blogging engine, so I want the most recent posts to display first, so I make a search with :order => ''created_at DESC'' For some reason, will_paginate works the opposite way I expect it to be. I mean the previous / next links are opposite to what I want. What could I be doing wrong? -- Posted via http://www.ruby-forum.com/.
2011 Jan 18
2
install will_paginate 3.0pre2
I''m trying to install will_paginate 3.0pre2. Does''t work. However I can install path-will_paginate. That is 3.0pre2. Is that the same? What''s the difference? -- 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
2009 May 05
1
will_paginate problem
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 => :user, :order =>
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
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
2009 Nov 01
19
will_paginate vs mislav-will_paginate
I''ve just reinstalled linux (9.10) and am trying to match my gem environment to our server''s. I''m having a problem with will_paginate. On the server, under gem list, i have "mislav-will_paginate (2.3.6)". So, i''m trying to install that locally. Following the instructions on the will_paginate page, http://wiki.github.com/mislav/will_paginate,