03 Aug 2008, 17:58
Generic-user-small

Max Norman (17 posts)

For some reason, I get this error when I try to add something to my cart, with no appliaction trace:

ActionController::InvalidAuthenticityToken in StoreController#add_to_cart

How can I fix this? Where is the problem?

03 Aug 2008, 19:25
Samr_small_pragsmall

Sam Ruby (584 posts)

This is described on the top of page 114; and depends on you having made the changes to application.rb as described on the top of page 108.

03 Aug 2008, 21:39
Generic-user-small

Max Norman (17 posts)

Edit: I started a new session and found a spelling error in store_controller.rb. Now it works.

Thanks!

  You must be logged in to comment