Posts Tagged ‘ Programming ’

RPCFN: Broadsides (#7)

February 22, 2010
By Satish Talim at RubyLearning Blog
RPCFN: Broadsides (#7)

Ruby Programming Challenge For Newbies RPCFN: Broadsides (#7) By James Edward Gray II About James Edward Gray II James Edward Gray II was called into the principal’s office in high school for writing a black jack program on his calculator and beaming it to all the math students almost 20 years ago. He’s been tinkering with little code...
Read more »

Tags: , , , , , , ,
Posted in Publishers, Ruby Learning Blog | View Comments

Showcasing RubyLearning’s Awesome Rubyists

February 21, 2010
By Satish Talim at RubyLearning Blog
Showcasing RubyLearning’s Awesome Rubyists

Showcasing RubyLearning’s Awesome Rubyists RubyLearning has been associated with some amazing, talented Rubyists these last 5 years. I am compiling a list (in alphabetical order) showcasing these awesome Rubyists who have either undergone some of the courses at RubyLearning or have been instrumental in taking RubyLearning to the next level. Ruby Stars Alvaro Pereyra RabanalAlvaro Pereyra Rabanal...
Read more »

Tags: , , , ,
Posted in Publishers, Ruby Learning Blog | View Comments

Installing Ruby on Rails, Passenger, PostgreSQL, MySQL, Oh My Zsh on Snow Leopard, Fourth Edition

February 8, 2010
By Robby Russell at Robby on Rails
Installing Ruby on Rails, Passenger, PostgreSQL, MySQL, Oh My Zsh on Snow Leopard, Fourth Edition

Welcome to what seems like my tenth installment (actually, it’s the fourth) of showing you how I setup my development environment on a fresh OSX install. In this case, I’m actually getting a MacBook setup for a new employee with Snow Leopard.Over the years, I’ve evolved these following steps and they’ve helped our team...
Read more »

Tags: , , , , , , , , , , , , , , ,
Posted in Publishers, Robby on Rails | View Comments

RPCFN: Fair Distribution (#6)

January 25, 2010
By Satish Talim at RubyLearning Blog
RPCFN: Fair Distribution (#6)

Ruby Programming Challenge For Newbies RPCFN: Fair Distribution (#6) By John Trupiano About John Trupiano John Trupiano (twitter) is the co-founder of SmartLogic, the premiere Ruby development team in Baltimore, Maryland. He is an active member in the technology and business communities in the mid-Atlantic region. He is highly involved with the local Ruby user group (Bmore...
Read more »

Tags: , , , , , ,
Posted in Publishers, Ruby Learning Blog | View Comments

(oh my) Zsh themes Gone Wild! 18+

December 27, 2009
By Robby Russell at Robby on Rails
(oh my) Zsh themes Gone Wild! 18+

Earlier this evening, I accepted a pull-request for theme number 18, which is now included in Oh My Zsh. To celebrate, I’ve updated the themes wiki page with fresh screenshots.Here is a sampling of some of the themes that you can use out of the box with Oh My Zsh.Oh My Zsh is much...
Read more »

Tags: , , , ,
Posted in Publishers, Robby on Rails | View Comments

RPCFN: Mazes (#5)

December 27, 2009
By Satish Talim at RubyLearning Blog
RPCFN: Mazes (#5)

RubyLearning wishes all its readers and their friends and families a happy, healthy 2010. Thanks to everyone for the support and encouragement this year. It’s been a fun and rewarding year and we do appreciate all that you contribute to this site. Ruby Programming Challenge For Newbies RPCFN: Mazes (#5) By Peter Cooper About Peter Cooper Peter Cooper (twitter)...
Read more »

Tags: , , , , , ,
Posted in Publishers, Ruby Learning Blog | View Comments

RubyURL goes GOP…

December 16, 2009
By Robby Russell at Robby on Rails
RubyURL goes GOP…

Will refrain from any political commentary, but was notified by some friends that the GOP was using the source code for RubyURL for their new URL shortening site (gop.am).To celebrate, I decided to daisy chain a few rubyurl-based sites together and came up with: http://rubyurl.com/hj6lEnjoy!As always, you can fork/clone here
Read more »

Tags: , , , ,
Posted in Publishers, Robby on Rails | View Comments

RPCFN: Ruby**Fun (#4)

November 25, 2009
By Satish Talim at RubyLearning Blog
RPCFN: Ruby**Fun (#4)

Ruby Programming Challenge For Newbies RPCFN: Ruby**Fun (#4) By Michael Kohl About Michael Kohl Michael Kohl (Twitter / blog) in his day job, works as an IT systems engineer in Vienna, Austria. He fell in love with Ruby in 2003 or so, maintained various Ruby-related packages for Gentoo Linux from 2004-2006 and started being an assistant teacher for...
Read more »

Tags: , , , , , , ,
Posted in Publishers | View Comments

Sending email: Controllers versus Models

November 16, 2009
By Robby Russell at Robby on Rails
Sending email: Controllers versus Models

While reviewing some code recently, I came across controller code that resembled the following.if @customer.save CustomerMailer.deliver_welcome_message(@customer) flash = "Your account has been successfully created. We've sent you a welcome letter with..." redirect_to dashboard_path else ... endFairly typical Rails code. Nothing alarming here, but I wanted to evaluate the call to the mailer...
Read more »

Tags: , , , , , , ,
Posted in Publishers, Robby on Rails | View Comments

Using BETWEEN for SQL comparisons

November 14, 2009
By Robby Russell at Robby on Rails
Using BETWEEN for SQL comparisons

Recently, Carlos, suggested that I should start sharing some basic SQL tips that help with performance and/or general usage. I recently came across some code that I didn’t like to read and/or write. For example, let’s take the following…SELECT * FROM brochures WHERE published_at <= now() AND archived_at >= now()Essentially, this is pulling back...
Read more »

Tags: , , , , , ,
Posted in Publishers, Robby on Rails | View Comments