RailsCasts Pro episodes are now free!

Learn more or hide this

valachi's Profile

GitHub User: valachi

Comments by

Avatar

Any ideas how to overwrite the to_param method? Overwriting it in /app/models/tag.rb just doesn't work in urls, though it works in console when invokung Tag.first.to_param

What i mean is instead of urls like /tags/foo%20bar i would like to have urls like /tags/foo-bar