@@ -62,7 +62,7 @@ Or, if you don't use Bundler (though you probably should, even in Rails 2), with
...
@@ -62,7 +62,7 @@ Or, if you don't use Bundler (though you probably should, even in Rails 2), with
end
end
For Non-Rails usage:
For Non-Rails usage:
class ModleName < ActiveRecord::Base
class ModuleName < ActiveRecord::Base
include Paperclip::Glue
include Paperclip::Glue
...
...
end
end
...
@@ -209,7 +209,7 @@ styles, no processors will be run if there are no styles defined._
...
@@ -209,7 +209,7 @@ styles, no processors will be run if there are no styles defined._
If you're interested in caching your thumbnail's width, height and size in the
If you're interested in caching your thumbnail's width, height and size in the
database, take a look at the [paperclip-meta](https://github.com/y8/paperclip-meta) gem.
database, take a look at the [paperclip-meta](https://github.com/y8/paperclip-meta) gem.
Also, if you're interesting to generate the thumbnail on-the-fly, you might want
Also, if you're interested in generating the thumbnail on-the-fly, you might want
to look into the [attachment_on_the_fly](https://github.com/drpentode/Attachment-on-the-Fly) gem.
to look into the [attachment_on_the_fly](https://github.com/drpentode/Attachment-on-the-Fly) gem.
Events
Events
...
@@ -233,7 +233,9 @@ called with valid attachments._
...
@@ -233,7 +233,9 @@ called with valid attachments._
URI Obfuscation
URI Obfuscation
---------------
---------------
Paperclip has an interpolation called `:hash` for obfuscating filenames of publicly-available files. For more on this feature read author's own explanation.
Paperclip has an interpolation called `:hash` for obfuscating filenames of
publicly-available files. For more on this feature read the author's own