around_filter :api_call_handle_error, :except => [:list]
around_filter :web_timeout, :only => [:list]
- filter_parameter_logging "<osmChange version"
-
# Help methods for checking boundary sanity and area size
include MapBoundary
before_filter :require_administrator, :only => [:set_status, :delete, :list]
before_filter :lookup_this_user, :only => [:set_status, :delete]
- filter_parameter_logging :password, :pass_crypt, :pass_crypt_confirmation
-
cache_sweeper :user_sweeper, :only => [:account, :set_status, :delete]
def terms
config.encoding = "utf-8"
# Configure sensitive parameters which will be filtered from the log file.
- config.filter_parameters += [:password]
+ config.filter_parameters += [:password, :pass_crypt, :pass_crypt_confirmation]
# Use SQL instead of Active Record's schema dumper when creating the test database.
# This is necessary if your schema can't be completely dumped by the schema dumper,