GithubHelp home page GithubHelp logo

joint's People

Contributors

bkeepers avatar brynary avatar greatuserongithub avatar jnunemaker avatar joshgoebel avatar mtyaka avatar ndmarcel avatar plusplus avatar raykrueger avatar rlivsey avatar ryana avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

joint's Issues

can't convert ActionController::TestUploadedFile into String

Hi John, got uploads working with Joint (thanks for the pointers on twitter, btw), but I'm having trouble getting the tests right. I've posted the issue on StackOverflow, not sure it's on Joint's side or Rails's (or my own, of course ;):

http://stackoverflow.com/questions/4051726/testing-file-uploads-in-rails-cant-convert-actioncontrollertestuploadedfile-i

Testing this at the controller level since it's an api call with no view...

  • Oliver

save_attachments should rewind before reading

I just spent no less than two hours trying to figure out why the file i saved in gridfs had size 0, only to realize out of nowhere that read continues from where the file pointer is. Hence, it was trying to read from the end of my freshly written and still open Tempfile.

Anyway, just doing a simple tmp_file.rewind before passing the instance of to Joint did the trick.
I would presume this rewind is something Joint should do in Joint#save_attachments, and hence I'm classifying this as a bug.

Rails 3.0.2 or greater

I've recently upgraded to Rails 3.0.3 from Rails 3.0.1 and Joint no longer works in production mode. This is because the UploadedFile class has been changed in ActionDispatch. A good explanation can be found here - http://marklunds.com/articles/one/433

The actual error I get in production mode when doing a file upload is

TypeError (can't convert ActionDispatch::Http::UploadedFile into String):

For the moment I've rolled back to Rails 3.0.1. Have you got any pointers for making Joint work with the recent ActionDispatch updates?

Need MM 0.9.2-compatible Joint Gem released

Upgrading an app to Rails 3/MM 0.9.2 and using Bundler, got an error for Joint 0.5.5 which has a dependency on MM 0.8.6. Can you push a new tag of Joint to rubygems with the MM 0.9.X dependency?

LICENSE missing

LICENSE file seems to be missing. I would like to use this for a project but can't before you clear out which license it's using. Thanks man :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.