Re: [Rails] A file-upload suddenly seems to be nil

2011-03-13 Thread Curtis j Schofield
On Fri, Mar 11, 2011 at 2:33 PM, Luke kickingje...@gmail.com wrote: Hi there, I posted this issue https://groups.google.com/forum/?hl=de#!topic/carrierwave/ergk9LaO68kat the carrierwave-group, but I'm beginning to think this rather is a rails-issue than a problem with carrierwave. The

[Rails] A file-upload suddenly seems to be nil

2011-03-11 Thread Luke
Hi there, I posted this issue https://groups.google.com/forum/?hl=de#!topic/carrierwave/ergk9LaO68kat the carrierwave-group, but I'm beginning to think this rather is a rails-issue than a problem with carrierwave. The problem's this: I have 2 models, 'article' and 'upload'. article has_many

Re: [Rails] A file-upload suddenly seems to be nil

2011-03-11 Thread Bryan Crossland
On Fri, Mar 11, 2011 at 4:33 PM, Luke kickingje...@gmail.com wrote: Hi there, I posted this issue https://groups.google.com/forum/?hl=de#%21topic/carrierwave/ergk9LaO68kat the carrierwave-group, but I'm beginning to think this rather is a rails-issue than a problem with carrierwave. The

Re: [Rails] A file-upload suddenly seems to be nil

2011-03-11 Thread Luke
Hmmm, this does work, at least *that* error doesn't occur anymore. But now I'm getting the error Attempt to call private method where I call create. Also calling create on an instance of an upload doesn't seem right to (n00by) me. Is that the correct way to add a new instance to the