search for: permit_ip

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

Did you mean: permit_in
2008 Oct 17
1
ActionMailer template gets nil param from non-nil deliver_
...se class with the following template method: def request(req) # Control reaches here. req is logged as nil: logger.info "in MyMailer#request, request = #{req.inspect}" # Exception in the following, owing to the nil: subject "Request for authsmtp exception (#{req.permit_ip})" # etc. end This is invoked through this method in my ActionController::Base class: def create @permission = Permission.new(params[:permission]) if @permission.save # @permission is non-nil, and as expected, in the following log: logger.info "In Permissio...