search for: pritchi

Displaying 5 results from an estimated 5 matches for "pritchi".

Did you mean: pritchie
2007 Jun 29
12
testing instance variables that are set inside views
Hi all, In my view specs (for Rails), how can I get at instance variables that are set within my view? For example, if my view looks like this: <% @header = "My Header" -%> <div>some content</div> How can I get to @header from within my view spec? I''ve tried @header and assigns[:header] to no avail. TIA, Jeremy -- Jeremy Stephens Computer Systems
2007 May 21
4
slow execution times using spec_server
hi all I''m seeing strange behaviour when running specs using spec_server. They take longer to execute, and it looks like none of examples are being run. here''s the output for a simple spec file using just the spec command: ---------- foo at holly:~/rails/allison$ time ruby/script spec spec/models/listing_spec.rb ...... Finished in 0.060469 seconds 6 examples, 0 failures <
2007 Feb 27
15
Ferret 0.11.1-rc2
Hey guys, Just released Ferret 0.11.1. Hopefully this will fix *most* of the problems people were having. Now that I know gcc hides stack overflows on Ubuntu because -fstack-protector is set, I won''t get caught by that one again. Anyone know any other gotchas I should be aware of on Ubuntu. Please try the new version and let me know if you are still having problems with it. I have until
2006 Mar 08
12
best way to combine results from two tables
I want to combine a selection of data from two tables and display it as list. Note that this isn''t a join. i''m looking for something like this: Table 1: Sheep Name, Age, Farmer, etc. (sheep specific columns) Table 2: Cows: Name, Age, Farmer, etc. (cow specific columns) For my display I nneed something like this: Farmer Jone''s Livestock: TYPE NAME AGE Cow
2008 Feb 10
1
Ticket #274 patch for --drb in spec.opts
Hi All, I submitted a patch last week to fix a bug with --drb not working if it''s specified in spec.opts, this causes autotest to run obscenely slowly out of the box on my machine. Please let me know if you need anything else from me on this. Cheers! Patrick