lib/simple_model/errors.rb in simple_model-0.1.1 vs lib/simple_model/errors.rb in simple_model-0.1.2
- old
+ new
@@ -72,10 +72,10 @@
end
def full_messages
full_messages = []
errors.each do |error|
error[1].each do |message|
- full_messages << "#{error[0].titleize} #{message}"
+ full_messages << "#{error[0].to_s} #{message}"
end
end
full_messages
end