Hi all, I''m writing an LDAP based app for my office. I''m wondering how to design it however. I''ve got a basic version running, but I''m not convinced that I''m going about it the right way. I have my ldap connection code in lib/ldap_connection.rb. This is what my form targets call when binding. The @con connection object is then stored in a global session hash (sess[session.session_id]=@con). The reason I''m not confident in my approach is that all my methods at the moment, need to be in this single file. I''m playing around with validating in models without a db, but essentially I''d like to have: new_user_view -> new_user_controller -> new_user_model -> new_user_ldap_method edit_user_view -> edit_user_controller -> edit_user_model -> edit_user_ldap_method any thoughts on how I''d go about this? thanks for reading. -- 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 -~----------~----~----~----~------~----~------~--~---