Update README to include debugger installation instructions

Fixes #131

Signed-off-by: Michaux Kelley <michaux.kelley@scimedsolutions.com>
Remove all traces of ruby-debug19 or debugger

Originally, there was a comment in the Gemfile that said to install ruby-debug19. That fell out maintenance, so that comment was wrong. Since programmers would most likely be using a debugger at some point anyway, I removed the comments directing developers to install any debugger gem. Instead, let the developer decide whether to use a debugger at all.

Fixes #132

Signed-off-by: Michaux Kelley <michaux.kelley@scimedsolutions.com>
Remove commented out code

There was commented out code in the devise initializer with no explanation.

Signed-off-by: Michaux Kelley <michaux.kelley@scimedsolutions.com>
Move comment to describe the correct gem

This comment is on the wrong gem, which is probably a result of removing some unnecessary gems.

Signed-off-by: Michaux Kelley <michaux.kelley@scimedsolutions.com>
Remove PRY from Gemfile

It was unnecessary to install pry in order to develop on rubeque so I removed it.

Signed-off-by: Michaux Kelley <michaux.kelley@scimedsolutions.com>
Alphabetize and organize gems in the Gemfile

Our company decided to start alphabetizing gems in the Gemfile to avoid creating duplicates and weed out gems that don't belong.

Signed-off-by: Michaux Kelley <michaux.kelley@scimedsolutions.com>
Update rvmrc to latest version of ruby

Signed-off-by: Michaux Kelley <michaux.kelley@scimedsolutions.com>
Remove bson mongo gem

This gem is no longer necessary so I removed it.

Signed-off-by: Michaux Kelley <michaux.kelley@scimedsolutions.com>
Remove auto-generated comments in problems_controller

Signed-off-by: Michaux Kelley <michaux.kelley@scimedsolutions.com>
Remove extraneous comment

Signed-off-by: Michaux Kelley <michaux.kelley@scimedsolutions.com>
Begin update of mongoid and devise

Validations :null => true/false that were previously required for devise, were blocking the mongoid update from moving forward,
since :null is an invalid field option. This commit changes the syntax throughout the project to be validates :field_name, presence: true.

Signed-off-by: Michaux Kelley <michaux.kelley@scimedsolutions.com>
Remove devise deprecation warnings

This doesn't fix or replace the functionality that the config settings were providing.  This change just makes console output readable for debugging and interpreting the errors coming back during this upgrade of mongoid and devise gems.

Signed-off-by: Michaux Kelley <michaux.kelley@scimedsolutions.com>
Replace references_many with has_many throughout

Signed-off-by: Michaux Kelley <michaux.kelley@scimedsolutions.com>
Update to newer mongoid index syntax on User model

This change is just for getting the new mongoid to work.  If anyone wants to change this index type to make it better, then feel free.  This change also makes it possible to run a rails server, but opening rubeque in the browser yields a SessionRestoreError. Methinks I'm about to learn quite a bit about devise.

Signed-off-by: Michaux Kelley <michaux.kelley@scimedsolutions.com>
WIP update mongoid and devise

This is not working at the moment.  We're upgrading mongodb, mongoid, and some other stuff.

Signed-off-by: Michaux Kelley <michaux.kelley@scimedsolutions.com>
WIP make devise and tests work
WIP configuring updated devise
WIP fix tests broken due to old syntax
Make failed_attempts on user model default to 0

failed_attempts doesn't exist as an attribute for new users until fail to log in the first.  It was returning nil, which caused an error in Devise::Hooks::Lockable

Signed-off-by: Michaux Kelley <michaux.kelley@scimedsolutions.com>
Merge branch 'hotfix-omniauth' into develop

Signed-off-by: Michaux Kelley <michaux.kelley@scimedsolutions.com>

Conflicts:
	Gemfile