In case it’s helpful, here is a simple helper to count business days (as weekdays) going forward in rails.
New Site Launch!
Jul 28
It’s been a long time coming, but I’ve finally launched the new site. Running on a wordpress platform, the site takes advantage of a few very cool plugins. While I hadn’t worked with wordpress in nearly a year, I have to say I’m very impressed with how far it’s come in that short time and where it appears to be heading. I remember when I first started using wordpress for development, it was one of several competing bloging engines. Since then, it’s grown to dominate in terms of self-hosted bloging engines and has grown to be much more adept at handling simple CMS functionality for smaller scale sites.
I hope you like the site! Please share any feedback you might have!
One of paperclips very cool features is the :id_parition. By default, ubuntu servers can only store a maxium of 32000 objects in any given directory. This presents a problem when working with large image sets, like our client GreatAmericanArt’s art catalog. While our initial server set-up was fine, we migrated to a REE/nginx/passegner set-up on Ubuntu hit this limit. I wrote the follow ruby script to help migrate from a simple :id asset directory structure to utilizing :id_partition. It’s pretty basic, but in case it helps anyone out I wanted to put it out there. Full script after the jump.