search for: c29a69b5

Displaying 1 result from an estimated 1 matches for "c29a69b5".

2013 Jul 04
3
Rspec devise, testing extended RegistrationController action destroy
Hi everyone, I have devise 1.5.4 working with rails 3.0.20 and ruby 1.8.7 . I have extended the destroy action from the RegistrationController, to soft delete users instead of really deleting them from the database. def destroy # raise resouce.inspect # this is just to see if the test hits the action resource.soft_delete set_flash_message :notice, :destroyed sign_out resource