On Jun 5, 2:14 pm, Jacob Tjørnholm <
cho...@gmail.com> wrote:
> On a project I have a Page model with an "image" uploader mounted.
> Here's an example of how I can upload from the console:
https://gist.github.com/2874877
>
> As you can see, the uploader has a thumbnail version as well.
Hi Jacob,
Thanks for that! I did actually figure it out and the bottom line is
that the "carrierwav'd" models behave just like ordinary models, but
when creating a new one, the property that has got an Uploader mounted
will take a File instance as argument, just as your example shows.
Also, once saved, you'll get the carrierwave specifics out of it. It's
all quite nifty, albeit a bit hidden.
Either way, thank you for your input and apologies for not informing
that I did manage to find the solution.
Cheers,
/JS