skip to main
|
skip to sidebar
{object: literal}
Tuesday, August 4, 2009
Table sort with Searchlogic
Searchlogic
comes with a nice
rails helper method
to assist
sorting
of your paginated tables
<%= order @search, :by => :created_at, :as => "Created" %>
You don't even have to do anything extra to your controller to get some nice sorting action. Cool!
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
►
2014
(5)
►
May
(1)
►
March
(2)
►
February
(2)
►
2013
(6)
►
November
(3)
►
February
(2)
►
January
(1)
►
2012
(42)
►
December
(2)
►
November
(1)
►
October
(9)
►
September
(1)
►
August
(9)
►
July
(3)
►
June
(7)
►
May
(4)
►
March
(1)
►
February
(4)
►
January
(1)
►
2011
(29)
►
December
(1)
►
October
(2)
►
September
(2)
►
July
(1)
►
June
(2)
►
May
(3)
►
April
(2)
►
March
(2)
►
February
(3)
►
January
(11)
►
2010
(102)
►
December
(21)
►
November
(5)
►
October
(3)
►
September
(4)
►
August
(3)
►
July
(5)
►
June
(5)
►
May
(10)
►
April
(5)
►
March
(17)
►
February
(12)
►
January
(12)
▼
2009
(143)
►
December
(1)
►
November
(10)
►
October
(26)
►
September
(68)
▼
August
(20)
Open previously closed tabs in Firefox
Using Mutt to manage your Gmail
Create & serve a Sinatra app on your iPhone
Search and Replace in VIM
Breaking Cucumber feature tests into separate smal...
Calendar Date Select gem for Rails
Reload current file in VIM
Bluetooth tethering your iPhone to Ubuntu (works o...
Common regular expresssions
Cucumber > 0.3.7 freezes hash table and changes lo...
Tech user groups, websites, events and calendars i...
Shortcut key maps for Vim in normal mode
Smarter visual highlight in VIM
Implementing "google search" like search field usi...
Avoid multi-level associations using named scope
Table sort with Searchlogic
Usefulness of named scope in remote console
Using Searchlogic and Will Paginate
Check size of folders in terminal
Toggling between gnome terminal tabs
►
July
(15)
►
April
(3)
►
2008
(2)
►
March
(2)
No comments:
Post a Comment