search for: depot_final

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

2006 May 12
1
Application error (Apache) -- depot_final sample code
Hi, I''ve been trying to run the application (depot_final) from the "Agile Web Development with Rails" book (http://pragmaticprogrammer.com/titles/railscode.html), and keep getting the "Application error (Apache)" screen when I go to 127.0.0.1:3000/admin/new. I tried this on 2 different Win2K machines with the same error. One mac...
2006 Jan 31
2
asigning values to atributies when source is nil
I want to use something similar to the following: @total_price += { product.price <> nil ? product.price : 0.0 } This fails in rails with a "nil can''t be coerced into Float" error. What is the (most) correct way to do this? On a related issue, what is the significance of the value 40 following "cart.rb" in the trace snippet below? The entire class file
2006 Jan 29
3
Depot example doesn''t work on my pc
...s you told me, but this problem is still on. First of all, I changed the server script file as you told me, so I deleted the first line: #!/Users/dave/ruby1.8/bin/ruby and I wrote this one. #!/usr/bin/env ruby But now when I''m running it I have some other problems: matteod@bones:~/work/depot_final$ ruby script/server ./script/../config/environment.rb:35:in `require'': no such file to load -- rubygems (LoadError) from ./script/../config/environment.rb:35 from script/server:45 So I checked the 35 line in the environment.rb file and I have this line require ''r...
2005 Aug 23
8
Web Services testing... Agile Book p. 435
I am attempting to test the web services added during chapter 20 of the Agile book. The code as written in the book yields 2 errors: test_find_product_by_id(BackendControllerApiTest): XMLParserError: syntax error Anyone hit this yet and get it to work? Thanks. Ken _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org