Hi, this is a Ruby mailing list (the language Rails was written in), not a
Rails mailing list. You should try a Rails list, you will get much better
help. Especially considering the code you posted looks like JavaScript, not
Ruby.
A few things, though:
1. If you are certain you've done everything correctly, you might check the
errata to see if something in the book isn't right:
2. You said "when I press on the add to cart button I get an error message.
a real ugly one." but you haven't given any information about the error
message. These exist to let you know something is wrong, and where it went
wrong so that you know where to go start troubleshooting. This would be good
information to include, it gives people (and you) an idea where it went
wrong.
···
On Wed, May 19, 2010 at 12:02 PM, Angel Dinar <dinar603@gmail.com> wrote:
Hello
I am reading Agile Web Development with rails (third addition).
And I need some help with it.
I have reached chapter 9.3
when I press on the add to cart button I get an error message.
a real ugly one.
eventually, I downloaded the PDF version and copied the content of the
files but it did not help.
I have looked but could not find the problem.
Please give me a hand.
Thanks
Angel
Hi, this is a Ruby mailing list (the language Rails was written in), not
a
Rails mailing list. You should try a Rails list, you will get much
better
help. Especially considering the code you posted looks like JavaScript,
not
Ruby.
2. You said "when I press on the add to cart button I get an error
message.
a real ugly one." but you haven't given any information about the error
message. These exist to let you know something is wrong, and where it
went
wrong so that you know where to go start troubleshooting. This would be
good
information to include, it gives people (and you) an idea where it went
wrong.
Regardless of the application being written in Ruby, Rails is a huge
and separate project from Ruby and thus requires its own mail list.
It looks like you are using ruby-forum to access the mailing list, so
just look a single link down on the main forum list. Here, I'll even
give you a direct link there... http://www.ruby-forum.com/forum/3
the error message is something I do not understand.
Yes, but without the error message no one is going to be able to help you.