Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- == *Using Rails3 with uploadify*
- Add this to 'scriptData' in js (which is loading uploadify)
- <pre>
- <code>
- '_maxhost_upload': $('meta[name=cses]').attr('content')
- </code>
- </pre>
- And this to yours application layout
- <pre>
- <code>
- %meta{ :name => "cses", :content => cookies["_xyz"]}
- </code>
- </pre>
- where *_xyz* is Yours session cookie key.
Add Comment
Please, Sign In to add comment