This is an example application showing how to set up Devise in rails 4 to Create and assign a new Company to a User using the registration form.
It also shows how to update that information using the registration edit form
To view the example clone this to your computer using
git clone github.com/CarlosRoque/use-devise-to-create-a-user-account-on-registration.git example
then run
bundler install
rake db:migrate