Skip to content

Commit

Permalink
Merge pull request petergoldstein#151 from blakedy/master
Browse files Browse the repository at this point in the history
fixed "uninitialized constant Rack::Session::Dalli::Client"
  • Loading branch information
mperham committed Dec 12, 2011
2 parents 97d9283 + 46e4db8 commit 8505c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rack/session/dalli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def initialize(app, options={})
super
mserv = @default_options[:memcache_server]
mopts = @default_options.reject{|k,v| !DEFAULT_OPTIONS.include? k }
@pool = options[:cache] || Dalli::Client.new(mserv, mopts)
@pool = options[:cache] || ::Dalli::Client.new(mserv, mopts)
end

def generate_sid
Expand Down

0 comments on commit 8505c67

Please sign in to comment.