New syntax for DefaultOrder plugin 2
I’ve updated the DefaultOrder plugin that now have a new syntax.
class Contact < ActiveRecord::Base
order_by :fields => ['last_name', 'first_name'], :mode => :desc
end
I’ve updated the DefaultOrder plugin that now have a new syntax.
class Contact < ActiveRecord::Base
order_by :fields => ['last_name', 'first_name'], :mode => :desc
end
Does this plugin work with find_by dynamic finders? checkout here: http://www.railsforum.com/viewtopic.php?id=682
I have read your for blog one years and found that it is really helpful.