aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #11218 from kaspth/loofah-integrationRafael Mendonça França2014-07-101-4/+4
|\ | | | | | | | | | | | | | | Loofah-integration Conflicts: actionpack/CHANGELOG.md actionview/CHANGELOG.md
| * Readded some documentation about substitution values.Timm2014-06-161-3/+3
| |
| * Updated testing guide to reflect changes in ActionDispatch::SelectorAssertions.Timm2014-06-151-3/+3
| |
* | [ci skip] Fixed link to strong params in Getting Started section 5.6.JayK312014-07-091-2/+1
| |
* | [ci skip] Document millisecond precision change in ↵Eugene Gilburg2014-07-091-2/+12
| | | | | | | | ActiveSupport::TimeWithZone#as_json
* | [ci skip] Fix 4.2 release notes list items. [Matthew Draper & Juanito Fatas]Juanito Fatas2014-07-091-34/+41
| |
* | [ci skip] Fix 4.2 release notes rendered display.Juanito Fatas2014-07-091-31/+29
| |
* | Merge pull request #16097 from nishantmodak/correct_mdZachary Scott2014-07-0811-32/+28
|\ \ | | | | | | correct markdown usage [ci skip]
| * | correct markdown usage [ci skip]Nishant Modak2014-07-0911-32/+28
| | |
* | | Merge pull request #16086 from nickpellant/masterEileen M. Uchitelle2014-07-071-0/+14
|\ \ \ | | | | | | | | Add callbacks documentation for upgrading to 4.1.
| * | | [ci skip] Improve callback code example for 4.1 upgrade docs.Nick Pellant2014-07-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | The previous code example for the new explicit block requirement when setting callbacks was a little confusing. This commit makes the example more obvious.
| * | | Add callbacks documentation for upgrading to 4.1.Nick Pellant2014-07-071-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | It is now expected in 4.1 to use an explicit block rather than implicit when setting callbacks through ActiveSupport::Callbacks. This commit highlights this new expectation as part of the upgrading documentation.
* | | | Update Rails versions [ci skip]Robin Dupret2014-07-075-19/+19
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As discussed in #15304, we need to automate this process but for now, having out-of-date versions is not ideal. Since master targets 4.2.0, let's also update references to the last 4.1 version to 4.2.0. Finally, let's remove mentions to versions when this is not needed. The guides cover the features of the current version anyway. [Juanito Fatas + Robin Dupret]
* | | Merge pull request #15958 from aditya-kapoor/active-model-naming-guideRobin Dupret2014-07-061-0/+23
|\ \ \ | | | | | | | | [ci skip] add guide for ActiveModel::Naming
| * | | [ci skip] add guide for ActiveModel::NamingAditya Kapoor2014-07-051-0/+23
| | | |
* | | | Merge pull request #16044 from jjb/patch-1Zachary Scott2014-07-051-1/+1
|\ \ \ \ | | | | | | | | | | [ci skip] link directly to ActionMailer Previews documentation
| * | | | link directory to ActionMailer Previews documentationJohn Bachir2014-07-031-1/+1
| | | | |
* | | | | [ci skip] Concludes changelog links in the bottom.Juanito Fatas2014-07-061-18/+14
| | | | | | | | | | | | | | | | | | | | This way when we do next release notes, this would be easier to copy and change.
* | | | | Only reference time specific methods in the time section [ci skip]Sean Griffin2014-07-051-2/+2
| | | | |
* | | | | Remove *all* references to `Time.yesterday` [ci skip]Sean Griffin2014-07-051-1/+1
| | | | |
* | | | | `Time.today` -> `Date.today` in guides. [ci skip]Sean Griffin2014-07-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Removed mentions of non-existent methods, also added a mention for `Date.current`, which is analagous to `Time.current`. Closes #16061.
* | | | | Add release notes entry for #15819 [ci skip]Sean Griffin2014-07-041-0/+5
| | | | |
* | | | | CHANGELOG and release notes entry for #16056Sean Griffin2014-07-041-0/+4
| | | | |
* | | | | Merge pull request #16040 from seuros/patch-1Matthew Draper2014-07-051-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Add arel to the controller template [ci skip]
| * | | | | Add arel to the controller templateAbdelkader Boudih2014-07-031-0/+1
| |/ / / /
* / / / / [ci skip] /javascript/ -> JavaScript - cover whole appAkshay Vishnoi2014-07-041-2/+2
|/ / / /
* | | | Fix guide. sample code syntax error.[ci skip]tbpgr2014-07-041-1/+1
| | | |
* | | | [ci skip] Changes some wording to better foreshadow what is coming up later.Michael Mitchell2014-07-021-8/+10
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | This should prevent some anxiety readers may experience when the doc goes into something different than what it just explained. Also clarifies a statement about priority in engines and application environments [ci skip] fixes double `the` [ci skip] more clarifications [ci skip] changes from tics to quotes
* | | 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
| | | |
* | | | Quick pass through Active Support and guides CHANGELOGRobin Dupret2014-06-291-3/+3
|/ / / | | | | | | | | | [ci skip]
* | | 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
| | | | |
* | | | | Merge pull request #15955 from JuanitoFatas/levenshtein-guideGuillermo Iguaran2014-06-281-21/+29
|\ \ \ \ \ | | | | | | | | | | | | Update the levenshtein distance method in guides.
| * | | | | Update the levenshtein distance method in guides.Juanito Fatas2014-06-281-21/+29
| | |/ / / | |/| | |
* / | | | 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.