开发者

Good examples of Rails model designs for complex and interesting problems

开发者 https://www.devze.com 2023-01-28 04:02 出处:网络
I need to \"step my game up\" :D when it comes to writing complex models. Currently 开发者_开发技巧I got a bunch of theory, I have read Agile Web Development with Rails, also Rails Guides, RailsCasts

I need to "step my game up" :D when it comes to writing complex models. Currently 开发者_开发技巧I got a bunch of theory, I have read Agile Web Development with Rails, also Rails Guides, RailsCasts and so on... but every time I need to write something a bit more complex I just end up writing pure SQL (which I know isn't bad in some cases).

So is there any good resources from which I could learn how smart guys solve difficult database problems beautifully?


A good idea might be looking into NoSQL - it's a different perspective on doing things.

I'd recommend http://guide.couchdb.org/ - a reasonably good read.

Also to make you awesome with ActiveRecord and Ruby - read the ActiveRecord source. You'll probably learn a lot from there.

0

精彩评论

暂无评论...
验证码 换一张
取 消