aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | release notes, extract notable changes from Active Model CHANGELOG.Yves Senn2015-12-231-0/+28
| | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | release notes, extract notable changes from Active Job CHANGELOG.Yves Senn2015-12-231-3/+16
| | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | release notes, extract notable changes from Active Support CHANGELOG.Yves Senn2015-12-231-1/+116
| | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | Fix typos in Rails 5.0 release notes [ci skip]Prathamesh Sonpatki2015-12-231-2/+2
| | | | |
* | | | | Fix letter case and grammar in Routing guideDave Powers2015-12-221-1/+1
|/ / / /
* | | | fixes typo in 5.0 release notesLaurier Mantel2015-12-221-1/+1
| | | |
* | | | release notes, extract notable changes from Action Mailer CHANGELOG.Yves Senn2015-12-221-1/+19
| | | | | | | | | | | | | | | | [ci skip]
* | | | release notes, extract notable changes from Action View CHANGELOG.Yves Senn2015-12-221-3/+24
| | | | | | | | | | | | | | | | [ci skip]
* | | | release notes, use past tense. [ci skip]Yves Senn2015-12-221-15/+15
| | | |
* | | | release notes, extract notable changes from Action Pack CHANGELOG.Yves Senn2015-12-221-0/+114
| | | | | | | | | | | | | | | | [ci skip]
* | | | release notes, extract notable changes from Railties CHANGELOG.Yves Senn2015-12-221-5/+49
| | | | | | | | | | | | | | | | [ci skip]
* | | | guides, restructure Rails 5.0 release notes. [ci skip]Yves Senn2015-12-222-91/+160
| | | | | | | | | | | | | | | | | | | | xref #22701. xref #20612.
* | | | Merge pull request #22701 from maclover7/rails-5-release-notesYves Senn2015-12-221-0/+188
|\ \ \ \ | | | | | | | | | | [WIP] Rails 5 release notes [ci skip]
| * | | | Add Rails 5.0 Release NotesJon Moss2015-12-211-0/+188
| | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | Merge pull request #22483 from y-yagi/use_bin_test_in_plugins_guideYves Senn2015-12-221-32/+67
|\ \ \ \ \ | | | | | | | | | | | | use `bin/test` in plugins guide [ci skip]
| * | | | | use `bin/test` in plugins guide [ci skip]yuuji.yaginuma2015-12-221-32/+67
| |/ / / / | | | | | | | | | | | | | | | | | | | | `bin/test` can use the same API as the `bin/rails test`, since it is possible to run a flexible test than rake, I think better to use a guide even `bin/test`.
* | | | | remove content_tag_for exampleRyo Hashimoto2015-12-221-7/+5
| | | | |
* | | | | corrects a typoDavid English2015-12-211-1/+1
| | | | |
* | | | | Merge pull request #22709 from ↵Rafael França2015-12-211-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | jonatack/clarify-explanation-for-new-config-halt-callback-chains Clarify config settings for AS::halt_callback_chains_on_return_false
| * | | | Clarify config settings for AS::halt_callback_chains_on_return_falseJon Atack2015-12-211-1/+1
| | | | | | | | | | | | | | | | | | | | [skip ci]
* | | | | [ci skip] `rails new project` generates README.md nowAkshay Vishnoi2015-12-211-3/+3
| | | | |
* | | | | Update README extension in Getting Started guideMatthew Conway2015-12-201-1/+1
| | | | | | | | | | | | | | | Generated Rails app READMEs are Markdown as of 9739f07d763e29b1c5d71cabf1ca8cfa4421e653
* | | | | Remove legacy mysql adapterRyuta Kamizono2015-12-211-1/+1
| | | | | | | | | | | | | | | | | | | | Follow up to #22642.
* | | | | Upgrade Guide: Add missing period, :scissors: whitespace [skip ci]Jon Atack2015-12-201-2/+2
|/ / / /
* | | / mysql2 adapter instead of mysql [ci skip]Rajarshi Das2015-12-201-1/+1
| |_|/ |/| |
* | | Merge pull request #22462 from lxsameer/i18n_html_wrapRafael França2015-12-181-0/+2
|\ \ \ | | | | | | | | wrapping i18n missing keys made optional
| * | | debug_missing_translation configuration added to action_viewSameer Rahmani2015-12-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `I18n.translate` helper will wrap the missing translation keys in a <span> tag only if `debug_missing_translation` configuration has a truthy value. Default value is `true`. For example in `application.rb`: # in order to turn off missing key wrapping config.action_view.debug_missing_translation = false
* | | | Refer to rails command instead of rake in a bunch of placesDavid Heinemeier Hansson2015-12-188-26/+26
|/ / / | | | | | | | | | Still more to do. Please assist!
* | | Fix section about ApplicationRecord in upgrading guide [ci skip]Prathamesh Sonpatki2015-12-171-4/+4
| | |
* | | ApplicationRecord release notes entryGenadi Samokovarov2015-12-171-0/+19
| | | | | | | | | | | | [ci skip]
* | | ApplicationRecord documentation passGenadi Samokovarov2015-12-1713-162/+163
| | | | | | | | | | | | | | | | | | | | | This is a pass over the documentation which fills the missing gaps of `ApplicationRecord`. [ci skip]
* | | Fix documentation about ApplicationRecordRafael Mendonça França2015-12-161-1/+1
| | | | | | | | | | | | [ci skip]
* | | Merge pull request #22506 from derekprior/dp-redirect_to_back_or_defaultSean Griffin2015-12-162-3/+6
|\ \ \ | | | | | | | | Add `redirect_to_back_or_default`
| * | | Deprecate `redirect_to :back`Derek Prior2015-12-161-9/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Applications that use `redirect_to :back` can be forced to 500 by clients that do not send the HTTP `Referer` (sic) header. `redirect_back` requires the user to consider this possibility up front and avoids this trivially-caused application error.
| * | | Add `redirect_back` for safer referrer redirectsDerek Prior2015-12-162-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `redirect_to :back` is a somewhat common pattern in Rails apps, but it is not completely safe. There are a number of circumstances where HTTP referrer information is not available on the request. This happens often with bot traffic and occasionally to user traffic depending on browser security settings. When there is no referrer available on the request, `redirect_to :back` will raise `ActionController::RedirectBackError`, usually resulting in an application error. `redirect_back` takes a required `fallback_location` keyword argument that specifies the redirect when the referrer information is not available. This prevents 500 errors caused by `ActionController::RedirectBackError`.
* | | | Merge pull request #22567 from gsamokovarov/introduce-application-recordRafael França2015-12-167-132/+148
|\ \ \ \ | |/ / / |/| | | Introduce ApplicationRecord, an Active Record layer supertype
| * | | Introduce ApplicationRecord, an Active Record layer supertypeGenadi Samokovarov2015-12-167-132/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's pretty common for folks to monkey patch `ActiveRecord::Base` to work around an issue or introduce extra functionality. Instead of shoving even more stuff in `ActiveRecord::Base`, `ApplicationRecord` can hold all those custom work the apps may need. Now, we don't wanna encourage all of the application models to inherit from `ActiveRecord::Base`, but we can encourage all the models that do, to inherit from `ApplicationRecord`. Newly generated applications have `app/models/application_record.rb` present by default. The model generators are smart enough to recognize that newly generated models have to inherit from `ApplicationRecord`, but only if it's present.
* | | | Merge pull request #22611 from existent-co-uk/patch-1Rafael França2015-12-161-2/+2
|\ \ \ \ | | | | | | | | | | Fix a couple of grammatical errors in security.md
| * | | | Fix a couple of grammatical errors in security.mdExistent Ltd2015-12-161-2/+2
| |/ / /
* / / / Mention the correct way to halt callback chainsCarlos Souza2015-12-161-1/+1
|/ / / | | | | | | | | | | | | The previous title was misleading. [ci skip]
* | | Use a real migration version number in docsMatthew Draper2015-12-154-35/+35
| | | | | | | | | | | | | | | Even though this means more things to change when we bump after a release, it's more important that our examples are directly copyable.
* | | Use a deliberately-invalid migration version in all doc examplesMatthew Draper2015-12-154-35/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we use a real version, at best that'll be an onerous update required for each release; at worst, it will encourage users to write new migrations against an older version than they're using. The other option would be to leave these bare, without any version specifier. But as that's just a variant spelling of "4.2", it would seem to raise the same concerns as above.
* | | Merge branch 'rails-rake-proxy'Kasper Timm Hansen2015-12-131-5/+7
|\ \ \
| * | | Implement Rake proxy for Rails' command line interface.Dharam Gollapudi2015-12-131-5/+7
|/ / / | | | | | | | | | | | | | | | | | | Allows any Rake task to be run through `bin/rails` such as `bin/rails db:migrate`, `bin/rails notes` etc. The Rake tasks are appended to Rails' help output, and blend in as standard commands.
* | | Merge pull request #22572 from prathamesh-sonpatki/fix-paintit-method-in-guidesArthur Nogueira Neves2015-12-131-2/+2
|\ \ \ | | | | | | | | Fix paintIt method in JavaScript guides [ci skip]
| * | | Fix paintIt method in JavaScript guides [ci skip]Prathamesh Sonpatki2015-12-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | - Changed "paintIt" to "@paintIt" so that it can be called in an on click handler. - Closes #22568
* | | | let config.file_watcher be the way to enable the evented file watcherXavier Noria2015-12-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this commit, the sole presence of the Listen constant enabled the evented file watcher (unless listen resorted to the polling backend). This way, applications may depend on listen for other stuff independently of this feature. Also, allows teams with mixed setups to decide at boot time whether the evented watcher should be enabled for each particular instance.
* | | | [ci skip] Fix articles spelling.Kasper Timm Hansen2015-12-131-1/+1
| | | | | | | | | | | | Tiny typo in the testing guide; articules should be articles.
* | | | Remove ActionController::TestCase from documentationeileencodes2015-12-123-34/+34
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Rails 5.1 `ActionController::TestCase` will be moved out of Rails into it's own gem. Please use `ActionDispatch::IntegrationTest` going foward. Because this will be moved to a gem I used `# :stopdoc:` instead of deleting the documentation. This will remove it from the Rails documentation but still leave the method documented for when we move it to a gem. Guides have been updated to use the routing structure used in Integration and all test examples have been updated to inherit from `ActionDispatch::IntegrationTest` instead of `ActionController::TestCase. Fixes #22496
* | | Merge pull request #22554 from y-yagi/fix_link_to_cocRafael França2015-12-111-1/+1
|\ \ \ | | | | | | | | fix links to code of conduct [ci skip]