RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: waynehoover
Site: http://waynehoover.com
Where is the data in states.csv sourced from?
It looks like CarrierWave isn't passing the correct instance to the uploader in recreate_versions. I have opened a ticket here:
https://github.com/jnicklas/carrierwave/issues/1015
Until this is fixed, this method Ryan uses here is currently broken.
Thanks for this, it made me happy that I went with AngularJS instead of Ember in my last project.
Just pushed an update that fixes IE8/9. For those that what to implement it as a fix to what Ryan provides its a rather small change to the helper method, see what I changed here:
https://github.com/waynehoover/s3_direct_upload/commit/b9d4e54e3a27780ec340afba8bf2df8d60e14990
Working on IE8/9 support...
This is fixed with slim 1.3.2 https://github.com/stonean/slim/issues/301
The url has changed:
https://github.com/WayneHoover/s3_direct_upload
I created a simple gem that extracts out the form helper and cofeescript found in Ryan's rails app he mentioned at the end. You can find it here:
https://github.com/BlissOfBeing/s3_direct_upload
There aren't many tests for it yet, but hey it works for now. Would be grateful for any pull requests ;)
Looks like the jquery file upload plugin has the ability to process images client-side:
https://github.com/blueimp/jQuery-File-Upload/wiki/Upload-multiple-resolutions-of-one-image-with-multiple-resize-options
Love these revised episodes. Would really like to see the episode on Cancan revised. :)
Looks like it is:
https://github.com/railscasts/episode-337/blob/master/blog-after/config/recipes/templates/nginx_unicorn.erb
upstream unicorn { server unix:/tmp/unicorn.<%= application %>.sock fail_timeout=0; }
The mp4 and m4v videos for this episode don't seem to work on iOS 5.
if $('#card_number').length
was always returning 1 for me, even if there were no values in the input.
So I used
if $('#card_number').val().length > 0
and that worked.
Ryan you forgot to add the modified routes file to the show notes. Thanks for these!
Yes, here is how to replace the rails console with pry
For those that don't like to click links:
#config/environments/development.rb MyApp::Application.configure do silence_warnings do begin require 'pry' IRB = Pry rescue LoadError end end end
Where is the data in states.csv sourced from?
It looks like CarrierWave isn't passing the correct instance to the uploader in recreate_versions. I have opened a ticket here:
https://github.com/jnicklas/carrierwave/issues/1015
Until this is fixed, this method Ryan uses here is currently broken.
Thanks for this, it made me happy that I went with AngularJS instead of Ember in my last project.
Just pushed an update that fixes IE8/9. For those that what to implement it as a fix to what Ryan provides its a rather small change to the helper method, see what I changed here:
https://github.com/waynehoover/s3_direct_upload/commit/b9d4e54e3a27780ec340afba8bf2df8d60e14990
Working on IE8/9 support...
This is fixed with slim 1.3.2 https://github.com/stonean/slim/issues/301
The url has changed:
https://github.com/WayneHoover/s3_direct_upload
I created a simple gem that extracts out the form helper and cofeescript found in Ryan's rails app he mentioned at the end. You can find it here:
https://github.com/BlissOfBeing/s3_direct_upload
There aren't many tests for it yet, but hey it works for now. Would be grateful for any pull requests ;)
Looks like the jquery file upload plugin has the ability to process images client-side:
https://github.com/blueimp/jQuery-File-Upload/wiki/Upload-multiple-resolutions-of-one-image-with-multiple-resize-options
Love these revised episodes. Would really like to see the episode on Cancan revised. :)
Looks like it is:
https://github.com/railscasts/episode-337/blob/master/blog-after/config/recipes/templates/nginx_unicorn.erb
The mp4 and m4v videos for this episode don't seem to work on iOS 5.
if $('#card_number').length
was always returning 1 for me, even if there were no values in the input.
So I used
if $('#card_number').val().length > 0
and that worked.
Ryan you forgot to add the modified routes file to the show notes. Thanks for these!
Yes, here is how to replace the rails console with pry
For those that don't like to click links: