I find this cleaner, controller do def update if params[:user][:password].blank? params[:user].delete("password") end super end end </code>
controller do def update if params[:user][:password].blank? params[:user].delete("password") end super end end </code>
I find this cleaner,
controller do def update if params[:user][:password].blank? params[:user].delete("password") end super end end </code>