Written content to help you along your web development journey, without forgetting to have some fun along the way.
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.
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.
Rake provides a great way to automate repetitive or complex tasks. Here's a look at creating a simple and a more complex task.
When you attempt to write several predictable comparisons in one statement, it gets ugly fast. Here are some methods for cleaning it up.
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.
Here are a couple methods for dealing with uni-directional many-to-many associations in Rails.
The magic of Rails makes it easy to create simple many-to-many relationships, but I almost never use it, and here's why.
Using a remote database with rails is useful for collaborating on projects or for keeping all your data in one place. Here's how to get it set up from scratch.
Productivity decreases significantly when we use email and impromptu chatting when email alone or a meeting could have sufficed.
Sometimes you need access to multiple database within a single rake task, for whatever reason. Here's how you do it.