Simple way to have nice URLs:
- use this lib: http://snippets.dzone.com/user/Bragi
- in your Model add ‘to_param’ method that looks something like this:
example:
def to_param
"#{self.id}-#{self.name.to_textual_id}"
end
I’ve made few changes to that lib. My version looks like this:
