added ability for manager to change users role

* AR enums suck, looks like a hash but not a hash
* created form for user and form for manager
* different params for user vs manager as well
Cool, so if it’s not 100% required then yes you’ll have to handle the nil case in some way. Take a look at the “allow_nil” option of the delegate macro. Alternatively (and perhaps better?) you could use a nil_location object. 

On Dec 12, 2014, at 1:13 PM, ChrisCPO <notifications@github.com> wrote:

> In app/models/user.rb:
> 
> > @@ -8,13 +8,15 @@ class User < ActiveRecord::Base
> >  
> >    belongs_to :location
> >  
> > +  delegate :name, to: :location, prefix: true
> @carlosramireziii well most users will have a location, I guess its time for a nil_location object
> 
> —
> Reply to this email directly or view it on GitHub.
>