RailsCasts Pro episodes are now free!

Learn more or hide this

ubique's Profile

GitHub User: docklandsstudios

Comments by ubique

Avatar

Confused - when adding the client_side_validation plugin and updating the 'sign-up' form, Devise already has a 'form_for' method installed on this page. How do you get them both to work together as it keeps throwing up errors? Is daisy-chaining an option?

Sign Up

<%= form_for @users, :validate => true do |f| %>

Devise Plugin
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>

<%= devise_error_messages! %>

<%= f.label :email %>
<%= f.text_field :email %>