Ruby on rails examples and tests