Archive for Ruby on Rails
Attending the Lone Star Ruby Conference 2010
I am really excited about attending my first Lone Star Ruby Conference 2010 at the Norris Conference Center Austin Texas. I plan to attend the following tracks:
Day 1:
- Real Software Engineering – Glenn Vanderburg
- Rails’ Next Top Model: Using ActiveModel and ActiveRelation - Adam Keys
- Decyphering Yehuda – Gregg Pollack
- How to Build a Sustainably Awesome Development Team – Jim Remsik, Les Hill
- What every Ruby programmer should know about threads – Caleb Clausen
- Battle of NoSQL stars: Amazon’s SDB vs Mongoid vs CouchDB vs RavenDB – Jesse Wolgamott
- Taking Mongoid into the Future – Bernerd Schaefer
- Tropo – An open-source cloud communications platform for Ruby – Jason Goecke
- KeyNote – Tom Preston-Werner
Day 2:
- Ruby in the Wild – James Edward Gray II
- Why And How You Should Make Awesome Command Line Apps with Ruby – David Copeland
- JSON and the Argonauts – Building Mashups with Ruby – Wynn Netherland
- No Sudo for You! – Rogelio J. Samour
- Beehive, scalable application deployment – Ari Lerner
- Padrino, The Elegant Ruby Web Framework – Joshua Hull
- A Scalable Rails App Deployed in 60 Seconds with Heroku – Ben Scheirman
- Lightning Talks
- KeyNote – Blake Mizerany
I will try to post some pictures. Please come say Hi if you are planning to attend the conference.
Difference between a 2 and 3 period Rails array range
In Rails you can index arrays using ranges in which the start and end positions are separated by two or three periods.
The difference between a two and three period range is that a range with two periods includes the end position and the range with three periods does not.
Example:
Rails: RSS Feed Reader Example
To add content from a RSS feed to your site using Rails:
# rss.html.erb
How to run your Rails application without a database
If your Rails application is just consuming a Web Service and has no need for a database than all you have to do to is uncomment the following line in environment.rb



