aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
Commit message (Collapse)AuthorAgeFilesLines
* Rename preview_enabled option to show_previewsRafael Mendonça França2014-07-011-2/+2
|
* Merge pull request #15970 from ↵Rafael Mendonça França2014-07-011-0/+12
|\ | | | | | | | | | | lengarvey/add_configuration_option_for_mail_preview Add configuration to enable mail previews
| * Add configuration to enable mail previewsLeonard Garvey2014-07-011-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds `config.action_mailer.preview_enabled` This allows mail previewing to be enabled easily in non-development environments such as staging. The default is set to true for development so no changes should be required to existing Rails applications. The mail preview path can still be configured using the existing `config.action_mailer.preview_path` configuration option. Adding this avoids devs from having to do stuff like: https://gist.github.com/lengarvey/fa2c9bd6cdbeba96526a Update actionmailer/CHANGELOG with new configuration. Update configuring guide with new configuratation. Add `config.action_mailer.preview_path` to configuring guide.
* | [ci skip] Add missing prologue section of upgrading ruby on rails guide.Juanito Fatas2014-07-011-0/+2
| |
* | Fix 10.3 invite_email.body assert_match example.Nick Pellant2014-06-301-1/+1
| | | | | | | | | | Currently there is no implicit conversion for Mail::Body to string therefore .to_s must be applied. This is exampled in 10.2.2.
* | Tiny documentation fixes [ci skip]Robin Dupret2014-06-291-3/+3
|/
* Merge pull request #15963 from roryokane/getting-started-guide-fix-grammarSean Griffin2014-06-281-3/+3
|\ | | | | Add punctuation and fix capitalization in Getting Started guide
| * Add punctuation and fix capitalization in Getting Started guideRory O’Kane2014-06-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Fix more small grammar mistakes in the [Getting Started guide](http://edgeguides.rubyonrails.org/getting_started.html#security), in sections 9 and 10. Specifically, within sections 9.1 “Basic Authentication”, 9.2 “Other Security Considerations”, and 10 “What's Next?”. “Rails Guides” is generally capitalized on the site, including on the linked page and in the title of the site, so I capitalized it. “The” is not part of the name of the Ruby on Rails Security Guide – “The” is not in the title on that page. And I added a missing period and a missing colon at the ends of two sentences.
* | Merge pull request #15964 from JuanitoFatas/doc/patch-01Sean Griffin2014-06-281-1/+1
|\ \ | |/ |/| [ci skip] Fix router option reference in 4.2 release notes.
| * [ci skip] Fix router option reference in 4.2 release notes.Juanito Fatas2014-06-291-1/+1
| |
* | Merge branch 'master' of github.com:rails/docrailsVijay Dev2014-06-281-3/+3
|\ \
| * | [ci skip] Add missing colon and period in initialization.md.Juanito Fatas2014-06-251-3/+3
| | |
* | | Add missing period in Getting Started guideRory O’Kane2014-06-281-1/+1
| |/ |/| | | | | Within section 5.10 Adding Some Validation
* | Merge pull request #15933 from rafael/masterRafael Mendonça França2014-06-271-0/+2
|\ \ | | | | | | | | | | | | | | | Add always permitted parameters as a configurable option. [Rafael Mendonça França + Gary S. Weaver]
| * | Improvements per code review.Rafael Chacón2014-06-271-1/+3
| | | | | | | | | | | | | | | | | | * General style fixes. * Add changes to configuration guide. * Add missing tests.
* | | Follow-up to #15215 [ci skip]Robin Dupret2014-06-273-10/+12
| | |
* | | Tiny follow-up to 1a69112Robin Dupret2014-06-271-3/+7
| | | | | | | | | | | | | | | | | | | | | Wrap list items to 80 chars and avoid relying on NOTE inside an item since they are meant to be parsed in paragraphs, not lists. [ci skip]
* | | fk: add docsYves Senn2014-06-262-58/+96
| | |
* | | Deprecate automatic counter caches on has_many :throughSean Griffin2014-06-261-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reliant on https://github.com/rails/rails/pull/15747 but pulled to a separate PR to reduce noise. `has_many :through` associations have the undocumented behavior of automatically detecting counter caches. However, the way in which it does so is inconsistent with counter caches everywhere else, and doesn't actually work consistently. As with normal `has_many` associations, the user should specify the counter cache on the `belongs_to`, if they'd like it updated.
* | | sync deprecations and removals with 4.2 release notes. [ci skip]Yves Senn2014-06-251-0/+26
| | | | | | | | | | | | | | | | | | | | | Noticed that there was no section about Action View and added the heading. Notable changes need to be compiled. /cc @chancancode @zzak
* | | synchronize Active Record deprecations / removals with 4.2 release notesYves Senn2014-06-251-0/+24
| | | | | | | | | | | | | | | | | | [ci skip] /cc @chancancode @zzak
* | | Merge pull request #15887 from RudyOnRails/patch-1Arthur Nogueira Neves2014-06-241-3/+3
|\ \ \ | | | | | | | | Improves readability of this line...
| * | | Improves readability...Kevin Musiorski2014-06-241-3/+3
| | | | | | | | | | | | | | | | [ci skip]
* | | | Merge pull request #15828 from yuki24/add-warning-about-rescue-from-exceptionSean Griffin2014-06-241-0/+2
|\ \ \ \ | | | | | | | | | | Add warning section for `rescue_from Exception` in Guides
| * | | | Add warning for `rescue_from Exception` and `rescue_from StandardError`Yuki Nishijima2014-06-191-0/+2
| | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | Merge pull request #15810 from maurogeorge/guides-rails-updateYves Senn2014-06-241-0/+23
|\ \ \ \ \ | |_|/ / / |/| | | | Add rails:update to the upgrading guides
| * | | | Add rails:update to the upgrading guidesMauro George2014-06-191-0/+23
| | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | Merge pull request #14113 from murb/patch-1Rafael Mendonça França2014-06-231-5/+6
|\ \ \ \ \ | | | | | | | | | | | | Moved explanation of `--mountable` option up
| * | | | | Moved explanation of `--mountable` option upMaarten Brouwers2014-02-191-5/+6
| | | | | | | | | | | | | | | | | | The example code uses `--mountable`. In previous version this was followed by an explanation of the `--full` option, which doesn't make sense. Later on in the text this is better explained. I moved this explanation up without repeating too much.
* | | | | | Small typoAnton Cherepanov2014-06-232-3/+3
| | | | | |
* | | | | | Merge pull request #15852 from SyntaxBlitz/masterRafael Mendonça França2014-06-231-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Change double quotes to single quotes in guide
| * | | | | | Change double quotes to single quotes in guideTimothy Aveni2014-06-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve consistency
* | | | | | | Merge pull request #15860 from aidanharan/docrails-assets-manifest-typoYves Senn2014-06-221-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | [ci skip] Added missing colon in asset manifest JSON
| * | | | | | Added missing colon in asset manifest JSON.Aidan Haran2014-06-181-1/+1
| | | | | | |
* | | | | | | :nail_care: wrap the tip from #15624 at 80 chars [ci skip]Zachary Scott2014-06-201-1/+2
| | | | | | |
* | | | | | | Merge pull request #15624 from aditya-kapoor/add-warnings-on-guidesZachary Scott2014-06-201-0/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | [ci skip] Add Tip for change_column_null and change_column_default in guides
| * | | | | | | [ci skip] Add Tip for change_column_null and change_column_default in guidesAditya Kapoor2014-06-211-0/+2
| | | | | | | |
* | | | | | | | Merge pull request #15809 from maurogeorge/guides-console-appYves Senn2014-06-201-0/+25
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | | Add to guides app and helper objects on command line
| * | | | | | | Add to guides app and helper objects on command lineMauro George2014-06-191-0/+25
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | | | Remove extra list item elementBen Hicks2014-06-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleaning up the list items that detail what an engines `--full` option generates. Joining a multiline multi list item into a multiline single list item. [ci skip]
* | | | | | | ErrorsController shouldn't inherit ApplicationController, but ↵Yuki Nishijima2014-06-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ActionController::Base Inheriting `ApplicationController` often causes an issue as it always has before/after actions. It should encourage to use `ActionController::Base` instead. [ci skip]
* | | | | | | Merge pull request #15808 from maurogeorge/guides-custom-errors-pageEileen M. Uchitelle2014-06-191-0/+55
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Create custom errors page on ActionController guides
| * | | | | | | Create custom errors page on ActionController guidesMauro George2014-06-191-0/+55
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | [ci skip]
* / / / / / / [ci skip] Fix typo in 4.1 upgrade/flash structureDan Rice2014-06-191-1/+1
|/ / / / / /
* | | | | | [ci skip] doc corrected : ActiveRecord::Base.connections to ↵Rahul P. Chaudhari2014-06-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | ActiveRecord::Base.configurations
* | | | | | docs, remove getting started guide sample application. [ci skip]Yves Senn2014-06-141-3/+2
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This application always gets out of sync and doesn't add much value. Closes #15721 /cc @rafaelfranca
* | | | | pg guide, use the term `database views` to be specific. [ci skip]Yves Senn2014-06-141-3/+3
| | | | |
* | | | | First pass at Rails 4.2 release notes [ci skip]Godfrey Chan2014-06-131-2/+2
| | | | |
* | | | | Create 4.2 release notes guide scaffold [ci skip]Zachary Scott2014-06-132-0/+249
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Point to future 4-2-stable branch for detailed changes. [ci skip] Sync Active Support changelogs with release notes [ci skip] 4.2 Release Notes is a work in progress [ci skip] Assorted fixes for AS release notes [ci skip] * `Hash#deep_transform_keys` has already been backported * Mentioning `ActiveSupport::SafeBuffer#prepend` in the "Deprecations" section would be enough * Fix syntax in `Kernel#concern` example Sync AS release notes with the latest commits [ci skip] Synced 4.2 release notes with commits in railties [ci skip] Sync AP Deprecations and Notable changes from CHANGELOG [ci skip] Removed 4.2 release notes from the index [ci skip] This deprecation was reverted in 489a8f2 [ci skip] Synced Active Record changelogs for 4.2 release notes [ci skip] Synced Active Model changelog with the release notes [ci skip] Added cc26b6b as a 'Removal' item in AP release notes [ci skip] Use 'character' instead of 'symbol' to avoid confusion [ci skip] Edit pass on 4.2 release notes [ci skip] :memo: :lipstick: Use `.xyz` and `#xyz` appropiately [ci skip]
* | | | | Copy edits from e0f3f1a [ci skip]Zachary Scott2014-06-131-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | - image_tag is an instance method - explain possible results when asset pipeline is used