Skip to content

Instantly share code, notes, and snippets.

@amitpatelx
Created October 6, 2017 10:42
Show Gist options
  • Select an option

  • Save amitpatelx/3e6555ff89323eb89f6293ac6f7ba2a9 to your computer and use it in GitHub Desktop.

Select an option

Save amitpatelx/3e6555ff89323eb89f6293ac6f7ba2a9 to your computer and use it in GitHub Desktop.
Disable Sign Up in Devise
class User < ApplicationRecord
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable and :omniauthable
devise :database_authenticatable, :rememberable, :trackable, :validatable, :omniauthable
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment