Hi Adam Meyer
> Is there a possibility to get access to session values in model files?

  You can't do that and if any means doing that means violating MVC . 
What you can do is to pass the session variable from controller to model 
For example in the image.rb you have  a

def do_this(session_id)
----
end

   So from controller you can pass it like

@image_model_obj.do_this(session[:kwikerhash])




Sijo
-- 
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@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to