Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #8111: documentation_typos_and_tidywork.diff

File documentation_typos_and_tidywork.diff, 4.9 kB (added by Henrik N, 2 years ago)
  • actionpack/lib/action_view/base.rb

    old new  
    8282  # Here are some basic examples: 
    8383  # 
    8484  #   xml.em("emphasized")                              # => <em>emphasized</em> 
    85   #   xml.em { xml.b("emp & bold") }                    # => <em><b>emph &amp; bold</b></em> 
     85  #   xml.em { xml.b("emph & bold") }                    # => <em><b>emph &amp; bold</b></em> 
    8686  #   xml.a("A Link", "href"=>"http://onestepback.org") # => <a href="http://onestepback.org">A Link</a> 
    8787  #   xml.target("name"=>"compile", "option"=>"fast")   # => <target option="fast" name="compile"\> 
    8888  #                                                     # NOTE: order of attributes is not specified. 
  • actionpack/lib/action_view/compiled_templates.rb

    old new  
    1  
    21module ActionView 
    32 
    43  # CompiledTemplates modules hold methods that have been compiled. 
     
    4039    # Compile the provided source code for the given argument names and with the given initial line number. 
    4140    # The identifier should be unique to this source. 
    4241    # 
    43     # The file_name, if provided will appear in backtraces. If not provded, the file_name defaults 
     42    # The file_name, if provided will appear in backtraces. If not provided, the file_name defaults 
    4443    # to the identifier. 
    4544    # 
    4645    # This method will return the selector for the compiled version of this method. 
  • actionpack/install.rb

    old new  
    44 
    55include Config 
    66 
    7 # this was adapted from rdoc's install.rb by ways of Log4r 
     7# this was adapted from rdoc's install.rb by way of Log4r 
    88 
    99$sitedir = CONFIG["sitelibdir"] 
    1010unless $sitedir 
     
    1818  end 
    1919end 
    2020 
    21 # the acual gruntwork 
     21# the actual gruntwork 
    2222Dir.chdir("lib") 
    2323 
    2424Find.find("action_controller", "action_controller.rb", "action_view", "action_view.rb") { |f| 
  • railties/README

    old new  
    2525link:files/vendor/rails/actionpack/README.html. 
    2626 
    2727 
    28 == Getting started 
     28== Getting Started 
    2929 
    30 1. At the command prompt, start a new rails application using the rails command 
    31    and your application name. Ex: rails myapp 
    32    (If you've downloaded rails in a complete tgz or zip, this step is already done) 
     301. At the command prompt, start a new Rails application using the <tt>rails</tt> command 
     31   and your application name. Ex: <tt>rails myapp</tt> 
     32   (If you've downloaded Rails in a complete tgz or zip, this step is already done) 
    33332. Change directory into myapp and start the web server: <tt>script/server</tt> (run with --help for options) 
    34343. Go to http://localhost:3000/ and get "Welcome aboard: You’re riding the Rails!" 
    35354. Follow the guidelines to start developing your application 
     
    3838== Web Servers 
    3939 
    4040By default, Rails will try to use Mongrel and lighttpd if they are installed, otherwise 
    41 Rails will use the WEBrick, the webserver that ships with Ruby. When you run script/server, 
     41Rails will use WEBrick, the webserver that ships with Ruby. When you run script/server, 
    4242Rails will check if Mongrel exists, then lighttpd and finally fall back to WEBrick. This ensures 
    4343that you can always get up and running quickly. 
    4444 
    45 Mongrel is a Ruby-based webserver with a C-component (which requires compilation) that is 
     45Mongrel is a Ruby-based webserver with a C component (which requires compilation) that is 
    4646suitable for development and deployment of Rails applications. If you have Ruby Gems installed, 
    4747getting up and running with mongrel is as easy as: <tt>gem install mongrel</tt>. 
    4848More info at: http://mongrel.rubyforge.org 
     
    113113 
    114114To reload your controllers and models after launching the console run <tt>reload!</tt> 
    115115 
    116 To reload your controllers and models after launching the console run <tt>reload!</tt> 
    117116 
     117== Description of Contents 
    118118 
    119  
    120 == Description of contents 
    121  
    122119app 
    123120  Holds all the code that's specific to this particular application. 
    124121 
  • railties/lib/tasks/documentation.rake

    old new  
    4646 
    4747  plugins = FileList['vendor/plugins/**'].collect { |plugin| File.basename(plugin) } 
    4848 
    49   desc "Generate documation for all installed plugins" 
     49  desc "Generate documentation for all installed plugins" 
    5050  task :plugins => plugins.collect { |plugin| "doc:plugins:#{plugin}" } 
    5151 
    5252  desc "Remove plugin documentation"