Coins with Friends rewrite in Rails