Permalink
Browse files

Slight tweak to 2.3 release notes

  • Loading branch information...
1 parent f1e903a commit 803a6b171bc89e5b1179bcf70645b69b5d6e44f5 @tekin tekin committed Mar 10, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/2_3_release_notes.textile
@@ -451,7 +451,7 @@ returns
</select>
</ruby>
-You can also use an anonymous function to determine at runtime which options will be disabled:
+You can also use an anonymous function to determine at runtime which options from collections will be selected and/or disabled:
<ruby>
options_from_collection_for_select(@product.sizes, :name, :id, :disabled => lambda{|size| size.out_of_stock?})

0 comments on commit 803a6b1

Please sign in to comment.