aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Moved encoding work in progress to a feature branch."wycats2010-05-171-0/+21
| | | | This reverts commit ade756fe42423033bae8e5aea8f58782f7a6c517.
* Moved encoding work in progress to a feature branch.Jeremy Kemper2010-05-161-21/+0
| | | | This reverts commits af0d1a88157942c6e6398dbf73891cff1e152405 and 64d109e3539ad600f58536d3ecabd2f87b67fd1c.
* Significantly improved internal encoding heuristics and support.wycats2010-05-161-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | * Default Encoding.default_internal to UTF-8 * Eliminated the use of file-wide magic comments to coerce code evaluated inside the file * Read templates as BINARY, use default_external or template-wide magic comments inside the Template to set the initial encoding * This means that template handlers in Ruby 1.9 will receive Strings encoded in default_internal (UTF-8 by default) * Create a better Exception for encoding issues, and use it when the template source has bytes that are not compatible with the specified encoding * Allow template handlers to opt-into handling BINARY. If they do so, they need to do some of their own manual encoding work * Added a "Configuration Gotchas" section to the intro Rails Guide instructing users to use UTF-8 for everything * Use config.encoding= in Ruby 1.8, and raise if a value that is an invalid $KCODE value is used Also: * Fixed a few tests that were assert() rather than assert_equal() and were caught by Minitest requiring a String for the message * Fixed a test where an assert_select was misformed, also caught by Minitest being more restrictive * Fixed a test where a Rack response was returning a String rather than an Enumerable
* I have updated the documentation according to ticket #4263 about fixtures ↵Franck Verrot2010-05-161-1/+9
| | | | | | and set_fixture_class Signed-off-by: José Valim <jose.valim@gmail.com>
* Reorganized initializers a bit to enable better hooks for common cases ↵wycats2010-05-151-2/+0
| | | | | | | | | | | | | | | without the need for Railtie. Specifically, the following hooks were added: * before_configuration: this hook is run immediately after the Application class comes into existence, but before the user has added any configuration. This is the appropriate place to set configuration for your plugin * before_initialize: This is run after all of the user's configuration has completed, but before any initializers have begun (in other words, it runs right after config/environments/{development,production,test}.rb) * after_initialize: This is run after all of the initializers have run. It is an appropriate place for forking in a preforking setup Each of these hooks may be used via ActiveSupport.on_load(name) { }. In all these cases, the context inside the block will be the Application object. This means that for simple cases, you can use these hooks without needing to create a Railtie.
* defines prev_(month|year) in Date and Time to ease transition to 1.9, and ↵Xavier Noria2010-05-121-9/+13
| | | | deprecates last_(month|year)
* AS guide: more date calculation utilitiesXavier Noria2010-05-091-1/+59
|
* AS guide: you know, the 10th is not NovemberXavier Noria2010-05-091-1/+1
|
* AS guide: adds a catchall note about date calculations around the calendar ↵Xavier Noria2010-05-091-0/+2
| | | | reform
* Updates bundler information, now bundler has a homepageSantiago Pastorino2010-05-081-1/+1
|
* AS guide: documents some Date calculations (calendar reform details pending)Xavier Noria2010-05-091-2/+49
|
* migration, correct file and created a code sample out of it.Rohit Arondekar2010-05-071-1/+5
|
* Migrations, rewrote a sentence for clarity.Rohit Arondekar2010-05-061-1/+1
|
* Updated guide to inform issues with unsupported Ruby versions.Anil Wadghule2010-05-061-0/+3
|
* image_tag should be audio_tag, and change typo 'image' to 'audio file'Josiah Ivey2010-05-041-2/+2
|
* typo "<image />" -> "<img />", and typo 'follow' -> 'following'mica eked2010-05-041-2/+2
|
* typo 'main.cs' -> 'main.css', and textile typo 'h6(:has_many-group)' -> ↵logylaps2010-05-043-3/+3
| | | | 'h6(#has_many-group)', and typo. missing 'if'
* grammatical error 'uses' -> 'use'Joe Hannon2010-05-041-1/+1
|
* Favor %{} in all code instead of (deprecated) {{}} as interpolation syntax ↵Lawrence Pit2010-05-032-17/+17
| | | | | | for I18n Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge commit 'rails/master'Xavier Noria2010-05-012-21/+15
|\ | | | | | | | | Conflicts: railties/guides/source/index.html.erb
| * guides index: punctuationXavier Noria2010-04-301-1/+1
| |
| * Add generators to the guides and break out an extensions sectionwycats2010-04-302-12/+24
| |
| * Updated the generators guide.José Valim2010-04-301-20/+14
| |
* | fix formateparreno2010-04-301-30/+30
| |
* | Add generators to the guides and break out an extensions sectionwycats2010-04-302-12/+24
| |
* | more fixes and updated the changelogrohit2010-04-301-4/+5
| |
* | fixes to tags sectionrohit2010-04-301-4/+13
| |
* | Rewrote Security para and a minor fixrohit2010-04-301-2/+2
| |
* | Rewrote para for clarity and better readingRohit Arondekar2010-04-291-1/+1
| |
* | as changes named routes, path is the appropriate option in this caseSantiago Pastorino2010-04-291-1/+1
| |
* | Change %5b ([) to %5d (]) in escaped URLTore Darell2010-04-291-1/+1
| |
* | Replace send_data with send_file in "Sending files" exampleTore Darell2010-04-291-1/+1
| |
* | revert back to <b> tags instead of <strong> tags in the getting started guiderohit2010-04-291-29/+29
|/
* readability fixes to two paras in Refactorizationrohit2010-04-281-2/+2
|
* replaced <b> tag with <strong> tag in samplesrohit2010-04-281-29/+29
|
* fixed para for better readabilityrohit2010-04-281-1/+1
|
* Fixed incomplete pararohit2010-04-281-1/+1
|
* added notice to all samples of show.html.erb of posts controllerrohit2010-04-281-0/+14
|
* added views dir to list of created thingsrohit2010-04-281-1/+2
|
* release notes: updates path to the rails command in the Rails repoXavier Noria2010-04-271-1/+1
|
* fix font formats and code examples indentationeparreno2010-04-261-17/+17
|
* the names of Rails components have a space, eg "Active Record"Xavier Noria2010-04-254-83/+83
|
* Fixing typo in guide, updating ActionMailer description and making the ↵Mikel Lindsaar2010-04-252-6/+7
| | | | contributors list alphabetical
* Merge branch 'master' of github.com:lifo/docrailsMikel Lindsaar2010-04-257-83/+75
|\
| * Removed mentions of controller specific layouts. Ticket Ref: ↵Rohit Arondekar2010-04-241-6/+5
| | | | | | | | http://bit.ly/9dqvBI
| * Replaced f.error_messages with the new code as generated by rails 3 b3Rohit Arondekar2010-04-201-1/+10
| |
| * minor fix and re-organized description of index actionRohit Arondekar2010-04-201-2/+2
| |
| * Changed versions to ruby 1.8.7 and Rails 3.0.0Santiago Pastorino2010-04-191-10/+10
| |
| * Rails 3.0.0 version bootup messagesSantiago Pastorino2010-04-191-6/+7
| |
| * let's talk about the same pathSantiago Pastorino2010-04-191-3/+3
| |