Implementing an instagram like app with Rails