Displaying 3 results from an estimated 3 matches for "end_session".
Did you mean:
find_session
2006 May 29
1
Init lifecycle and rails
In a servlet J2EE application, there is an init style method that gets
called after that servlet is loaded. Is there something similar within
a rails controller context. I am looking for something where I can load
and setup a particular object.
Also, what about with sessions as well. I would like to call some
library when a user session begins and possibly kill that object when
the
2006 Nov 21
2
before_filter in actionwebservice controller using direct dispatching
...vice api. Should I be using before_invocation instead even
with direct dispatching mode? Or can I not have the authorize method
in application.rb?
undefined method `authorize'' for #<CustomerController:0x8ee54e0>
class CustomerController < ActionController::Base
after_filter :end_session
before_filter :authorize
web_service_dispatching_mode :direct
web_service_scaffold :invoke
web_service_api CustomerApi
end
Chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"...
2013 Dec 17
2
Setting up a lustre zfs dual mgs/mdt over tcp - help requested
...ers \
brw read check=simple size=1M
lst add_test --batch bulk_rw --from writers --to servers \
brw write check=full size=4K
# start running
lst run bulk_rw
# display server stats for 30 seconds
lst stat servers & sleep 30; kill $!
# tear down
lst end_session
and it seemed ok
# modprobe lnet-selftest && ssh mds2 modprobe lnet-selftest
# ./lnet-selftest.sh
SESSION: read/write FEATURES: 0 TIMEOUT: 300 FORCE: No
10.0.0.[22,23]@tcp are added to session
10.0.0.[22,23]@tcp are added to session
10.0.0.[22,23]...