fcbeyer/ruby-warboats — pull request #2 by petercm (2012-02-03 04:55:07+00:00)
Title: Some ui updates, gem versions, and a couple of controller fixes/enahcements

Updated gem versions, made some fixes for devise 2.0 compatability

Was a bug in games_controller.rb where if you had no games you were always kicked back to root_url because no games were found (i.e. couldn't create any games because you didn't own any). The check for game ownership should only be on actions that reference an id directly (also made it boot to games index instead of back out to the welcome controller)

ship ->ship_type association was backwards and missing the foreign key. Also modified the view and controller to set the foreign key in batch via params.