The following is a post I had recently sent the Bangalore Ruby User Group. It has been slightly modified to address a larger audience. There were many Ruby beginners in last week's meetup, and the common question we heard was 'after the very basics, what next?' The best way to learn Ruby best practices is to pair with an experienced dev; the way I learned was by inheriting a reasonably small, but well-written codebase from an amazing colleague. In the absence of either, here is a checklist of 15 things (since 'N things that you need to know about X' is the in-thing these days!)
The other night, during our monthly SDRuby meetup, lots of people were very interested in learning more about CouchDB and Ruby. I tried to show what Couch was all about but I didn’t have time to show how to use CouchDB with Ruby. Here is me trying to do that in 10 minutes or less. I’ll assume you don’t have CouchDB installed. Install CouchDB, if you are on MacOSX, you are in luck, download and unzip the standalone package called CouchDBX. CouchDB with CouchRest in 5 minutes
README.md Alternative autocompletion for Sublime Text This plugin adds an autocompletion command to Sublime Text 2 and 3 that acts similarly to TextMate: alexstaubo/sublime_text_alternative_autocompletion
Michael Hartl Contents Foreword My former company (CD Baby) was one of the first to loudly switch to Ruby on Rails, and then even more loudly switch back to PHP (Google me to read about the drama).
Ruby Patterns from GitHub's Codebase
Ruby on Windows I've written before about using Ruby with Microsoft's ADO technology to query Excel workbooks as databases. This works well---most of the time. But you may occasionally bump into data type issues, where you find that Excel/ADO treat a specific column as a different data type than you expected. For this reason, I recommend using a collection of ADO functions that will expressly convert a value to a specific data type. These ADO functions include: CStr(x) - Converts x to a String value CDec(x) - Converts x to a Decimal value CInt(x) - Converts x to an Integer value CDate(x) - Converts x to a Date value CCur(x) - Converts x to a Currency value
Why I Prefer Ruby on Rails over CakePHP by Jimmy Z Last year, I had a goal to learn Ruby on Rails and build an application in that framework. By learning CakePHP, I was able to wrap my mind around the rails framework concepts and make that transition a little easier. This year, I have made the full plunge into the Ruby on Rails, and I absolutely love it. As I’ve made the transition from php to ruby and from CakePHP to Ruby On Rails, I’ve written down some of the reasons why I now use Ruby on Rails over CakePHP. [note: I still prefer to use CakePHP over no framework if a client requests an application be written in php. However, when we have the option to start the project in Rails, we really push for rails.]
Do you love to smile? Enjoy life? Want to make something beautiful? Ruby Kickstart
Read This Paragraph At my local Barnes and Noble, there is a huge wall of Java books just waiting to tip over and crush me one day. And one day it will.