Rounded Corners in Rails (updated!)
Here’s a gift for everyone.
In my last entry, I posted a rounded corners implementation in Rails using the RMagick gem. I have since updated it do take advantage of fragment caching. I also added in a CAPTCHA implementation and an animated spinner generator.
Enjoy!
Download it here (hot and fresh straight out of my application): http://furui.org/tools_controller.rb
Check out the corner generator here: http://www.furui.org/testbench/tools/roundedcorners?c=red&w=25&h=25
Check out the spinner generator here: http://www.furui.org/testbench/tools/spinner
The CAPTCHA generator doesn’t work with my hosting provider.