Hi,I am developing a web app and am following the text-Agile web
development.....Each time I click my "add to cart" button" i always get the
page below:I have double checked to see if i have errors in my code,there was
none,please what do i need to do to proceed?
NameError in InteractController#add_to_cartundefined local variable or method
`find_cart' for #<InteractController:0x1042d0780>RAILS_ROOT:
/Users/oluwayomioluwadara/Documents/CED/coursework/heritage/heritageApplication
Trace | Framework Trace | Full
Trace/Users/oluwayomioluwadara/Documents/CED/coursework/heritage/heritage/app/controllers/interact_controller.rb:8:in
`add_to_cart'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/base.rb:1331:in
`send'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/base.rb:1331:in
`perform_action_without_filters' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/filters.rb:617:in
`call_filters'Regards and Respects,
Kindness in thought leads to wisdom.
Kindness in speech leads to eloquence.
Kindness in action leads to love.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.