Active record and Mongrel Upload Progress Plugin
Muziboo is a pretty upload intensive website. Also there is the issue of resampling the MP3 file so that the flash player plays it well (Frequencies not multiple of 11025 Hz are ‘chipmunked’ in flash). I started looking into the mongrel_upload_progress plugin yesterday and found this demo to get me started. It works fine and I could successfully integrate it with my upload page.
However there is an issue. What happens if there is an activerecord validation error. In that case the error messages have to be shown back on the upload page. This is something that I have not been able to figure out yet. The upload controller uses a responds_to_parent function and I don’t understand it fully yet. If I do not reload the page, the page won’t stop polling mongrel for upload progress. If I do reload the page, the error messages go away :(
I will try to figure this out soon and will post the progress here …
Popularity: 14% [?]
find this blog feedworthy. Click on the number to subscribe!
Related Posts
Active record validation with mongrel_upload_progress

[…] The active record validation is finally working with mongrel_upload_progress … yayee. To read more about what the issue was, follow this post […]