Close
Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

PIVOTAL LABS
Standup 5/24/2010

Ask for Help

Identify and uploaded files

Running identify on uploaded files sometimes fails, because by the time identify gets hold of the file, the file extension has been lost (it has been written to /tmp or the like).

The suggested workaround was to see if the filename specified in the Content-Disposition header, if present, could be carried through to the temporary file.

Interesting Things

  • Amazon has recently introduced a reduced-durabilty pricing tier for S3 storage, with significant discounts available to those who can live with 4 9’s versus 11 9’s of reliability. This seems like a win for things like thumbnails, which can easily be re-created from the originals on the off chance that they were actually lost by S3.

  • Rails 2.3.7 is out, but it doesn’t play nice with HAML just yet. Projects using HAML should avoid upgrading until those incompatibilities are ironed out.

Comments
  1. Josh Susser says:

    Actually, Rails 2.3.6 doesn’t play nice with HAML. Rails 2.3.7 is HAML-friendly – that’s why there was a quick version bump just a day later. But the dust is still settling on the rails_xss plugin and html_safe changes, so you might want to wait and see.

    Discussion here: http://weblog.rubyonrails.org/2010/5/24/ruby-on-rails-2-3-7-released

Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *