Posts (Page 38)

Written content to help you along your web development journey, without forgetting to have some fun along the way.

Transition Between Database Adapters in Rails

Transitioning from one database to another, or even to a whole new database with a new adapter, can be tough. Here's an easy way to transition content.

May 25, 2015

Stop Making the Same Spelling Mistakes

Keep spelling the same word wrong? Try this little trick.

May 21, 2015

Walk. Discover.

I walked. The long way.

May 18, 2015

Disable Rake Commands in a Rails Project

Sometimes you want to disable some of the default rake tasks in a rails project. Here's a quick way to do just that.

May 15, 2015

A Product You Can Build in a Day That You Shouldn't Build in a Day

It's easy for time to get away from you when you're building one of your brilliant ideas. Here's a way to put valuable constraints on yourself and your team.

May 14, 2015

Face Assumptions Directly

I really hate assumptions. It's essential to lessen or remove assumptions from a situation. And when you can't, you can at least face them directly and honestly.

May 11, 2015

Bi-Directional has_and_belongs_to_many on a Single Model in Rails

Bi-directional HABTM relationships are easy in Rails, but when you need to do it on a single model, that's when it gets tricky. Here's one approach.

May 04, 2015

How to Write a Custom Rake Task

Rake provides a great way to automate repetitive or complex tasks. Here's a look at creating a simple and a more complex task.

Apr 27, 2015

A Quicker Way to Compare Multiple Equals Operators in Ruby

When you attempt to write several predictable comparisons in one statement, it gets ugly fast. Here are some methods for cleaning it up.

Apr 20, 2015

Unwritten Rules are The Worst

It's really frustrating when you break a rule you didn't know existed in the first place. Let's examine how to fix those scenarios.

Apr 09, 2015