search for: thingcontrol

Displaying 3 results from an estimated 3 matches for "thingcontrol".

2007 Sep 27
1
using @variables in an ''it'' block
...e method-missing magic so we don''t need to say ''@selenium.open(foo)'' we can just say ''open(foo)'', but that''s not particularly relevant to my question) My problem is, at home in rspec 1.0.8, including this module doesn''t work: describe ThingController do include SeleniumHelper it "should list all known things" do @selenium.open "/thing/list" # ==> fails with "nil.open" error SeleniumHelper.selenium.open "/thing/list" # ==> succeeds! open "/thing/list" # ==...
2006 May 11
18
Object constructors - Noob Question
Hi: Sorry if this is a painfully stupid question... I have some data I need through the life of someone''s session. In the application controller, I grab the data and store it like so: session[:foo] = @foo Now, whenever I need to access data about foo I don''t need to cause any DB io, I can just grab foo from the session (it''s very small fyi). Here''s what I
2005 Dec 29
8
First module gives "unknown action"
Hi, I''m using "Agile Web Dev. w/Rails", which is great but has a minimum on grouping controllers into modules. I''ve successfully generated a module scaffold, so I have: app/controllers/admin_controller.rb app/controllers/admin/things_controller.rb (And the rest of the scaffold output, which seems normal.) However, browsing to http://localhost:3000/admin/things/