added rails-api demo to show cors for hacker news