0
내가 정확히 매뉴얼에 따르면, gem client_side_validations를 설치 한 모든 것을 한,보다 명확히하기 위해, 나는 그것이 작동, 테스트 프로젝트에 체크,하지만 난 내 프로젝트에 마이그레이션 할 때이 오류 준 :레일 3의 클라이언트 측 유효성 검사?
undefined method `validate_options' for #<User:0xb67365fc>
을
<%= simple_form_for(resource, :as => resource_name, :url => registration_path(resource_name), :validations => true, :html => {:id => 'commentform'}) do |f| %>
<%= f.input :name, :label => t('general.name') %>
<%= f.input :last_name, :label => t('general.last_name') %>
<%= f.input :email, :label => t('general.email') %>
<%= f.input :phone, :label => t('general.phone') %>
<% if @user.password_required? %>
<%= f.input :password, :label => t('general.password') %>
<%= f.input :password_confirmation, :label => t('general.password_confirm') %>
<%= f.hidden_field :is_anonym, :value => false %>
<% end %>
<br/>
<%= f.button :submit, :label => t('general.button') %>
<% end %>
사람이 나를 도와 .. 내가 완전히 ClientSideValidation 보석을 다시 한 내용을 그 가치에 대한