J
J
jFox2014-02-03 09:57:55
Ruby on Rails
jFox, 2014-02-03 09:57:55

Rails(gem Devise): Registration issue?

There is the following error:
h_1391410698_8394681_114b20b515.png
And the following output code:

<h2>Sign up</h2>

<%= form_for(:user, :as => :user, :url => registration_path(resource_name)) do |f| %>
  <%= devise_error_messages! %>

  <div><%= f.label :username %><br />
  <%= f.text_field :username %></div>
    <br>
  <div><%= f.label :email %><br />
  <%= f.email_field :email %></div>
    <br>
  <div><%= f.label :password %><br />
  <%= f.password_field :password %></div>
    <br>
  <div><%= f.label :password_confirmation %><br />
  <%= f.password_field :password_confirmation %></div>
    <br>
  <div><%= f.submit "Sign up" %></div>
<% end %>

<%= render "devise/shared/links" %>

<br>

<pre>
  <%= params.inspect %>

I have no idea what (this time) could be the problem.
It's probably some little thing.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Arkady Butermanov, 2014-02-03
@jFoxReality

If rails version 4 is it worth updating devise to support strong_paramteres?

S
sl_bug, 2014-02-03
@sl_bug

What version of Devise?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question