Ruby on Rails
Whiny Finder Plugin

Description

Example:

admin_controller.rb

def reset_password
  @user = User.find_by_login!(params[:id])
  @user.password = "changeme" 
  @user.save
  flash[:notice] = "#{@user.login}'s password was reset!" 
rescue ActiveRecord::RecordNotFound
  flash[:error] = "Could not reset user's password, unknown user." 
ensure
  redirect_to :action => 'index'
end

svn: http://soen.ca/svn/projects/rails/plugins/whiny_finder/