Rails Models: Fat, Not Obese

0 Comments

“Fat models, skinny controllers” is a mantra in the Rails community, with good reason: It produces better code. Move the complicated business logic into the model, make the model “smart”, and let the controller just take care of managing traffic. And don’t forget “no logic in the view”! I have seen this advice misused however, mostly by taking it too far. For example, the carrierwave gem (which is awesome in … Read More

Usability Alert: Apple

0 Comments

Apple, is this the best you can do? An unclear message about a provisioning profile where the details of the message are buried off the screen to the right, with no way to scroll right to view the rest of the message? XCode wins again.

Double Selector

0 Comments

We faced a challenge on a project for a hospital: How to let a user quickly and easily find a card by Physician Name and by Procedure? We were advised that the user might be looking first for a physician, and then for procedures they did, OR first for a procedure, and then for physicians who performed that. We came up with a “double selector” — a dynamic combination of … Read More