Ask HN: Learning Ruby/RoR -- Which open source projects should I learn from?
It's ruby time! I ditched xp for ubuntu to streamline my quest into ruby/rails. I followed the guides @ http://guides.rubyonrails.org/ which are very helpful, thanks!
Can the rails veterans recommend some open source projects I can learn from? I'm looking for best practices and well structured code to model after. Thanks HN.
6 comments
[ 2.9 ms ] story [ 25.8 ms ] threadTeaches you how to use the Authlogic plugin for authentication. Uses neat things like before_filters, helpers, partials, layouts, and more.
Good luck!
http://ruby-doc.org/docs/ProgrammingRuby/
Also, check out the Rubyquiz. It's a weekly programming challenge much in the spirit of Project Euler; something to cut your chops on.
http://rubyquiz.com/
Edit: These aren't quite what you're asking for, but you'll find plenty of very elegant code to study.
* The Rails Dev Directory: http://github.com/engineyard/rails_dev_directory/
* Spree: http://github.com/railsdog/spree
* And Gemcutter: http://github.com/qrush/gemcutter. Gemcutter also uses Gemfile.
* Fat Free CRM: http://github.com/michaeldv/fat_free_crm. It doesn't use Cucumber, but it's still good code.
If you want to get setup with Rails 3.0, check out this gist I wrote: https://gist.github.com/50be644a99ff372d5b1f
What are real-world prime examples of good Ruby code? http://www.rubyflow.com/items/1817