radhames brito wrote:
> "I had to copy my
> devise/registrations views out to just views/registrations."
> 
> did you do that in the gem? because you are suppose to use rails g
> devise_views to do that
> 
> to edit without requiring a password put this in your user model
> 
> 
> def password_required?
> self.new_record?
> end

Thanks for your reply.

That's the whole problem, just

> def password_required?
> self.new_record?
> end


Does not work. See

http://github.com/plataformatec/devise/wiki/How-to-edit-user-form-without-current-password

You have to make a change to the registration controller, which means 
copying it yourself, hence my problems above. Going around in circles on 
this, really frustrating. :(
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to