aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
* Added link for 4.1 guides on edge guide [ci skip]Arun Agrawal2014-05-021-0/+3
|
* Follow up to 38ad5438 [ci skip]Robin Dupret2014-05-021-27/+36
| | | | | | | | | | | | | | This commit adds new lines between titles, paragraphs and code blocks for an easier reading. Moreover, in order to be consistent with the other guides, let's remove the sharps on the right side of the different titles. The "Running a Single Test" part was also explained after the "Testing Active Record" one which shows how to run a single test under the scope of a specific adapter. Finally, let's explain the `-n` option to run a specific test method.
* [ci skip] Security guide clarity.Kyle Heironimus2014-05-011-2/+2
|
* the use of ... in place >> using ... insteadJon Atack2014-04-301-2/+2
| | | [ci skip]
* Update the Getting Started tutorialJon Atack2014-04-291-36/+159
| | | | | | | | Update the Getting Started tutorial to clarify where and how to add controller actions, and fix some grammar. This PR is an improved version of #14828, #14822 and #14815. [skip ci]
* Added a missing `end`Alejandro Andrés2014-04-281-0/+1
|
* Revert "Don't rely on Arel master in bug report template [ci skip]"Godfrey Chan2014-04-271-0/+1
| | | | | | This reverts commit fd6d7835. We are back on arel master, see b395265f.
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2014-04-271-1/+1
|\
| * Revert "Running AR tests on postgres, mysql & sqlite"Vijay Dev2014-04-271-5/+10
| | | | | | | | | | | | | | | | This reverts commit 28bd442034e0974d0a4d664076dafb8e9555816d. Reason: Existing text was clearer imo. [ci skip]
| * Running AR tests on postgres, mysql & sqliteGaurish Sharma2014-04-211-10/+5
| | | | | | [ci skip]
| * Remove reference to outdated section Gaurish Sharma2014-04-201-1/+1
| | | | | | [ci skip]
* | Merge pull request #14872 from jonatack/patch-7Vijay Dev2014-04-271-6/+11
|\ \ | | | | | | Grammar and formatting fixes in Form Helpers Guide
| * | Grammar and formatting fixes in Form Helpers GuideJon Atack2014-04-251-6/+11
| | | | | | | | | | | | | | | Improved version of #14851 after helpful feedback from @robin850 and @matthewd. [skip ci]
* | | Fix code & grammar in Form Helpers GuideJon Atack2014-04-251-5/+5
|/ / | | | | in the "Forms to External Resources" section [skip ci]
* | Improve readability of contributing to rails guide. [ci skip]Guo Xiang Tan2014-04-231-5/+5
| |
* | Fix run-on sentences and improve grammar [skip ci]Jon Atack2014-04-221-8/+8
| |
* | Merge pull request #14820 from akshay-vishnoi/doc_changesRichard Schneeman2014-04-203-4/+4
|\ \ | | | | | | [ci skip] builtin -> built-in
| * | [ci skip] builtin -> built-inAkshay Vishnoi2014-04-203-4/+4
| | |
* | | Fix code indentation and improve formattingJon Atack2014-04-201-47/+63
|/ / | | | | | | | | | | | | in the Getting Started Guide. This PR regroups #14817, #14818 and #14819 into one commit. [skip ci]
* | Grammar fix in Getting Started GuideJon Atack2014-04-201-1/+1
| |
* | Remove statement assuming coffee shop/public space wifi is inherently insecureNick Quaranto2014-04-191-1/+1
| |
* | Don't rely on Arel master in bug report template [ci skip]Robin Dupret2014-04-191-1/+0
| | | | | | | | | | | | We should rely instead on the version supported by Active Record Closes #14809
* | Merge pull request #14804 from akshay-vishnoi/doc_changesArthur Nogueira Neves2014-04-191-1/+1
|\ \ | | | | | | "subhash" --> "sub-hash"
| * | "subhash" --> "sub-hash"Akshay Vishnoi2014-04-191-1/+1
| |/
* / wrap methods in backticks [ci skip]Anton Kalyaev2014-04-191-2/+2
|/
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2014-04-186-118/+146
|\
| * Fix spelling and proper nounsSteven Harman2014-04-172-5/+5
| | | | | | | | [ci skip]
| * [ci skip] document `statement_limit` schneems2014-04-151-1/+11
| | | | | | | | | | Per discussion at https://github.com/rails/rails/issues/14645#issuecomment-40499409
| * [ci skip] PP does not generate pass by defaultschneems2014-04-151-2/+0
| | | | | | | | This was changed in https://github.com/rails/rails/pull/13415/files
| * Fix spelling errors and grammar issuesSteven Harman2014-04-131-8/+11
| | | | | | | | | | | | Including replacing a few "smart quotes" with regular quotes (' and "), for consistency. [ci skip]
| * Fix a few grammar issues. [ci skip]Steven Harman2014-04-111-5/+4
| |
| * Use path where extensions are defined, not usedSteven Harman2014-04-111-3/+3
| | | | | | | | | | | | | | For consistency with all other documentation, point to where these core extensions are defined, not where the example code comes from. [ci skip]
| * Instead boat load of libraries, simply say StdLibGaurish Sharma2014-04-091-1/+1
| |
| * Improve Contributing to Rails GuideGaurish Sharma2014-04-061-104/+122
| | | | | | Logically group the content, so it makes more sense if someone tries to read from start of page to end of page. [ci skip]
* | :uglify -> :uglifierBrad Dunbar2014-04-181-1/+1
| | | | | | | | | | The name of the gem is `uglifier` and all other references use `uglifier`, not `uglify`.
* | Include default rails protect_from_forgery with: :exceptionPaulL12014-04-171-4/+4
| | | | | | | | | | | | Extend previous changes, include the default line from the application controller that new rails applications are created with: protect_from_forgery with: :exception Minor wording changes to align.
* | CSRF protection should rescue exception not extendPaulL12014-04-171-3/+2
| | | | | | | | | | I think the changes to the default behaviour mean that rails will throw an exception when an invalid authenticity token is found. The previous proposed code of calling super then sign_out meant that sign_out was never reached - the exception handler never returned. I think the best approach now is to catch the exception, although I'm not 100% certain on that.
* | [skip ci] Reorder i18n guideKyle Heironimus2014-04-161-54/+54
| | | | | | | | | | | | | | | | | | | | Currently, the section called "How to store your custom translations" has several subheadings that make no sense, such as "Translations for ActiveRecord models." These make more sense under the "Overview of the I18n API Features" section. I moved the "How to store..." section down to the more appropriate sub-headings "Using Different Backends" and "Using Different Exception Handlers" and removed the "Customize your i18n setup" header.
* | Merge pull request #11836 from mcfiredrill/engines-testing-docArthur Nogueira Neves2014-04-161-0/+10
|\ \ | | | | | | additional note about routes in functional tests for engines [ci skip]
| * | additional note about routes in functional tests for engines [ci skip]Tony Miller2013-08-101-0/+10
| | |
* | | [ci skip] Avoid suggesting dangerous code in i18n guideMike MacDonald2014-04-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Calling `to_sym` on user input opens apps up to Denial of Service attacks, via the symbol table being expanded to consume vast swathes of memory. It is a fairly common configuration to have DNS configured such that all subdomains route to your Rails app, in which case an attacker visits `www1.foo.com`, `www2.foo.com`, and so on until something gives. It is far less likely to have this problem with TLDs, so that change was only for consistency.
* | | [ci skip] Add missing end in one of the examples in Migrations.md.Juanito Fatas2014-04-151-0/+1
| | |
* | | Merge pull request #14729 from akshay-vishnoi/doc_changesRichard Schneeman2014-04-141-3/+3
|\ \ \ | | | | | | | | [ci skip] Improve doc, fix grammatical issue
| * | | [ci skip] Improve doc, fix grammatical issueAkshay Vishnoi2014-04-131-3/+3
| | | |
* | | | [ci skip] Added link to ruby-lang.org installation.ZENATI YASSINE2014-04-141-1/+1
| | | |
* | | | - Fix lingering reference to `:text` instead of the newer `:plain`Christopher Owen2014-04-141-2/+2
| | | | | | | | | | | | | | | | - Section references `form_tag` instead of the `form_for` used in the example
* | | | Disable assest cache store in docs [ci skip]Nick Borromeo2014-04-131-0/+8
| | | |
* | | | [ci skip] Use plain underscore instead of "\_".Juanito Fatas2014-04-134-5/+5
| | | |
* | | | Update documentation to use Rails.application insteadMarcel Morgan2014-04-1315-22/+21
|/ / / | | | | | | | | | | | | | | | | | | References to ``AppName::Application` removed in favour of ``Rails.application`` as generated with a new rails 4.1 app. [ci skip]
* | | Missing 'are' in note - [ci skip]Afshin Mokhtari2014-04-121-1/+1
| | | | | | | | | This is in the note at the end of Section 2: Controller Naming Convention. [ci skip]