Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Gizmotoy

macrumors 65816
Original poster
Nov 6, 2003
1,109
165
Hello all. A few days ago I decided I wanted to learn Ruby on Rails. I came up with an idea for a site and was surprised to have it "working" in about a day. Of course it took another week to tweak and debug, but it still came together pretty fast.

Anyway, I'm still getting a few phantom bugs in the logs that I can't seem to track down. I think I've got most of them now, but there's one that remains. I've been over the code pretty thoroughly, and if anyone is familiar with Rails what is happening is I'm getting TemplateErrors for templates/views that shouldn't and don't exist. I'm not sure where they're coming from or how they're getting called.

If you guys get bored, beat on it a bit and see if you can break it.

It's a tool for searching for music/book/videogame/movie cover art
http://www.coverslide.com
 
I've only clicked around a little bit, but it seems like a pretty nice little web app you have there.

Might wanna work on the design a little, though ;) It's not bad, mind you, just has potential to be better. But well done.

Oh, and I know little to nothing about Rails (yet!) so I won't be of much help trackin' down your bug, sorry.
 
Yea, I wasn't too worried about design. It was more a teaching experience to get me familiar with the language. I played with it a bit and it's way better than it was. Any particular suggestions?

As for the bug, I finally tracked it down. It turns out that if you have javascript disabled, the site is partially functional and did all kinds of unexpected stuff. I patched it up as best I could but being AJAX and Ruby it's not going to work with javascript disabled :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.