readonly_attributes are now a Set instead of Array

This commit is contained in:
John Mileham 2011-02-23 11:13:59 -05:00
parent 404d1f4ee8
commit 3c0aea25fa
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ module Shoulda # :nodoc:
"is not read-only"
else
@failure_message = "#{class_name} is making " <<
"#{readonly_attributes.to_sentence} " <<
"#{readonly_attributes.to_a.to_sentence} " <<
"read-only, but not #{@attribute}."
end
false