search for: log_session

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

Did you mean: load_session
2006 Jul 05
2
How do I access the session in a rails plugin?
I''m trying to access the session in a rails plugin, so as to set it as below. 1. module Juggernaut 2. 3. def self.set_channels(chan) 4. session[:juggernaut_channels] = chan 5. end 6. end 7. 8. module ActionController 9. class Base 10. include Juggernaut 11. end 12. end At the moment I get: undefined local variable or method `session'' for