Kindly suggest appropriate Attachment plugin/gem for use with Rails 2.0.2 and Ruby 1.8.7

Hello all,

I am trying to attach files in my RoR app. I am using Rails 2.0.2 and
Ruby 1.8.7 for project specific purposes. I am using Ubuntu 10.04 OS.

I have tried out two plugins(paperclip and attachment_fu) but I have no
luck so far in getting things working with them. I am basically facing
compatibility issues as the configuration I am using is pretty much not
used these days.

Kindly have a look at these URL’S in order to better understand the
issues that I am currently facing:-

http://stackoverflow.com/questions/6000588/issues-with-attachment-fu-plugin-in-rails-2

It would be great if you can help me with your insights on these issues.

Also, can you kindly suggest plugins or gems which I can make use of to
attach files in my rails app based on the above configuration.

Your suggestions would be really helpful,

Thank you…

Are you trying to use the most recent version? Or are you using an
older version.

Looking at the git history of rails in github (https://github.com/
rails/rails/tree/v2.0.2)

It looks like 2.02 came out after Dec 16 2007.

Looking at the history of paperclip on github v 2.0 was tagged on
March 18 2008.

I would start with v2.0 and see if it works and then work up the minor
branch until it breaks.

( I am sorry by mistake I replied to your question from another gmail id
of mine… I am the same original person who posted the question in the
first case )

Hello PsiPro,

I did try the latest version at github… May be I am fundamentally
going wrong there…

I shall try to use one of their earlier commits. Their first commit for
Thoughtbot starts off its commit for paperclip with this:-
https://github.com/thoughtbot/paperclip/commits/master?page=16.

I am sorry, correct me If I didn’t understand your statement

Looking at the history of paperclip on github v 2.0 was tagged on
March 18 2008.

I would start with v2.0 and see if it works and then work up the minor
branch until it breaks.

Are you suggesting me to clone their commit of March 18 2008…? From
this URL:-

https://github.com/thoughtbot/paperclip/commit/0544f0f9e82144cf200f264ea59020a690d57a33
( fetched this URL from:

https://github.com/thoughtbot/paperclip/commits/master?page=14 )

If so, Can you please tell why not from an earlier commit?.. Sometime
around 2007 since Rails 2.0.2 and thoughtbot-paperclip were released
sometime around the same time…

Thanks again for you inputs…

PsiPro wrote in post #999487:

Are you trying to use the most recent version? Or are you using an
older version.

Looking at the git history of rails in github (https://github.com/
rails/rails/tree/v2.0.2)

It looks like 2.02 came out after Dec 16 2007.

Looking at the history of paperclip on github v 2.0 was tagged on
March 18 2008.

I would start with v2.0 and see if it works and then work up the minor
branch until it breaks.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs