Integrating with Services that exhibit the Java Timezone Issue

6 May 2008

2 Comments

In my last post, I described an XML over HTTP service written in Java that I have to integrate with. I expressed a minor and general annoyance at the fact that the developers of this service specify that a “DateTime” parameter be specified in “milliseconds since the epoch”. There is another typical problem with Java […]

Continue reading...

Converting to and from Unix / Java time (epoch)

6 May 2008

5 Comments

Working in telecom, I have to integrate my Rails and plain Ruby apps with Java or Unix based systems running on remote hosts. Most often these systems are running remotely and are accessed via an XML-over-HTTP interface (no SOAP, no REST, blah…). I’ve found that one of the most infuriating things that UNIX and Java […]

Continue reading...

Adding Multiple Attachements to a Model in one View

30 April 2008

6 Comments

AttachmentFu is a great plugin. It’s heavily used all over the place to upload images to a Rails app. It’s also good with other file types. I had a requirement to provide users with the ability to set up an entity (call it a Batch), then upload a number of CSV files to that batch. […]

Continue reading...