app/controllers/users_controller.rb
def check_email
        params.require(:email)
        lower_email = Email.downcase(params[:email]).strip
        checker = EmailCheckerService.new
        render json: checker.check_email(lower_email)
    end
# A hack for accounts.show but a fancy name., called from ember
A hack for accounts.show but a fancy name., called from ember
A hack for accounts . show but a fancy name . called from ember
def check_email
        params.require(:email)
        lower_email = Email.downcase(params[:email]).strip
        checker = EmailCheckerService.new
        render json: checker.check_email(lower_email)
    end
def check_email params . require ( :email ) lower_email = Email . downcase ( params [ :email ] ) . strip checker = EmailCheckerService . new render json : checker . check_email ( lower_email ) end
A hack for accounts.show but a fancy name., called from ember
A hack for accounts . show but a fancy name . called from ember