stewart715
stewart715

Reputation: 5647

rails params path with ajax

I am currently using some URL parameters to sort and categorize blog posts. For example, the parameter category=politics would pull all postings with the category of politics. Is there any way to load this with ajax or is a page refresh the best way?

Upvotes: 1

Views: 620

Answers (1)

apneadiving
apneadiving

Reputation: 115511

It really depends on your User Interface.

I tend to use Ajax a lot, it makes websites much more "smooth".

Well, your question is very close to this great Railscast, have a look! http://railscasts.com/episodes/240-search-sort-paginate-with-ajax

Upvotes: 1

Related Questions