Posts Tagged: ruby

Another week has passed: Unlike in Windows; in Chrome you cannot easily focus on your bookmarks bar with a keyboard short key on Mac OS X. If you want to run rake tasks in your specs in a before block, be sure to set a line[code language=”ruby”]Rake::Task[name].reenable[/code] so you can re-execute them every time. Rake seems to remember which task has been executed, so you cannot execute it twice. If you want to stub out STDOUT messages (like with ‘puts’) in your spec, use:[code language=”ruby”]STDOUT.stubs(:puts)[/code] When in doubt, speak up. Always. With Scrum, big stories… Read Article →

Some time has passed, and I’ve learned new stuff again: Updating a single gem is not done with ‘bundle update <gemname>’ but in fact with ‘bundle update –source <gemname>’. See this post for more info on that. Mailbox (iOS) is a really neat mail program. I really love this ‘remind me later’ stuff which keeps my mailbox clean and keeps me from writing these reminders myself in the Calendar app. With CTRL-F2 you can get focus on the menu bar in any mac app. (more keyboard shortcuts here) With JSONLint you can easily verify JSON…. Read Article →

Scroll To Top