Rails app interacts with flickr api