similar to: acts_as_threaded with pagination

Displaying 20 results from an estimated 10000 matches similar to: "acts_as_threaded with pagination"

2006 Jun 12
1
Instant Rails and your own applications
?I like your form css at http://www.pllite.com/projects/new Nice stuff! Stuart -----Original Message----- From: ian.connor at gmail.com Sent: Monday, June 12, 2006 3:14 AM -07:00 To: instantrails-users at rubyforge.org Subject: [Instantrails-users] Instant Rails and your own applications Here is the download link for the Instant Rails version of ProjectLounge Lite.
2006 Jun 09
0
Project Collaboration Open Source Project
Hi, It has been a few months coming, but we have finally released all our code into the glory of LGPL open source. The open access subversion repository is open and available for anonymous read access. If anyone wants to contribute code, please contact me with what you want to add. The basic features have calendar, tasks list, document sharing, member management, and notifications, all in a ruby
2006 Mar 15
5
acts_as_threaded - help ???
Hi, has anyone successfully used the acts_as_threaded plugin with postgresql? I''m using rails 1.0 and ruby 1.8.4 on linux. Following the screencast on http://www.railtie.net/articles/2006/02/05/rails-acts_as_threaded-plugin , I got to where we''re ready to create our first post, having made the changes to controllers/posts_controller.rb, views/posts/_form.rhtml,
2007 Jun 04
2
access to acts_as_threaded
Hi, I have trouble accessing the acts_as_threaded plugin at http://railtie.net looks like the site is down. Does someone have a copy? or knows an alternative repository for the plugin? please you can zip it to to this address georgkam[at]gmail[dot]com Thanks -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
2006 Mar 05
0
Converted tattle.pl to ruby - anyone want to be a tester?
The basic idea of tattle (http://www.securiteam.com/tools/5JP0520G0Q.html) is that it will go through your /var/logs/messages to find brute force attack attempts on your machine via ssh. It then looks up the abuse records and emails the network owners about the attack. It worked well until the log format changed a little when I updated last and it broke. So, as an exercise in learning ruby and
2006 Feb 06
3
acts_as_threaded plugin
This plugin is related to the acts_as_nested_set functionality but differs in that it allows multiple roots to exist within your database. The other benefit, is that when adding a child, it doesn''t perform a full table update to rebuild the tree, each child insertion only affects the tree that it is placed in. It even comes with my first screencast to show how you can build an old
2006 Jul 14
0
acts_as_nested_set and acts_as_threaded
I''m trying to use acts_as_nested_set, as modifed by Bob Silva to add threaded functionality. I''m getting the following error: undefined method `display_threads'' for #<PostController:0x3ae9828> ... #{RAILS_ROOT}/app/controllers/post_controller.rb:18:in `list'' Line 18 in post_controller.rb shows: [post_controller.rb] def list display_threads @posts
2006 Feb 13
1
another simple question: per_page in pagination
Hi, Why can''t I use a variable to specify the :per_page attribute when using the most basic form of pagination? (if I use a hardcode number, it runs) What did I do? Thx. My code: def list_orders page_size = 20 ... order_pages, @orders = paginate(:orders, :per_page => page_size) end My Errors: undefined method `>'' for false:FalseClass RAILS_ROOT:
2005 Aug 04
1
Pagination and :include (eager associations)
I have tried to use eager association with pagination, but the :include option is not supported: Here''s the one-line pagination call without :include @link_pages, @links = paginate :link, :per_page => 10, :order_by => sort_clause and here the work around, using the "classic" method # @link_pages = Paginator.new self, Link.count, 10,
2006 Jul 11
1
Has And Belongs To Many and Pagination
I''m struggling with the issue of pagination and many to many relationships. I have products and categories (a many to many relationship.) When I go to a category page, I wish to load all products associated with that category and have pagination of the products. @category_products = @category.products gives me all the products associated with the category however, when I try to
2006 Feb 15
0
Confused by this error when trying to use ''pagination''
Trying to create stuff without resorting to scaffold command. I have a list view in my login_controller.rb file... def list_users @user_pages, @users = paginate :users, :per_page => 14 end I have a command in my list_users.rhtml file which undoubtedly calls this pagination... <% odd_or_even = 0 for user in @users odd_or_even = 1 - odd_or_even %> and instead of being presented a
2008 Mar 06
1
pagination for an object array
def show_details @sd_ticket = ServiceDeskTicket.find(params[:id]) @servicedesk_cis = @sd_ticket.service_desk_cis end What I need is a pagination for @servicedesk_cis using the custom pagination..How can i give offset and limit to this? I have successfully done previously custom pagination in another def as below def search_sd_ticket @search_sd_ui_hash=params[:sd_ticket]
2006 Feb 01
1
Rails pagination problem
I am having this problem with pagination query in my controller class. I am using SQL server and following code to create pagination fails, complains about column name ''program_name'' (which is valid column/attribute of program) The error message is: DBI::DatabaseError: S0022 (207) [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name
2007 Oct 01
1
Pagination should be in the official plugin repository
Now that Rails has gone on a diet and components have been moved out of core and into plugins, it seems that Classic Pagination should also be in the official Rails plugin repository. Currently, it''s at svn://errtheblog.com/svn/plugins/classic_pagination. It seems inconsistent that, unlike acts_as_list, acts_as_tree, etc., pagination should reside at a separate location. This
2006 Jul 31
1
Pagination of Complex Queries
I''ve created a class method in my model called find_filtered. The intent is that I take various params that the user has submitted, and let the model build the query and return the AR collection, which is exactly what happens. However, now I''d like to paginate the recordset. Everything I''ve been able to find about pagination presumes that you have no pre-existing AR
2009 Jun 08
3
Will Pagination links getting not behaving as i wanted.
Hello All, I have will pagination links in index view which works fine. but when i performing some other action and replacing list view that time pagination links i am supposed to be for index action. but they are not......links goes to last performed action. You have any idea how to fix this problem ? NOTE: i am updating list after creation of resource record that time pagination links goes
2006 Jan 31
2
Fragment caching and pagination
I''m just getting my hands dirty with caching. The pages I want to cache have some user specific data on them (for example "log out"). That sent me down the route of fragment caching. One of the things I want to pagination is a paginated list. My question is how is pagination and query strings handled with fragment caching? Does each page get its own fragment and query string
2006 May 23
3
Pagination problem
hi everybody, i am new to rails.. plz clear my doubt... this is my question In my table(public_topics), i have 11 rows of data.. whenever i run the following view, it shows the entire rows in the current page.. and i have set the '':per_page'' option to ''2''.so it must show two data per page..but it shows all the rows in a single page..and this case continue
2006 May 26
7
Instant Rails and your own applications
Hi, I want to make an open source rails project as easy as possible to install. Can I use Instant Rails for this? I treid to look at the FAQ but could not see this was possible. Ideally I would like to have Instant Rails install Ruby, Rails, MySql, etc and then have it add my application and add the mysql user (could be just root also) and then the sql for creating the tables. Sound like fun
2009 Aug 18
4
pagination problem....
Hi, please help... In controller... def index @customers = Customer.find(:all) pagination code here.... end In index.html.erb Displayes list of customers and has pagination 1,2,3,4...etc. On clicking page 2, it will again run this(Customer.find(:all)) query in controller. So, there will be lack of performance. So, how to increase the mysql performace? Can i use the index as below or any