corrected translate_collection

This commit is contained in:
Heinrich Klobuczek 2011-08-29 01:48:14 -07:00
parent c439ad00fa
commit cdffc86984
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ source "http://rubygems.org"
gemspec
gem "rake", '0.9.3.beta1'
gem "rake", '0.9.3.beta.1'
gem "rdoc"
gem "mocha"
gem "ruby-debug", :platform => :mri_18

View File

@ -89,7 +89,7 @@ module SimpleForm
end
def translate_collection
@collection = @collection.map {|value| [translate(:options, value.to_s), value.to_s]}
@collection = collection.map {|value| [translate(:options, value.to_s), value.to_s]}
end
end
end