Skip to content

Instantly share code, notes, and snippets.

@gilesbowkett
Forked from Peeja/in some functional test.rb
Created February 5, 2009 17:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gilesbowkett/58857 to your computer and use it in GitHub Desktop.
Save gilesbowkett/58857 to your computer and use it in GitHub Desktop.
# How does that session value get set!?
class << @response.session
def []=(k,v)
puts "Setting session[#{k.inspect}] = #{v.inspect} (#{caller[0]})"
super
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment