So I am using devise and followed the tutorial on railscasts and everything seems to work but when I click submit for my sign up I get this error:
NameError in Devise::RegistrationsController#create
undefined local variable or method `root_path' for #<Devise::RegistrationsController:0x266d9a4>
Got my answer I was looking for,
root to: 'home#index'
Or in Ruby 1.8.7
root :to => 'home#index'
to the routes.rb file