#hacks
3 posts tagged hacks. Clear filter
-
Color Output with Test:Unit, AutoTest and Ruby 1.9
If you are testing using Test:Unit (rather than RSpec) and you're using Ruby 1.9. colorized output of your tests using Autotest will not be immediately available. Since, 1.9 comes with mini test...
-
Very Simple Breadcrumb Navigation in Rails with Before_filter
This may not be the ideal solution. This just manages request.referers in a session variable, then looping over each unique path prints a link to the screen. It's more of a "history" than a...
-
Override to_param method in model to get pseudo permalinks without any work
There are a number of permalink plugins for Rails, http://www.seoonrails.com/even-better-looking-urls-with-permalink\fu, is a good one that I've used before. However, this involves informing the...