Giter Club home page Giter Club logo

carrierwave_direct_example's People

Contributors

dwilkie avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

carrierwave_direct_example's Issues

Adding avatar to user edit action

I'm having trouble moving the upload avatar action to the user edit action rather than user new action as is the case in the example. I recognise that this is probably my problem rather than a problem with app, but it might be useful if there was a bit of guidance in the README about how to approach this. I've got a question up on SO but if there was someone who could give me advice on how to approach this, I'd be happy to write it up for the README if that was useful.

Anyway, thanks for all the work in the gem. Dan

Help with Test

Hi,

This is a great repo and I've used this as a reference to a lot of apps. It would also help if you'd write some basic unit tests to demonstrate the usage!

  • Ankur

TypeError in Avatars#new

Getting an error when I click on the Upload avatar link. Gonna try to debug it a bit, but wanted to bring it up just incase somebody already has a solution.

Ruby 1.9.3p327
Rails 3.2.12

TypeError in Avatars#new

Showing /Users/ramin/tmp/carrierwave_direct_example/app/views/avatars/new.html.erb where line #2 raised:

can't convert nil into String
Extracted source (around line #2):

1: <%= direct_upload_form_for @uploader do |f| %>
2:   <%= f.file_field :avatar %>
3:   <%= f.submit "Upload Directly!" %>
4: <% end %>

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.