People are under the impression that HABTM relationships are deprecated because of the newer Has Many Through relationship. Both are good, and both have their place, but HABTM is still valid, vibrant, and useful!
Fixtures are great tools that have been sadly overlooked for a long time in the Rails world. Lets start using them again.
By default, Ruby only rescues subclasses of StandardError to allow the really bad stuff to halt your program.
Amazon Web Services runs an every growing percentage of the Internet, which means AWS accounts are more so a target of those-we-will-not-name. This post outlines the recommended minimal setup we at Collective Idea now apply to every Amazon account to ensure sufficient security.
Have you ever been distracted while working in terminal and lost your cursor? Then, once you focus your attention back to your work, had to scan frantically and repeatedly through a mass of text for the small, blinking rectangle? iTerm has a sweet new feature that lets you zero in on the location of your cursor letting you find it quickly and efficiently. Just press Command-/ and your screen fades around your MIA cursor. The longer you hold down the keys, the more drastic the contrast between the fading and the location of your cursor, pinpointing you to its exact location!
I love designing and developing APIs. In building a great API, the design and development processes demand equal attention. The problem is that popular development approaches don’t emphasize the design process. You may be familiar with the concepts of “test-driven development” and “behavior-driven development”, but let’s talk about the lesser-known concept of “documentation-driven development”.
A potential client asked us recently: “What makes you rockstars?” The question had us stumped and it took a while for us to realize why. Here’s how we responded:
We’re not rockstars. We’re the roadies.
I love designing and building APIs. Usually those APIs are in the form of REST web services. A lot of care goes into the interface of a web service because it’s how your application is presented to the outside world. But what about the interfaces of your internal code?