Archive for October, 2008:
Why I have been away
For those you don`t know, when I attended RailsConf Europe, I came to Europe to make a live test in a job I was applying. As you know by my blog post, RailsConf Europe was great. I just wrote one post about it, but that week was incredible busy for me. I still have my notes from the second day of RailsConf, but I don`t know if I`d post them.
The fact is: I got approved (yaaayyy ). So I back to Brazil to start arranging documentation to apply for a work permit in Spain (Madrid City). Now I`m in Madrid, working in the company. This changes a lot of things in my life, but it`ll be an amazing experience for me in any field.
Here i`ll learn a new language (spanish), work and learn with amazing people like Pratik Naik, Xavier Noria e Raul Benito, play guitar hero in the company when stressed, attend nice conferences in Europe like Goruco, RubyConf and others, meet new people in the effervescent nightlife of Madrid…
One last thing: My google summer of project went live yesterday (October, 21) and everything is working fine. In case you want to check it out the URL is http://www.christmasfuture.org/.
Thanks,
ps: In the picture is the amazing new terminal of Madrid`s airport
David Pache
I’m starting a new section in my blog where I’m going to present and recommend talent of many areas, but all related to web development. I believe it is very important this connection with what is being created around the web and us (developers), because besides being good to inspire ourselves, it help us to became more competitive and to ensure we are in a continuous learning, always focusing in our self improvement.
I’m going to present a designer, called David Pache, who brings a minimalist style that in my point of view is something the so called web 2.0 is all about: simplicity. The designer bests creations are his logos. You can see all the process of creating a logo, as well color studies in his “dacheboard” which is kind like a blog, where he wrotes about he develop his works.
Make sure to visit his portfolio. Bellow is just a sample of David’s work.
[David Pache website] http://www.dache.ch/
How to Run Just one Test Method from your Terminal
Many times I found myself running all tests just after modifying just one test method. Depending on the size of your project and its test ratio, it can be a very boring waiting for it to finish.
It can be even worse: Imagine you have other tests failing. How can you improve your productivity ? Just use the “-n method_name” parameter for the method you want to test.
ruby path_to_your_test_case -n method_you_want_to_testA real example, I want to test the “test_should_do_stuff” method inside my “stuff_controller_test.rb”:
ruby test/functional/stuff_controller_test.rb -n test_should_do_stuff
Worth remember that stills load your fixtures and preforms setup, it only won’t execute the other test methods.


