the Pixtr app from earlier but on Rails