I’ve been MIA for a while caught up in a project, but wanted to do a brief post. If you’re considering developing and deploying a Rails app in the near future then you need to consider using Rails Playground for your hosting. These guys have given me the best experience I’ve ever encountered when dealing [...]
I’m a Fireworks kinda guy since Photoshop tends to be overkill for most of the web stuff I do. While I’m a huge fan of layers when doing any sort of graphic design I love using Fireworks frames to organize design elements (see image below). This is not the intended use of frames, but I’ve [...]
I recently ran into a problem with single quotes in my application. I’m allowing users to post comments that could consist of single quotes. This is problematic if you’re doing any sort of JavaScript manipulation or presentation of the string. After digging around I stumbled across the great escape_javascript helper. The [...]
I deal with this at least twice a week at the office. It would be a different story if people were driving Bugatti Veyrons and double-parking to protect their $1.2 million investment. But this is either sheer laziness or lack of driving skills. Either way, please show a little regard for others and learn how [...]
This took me way too long to figure out, but I finally got it. It’s not the most desirable solution and I’m currently looking into alternate approaches. Bluehost has a great howto for running Rails with a subdomain ie (app.domain.com), but I wasn’t able to find anything about running Rails in the web root. With [...]
If your Rails application does any sort of automated email notification then please keep reading. The reason I say this is that improperly formatted emails, such as the sender’s address, may cause your message to get filtered as spam. When using ActionMailer there’s a simple fix for this. I’m not trying to [...]
Ruby on Rails gives developers that extra bit of simplicity that is often overlooked. A perfect example is creating “delete” functionality within an application. There are generally a few ways this can be achieved. One of the simplest approaches I can think of is adding a JavaScript confirmation when the “delete” button [...]