Skip to content
This repository
Browse code

Documentation fix #698

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@756 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit d768ff1146b4784a59a38ff7cf979b7382ea57db 1 parent c699a3e
David Heinemeier Hansson authored
11  actionpack/lib/action_view/helpers/url_helper.rb
@@ -100,11 +100,12 @@ def link_to_unless_current(name, options = {}, html_options = {}, *parameters_fo
100 100
       # link unless +name+ is specified. Additional HTML options, such as class or id, can be passed in the <tt>html_options</tt> hash.
101 101
       #
102 102
       # You can also make it difficult for spiders to harvest email address by obfuscating them.
103  
-      # Examples:
104  
-      # * mail_to "me@domain.com", "My email", :encode => "javascript"
105  
-      # => <script type="text/javascript" language="javascript">eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%6d%65%40%64%6f%6d%61%69%6e%2e%63%6f%6d%22%3e%4d%79%20%65%6d%61%69%6c%3c%2f%61%3e%27%29%3b'))</script>
106  
-      # * mail_to "me@domain.com", "My email", :encode => "hex"
107  
-      # => <a href="mailto:%6d%65@%64%6f%6d%61%69%6e.%63%6f%6d">My email</a>
  103
+       # Examples:
  104
+      #   mail_to "me@domain.com", "My email", :encode => "javascript"  # =>
  105
+      #     <script type="text/javascript" language="javascript">eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%6d%65%40%64%6f%6d%61%69%6e%2e%63%6f%6d%22%3e%4d%79%20%65%6d%61%69%6c%3c%2f%61%3e%27%29%3b'))</script>
  106
+      #
  107
+      #   mail_to "me@domain.com", "My email", :encode => "hex"  # =>
  108
+      #     <a href="mailto:%6d%65@%64%6f%6d%61%69%6e.%63%6f%6d">My email</a>
108 109
       def mail_to(email_address, name = nil, html_options = {})
109 110
         encode = html_options[:encode]
110 111
         html_options.delete(:encode)
2  activerecord/CHANGELOG
... ...
@@ -1,5 +1,7 @@
1 1
 *SVN*
2 2
 
  3
+* Added option :schema_order to the PostgreSQL adapter to support the use of multiple schemas per database #697 [YuriSchimke]
  4
+
3 5
 * Optimized the SQL used to generate has_and_belongs_to_many queries by listing the join table first #693 [yerejm]
4 6
 
5 7
 * Fixed that when using validation macros with a custom message, if you happened to use single quotes in the message string you would get a parsing error #657 [tonka]

0 notes on commit d768ff1

Please sign in to comment.
Something went wrong with that request. Please try again.