Fred Wu
CTO by day, freelancing software consultant by night. Founder of Persumi.
Before (Rails 3.0.1pre stable branch + Arel 1.0.1):
[]
After (Rails 3.1.0 master branch + Arel 2.0.0dev master branch:
[]
Thanks to the awesome work done by Aaron Patterson (@tenderlove) and others. :-)
UPDATE:
After Aaron Patteron’s tweet, I ran the tests again on Rails 3.0.1pre stable branch + Arel 2.0.0dev master branch, and the result blew my mind:
[]
Don’t you just hate it when you get the following errors during a Capistrano deployment?
bundle: command not found
Could not find RubyGem bundler (>= 0) (Gem::LoadError)
In fact, even if you don’t use bundler, you might still get errors like this:
rake: command not found
Could not find RubyGem rake (>= 0) (Gem::LoadError)
It turns out this has something to do with the $PATH and $GEM_HOME variables.
So here’s the quick fix.
Log in to your deployment server, as a root us...
[]
Wuit trademarked in Australia now! :-)
The trademark application in the US is being progressed as well.
If you don’t already know, Wuit is my soon to be launched studio identity.
If you haven’t already been using AppConfig in your Rails project, well, you should!
Jacques Crocker has recently released his new version of the original AppConfig - RailsConfig. I was invited to join the development of this new tool, so make sure you go check it out. :-)
I have just pushed a commit that added Rails 2.x compatibility to Inherited Resources Views. Please give it a spin! :-)
P.S. I’ve only tested it on Rails 2.3.8.
It isn’t the first time realtime website traffic analysis has been introduced. Reinvigorate is one of the services that provides realtime traffic tracking and analysis.
The thing I like it most though, is in fact the heatmap. :-)
[]
Heatmap is a great tool to help identify convoluted interface and improve the user experience.
I have just added a Github ribbon to my blog (look at the top left corner!). Please feel free to poke me! :D
References:
- Redoing the GitHub Ribbon in CSS
- GitHub Ribbon Using CSS Transforms
Using Inherited Resources is an excellent way to reduce the amount of repetition in your controllers. But what about views? A lot of times resources share the same views, so why not DRY ‘em up using Inherited Resources Views!
Go check out the code! :-)