logo
May
29
imarichardson

Six drummers and an apartment

May
28
imarichardson

Verizon rising up against the iPhone

Evidently Verizon is working on releasing a competitor to the iPhone this summer called the LG Prada. I’m a big mac fan but a dedicated Verizoneer … it’ll be nice to see how it pans up. And hopefully it’ll support syncing with a Mac!!!!!! (from Macworld via News4mac.)
May
26
imarichardson

Adding and removing subversion directories using svn:ignore

So I inadvertently added a directory to ignore in subversion only to find out after I deployed (capistrano) that I should not have. So I wrestled around for about 20 minutes when it dawned on me: why not just check the svn  help on my box. Nonetheless, here’s what it is: To add to subversion, use one of the following: [source:ruby] imarichardson $ svn propset svn:ignore filename.txt directory/ imarichardson...
May
10
imarichardson

Paginate, Sort, & Search table with RJS

So if you’re like me you inevitably have to have an uber cool table in your application that doesn’t just sit there but allows you to run really nice interactive features like dynamically updating as someone types in a search parameter. If so, you need to check out this tutorial from http://dev.nozav.org! As I was working on it for one of my apps I had to tweak a couple things so it would work with...
May
9
imarichardson

ActionController::MissingTemplate … Missing Layout … UGH!!!

I about pulled the leftovers of hair out of my head trying to figure this one out. The error log kept stating that the layout files I specified were not there but I could see that they in fact were. On my development and staging boxes (Mac) everything worked perfectly but I couldn’t figure out why it wouldn’t work on the production server (Linux) – it was case sensitive on the Linux box. So...
May
6
imarichardson

Tweaking Upload Location with Attachment_Fu

So it seems like everyone’s agreeing that Attachment_Fu (tutorial here) is the Acts_As_Authenticated new model Liquid Metal Terminator version 2 replacement for handling file uploads. The only problem is that for an application I’m developing I need to specify a specific location for each upload based on a particular primary key id rather than just saving into a directory based on the file id. So...
Apr
18
imarichardson

Rails & UUID Generator

Let’s face it, sometimes you may need to use a UUID for a Rails application. If you do, you can try the UUID Generator. It’s working really well for me in a couple applications. Here are just a couple points of reference: If you install it as a gem, you’ll need to generate the state file first. On my local machine (my MacBook Pro) although I could run the “uuid-setup” via sudo...

« Previous Entries Next Entries »

logo
Powered by Wordpress