Strip Generator October 21, 2007

Posted by Predrag in : Resources and Links, Web Design , 1 comment so far

While working on re-wamp of one of our old projects, I stumbled on one entry describing Strip Generator website. I am amazed with this website.

It is for creating one-line strips for free, with predefined characters and objects - so easy to use! For all this time I spent working as a Web Designer I met so bizzare people and dealt with so many different situations… and I think this is the best way to present them. These guys made a hell of an effort to make this work and furthermore - this looks fantastic.

Here is what I created in 10 minutes.
Dealing with clients.

Don’t mind me saying - but I created my own strip blog as well. :)
Try and enjoy!

Use Rails logger in tests October 5, 2007

Posted by Slobodan Kovacevic in : Resources and Links, Ruby & Rails , add a comment

For some debugging in Rails test we wanted to be able to log data via Rails logger. Unfortunately, as it turns out you cannot directly access logger from tests (which is strange). Since we needed to add information to test.log we used this small piece of code (added to test_helper.rb):

def logger
RAILS_DEFAULT_LOGGER
end

and just use it in tests like this:

logger.info(’performing test now’)

[via Robby on Rails]