Rails app example with tests