lambda
September 14, 2010, 9:20am
1
I tried to get “acts_as_attachment”. All I get from the website is the
link list below.
http://svn.techno-weenie.net/projects/plugins/acts_as_attachment/
This link seems not availiable now. Does anyone know about other URL for
this plugin?
thanks in advance.
lambda
September 14, 2010, 9:49am
2
This plugin is now renamed as Restful authentication, available at
lambda
September 14, 2010, 4:05pm
3
Edwin Chen wrote:
I tried to get “acts_as_attachment”. All I get from the website is the
link list below.
http://svn.techno-weenie.net/projects/plugins/acts_as_attachment/
This link seems not availiable now. Does anyone know about other URL for
this plugin?
thanks in advance.
I think most people use Paperclip these days.
Best,
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
lambda
September 14, 2010, 4:19pm
4
attachment_fu is the successor of acts_as_attachment.
Treat an ActiveRecord model as a file attachment, storing its patch, size, content type, etc. - GitHub - technoweenie/attachment_fu: Treat an ActiveRecord model as a file attachment, storing its pa...
You should also have a look at paperclip.
lambda
September 15, 2010, 7:11am
5
Simon wrote:
attachment_fu is the successor of acts_as_attachment.
GitHub - technoweenie/attachment_fu: Treat an ActiveRecord model as a file attachment, storing its patch, size, content type, etc.
You should also have a look at paperclip.
GitHub - thoughtbot/paperclip: Easy file attachment management for ActiveRecord
Thanks everyone!
I have installed the paperclip. it seems work.
Here left one issue when I submit the upload button.
I followed the steps in “README.rdoc->quick start”, replace the “avatar”
with “photo”
Below is some debug info in trace log. Does anyone have idea about this
issue?
"undefined method exitstatus' for nil:NilClass" d:/Ruby187/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/whiny_nil.rb:52:in method_missing’
E:/rails_app/DR2/vendor/plugins/paperclip/lib/paperclip/command_line.rb:31:in
run' E:/rails_app/DR2/vendor/plugins/paperclip/lib/paperclip.rb:103:in run’
E:/rails_app/DR2/vendor/plugins/paperclip/lib/paperclip/geometry.rb:19:in
from_file' E:/rails_app/DR2/vendor/plugins/paperclip/lib/paperclip/thumbnail.rb:20:in initialize’
E:/rails_app/DR2/vendor/plugins/paperclip/lib/paperclip/processor.rb:33:in
new' E:/rails_app/DR2/vendor/plugins/paperclip/lib/paperclip/processor.rb:33:in make’
E:/rails_app/DR2/vendor/plugins/paperclip/lib/paperclip/attachment.rb:311:in
post_process_styles' d:/Ruby187/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/time/zones.rb:81:in inject’
E:/rails_app/DR2/vendor/plugins/paperclip/lib/paperclip/attachment.rb:310:in
each' E:/rails_app/DR2/vendor/plugins/paperclip/lib/paperclip/attachment.rb:310:in inject’
E:/rails_app/DR2/vendor/plugins/paperclip/lib/paperclip/attachment.rb:310:in
post_process_styles' E:/rails_app/DR2/vendor/plugins/paperclip/lib/paperclip/attachment.rb:307:in each’
E:/rails_app/DR2/vendor/plugins/paperclip/lib/paperclip/attachment.rb:307:in
post_process_styles' E:/rails_app/DR2/vendor/plugins/paperclip/lib/paperclip/attachment.rb:301 E:/rails_app/DR2/vendor/plugins/paperclip/lib/paperclip/callback_compatability.rb:23:in call’
E:/rails_app/DR2/vendor/plugins/paperclip/lib/paperclip/callback_compatability.rb:23:in
run_paperclip_callbacks' E:/rails_app/DR2/vendor/plugins/paperclip/lib/paperclip/attachment.rb:300 E:/rails_app/DR2/vendor/plugins/paperclip/lib/paperclip/callback_compatability.rb:23:in call’
E:/rails_app/DR2/vendor/plugins/paperclip/lib/paperclip/callback_compatability.rb:23:in
run_paperclip_callbacks' E:/rails_app/DR2/vendor/plugins/paperclip/lib/paperclip/attachment.rb:299:in post_process’
E:/rails_app/DR2/vendor/plugins/paperclip/lib/paperclip/attachment.rb:100:in
assign' E:/rails_app/DR2/vendor/plugins/paperclip/lib/paperclip.rb:245:in photo=’
lambda
September 15, 2010, 9:14am
6
Have you installed ImageMagick on your machine?
lambda
September 14, 2010, 4:20pm
7
I think you meant acts_as_authenticated.
lambda
September 15, 2010, 9:24am
8
Simon wrote:
Have you installed ImageMagick on your machine?
My bad. I am downloading the ImageMagick. Thanks for your reminder.