This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
README.markdown | Thu Apr 30 09:08:42 -0700 2009 | |
| |
init.rb | Fri Jul 31 03:50:33 -0700 2009 | |
| |
taglibs/ | Mon Oct 27 06:50:33 -0700 2008 |
README.markdown
Paperclip with Hobo
Install this plugin alongside paperclip.
It adds two small things:
Automatically declares the fields for you, so you can just add
has_attached_file :photo
to your model, and then run the migration generator
Declares an input field
(to get this, you need<def tag="input" for="Paperclip::Attachment"> <%= file_field_tag param_name_for_this, attributes %> </def><include src="paperclip" plugin="paperclip_with_hobo"/>in application.dryml)
Important Note
The name of the plugin is important. It doesn't have to be paperclip_with_hobo but it will only work if this plugin loads after paperclip itself. Calling it paperclip_something is a good way to ensure that.







