January 29, 2008   How to get spaces to print in Ruby on Rails (RoR)
As a newbie in the rails environment, I spent a couple of frustrated half hours trying to get spaces to print in a formatted string... see example.

def show_sku_message
   sprintf("%-8s %-5s %-5s", value1, value2...
[Read More

Add to My Yahoo!

Add to Google

Austin Gilbert/Male/26-30. Lives in United States/Oklahoma/Tulsa/Midtown, speaks English. Spends 40% of daytime online. Uses a Fast (128k-512k) connection. And likes computer science/photography.
This is my blogchalk: United States, Oklahoma, Tulsa, Midtown, English, Austin Gilbert, Male, 26-30, computer science, photography.

January 2008