Permalink
Browse files

changed error message on invalid extension

  • Loading branch information...
1 parent 46bff58 commit 4a03cf8a0d0f45f450a38f38e302ffd292d3cda2 @ksylvest committed Mar 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/attached.rb
View
@@ -149,7 +149,7 @@ def validates_attached_size(name, options = {})
def validates_attached_extension(name, options = {})
message = options[:message]
- message ||= "extension is not valid"
+ message ||= "extension is invalid"
range = options[:in].map { |element| ".#{element}" }

0 comments on commit 4a03cf8

Please sign in to comment.