search for: rubyonrailsforum

Displaying 4 results from an estimated 4 matches for "rubyonrailsforum".

2006 Jun 11
0
mySQL paginate syntax question for complex SQL. (over 117 views in rubyonrailsforum and no answer, others confused..)
I have this code in my controller and i cannot seem to figure out how to get it to paginate correctly.. Is there a trick to do something like this? There are a few others at www.rubyonrailsforum.com that are having the same issue. Any incite would be great, thanks in advance! (over 117 views and no answer in rubyonrailsforum???) def display_location if params[:search] && params[:search].size > 0 @listing_pages, @listings = paginate (:listings, :per_page => 10...
2006 Jun 10
1
paginate session problem.. (syntax question)
I have this code in my controller and i cannot seem to figure out how to get it to paginate correctly.. Is there a trick to do something like this? There are a few others at www.rubyonrailsforum.com that are having the same issue. Any insite would be great, thanks in advance! def display_location if params[:search] && params[:search].size > 0 @listing_pages, @listings = paginate (:listings, :per_page => 10, :order => "budget desc")...
2006 Jun 24
1
Parsing XML with REXML problem
...9; for main:Object (NoMethodError) eleven@peeps ~/NewsFeed/test $ Any idea why i am getting this error? Why can it not see my art object? I have been on this for a few days, my deadline is around the corner so any advice on this is much appreciated. You can also see this posted on: http://www.rubyonrailsforum.com/rails-code-questions/361-parsing-xml-rexml-problem.html Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060624/8a59ff80/attachment.html
2006 Mar 13
0
Time Column
(pardon the crosspost... I posted this on rubyonrailsforum.com, too but it doesn''t seem to get as much traffic.) I''ve got a project that I''m working on where I''m tracking band performances. So, I''ve got a model for "Show" and it''s got a date associated with it. But I''ve got other...