Displaying 1 result from an estimated 1 matches for "juggernaut_channel".
Did you mean:
juggernaut_channels
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
Juggernaut:Module
--
Posted via http://www.ruby-forum.com/.