I''m creating a session/drb document, trying to collect all the random
bits out there.
http://wiki.rubyonrails.org/rails/pages/HowToUseSessionsWithDrb
I have a DrbStore session server running, but I would like to query it
with a separate program. I''m using the following for that client:
#!/usr/bin/ruby
require ''drb''
print "Session Program"
DRb.start_service
session=DRbObject.new(nil, "druby://localhost:9192")
session.each_pair do |k, v|
print k.to_s + ":" + v.inspect + "\n"
end
which I get:
Session Program<session>:#<DRb::DRbUnknown:0xb7f0a55c
@name="ActionController::",
@buf="\004\b{\006\"\nflashIC:''ActionController::Flash::FlashHash{\000\006:\n@used{\000">
All the examples between serialization between client and server use
DRbUndumped in the model to be serialized. How do I do this with rails
without loading ActionController into the session server?
Ultimately, I''d like to add information to the session, like
updated_at.
Any help appreciated!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---