Blog

Lessons Learned from jQuery File Upload

I recently implemented jQuery File Upload on a site as a replacement for an older, considerably more bloated file upload component they had been using. There were a couple of not immediately obvious issues I ran into, and I thought I’d write them up here quickly in case it saves anyone else some time.

» read more

No Comments By: jeff
Posted: April 22nd, 2012 at 10:01 am

Double Quotation Marks in PHP ini Files

PHP conveniently offers the function parse_ini_file, which allows you to load settings stored in the same format as php.ini. File parsing is fast (on my machine loading a handful of settings takes about 1/10th the time of using DOM or SimpleXML to parse the equivalent information in an XML file), and the format is both human-readable and intuitive. Then it turns out that, at least as of 5.2, there’s no way to include a double quotation mark in option values, which pretty much renders the whole thing useless for all but very limited applications.

» read more

Comments (1) By: jeff
Posted: August 14th, 2009 at 1:24 pm

Mass Assignment and Security in Ruby on Rails

The topic of security vulnerabilities exposed through attributes= in ActiveRecord::Base recently came up on the SF Ruby Meetup list. The related blog entry can be found here. It’s an important question about Rails, and one that a little information can help clarify what to worry about and what not to worry about.

» read more

Comments (1) By: jeff
Posted: August 3rd, 2009 at 11:20 pm

Con Artist Hall of Infamy CMS

We recently finished up the Con Artist Hall of Infamy project. One of the more innovative aspects on the development end of the project is the content management system (CMS) integrated into the site. The CMS is entirely custom, but was built at a fraction of the cost required for most customized content management systems. The cost of the site with a CMS in this case was only slightly higher than the cost of a completely static site.

» read more

No Comments By: jeff
Posted: July 21st, 2009 at 9:39 pm

Hall of Infamy CMS Screencast

Here’s the screencast showing the CMS from the Con Artist Hall of Infamy in action. For more information on the CMS solution, see our write-up.

No Comments By: jeff
Posted: July 21st, 2009 at 9:38 pm

R2Doc Is Released!

Gem number 5,870 is now available on GitHub, and it’s our very own R2Doc. R2Doc provides a much-improved (at least we think) output format for documentation generated with rdoc. It includes search and a simplified, frameless navigation for those who get tired of scrolling through the lists of endless methods looking for just the right one in the online Rails API docs. And, if you like to use local copies of documentation for when you’re coding on the go and away from the Internet, the good news is that search is done completely in JavaScript, so you can open files directly in your browser, no need to set up a local web server just to serve up docs. R2Doc isn’t just a better output format, though.

» read more

No Comments By: jeff
Posted: July 17th, 2009 at 11:15 pm

A Brand New Site

We’re happy to announce the launch of our new site. We’ll be making updates and improvements over the next few weeks, so be sure to check back soon.

No Comments By: jeff
Posted: July 17th, 2009 at 4:31 pm