similar to: Agile Web Development with Rails Page 33

Displaying 20 results from an estimated 200 matches similar to: "Agile Web Development with Rails Page 33"

2006 Feb 25
20
Agile Rails book code fails page 32
Starting Agile Web Development with Rails, page 32, everything has worked well so far but on (book not pdf) page 32 I don''t get the "Template Is Missing" error. I get Routing Error Cannot load config/routes.rb: No such file to load -- ./demo/script/../config/../config/routes.rb There is a file at e:\ruby\ror\work\demo\config\routes.rb It''s all greek to me and
2006 Aug 09
0
Agile Web Development - 2nd Edition -- Iteration D3 problem
hi, This is regarding the "Depot Application". Section 9.3, Iteration D3 -- Highlighting Changes. I''ve followed this exactly according to the PDF, but it doesn''t work. The Ajax cart works, the blind_up and blind_down works. But couldn''t get the highlighting of the current item to work. Tested in Opera 9, FireFox 1.5 and IE 6 -- no luck !! I even
2006 Jul 03
0
Page 129 of Agile Web Dev on Rails (or pg141 of pdf!)
Hi - another question, sorry.... I''m trying to get the highlighting effect to work on the current_item. The page refreshes fine, and then I get an error as the highlighting code is fired: page[:current_item].visual_effect :highlight, :startcolor => "#88ff88", :endcolor => "#114411" The error
2006 Jul 13
1
From the Agile book, page 144 regarding a div tag helper
Hi. in the Rails Agile book here''s what was happening: >>> module StoreHelper def hidden_div_if(condition, attributes = {}) if condition attributes["style" ] = "display: none" end attrs = tag_options(attributes.stringify_keys) "<div #{attrs}>" end # format_price method ... end Note that we cheated slightly here. We copied code from the Rails
2006 Jul 21
2
Source code missing for "Agile Web Development with Rails"
Hi, I purchased the first edition of "Agile Web Development with Rails" and it says the source code shown in the book is available on http://pragmaticprogrammer.com/titles/rails . However, I can''t find it. Does anyone know where I can get the code from? Thanks. -- Posted via http://www.ruby-forum.com/.
2006 Jul 27
2
(Agile Rails 2nd ED) Depot App: Iteration B1 500 Error
Hello: I am working through the 2nd Edition of the agile book (after watching the first edition age on my shelf for 6 months), and am having a problem with the newly created ''store'' I''ve checked the files and fucntions that I''ve written, namely: model/product find_products_for_sale controller/store index views/store/index.rhtml and they all seem to have
2006 Jul 27
2
Agile Web Development Problem
I am following that book, and I bump into this error in the Cart Creation Chapter. Can anyone help me? NoMethodError in Store#display_cart Showing app/views/store/display_cart.rhtml where line #6 raised: undefined method `product'' for 666.0:Float -- Posted via http://www.ruby-forum.com/.
2006 Jun 04
1
Preface to Agile 2nd edition book available?
So, is there a summary of the changes since the first edition? It would be helpful to see just exactly what in Ruby on Rails has changed before ordering the second edition of the book. Could somebody briefly describe changes to Rails since the version covered in the first edition of the book?
2006 Jun 11
0
Hi. learning from the Agile Rails book
On page 100. I do the command: ruby script/generate controller store index and if i go to /store/ it works yet if i fiddle around and command: ruby script/generate controller admin index and go to /admin/ it doesn''t do as it did with the store directory, instead listing the products. why is this so? Thanks again. Dominic -- Posted via http://www.ruby-forum.com/.
2006 May 06
0
[ADV] Second Edition of Agile Web Development, with Rails
Oops, I guess wishful thinking got the best of me ;-) (I misread the part about the PDF upgrades) > Maybe the easiest solution is to buy the PDF ? You can then upgrade it for free when a new edition comes out. See > http://www.pragmaticprogrammer.com/starter_kit/faqs/pdf_update_faq.html > > I don''t think a lot of publishers do that, and no garage I have heard of
2006 May 12
2
Agile WebDev 2nd Edition: PDF free for 1st edition owners?
Hi all I''m just wondering if I get the 2nd version of "Agile Web Development with Ruby on Rails" for free if I already own the 1st edition paperback/PDF combo? And anyway: I wanted to update my first edition, but I can''t find the link anymore where I could get a new PDF version? Thanks a lot for help. Josh -- Posted via http://www.ruby-forum.com/.
2006 May 22
1
Agile Web Dev unit test fails with fixture instance variable
I''m following Agile Edition 1. On page 148 it suggests using instance variables named after the fixture, for example: assert_equal @version_control_book.id, @product.id When I introduce this type of instance variable into my test, I get the following error: 1) Error: test_not_owner(GroupTest): RuntimeError: Called id for nil, which would mistakenly be 4 -- if you really wanted the
2006 Apr 20
2
Is there a problem with Agile code in Web 2.0 chapter?
Hi, I''m running the code example for ''Dynamically Updating a List'' in Agile pages 404-406: When I enter a new to-do, and click ''New Item'', a new page is rendered only displaying the new to-do just entered. This isn''t what''s expected. The to-do list with id="items" should be updated so the to-do list dynamically grows.
2006 Apr 27
2
''Agile Web Development'' book
I just started to learn RoR because I need to create a relatively simple but important application due next month. The Shopping cart app in this book is going ok but I have a question. Is the complexity of the shopping cart example in this book representitive of a real world application? Note that i am not saying if the application is production quality, I mean the
2006 Mar 22
0
Re: hyperlinks in Agile Web Development with Rails 1.1
My vote is that you maintain the hyperlinks! While working through the book, the code hyperlinks are essential to make sure one knows which version of depotNN is being referred to at the moment, for example, and as a convenient way of reviewing the code. And it is very useful to jump to in-depth references. I found the hyperlinks very helpful. cheers, Victor Kane http://awebfactory.com.ar
2006 Feb 01
1
Problems with sample code from "agile webdev. w. rails"
Hello, I am veeeery new to rails and also to ruby. I have 2 books here on my desk and try to go through it. The first book is "Agile Webdevelopment with Rails" and I have trouble with the following code which I have from the book. I cant get it working. I searched a lot on google - and also on the erata pages of the book publisher but without any luck. I hope someone can help me.
2006 Feb 18
0
Ackbar, KirbyBase, and Agile Web Development With Rails Blog
Just wanted to announce that I''m starting a blog about my experiences of building the Depot application from Agile Web Development with Rails, using Ackbar/KirbyBase instead of MySQL. You can find the blog here: http://houseonfire.wordpress.com Jamey Cribbs
2006 Feb 21
0
Blog of building Agile Web Development w/Rails Depot App using Ackbar/KirbyBase (Chapter 6-7)
Sorry for the long Subject line, but I couldn''t figure out what else to call it. :-) Just a quick announcement to tell you that I have worked through Chapters 6 and 7 so far of "Agile Web Development with Rails", using Ackbar/KirbyBase to develop the Depot app instead of MySQL. You can find my blog about it at: http://houseonfire.wordpress.com For those who
2006 Feb 26
0
NoMethodError in Agile Web Devleopment Depot Tutorial
I''m working on building the shopping cart in the Depot tutorial in the Agile Web Development book. I''m at the part (about page 80) where you build the ability to add items to the cart. I''m able to get to /store/display_cart/ and it seems items are being added, but if I just click on a link to add an item (/store/add_to_cart/2) it gives me this: NoMethodError in
2006 Feb 27
1
Odd problem in Agile tutorial
I am getting an undefined method error in my cart.rb class when trying to find in an array. I cannot see what my error is. Perhaps a view more eyes can help me with this: #--------------------------------------------------------------- 1 class Cart 2 3 attr_reader :items 4 attr_reader :total_price 5 6 def initialize 7 @items = [] 8