Just pushed the java scripts to the bottom of the page.
Created is_hidden? and is_disabled? methods for the user model to help cleen up the views and keep them clean. Created specs for these methods. Changed valid_user to check only if user is the same, not if the current user is an admin. This is in a separate method.
New Project: Creating advance forums page. Created general_forum_topic, discussion_topic, and comment models along with their spec files.
Usernames in game_index are now links to the user's profile.
Removed instances of directly accessing game.winner_id in views and replaced with method game.winner. Changed logic for game.winner. Consider removing winner_id completely as I can just as easily get a winner id with a method using existing parameters to select user_1 or user_2.
Making factories.rb look cleaner.
Added authenticate_user! check for user and rps_rounds controllers and adjusted their specs accordingly.
Continued work on forum. General forum controller is created and being filled out. Seed now contains a set of general_forum_topics.
Set some default settings for general_forum_topics controller and views
Created discussion_topics and comments controllers.
Filled out skeleton structure for controllers. Wrote more content first for discussion_topics controller and views.
Working on the interactions between forum, topic and comments.
Structuring the format of the controllers and views for the forum.
Small changes to require people to be logged in in order to create topics or comments.
Added some methods to models to simplify some of the views.
Fixed game_controller logic to prevent players from creating games if they cannot play the challenge fee.
Removed button now works as intended for comments. Finished layout of comments, subject to change.
Views for forums is updated again and controllers have more validations and securities added.
Closed discussion_topics will not allow new comments to be created.
Removed redundent user authentication code in users controller.