I did not get an output frpm "error_messages_for" but "validates_uniqueness_of" just works fine - I'am not able to store duplicate values for username - exactly what I want to have.
Model model.rb:
I did not get an output frpm "error_messages_for" but "validates_uniqueness_of" just works fine - I'am not able to store duplicate values for username - exactly what I want to have.
Model model.rb:
what does your view render if you refactor the member in the action method like this ?
@member = Member.new(params[:member]) @member.save
marcel
lanzm schrieb:
what does your view render if you refactor the member in the action method like this ?
@member = Member.new(params[:member]) @member.save
Wow!!!! Now it works as expected!! Great!!! Thanx.