Created
February 5, 2009 17:14
-
-
Save Peeja/58847 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# How does that session value get set!? | |
require 'metaid' | |
@response.session.metaclass.class_eval do | |
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