search for: guest_user_author

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

2006 Jan 12
3
How to Selectively Quite SQL Logging
...rates quite a bit of SQL noise in the logs. I''d like, for that engine, to suppress the SQL logging. Code in it has return statements in conditionals, e.g., if !user? RAILS_DEFAULT_LOGGER.debug "checking guest authorisation for #{controller}/#{action}" if User.guest_user_authorized?(controller, action) yield block if block != nil return true end else RAILS_DEFAULT_LOGGER.debug "checking user:#{session[:user].id} authorisation for #{controller}/#{action}" if current_user.authorized?(controller, action) yield block if...