Friday, November 11, 2011

Re: [Rails] an advice to manage pdf documents.

On 11 November 2011 11:00, Mauro <mrsanna1@gmail.com> wrote:
> Do you use paperclip?

erm.. no :-)

I use a model of my own. Paperclip is great for bunging in a single
file attachment (inline, into your model), but wasn't a very
flexible/scalable solution (or at least it wasn't when I needed to do
file attachments a few years ago).

By having my own model I can treat files like any other association;
and attach one, many, or have different types depend on my needs.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate