Monday, October 26, 2009

I'm a Helper

Today was the first time I've been able to help anyone with Rails. My friend had a config/database.yml with his installation of Rails.

I feel so good now!

Thursday, October 1, 2009


I like simplicity, which is one of the many reason I love Ruby. And it doesn't get much simpler than the strip method:

"spaces ".strip #=> "spaces"

It's the little things in life that make me happy.

Ruby Challenge

OK, I'm giving the Ruby Challenge a go. Fabio Akita has thrown down the gauntlet for the first challenge, and it is a bit, well, for lack of a better word - challenging:
"The goal is to create a small command line script in Ruby that will read an SRT file, and output another one with the new calculated times."
Well...I think I can do this. I've already written a utility script to strip out emails form one file and write them to another, so I'm sure I can do this, I just don't know if I can do it in time.

Thursday, August 20, 2009

All that Twitter-mania crap

Ruby takes a dip on the TIOBE Index.

Does it scale? I think it can and does, if you keep working at it.

I mean, really, what application is going to blow-up like Twitter did? And be like Twitter with all of those database queries for each transaction? I don't even use it that often and I've been greeted by the Fail Whale many times.

TIOBE Software: The Coding Standards Company

Wednesday, August 19, 2009

What happened to Why?

“Why The Lucky Stiff” Is Missing

Method Arguments in Ruby

A nicely done explanation of Method Arguments in Ruby by Skorks.

He breaks them down into three sections, which I find makes sense:

  • required arguments
  • arguments with default values
  • optional arguments

Wednesday, August 12, 2009

Why I Love Why's Poignant Guide to Ruby

One of my favorite parts of Why's Poignant Guide to Ruby is when Why is discussing Ranges:

"When you see that third dot, imagine opening the accordion slightly. Just enough to let one note from its chamber. The note is that end value. We'll let the sky eat it."
Is it strange of me to enjoy reading a programming book for fun and poetry?

Thursday, August 6, 2009

Ruby Best Practices - Code Blocks: Ruby's Swiss Army Knife

From Ruby Best Practices: Code Blocks: Ruby's Swiss Army Knife

On Using Cucumber: Tips

The Engine Yard kids with more assistance on using Cucumber: 15 Expert Tips for Using Cucumber | Engine Yard Blog

I'm not really sure what it is I really like about BDD. Maybe its because it makes me feel a bit safer about my code?

Koujou - Sweet Factory Goodness

Koujou - Sweet Factory Goodness

"Koujou コウジョウ (sort of pronounced like "kojo", for us Gaijin) is yet another object mother fixture replacement for the Ruby on Rails framework, with one major difference: you don't have to define a thing! All the test data is generated on demand by Koujou through the magical power of Ruby." - from Michael Leung
Well this looks fun. I'm now starting to get the hang of Cucumber, but this looks like something fun to play with too.

Posted using ShareThis

Wednesday, August 5, 2009

Railscasts - Beginning with Cucumber

Railscasts - Beginning with Cucumber

This was a great help to me. I used this Railscast after I attended Day of Ruby in Orlando, which was a very fun and informative time.

I'd also like to thank everyone who helped Day of Ruby happen.

Tuesday, August 4, 2009

All Things Ruby

This is my new Ruby blog. It's new because I am new to Ruby and Ruby on Rails.

I really enjoy using Ruby and I'm now grasping Rails, which I also hope to enjoy.

I'll be posting all of the interesting stuff on the web that I find about Ruby and RoR, along with my own discoveries and coding adventures and misadventures alike.