RequestLog is apparently from here:
http://rubydoc.info/gems/request_log/0.1.2/frames

 It's starting to make a little more sense, as RequestLog::Middleware
is a class I just realized, but I am not used
to this type of approach ..

module RequestLog
  class Middleware
    def initialize(app, options = {})
      @app = app
      @logger = options[:logger] || lambda { |
data| ::RequestLog::Db.requests.insert(data.attributes) }
      @profiler = options[:profiler] || ::RequestLog::Profiler
      @timeout = options[:timeout] || 0.3
      @only_path = options[:only_path]
    end

 ..
 end
..
end

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to