Solve this learning challenge by posting code snippets.
Item 1) Code an example uploader class which would accept PNGs only and would have a thumbnail.
Item 2) Show how you would add the uploader as a field in an example model class.
Item 3) Show the ruby code you would use to set the uploader field on a model instance to a remote url and then save it, causing an upload.