hi everyone, I hope someone can help me out with some active record
basics? I’ve been banging my head for the past 4 hours and I can’t seem
to get it to work.
I am trying to add comments to a caption (just like how one adds a
comment to a post in a blog). I seem to be able to read posts just fine
from the DB, however, I can’t use the “recordComment” method in
captions_controller.rb. Any ideas? I suspect that it has something to
do with my recordComment method? My code is posted in the below URL.
Strange.In your routes.rb do u have this:
"map.connect’:controller/:action/:id’ "?..or i don’t know take a
better look at
routes.rb…I think there’s the key.
Strange.In your routes.rb do u have this:
"map.connect’:controller/:action/:id’ "?..or i don’t know take a
better look at
routes.rb…I think there’s the key.