Drucker on Efficiency
There is nothing so useless as doing efficiently that which should not be done at all.
- Peter F Drucker
There is nothing so useless as doing efficiently that which should not be done at all.
- Peter F Drucker
The Ruby Cookbook has been released, at least according to Ruby Inside. Over 900 pages of ruby recipes. Sounds like a nice companion to the pickaxe book for some decent example code - seems like I could always use more help with doing things using Ruby idioms.
I’ve also updated my Ruby and Rails […]
If you've ever tried using named routes or url_for in functional tests, you might have seen an error like this:
1) Error:
test_article_override_to_meta(ArticleControllerTest):
NoMethodError: You have a nil object when you didn't expect it!
The error occured while evaluating nil.rewrite
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:461:in `url_for'
generated/routing/named_routes/article.rb:2:in `article_url'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/test_process.rb:431:in `method_missing'
[...]
I noticed today that Gmail finally added a much request feature - mass delete by label. So say I want to delete, oh, all messages from the Struts mailing list (ahem) - just click all on the Struts page, and the option below appears. They even have a second alert to make sure [...]
...is pretty much what Dion says. Ctrl-click on a symbol to jump to the method/class/module/rdoc. I miss that very much from the Java days...now its command-T, open the file, realize its the wrong file...do a search across or project or grep...etc. Refactoring and autocomplete are hard with Ruby, I understand, but getting [...]
During my dark days of java, I often wanted to be able to reflectively get the name of the method called inside the method in order to log things, inspect things, etc. It was always impossible, at least as far as I knew back then - though in light of new knowledge, I wonder [...]
© Panasonic Youth. Powered by WordPress using the DePo Clean Theme.