search for: hark_session

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

2006 Sep 05
0
Reloading dependencies in Edge Rails?
...y called Hark. The structure is: lib/ hark/ session.rb mixins.rb hark.rb hark.rb: ==== module Hark include Hark::Mixins ... end application.rb: ==== class ApplicationController < ActionController::Base include Hark end my_controller.rb: ==== def login hs = session[:hark_session] = Hark::Session.new ... end So application.rb brings in Hark, which in turn brings in Hark::Mixins. Separately, the controller brings in Hark::Session. I''ve turned on dependency logging, and hark/session.rb does get loaded through the dependency mechanism. hark/mixins.rb, however...