Name |
Last commit
|
Last Update |
---|---|---|
cucumber | ||
features | ||
gemfiles | ||
generators/paperclip | ||
lib | ||
rails | ||
shoulda_macros | ||
test | ||
.gitignore | ||
Appraisals | ||
Gemfile | ||
Gemfile.lock | ||
LICENSE | ||
README.md | ||
Rakefile | ||
init.rb | ||
paperclip.gemspec |
--- I added lambda support to the size and content type validator, so now you can do something like: <code>validates_attachment_size :avatar, :less_than => 2.megabytes, :message => lambda { I18n.t(invalid_image_size) }</code> This is consistent with Rails validators, wich receive either a String or a Proc. Regards.
Name |
Last commit
|
Last Update |
---|---|---|
cucumber | Loading commit data... | |
features | Loading commit data... | |
gemfiles | Loading commit data... | |
generators/paperclip | Loading commit data... | |
lib | Loading commit data... | |
rails | Loading commit data... | |
shoulda_macros | Loading commit data... | |
test | Loading commit data... | |
.gitignore | Loading commit data... | |
Appraisals | Loading commit data... | |
Gemfile | Loading commit data... | |
Gemfile.lock | Loading commit data... | |
LICENSE | Loading commit data... | |
README.md | Loading commit data... | |
Rakefile | Loading commit data... | |
init.rb | Loading commit data... | |
paperclip.gemspec | Loading commit data... |