Commits on Jan 3, 2009
  1. - You must create the needed properties yourself, this way you can ch…

    …oose the length of the properties yourself.
    michaeldauria committed Jan 3, 2009
Commits on Dec 26, 2008
  1. - Move interpolations function to an instance method

    - DM Properties are now interpolations
    - Add a const_defined? check for EXTENSIONS
    michaeldauria committed Dec 26, 2008
  2. - Merged mimetype_fu ito UpFile, which uses the actual uploaded file …

    …to determine the content type rather than trust what is sent in
    - Removed unneeded init.rb from Rakefile
    - Speed increase for interpolations
    michaeldauria committed Dec 26, 2008
Commits on Dec 24, 2008
  1. Added parenthesis around function calls

    Removed unneeded functions
    michaeldauria committed Dec 24, 2008
  2. Added TODOs

    Created separate version.rb file
    Cleaned up requires
    michaeldauria committed Dec 24, 2008
Commits on Dec 23, 2008
  1. Added Tempfile class as a valid file type

    Signed-off-by: Michael D'Auria <>
    Piotr Usewicz committed with michaeldauria Sep 26, 2008
  2. file_name property length is maximum 50 characters as default for DM …

    …strings, when uploading file from IE it gives file name with full path,
    patch removes path from file name
    Signed-off-by: Michael D'Auria <>
    Dilshod Temirkhodjaev committed with michaeldauria Dec 16, 2008
Commits on Oct 19, 2008
Commits on Oct 14, 2008
  1. fix reseting original file size after reprocessing

    Dilshod Temirkhodjaev committed Oct 14, 2008
Commits on Oct 1, 2008
Commits on Sep 29, 2008
  1. Fix for inheritable class attribute for attachmend_definitions. Now i…

    …t doesn't share attachment_definitions between all classes where Paperclip::Resource is included but only between child classes. So it's possible to have more than one models with has_attached_file
    pk committed Sep 29, 2008
Commits on Sep 28, 2008
Commits on Sep 26, 2008
  1. Updated to use resource.attributes= over resource.update_attributes, …

    …as update_attributes now forces a save
    Updated tests for compatibility with edge DM, including [] to .get(), updated mock expectations, and update so the sample model just uses .auto_migrate!
    krobertson committed Sep 26, 2008
Commits on Jul 20, 2008
  1. Changed require in tests to 'dm-core' instead of 'data_mapper' and fi…

    …xed link to the repo in the README file
    krobertson committed Jul 20, 2008
Commits on Jul 8, 2008
  1. Switch from DataMapper::Inflection to Extlib::Inflection to make vali…

    …dations work with DM edge
    okiess committed Jul 8, 2008
Commits on May 16, 2008
  1. Final doc changes for the gem

    krobertson committed May 16, 2008
Commits on May 15, 2008
  1. Updated readme to mention validations and migrations,

    cleaned up some code to set attributes to avoid using send(),
    and moved some helper methods to be private
    krobertson committed May 15, 2008
Commits on May 14, 2008
Commits on May 10, 2008