Collective Idea

Collective Idea Logo

June 2011 Archives

Get Your Conditions in Order

It’s programming 101 but it’s easy to miss in practice. If a condition has multiple expressions, some may never be evaluated. Use that fact to your advantage.

Read More…

2 Comments – By Steve Richert on June 29, 2011

Prepping your Gemfile for Rubinius

Rubinius 2.0 is on it’s way and it’s shaping up to be a serious contender. Adding support for Rubinius to your gem should be pretty painless.

Here at [i] it’s common for us to depend on support utilities like ruby-debug or perftools. Fortunately Rubinius comes with a very solid debugger and profiler. The best solution I’ve found is to use Bundler’s :platform rules to limit what libraries get loaded.

Read More…

4 Comments – By Chris Gaffney on June 23, 2011

The Billy Baldwin of Conditional Assignment

For those of you who don’t know, Billy Baldwin is the lesser-known and generally-less-useful little brother of famed actor Alec Baldwin.

In the world of Ruby’s conditional assignment operators, ||= is Alec Baldwin; charming and versatile. But not many people know about ||=’s little brother… the &&= operator.

Read More…

11 Comments – By Steve Richert on June 21, 2011

Automatic Login Links

Scary, I know, but hear me out. Implemented correctly, an automatic login link can be just the ticket to appease those pesky, forgetful, real-world users.

Read More…

16 Comments – By Steve Richert on June 14, 2011

Reusable Cucumber Steps

Mike Swieton recently posted Never say “Click” advocating the use of custom steps over browser-centric ones. I firmly disagree with with the consequences of that strategy.

Read More…

12 Comments – By Zach Moazeni on June 09, 2011

“You don’t know the power of the Dark Side” …er… Maybe ya do?

In very few types of consulting do you wield such power and influence over the success or failure of the clients objectives as you do in software development. Intensifying the your power, is that fact that often the client is oblivious to that influence. This is a simple reminder how not to be seduced by the dark side.

Read More…

0 Comments – By Jason Carpenter on June 08, 2011

More User-centric Routes: Rails 2

Writing routes that are conditional upon whether a user is logged in is easy with Rails 3 but if you find yourself (as many of us do) stuck with a Rails 2 app, here’s how to achieve the same fancy routes without the latest Rails.

Read More…

0 Comments – By Steve Richert on June 02, 2011

Be a Better Storyteller

It’s no secret that we love user stories. We’re behavior driven and focus our daily tasks around user actionable stories. But near the launch of a project, or the end of a milestone, things can get hairy. Unmaintainable even. And workflow from the team can suffer, especially if there’s anyone working remotely.

Read More…

8 Comments – By Brian Ryckbost on June 01, 2011

Contact Us

Find us on Google Maps
Collective Idea
44 East 8th Street, Suite 410
Holland, Michigan 49423 USA 42.790334-86.105251

Follow us on the Interwebs

We are currently available for medium and long term projects. Please get in touch if we can be of service.