Rename company_name to name on companies table.
Add devise and devise_invitable to the account model.
Add password to attr_accessible.
Create new accounts (account users) with custom validation for devise account model.
Fixup accounts/users.
Merge pull request #1 from FJMDeveloper/account_devise

Fixup accounts/users.
Go back to users having flags (.is_admin = true). Thanks Frankie I really didn't want to change all that AGAIN :)
Add company_id to user created by an account. Redirect to user account show page if user has an account.
Minor changes to account show page view.
WIP - Custom validation for user / account create and update.
Invite the user that belongs to that account through a link.
Merge branches 'invite_user-wip' and 'validation-wip'
Removed custom validations.
Change redirect after invitation is sent to account_path(@account).
Delete the account through the user's table.
Validates email uniqueness, format and password length. Still need to validate presence of both except when in the accounts controller!!
Validates email and password presence of. Frankie, you are the man.
If user has password restrict all users from changing there email from the account edit form. After user sets there password only they can change there email. This way admin doesn't accidentally change user's email locking them out of the app.
Add is_admin flag to users table.
Only show invite link if user has email. Toggle from invite user to user is invited if user.invited_by_id is present.