Browse files

copy edits [ci skip]

  • Loading branch information...
1 parent 9e962ff commit 8189536aeb91394ccc649b9c14f0cf15c25b9423 @vijaydev vijaydev committed Apr 25, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 guides/source/active_record_querying.textile
  2. +1 −1 guides/source/generators.textile
@@ -388,7 +388,7 @@ The field name can also be a string:
Client.where('locked' => true)
-NOTE: A +Symbol+ value is not supported and should not be used. Always use a +String+ instead: +Client.where(:status => 'active')+, but NOT +Client.where(:status => :active)+.
+NOTE: The values cannot be symbols. For example, you cannot do +Client.where(:status => :active)+.
h5(#hash-range_conditions). Range Conditions
@@ -467,7 +467,7 @@ h4. +gsub_file+
Replaces text inside a file.
- gsub_file 'name_of_file.rb', 'method.to_be_replaced', 'method.the_replacing_code'
+gsub_file 'name_of_file.rb', 'method.to_be_replaced', 'method.the_replacing_code'
Regular Expressions can be used to make this method more precise. You can also use append_file and prepend_file in the same way to place code at the beginning and end of a file respectively.

0 comments on commit 8189536

Please sign in to comment.