On 19 May 2010, at 00:08, Philip Hallstrom wrote:
Good to know. That won't help with the authenticity token though...
Indeed, our swfuploads are completely separated into reusable
Javascript objects, so I didn't think of it anymore.
Note to self: don't answer mailing list replies while
Hi
I solved it ... but have no idea why!
Needed to change:
self.file = data
to
self.photo = data
And it works ... h ...
On May 18, 7:10 pm, Ruby on Rails: Talk dazzaroo...@gmail.com
wrote:
Hi
I'm sure this is in the wrong group - so any suggestions for a right
group would be great!
On May 18, 2010, at 11:41 AM, Ruby on Rails: Talk wrote:
Hi
I solved it ... but have no idea why!
Needed to change:
self.file = data
to
self.photo = data
And it works ... h ...
Because your Photo model has_attached_file :photo, ... *NOT*
has_attached_file :file, ...
Thanks so much for you help with the problem and the suggestion with
new version of swfupload!
I don't suppose you have any clear insight into why I can't get the
InvalidAuthorizationToken thing to work do you?
Thanks once again for help already given and any more you might be
able to offer
Thanks so much for you help with the problem and the suggestion with
new version of swfupload!
I don't suppose you have any clear insight into why I can't get the
InvalidAuthorizationToken thing to work do you?
My guess is you're not passing it along via Flash. See this bit in
On 18 May 2010, at 21:40, Philip Hallstrom wrote:
My guess is you're not passing it along via Flash. See this bit in
app/views/home/index.html.erb where I invoke the swfupload object.
See where it's passing the session key and the authenticity token?
That's important. And also why you
My guess is you're not passing it along via Flash. See this bit in
app/views/home/index.html.erb where I invoke the swfupload object. See
where it's passing the session key and the authenticity token? That's
important. And also why you need that middleware stuff.
7 matches
Mail list logo