Working with rails app