ruby on rails devise :registrable remove return errors
===

I want to **remove** the **registration page** from my rails app since i am going with **invitation only system** and i have read that i have to remove the `:registrable` module from my user model in order for my sign up page to disappear... 

when i do it i get the following error:

    NoMethodError in Devise::RegistrationsController#new
    
    undefined method `new_with_session' for #<Class:0x007ffb53b8f820>

here is the devise line from **user.rb**


    devise :database_authenticatable, :recoverable, :rememberable, :trackable, :validatable 

