How can it be that some members of the development team have no problem with sending Post request with Russian symbols from form, but oth开发者_运维知识库er members - have? All members are using Ubuntu.
The error is: "There were problems with the following fields: Username should use only letters, numbers, spaces, and .-_@ please."
model: validates_presence_of :username, :email validates_uniqueness_of :username
view: <%= form_for @user do |f| %> <%= f.label :username %>
<%= f.text_field :username %> <%= f.label :email %> <%= f.text_field :email %> <%= f.submit "Change" %> <% end %>Any suggestions?
Thanks!
That looks like a validation error, but your validations don't seem to include it. Are you sure you're looking at the right model file?
精彩评论