Rails is just an interface to the memcached?
Cache the Hell out Everything
90% API Requests — cache them
Read the Scaling Twitter.
Dmytro Shteflyuk’s Home
thoughts about programming
Rails is just an interface to the memcached?
Cache the Hell out Everything
90% API Requests — cache them
Read the Scaling Twitter.
Unfortunately, RSpec does not provide helpers for testing mailers like TestUnit. But it is easy to add them to your application, and here you could find code snippet for testing mailers.
When I worked on Best Tech Videos with Alexey Kovyrin, we faced a problem of filtering videos by category with selecting posts categories in the same query. It was easy to solve the problem, but there is one query optimization trick exists.
RSpec provides a framework for writing what can be called executable specifications of program behavior. In this short post I want to explain why I use this framework in place of classic TestUnit library.