source code for a rails application