bernat/best_in_place — pull request #61 by edeustace (2011-12-18 19:30:52+00:00)
Title: inplace image changing 

Hi There,

Firstly great work - I've now added it to my app and its looking good.

I've added the ability to change an image 'in place' by clicking on it within a form which will launch a file chooser. Its using XHR#sendAsBinary so isn't supported on all browsers. Its using this:

https://github.com/edeustace/inplace-image-changer

Also I changed how 'display_as' works so that the controller needn't return { 'display_as' : 'blah' } but { 'my_custom_key' : 'blah' }, this was useful to me in my app as it meant I didn't need to change my controller which just returns a json version of the object that was edited every time.

I'm not sure if its something your interested in adding, but thought I'd make you aware of it all the same.

Best,
Ed