On Oct 28, 2011, at 10:59 AM, Jeremy Savoy wrote:

> Is there a place where I can globally make this change, so I don't
> have to modify every model ?

Shooting from the hip here (haven't tested it), but I suspect you could drop 
this in an initializer:

module Hobo
  module Model
    def to_param
      id.to_s
    end
  end
end

--Matt Jones

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to