Archive for Ruby on Rails

Installing Rails 3 on OSX using RVM

I had tons of issues in getting Rails 3 and Ruby 1.9.2 installed on OSX using RVM. Here is the stackoverflow question that shows how to get it all working.

Comments (1) Bookmark to delicious Digg this Technorati reddit 

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:

  1. Real Software Engineering – Glenn Vanderburg
  2. Rails’ Next Top Model: Using ActiveModel and ActiveRelation - Adam Keys
  3. Decyphering Yehuda – Gregg Pollack
  4. How to Build a Sustainably Awesome Development Team – Jim Remsik, Les Hill
  5. What every Ruby programmer should know about threads – Caleb Clausen
  6. Battle of NoSQL stars: Amazon’s SDB vs Mongoid vs CouchDB vs RavenDB – Jesse Wolgamott
  7. Taking Mongoid into the Future – Bernerd Schaefer
  8. Tropo – An open-source cloud communications platform for Ruby – Jason Goecke
  9. KeyNote – Tom Preston-Werner

Day 2:

  1. Ruby in the Wild – James Edward Gray II
  2. Why And How You Should Make Awesome Command Line Apps with Ruby – David Copeland
  3. JSON and the Argonauts – Building Mashups with Ruby – Wynn Netherland
  4. No Sudo for You! – Rogelio J. Samour
  5. Beehive, scalable application deployment – Ari Lerner
  6. Padrino, The Elegant Ruby Web Framework – Joshua Hull
  7. A Scalable Rails App Deployed in 60 Seconds with Heroku – Ben Scheirman
  8. Lightning Talks
  9. KeyNote – Blake Mizerany

I will try to post some pictures. Please come say Hi if you are planning to attend the conference.

#LSRC

Comments Bookmark to delicious Digg this Technorati reddit 

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:

Comments Bookmark to delicious Digg this Technorati reddit 

Rails: RSS Feed Reader Example

To add content from a RSS feed to your site using Rails:

# rss.html.erb

Comments Bookmark to delicious Digg this Technorati reddit 

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

Comments Bookmark to delicious Digg this Technorati reddit 

« Previous entries Next Page » Next Page »