[18163] commited by me yesterday (and reverted in [18165]) was
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 15 Oct 2009 08:21:57 +0000 (08:21 +0000)
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 15 Oct 2009 08:21:57 +0000 (08:21 +0000)
commite0eb2b79b7ee19bcf6254cd0d652b9f1248a0fe8
tree86c649214157e5d6060f75a83fda1d3f24f940f4
parentd0c63b6d5dbf6580c333e1d638d19fc17fd2a351
[18163] commited by me yesterday (and reverted in [18165]) was
broken. I didn't restart rails when testing it because I thought lib/
was auto-refreshed as well and that:

    ruby -e 'x = []; x[0]["foo"] = "bar"'

Would work and autovify like it does in Perl. But no, you have to do:

    ruby -e 'x = [{}]; x[0]["foo"] = "bar"'

This commit is equivalent to [18163] aside from that fix to lib/potlatch.rb
app/controllers/amf_controller.rb
config/potlatch/icon_presets.txt
config/potlatch/locales/en.yml
lib/potlatch.rb