ArgumentError in Devise::RegistrationsController#create too few arguments
require 'elasticsearch/model' class User < ActiveRecord::Base # Include default devise modules. Others available are: # :confirmable, :lockable, :timeoutable and :omniauthable devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable, :confirmable has_one :profile, dependent: :destroy has_many :addresses, dependent: :destroy has_many :schools, through: :profile, dependent: :destroy has_many :teams, through: :school, dependent: :destroy GENDRE_TYPES = [ "Female", "Male" ] validates :format, inclusion: GENDRE_TYPES acts_as_messageable include Elasticsearch::Model include Elasticsearch::Model::Callbacks end -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/602333af-210d-42f6-a416-9b945050f719%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.