Agile Web Development

Build it. Launch it. Love it.

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 Tag_red "default find order"
Rating (10 votes)
Owner Antonin Amand
Created 20 October 2006

Comments

  • DW
    7 October 2008

    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"]

Add a comment