Links
Default Order
Categories
Default Order
Default Order make Model.find to search in a default order if you don’t specify it.
class Contact < ActiveRecord::Base
order_by “last_name”
end
Vitals
| Home | http://blog.gwikzone.org/pages/ruby_on_rails_default_order_plugin |
|---|---|
| Repository | http://svn.gwikzone.org/public/default_order |
| License | Rails' (MIT) |
| Tags |
"default find order"
|
| Rating | (10 votes) |
| Owner | Antonin Amand |
| Created | 20 October 2006 |
Comments
-
This looks like this plugin is no longer available.
$ ruby script/plugin install http://svn.gwikzone.org/public/default_order
- ./default_order/svnindex.xsl Plugin not found: ["http://svn.gwikzone.org/public/default_order"]

