1. 21 Jun, 2013 1 commit
    • Add content_type and size errors to base attribute · 2aeb491f
      This propagates attachment size and content_type validations to the main
      attachment attribute, to make them behave the same as presence
      validations. This allows paperclip to play more nicely with simple_form
      and other form abstraction gems.
      
      This commit includes a behaviorial change. If you emit all errors on a
      model instance you will see some failed validations twice: once for the
      base attachment attribute and again for the failed presence,
      content_type or size attachment attributes.
      Dan Collis-Puro committed
  2. 01 Nov, 2012 1 commit
  3. 17 Apr, 2012 1 commit
  4. 27 Mar, 2012 1 commit
  5. 23 Mar, 2012 4 commits