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 82 82 # Here are some basic examples: 83 83 # 84 84 # xml.em("emphasized") # => <em>emphasized</em> 85 # xml.em { xml.b("emp & bold") } # => <em><b>emph & bold</b></em>85 # xml.em { xml.b("emph & bold") } # => <em><b>emph & bold</b></em> 86 86 # xml.a("A Link", "href"=>"http://onestepback.org") # => <a href="http://onestepback.org">A Link</a> 87 87 # xml.target("name"=>"compile", "option"=>"fast") # => <target option="fast" name="compile"\> 88 88 # # NOTE: order of attributes is not specified. -
actionpack/lib/action_view/compiled_templates.rb
old new 1 2 1 module ActionView 3 2 4 3 # CompiledTemplates modules hold methods that have been compiled. … … 40 39 # Compile the provided source code for the given argument names and with the given initial line number. 41 40 # The identifier should be unique to this source. 42 41 # 43 # The file_name, if provided will appear in backtraces. If not prov ded, the file_name defaults42 # The file_name, if provided will appear in backtraces. If not provided, the file_name defaults 44 43 # to the identifier. 45 44 # 46 45 # This method will return the selector for the compiled version of this method. -
actionpack/install.rb
old new 4 4 5 5 include Config 6 6 7 # this was adapted from rdoc's install.rb by way sof Log4r7 # this was adapted from rdoc's install.rb by way of Log4r 8 8 9 9 $sitedir = CONFIG["sitelibdir"] 10 10 unless $sitedir … … 18 18 end 19 19 end 20 20 21 # the ac ual gruntwork21 # the actual gruntwork 22 22 Dir.chdir("lib") 23 23 24 24 Find.find("action_controller", "action_controller.rb", "action_view", "action_view.rb") { |f| -
railties/README
old new 25 25 link:files/vendor/rails/actionpack/README.html. 26 26 27 27 28 == Getting started28 == Getting Started 29 29 30 1. At the command prompt, start a new rails application using the railscommand31 and your application name. Ex: rails myapp32 (If you've downloaded rails in a complete tgz or zip, this step is already done)30 1. 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) 33 33 2. Change directory into myapp and start the web server: <tt>script/server</tt> (run with --help for options) 34 34 3. Go to http://localhost:3000/ and get "Welcome aboard: Youâre riding the Rails!" 35 35 4. Follow the guidelines to start developing your application … … 38 38 == Web Servers 39 39 40 40 By default, Rails will try to use Mongrel and lighttpd if they are installed, otherwise 41 Rails will use theWEBrick, the webserver that ships with Ruby. When you run script/server,41 Rails will use WEBrick, the webserver that ships with Ruby. When you run script/server, 42 42 Rails will check if Mongrel exists, then lighttpd and finally fall back to WEBrick. This ensures 43 43 that you can always get up and running quickly. 44 44 45 Mongrel is a Ruby-based webserver with a C -component (which requires compilation) that is45 Mongrel is a Ruby-based webserver with a C component (which requires compilation) that is 46 46 suitable for development and deployment of Rails applications. If you have Ruby Gems installed, 47 47 getting up and running with mongrel is as easy as: <tt>gem install mongrel</tt>. 48 48 More info at: http://mongrel.rubyforge.org … … 113 113 114 114 To reload your controllers and models after launching the console run <tt>reload!</tt> 115 115 116 To reload your controllers and models after launching the console run <tt>reload!</tt>117 116 117 == Description of Contents 118 118 119 120 == Description of contents121 122 119 app 123 120 Holds all the code that's specific to this particular application. 124 121 -
railties/lib/tasks/documentation.rake
old new 46 46 47 47 plugins = FileList['vendor/plugins/**'].collect { |plugin| File.basename(plugin) } 48 48 49 desc "Generate docum ation for all installed plugins"49 desc "Generate documentation for all installed plugins" 50 50 task :plugins => plugins.collect { |plugin| "doc:plugins:#{plugin}" } 51 51 52 52 desc "Remove plugin documentation"