Tonight I gave a presentation at the Rails Meetup in Seattle on caching strategies with Rails, and I had a great time. I’m convinced Rails developers don’t use caching enough, and we have so many good options for caching in our apps, we really should be avid practitioners of caching. :)More …
I’m on the hunt for development help, so if you’ve been working with Ruby and/or Rails for a while, and you’re looking for some contract hours to fill, I’d love to hear from you.More …
If you are upgrading to ransack from meta_search, and you are missing
being able to use
attr_unsearchable to hide various model methods from
search, you can add this to your model instead:
I read an article this morning on TechCrunch about an upcoming service that makes it easy for developers to add mobile logins to their web applications, and I thought I’d try something similar for a new project I’m working on.More …
I’m working on a project today that uses Twitter Bootstrap, displays
progress bars, and has a requirement to print those progress bars.
Sadly, Chrome doesn’t like to print background colors by default, so
printing the progress bars didn’t work so well. Here’s the trick to get
it to work:
-webkit-print-color-adjust:exact. This instructs Chrome
to print the background color.