aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
* 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]
* | | Fix a few typos [ci skip]Robin Dupret2014-04-121-13/+13
| | | | | | | | | | | | This is a follow up to 545afc15.
* | | Change links to 37signals and svn blog to point to new destinations. [ci skip]Vipul A M2014-04-122-3/+3
| | |
* | | Merge pull request #14646 from deivid-rodriguez/provide_byebug_by_defaultRafael Mendonça França2014-04-111-257/+411
|\ \ \ | | | | | | | | Improve debugging support
| * | | Re-review the debugging guide.David Rodríguez de Dios2014-04-111-133/+218
| | | | | | | | | | | | | | | | Tested on a brand new app to exactly match current byebug's behaviour.
| * | | Minor fixes in the rails debugging guideDavid Rodríguez de Dios2014-04-111-2/+2
| | | |
| * | | Update debugging guide to use byebugDavid Rodríguez de Dios2014-04-081-177/+246
| | | |
* | | | Fix version indicator on guides and link to Rails 4.0 [ci skip]Rafael Mendonça França2014-04-111-1/+4
| | | |
* | | | Merge pull request #14689 from matthewd/asset_initializerRafael Mendonça França2014-04-111-4/+4
|\ \ \ \ | | | | | | | | | | Move assets precompile (and version) to an initializer
| * | | | Move assets precompile (and version) to an initializerMatthew Draper2014-04-111-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | sprockets-rails 2.1 needs the precompile list to be available in all environments.
* | | | | Merge pull request #14707 from minio-sk/fix-issue-14702Rafael Mendonça França2014-04-111-0/+2
|\ \ \ \ \ | | | | | | | | | | | | Be explicit about allowed constraint values, fixes #14702
| * | | | | Be explicit about allowed constraint values, fixes #14702Jano Suchal2014-04-111-0/+2
| | | | | |
* | | | | | Merge pull request #14705 from akshay-vishnoi/doc_changesRafael Mendonça França2014-04-111-0/+3
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Add more test case for #demodulize, Improve documentation
| * | | | | Add more test case for #demodulize, Improve documentationAkshay Vishnoi2014-04-111-0/+3
| | | | | |
* | | | | | Merge pull request #14694 from heironimus/callback_guideRafael Mendonça França2014-04-101-0/+3
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Add after_commit/after_rollback to callback list
| * | | | | Add after_commit/after_rollback to callback listKyle Heironimus2014-04-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding after_commit/after_rollback to list of callbacks in order helps explain the callback order as well as making it consistent with the API docs at http://api.rubyonrails.org/classes/ActiveRecord/Callbacks.html
* | | | | | [ci skip] Remove false documentationAkshay Vishnoi2014-04-111-14/+1
|/ / / / /
* | | | | Merge pull request #14677 from JuanitoFatas/update-initialization-code-snippetsRafael Mendonça França2014-04-101-53/+102
|\ \ \ \ \ | |/ / / / |/| | | | [ci skip] Update code snippets to latest master (initialization.md).
| * | | | [ci skip] Update code snippets to latest master (initialization.md).Juanito Fatas2014-04-101-53/+102
| | | | | | | | | | | | | | | | | | | | Also update the `server.run` example (Replace Mongrel with Puma).
* | | | | Correct factual error for page not foundParth Bharadiya2014-04-101-1/+1
|/ / / /
* | | | depend_on_asset is not required anymore on sprockets-rails 2.1.2Rafael Mendonça França2014-04-091-19/+4
| | | |
* | | | Merge pull request #14654 from Alamoz/secret_keyRafael Mendonça França2014-04-091-4/+7
|\ \ \ \ | | | | | | | | | | Expand explanation of how to set secrets.yml.