lucboudreau-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Apr-16 20:11 UTC
Web Flow and the session method in ActionController
Hi there, I''m writing a port of Spring Webflow to Ruby on rails and I''ve encountered quite a lot of difficulty finding how to override the session[] method which is accessed via any ActionController. I have my pseudo-code ready to implement, but I can''t find the method declaration to copy it''s signature. Also, if anyone wants to collaborate on this particular plugin, which I called ActionFlow, please let me know. I''ll be glad to share my work. It''s almost ready for testing and since I''m far from a Ruby veteran, I''ll need help on refactoring, optimization and testing. Thanks a million ! Luc --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Luc Boudreau
2007-Apr-16 20:15 UTC
Re: Web Flow and the session method in ActionController
I forgot to mention, don''t look for ActiveFlow on Rubyforge, the name is already taken and I''m trying to reach the project admin to use this name. The current admin doesn''t have any files released yet... Luc 2007/4/16, lucboudreau-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <lucboudreau-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> > > Hi there, > > I''m writing a port of Spring Webflow to Ruby on rails and I''ve > encountered quite a lot of difficulty finding how to override the > session[] method which is accessed via any ActionController. > > I have my pseudo-code ready to implement, but I can''t find the method > declaration to copy it''s signature. > > Also, if anyone wants to collaborate on this particular plugin, which > I called ActionFlow, please let me know. I''ll be glad to share my > work. It''s almost ready for testing and since I''m far from a Ruby > veteran, I''ll need help on refactoring, optimization and testing. > > > Thanks a million ! > > Luc > >-- _____________________________ Luc Boudreau --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Florian Gilcher
2007-Apr-16 20:32 UTC
Re: Web Flow and the session method in ActionController
The session method is defined via attr_internal :session in ActionController::Base which itself is defined in ActiveSupport (file attr_internal.rb). The interface is easy: it wraps a hash requests a symbol to read or write. The method itself won''t be the problem... the problem are other classes that use it (like the Session management). Have Fun Skade -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Luc Boudreau
2007-Apr-16 20:53 UTC
Re: Web Flow and the session method in ActionController
I''ve just packaged the source code, if anyone wants to help. BEFORE YOU FLAME ME NOTHING is tested yet. I didn''t even execute the code once. I''m not a Ruby genius, I''m barely good enough to write this. If you have nothing constructive to say, don''t say anything. ALL COMMENTS ARE WELCOME though. I know that a lot of people will benefit from this plugin so it''s time to participate and suggest improvements. Luc 2007/4/16, Luc Boudreau <lucboudreau-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> > I forgot to mention, don''t look for ActiveFlow on Rubyforge, the name is > already taken and I''m trying to reach the project admin to use this name. > The current admin doesn''t have any files released yet... > > Luc > > > 2007/4/16, lucboudreau-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <lucboudreau-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: > > > > > > Hi there, > > > > I''m writing a port of Spring Webflow to Ruby on rails and I''ve > > encountered quite a lot of difficulty finding how to override the > > session[] method which is accessed via any ActionController. > > > > I have my pseudo-code ready to implement, but I can''t find the method > > declaration to copy it''s signature. > > > > Also, if anyone wants to collaborate on this particular plugin, which > > I called ActionFlow, please let me know. I''ll be glad to share my > > work. It''s almost ready for testing and since I''m far from a Ruby > > veteran, I''ll need help on refactoring, optimization and testing. > > > > > > Thanks a million ! > > > > Luc > > > > > > > -- > _____________________________ > Luc Boudreau-- _____________________________ Luc Boudreau --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Luc Boudreau
2007-Apr-17 01:07 UTC
Re: Web Flow and the session method in ActionController
You have any suggestions ? It''s the only remaining architectural ''problem'' I''m facing. Luc On 07-04-16, at 16:32, Florian Gilcher wrote:> > The session method is defined via > > attr_internal :session > > in ActionController::Base > > which itself is defined in ActiveSupport (file attr_internal.rb). The > interface is easy: it wraps a hash requests a symbol to read or write. > > The method itself won''t be the problem... the problem are other > classes > that use it (like the Session management). > > Have Fun > Skade > > -- > Posted via http://www.ruby-forum.com/. > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---