dwilkie / carrierwave_direct_example Goto Github PK
View Code? Open in Web Editor NEWExample application using CarrierWaveDirect
Example application using CarrierWaveDirect
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
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!
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 %>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.