search for: sbellware

Displaying 4 results from an estimated 4 matches for "sbellware".

2007 Aug 15
10
Objects in Session State Revisited
Hi Folks, I''m still a bit confused about the issue of storing "complex" objects in session state rather than storing simple objects. It''s my understanding that everything is an object in Ruby. If my understanding is correct, then storing a string or an integer in session means storing an object. It would seem then that the problem of storing objects in session is a
2007 Aug 14
2
Spec''ing ApplicationController
Folks, I''d like to spec the behaviors that I''m adding to ApplicationController. Specifically, I''m adding: def authenticated? session[:username] != nil end I described ApplicationController, but couldn''t figure out how to call the authenticated method. I''m probably going about this quite wrongly and would appreciate any hints? Thanks, Scott --
2007 Aug 10
1
Can''t get should redirect_to match to work
Folks, I''ve posted to the simple example I''m working with as well as the spec code and results here: http://pastie.caboo.se/86750 I can''t seem to get this to work. Any ideas? Thanks, Scott -- View this message in context: http://www.nabble.com/Can%27t-get-should-redirect_to-match-to-work-tf4251891.html#a12101072 Sent from the rspec-users mailing list archive at
2007 Jul 23
1
How to do link_to with query parameter AND css class
Folks, I''ve been trying to get a number of variations of the following line of template code to work: <%= link_to ''Show contact details'', :controller => ''people'', :action => ''show'', :class => ''actionLink'', :id => person %> I''ve tied putting curlies around the controller and action as well