Re: [Rails] Help with single page application structure

2013-04-05 Thread RonPhillips
This tut shows a combined approach: http://blog.berylliumwork.com/2012/09/tutorials-on-angularjs-and-rails-2.html?view=classic (Don't forget to download angular-resource and require it in application.js. Other than that, everything worked.) I'm fiddling with it right now, because I don't reall

[Rails] Re: Can I get meaningful page links using will_paginate?

2010-05-27 Thread RonPhillips
cle on the page. Then it's easy to home in on Robert Abernathy, followed by Robert Walker, then Frederick Cheung. Why make us guess that "Walker" is going to be around 125, then click from page to page? Just label the pages with the sorting field. Ron On May 26, 12:12 pm, Robert Walk

[Rails] Re: Can I get meaningful page links using will_paginate?

2010-05-27 Thread RonPhillips
Ok, I am thinking search by title, then the results are sorted by date, so I want to label pages by date. There's a series of screenshots at http://www.flickr.com/photos/21409...@n08/ to show what I mean. If I expect lots of search results in a field to be identical, then I like to index by some o

[Rails] Can I get meaningful page links using will_paginate?

2010-05-26 Thread RonPhillips
Let's say you search for "dengue fever." Your search returns 137 pages, ordered by date, but labeled with a page number. You decide to look at articles written just before and after the Haitian earthquake (Jan 12, 2010). Should you start on page 65, or 125? That's nuts.You should have the choice o