17 May, 2010

This post is in: Help!, Troubleshooting

Scratching my head over Rails

I’m trying to teach myself Rails, but I’m not even a programmer. So when I’m stumped, I’m fairly stumped. Currently my app is not saving form data when it should be, and redirecting when it shouldn’t.

Update

I’ve actually fixed this now. It was the ‘home_path’ route that was causing the problems. Thanks to everyone who made suggestions on Twitter, and particularly Josh Hart for thrashing it out with me over a coffee.

I’ve had a few suggestions via Twitter, but still can’t get it to work. If you happen to be a Rails developer I’d be eternally grateful for any advice on the code below (for some reason the embedding seems to be screwing up the line numbering).

Help!,Troubleshooting

Leave a Reply