Category Archives: Ruby programming

Upgrading from Leopard to Lion the painful way

The painful way:

Backup with TimeMachine
Upgrade to Snow Leopard
Upgrade to Lion
Restore essential data from TimeMachine

Also posted in developer tools, programming, software engineering | Tagged , , , , , , | Leave a comment

Be careful with stub! in RSpec

First of all, you should be careful with any call to stub.

You probably want to use stub just to simulate a behavior, one that you don’t want to test in your current test.

For example: You may want to use stub with a remote service, an API call.

Also posted in developer tools, web programming | Tagged , , , | Leave a comment

The best solution to this warning: Giving a path to render :action is deprecated.

I for one welcome this change and deprecation warning.

Also posted in open source, programming, web programming | Tagged , , , , , , | Leave a comment