aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #22053 from Empact/first-loadedYves Senn2015-12-281-0/+4
|\ | | | | | | Fix #first(limit) to take advantage of #loaded? records if available
* \ Merge pull request #22759 from akshay-vishnoi/human-size-helperEileen M. Uchitelle2015-12-271-6/+8
|\ \ | | | | | | Add support for Petabyte and Exabyte in number to human size
| * | Add support for Petabyte and Exabyte in number to human sizeAkshay Vishnoi2015-12-221-6/+8
| | |
* | | fix link to pr [ci skip]yuuji.yaginuma2015-12-271-1/+1
| | |
* | | Improve RDoc documentation of ActionDispatch::SSLTim Rogers2015-12-241-1/+1
| | |
* | | Improve documentation of config.force_ssl in guidesTim Rogers2015-12-241-2/+2
| |/ |/|
* | Improve readability of CacheHelper sectionDave Powers2015-12-231-1/+1
| | | | | | [ci skip]
* | release notes, use past tense. [ci skip]Ryuta Kamizono2015-12-241-2/+2
| |
* | release notes, Rails 5 won't support the protected_attribtues gem.Yves Senn2015-12-231-0/+3
| | | | | | | | [ci skip]
* | release notes, extracted notable changes from Active Record CHANGELOG.Yves Senn2015-12-231-1/+163
| | | | | | | | [ci skip]
* | 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] Fix typoAkshay Vishnoi2015-12-221-1/+1
| |
* | [ci skip] No more no changes entries in the CHANGELOGs (cases left in #22718)Akshay Vishnoi2015-12-221-3/+0
| |
* | [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
|
* Add CHANGELOG headers for Rails 5.0.0.beta1eileencodes2015-12-181-0/+5
|
* 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.