I'm working on learning Ruby on Rails right now, and I'm starting to feel like I'm in way over my head. For those who have been there, what resources helped you find your footing?
So far, I've gone through the
Rails for Zombies and
TryRuby screencasts on Code School, plus the entirety of Michael Hartl's
Ruby on Rails Tutorial. The latter was especially helpful in getting me more comfortable moving around in Rails, but now that I'm out of follow-along mode, I can do the basic stuff (create an app, add data, retrieve data, etc.) but I get stuck a lot.
For instance, right now I'm struggling with getting a has_many :through relationship to work by adding nested attributes within a form, and Googleing has turned up lots of options, but I can't get any to work in my application. Part of the problem for me is that Rails is so abstract - everything you do involves bits of code in about three different places, and I don't have a solid understanding of how they relate yet. What's doubly frustrating is that I know exactly how to do all this stuff in PHP/MySQL/HTML/Javascript, but the Ruby code just feels opaque. (I don't really have any programming experience, mostly front-end web stuff.)
I've only been at this for a couple weeks, so I suppose I shouldn't expect too much yet. There's a lot I really appreciate about Ruby and I'm willing to keep at it, but I need some good basic go-to resources. Can anyone recommend specific books or online tutorials (recent enough that they use Rails 3) that walk you through this stuff in a clear way?
I've heard that this is a good source. Have not used it myself.
posted by dfriedman at 4:40 PM on January 21, 2012