Extracting fixtures
Posted on September 24, 2009 - Filed Under RubyOnRails | Leave a Comment
If you’re new here, you may want to subscribe to my RSS feed. You can also get updates by email Thanks for visiting!I’m still using fixtures. Shame, I know.
Why I do use them instead of Factory Girl or other solution like that? Well, fixtures can be much more closer to real data than mocks from [...]
Popularity: 11% [?]
Read More..>>Logger - simple, yet powerful Rails debugging tool
Posted on September 15, 2009 - Filed Under RubyOnRails, tips | 2 Comments
I don’t know about You, but logs are for me most powerful debugging tool. Placing many logger.debug or logger.info can quickly provide info what is happening inside Rails application.
This approach is especially useful when something wrong is happening and trigger is unknown. Placing many logging directives can provide data for analysis what could be [...]
Popularity: 15% [?]
Read More..>>Testing binary downloads with Webrat
Posted on September 9, 2009 - Filed Under RubyOnRails, tips | 3 Comments
I’m using Webrat to keep some sanity when approaching maintenance of new application. Customers often come to me with legacy code, which somehow is not covered by tests.
In such case integration tests are way to go, since they provide most bang of Yours bucks - each written test could cover many parts of application.
I [...]
Popularity: 13% [?]
Read More..>>


