2014-02-19 5 views
0

이전 내가 얻고 있었다 - 내가 비워 둘 수 없습니다이 새로운 오류를확인 토큰은 비워 둘 수 없습니다

확인 토큰을 얻고 토큰 변경 작업 후론 발견되지 here을 조언했다.

사용 레일 - 3.0.6 유증 - 1.1.3 루비 -

1.9.3이 시간 이후 내 머리를 두드리는 왔으며 토큰을 수신하기 않는 이유를 나는 아직도 우둔입니다. 이는 사용자가 메일을 통해 전송 된 확인 링크를 클릭 한 후에 만 ​​발생합니다. 내가해야할 모든 포인터. 미리 감사드립니다.

당신은 버전 호환성을 고안하기 때문에 당신이 언급 한 문제의 솔루션을 적용 할 수 없습니다

+0

으로 app/views/<user>/mailer/confirmation_instructions.html.erb의 마지막 줄을 교체? –

+0

그것은 클라이언트 응용 프로그램이며 방금 로컬에 호스팅되었으므로 아직 사용자가 없습니다. –

+0

사용자 모델을 게시 하시겠습니까? 그렇지 않으면 모델을 어떻게 든 저장하려고하는 콜백이 있는지 확인하십시오. –

답변

2

사용자 모델

class User < ActiveRecord::Base 
    # TODO: Remove talent_seeker from here, set manually on creation 
    # Setup accessible (or protected) attributes for your model 
    attr_accessible :email, :password, :password_confirmation, :first_name, :last_name, :disabled, 
    :job_title, :company_name, :city, :state, :zip, :public_profile, :willing_to_relocate, :avatar, :resume, 
    :remove_avatar, :remove_resume, :html_resume_attributes, :upload_in_progress, :rb_resume 

끝. 그냥 당신이 기존 사용자 또는 새로 만든 사용자를 위해이 오류를받을 수 있나요 다음 줄

<p><%= link_to 'Confirm my account', confirmation_url(@resource, :confirmation_token => @resource.confirmation_token) %></p> 
+0

다시 한번 감사드립니다. 그것을 해결하는 데 많은 어려움을 겪고 : –

+0

여기보세요 - http://stackoverflow.com/questions/21931171/rails-amazon-production-error –

관련 문제