Archive for April, 2007
Rails Solutions Contest Winner
So I just found out that I am one of the 5 winners of DMXZone’s most recent content to win a copy of FriendsofED book Rails Solutions. Coming from someone that has never really won anything I am really please to have been one of the 5 out of all of the people I’m [...]
Web 2.0: Day 2 Recap - Sessions
Of course I am recapping here and reviewing most of my notes now that I am home. I still wanted to share what I had experiences so I’m posting this information a little late. Day 3 and 4 will be coming as well.
The New Hybrid Designer
This was a panel discussion that included Kelly [...]
Cleaning up my Ruby Fizzbuzz
As I become more familiar with Ruby and Rails I’m of course going to start to understand better ways to do a snippet of code. Here is an updated script that is a little leaner:
(1..100).each do |i|
fb = []
fb << “Fizz” if (i % 3) == 0
fb << [...]
Back from San Francisco
I just got back in from San Francisco and I’m going to take a day or so to get through my notes - I will post my summary from Monday through Wednesday’s sessions in my next post. Stay Tuned.
Web 2.0: Day 1 - Workshops
So today was the start of the Web 2.0 Expo for those of us attendees registered for the workshops. The official beginning tomorrow for the other sessions and expo hall.
I’m slowly getting used to Pacific Time, thought it’s 10pm here and I think I’m still about 1-2 hours off. So the workshops…
The [...]
So I’m currently in San Francisco awaiting for the Web 2.0 Expo tomorrow morning. The flight into Phoenix was a little late requiring a run to the next gate only to find out the plane that I thought was leaving in 4 minutes was about to officially have a delay announcement made.
Flying into San Francisco [...]
So you are sitting there around the house watching reruns of Smallville and Seinfeld and you think, “I wish I could jump onto the CSS Naked Day bandwagon with my Ruby on Rails application”, well you are in luck. Conditional statements in Rails are a piece of cake and with logical expressions like “unless” [...]
So for those of you that ran through the and created your very own random testimonial helper, I’m going to create another help to and were are going to make a few updates to our partial. First we have to do a few things:
Rename our _random_testimonial.rhtml partial to _testimonial.rhtml
Open our partial and remove the [...]
So back in February Jeff Atwood over at codinghorror.com was talking about a puzzle to give prospective new-hires when interviewing them entitled “Fizzbuzz”. You can read more about it here.
So with a little thought I decided to solve the fizzbuzz puzzle using Rudy and an Array.
count = 0
100.times do
count += 1
fb = [...]
Random Testimonials with Rails
A common functionality seen on many websites is to display a random testimonial from a client or customer of your product on a side bar or within the masthead, doing this in Rails is quite simple and is done with the assistance of a Rails helper and rendering a partial.
First off course you are going [...]