Devise :current_password validations and checking (how???)

Hi Guys,

In my devise applications in Rails 3, I created a separate form under my
SettingsController class of which it handles the 'Change Password' of
the User Model, so i can manipulate the current_user in the

Now, I followed the set-up in the Devise/Views on how to update the form
using 'Change password' and either way update User for current_password
change but I've no luck on the implementation. I need you experties

My question is, how to check the my :current_password to the
params[:user][:current_password] I tried to submit in the form. Meaning
how can the devise check the submitted params[:user][:current_password]
to match and validate on the current_user.pasword

This is my code, i'm using HAML
I'm also using config.encryptor = :restful_authentication_sha1
since I migrated from auth_logic to devise authentication tool

"Views/Settings/change_password.haml" goes like this