aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
* Changed behaviour of timestamps helper by create_table migration generator ↵Mehmet Emin İNAÇ2016-03-031-1/+1
| | | | [ci skip]
* Merge pull request #23936 from yui-knk/local_constants_to_be_publicRafael Mendonça França2016-03-011-23/+0
|\ | | | | | | Deprecate `Module.local_constants`
| * Deprecate `Module.local_constants`yui-knk2016-03-011-23/+0
| | | | | | | | | | After Ruby 1.9, we can easily get the constants that have been defined locally by `Module.constants(false)`.
* | Merge pull request #23417 from sgringwe/masterRafael Mendonça França2016-03-011-0/+2
|\ \ | | | | | | | | | Add option to error on ignored order or limit
| * | Add initial support for allowing an error on order or limit of queries being ↵Scott Ringwelski2016-02-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ignored in batches add some documentation and add 4 tests regarding error vs. warning behavior fix a typo when referring to the message go back to default in tests so that ordering is not important. use a constant instead of method. fix assert_nothing_raised call. use self.klass to allow per class configuration remove logger warn assets as that is tested elsewhere. pass error_on_ignore through find_each and find_in_batches also. add blocks to the finds so that the code is actually executed put the setting back to default in an ensure Add a changelog entry
* | | Merge pull request #23957 from delftswa2016/fix-documentation-stylesheetArthur Nogueira Neves2016-02-291-1/+1
|\ \ \ | | | | | | | | Fix value of CSS background-color property in Ruby on Rails guide
| * | | Fix value of CSS background-color property in Rails guideBas van IJzendoorn2016-02-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change background-color value to transparent, which is the default value of background-color. [ci skip]
* | | | Fix typos in Action View Overview guideBas van IJzendoorn2016-02-291-5/+5
|/ / / | | | | | | | | | | | | | | | This patch fixes some typos in the Action View Overview section of the Rails guide. [ci skip]
* | | Fix formatting in Action Cable guide [ci skip]Prathamesh Sonpatki2016-02-281-0/+1
| | |
* | | Fix merge conflict in Action Cable guide [ci skip]Prathamesh Sonpatki2016-02-281-5/+2
| | |
* | | Further cleanup of the cable guideDavid Heinemeier Hansson2016-02-281-100/+51
| | |
* | | Merge pull request #23943 from y-yagi/remove_rake_wordप्रथमेश Sonpatki2016-02-282-4/+4
|\ \ \ | | | | | | | | remove "rake" word [ci skip]
| * | | remove "rake" word [ci skip]yuuji.yaginuma2016-02-282-4/+4
| | | |
* | | | Fix typos in Action Cable guide [ci skip]Prathamesh Sonpatki2016-02-281-25/+25
| | | |
* | | | Merge pull request #23176 from davidkuhta/patch-1David Heinemeier Hansson2016-02-281-0/+671
|\ \ \ \ | |/ / / |/| | | Guide for Action Cable
| * | | Header TypoDavid Kuhta2016-02-231-1/+1
| | | |
| * | | `stream_for` exampleDavid Kuhta2016-02-231-0/+15
| | | |
| * | | Explicitly denote that channel.rb is a default file.David Kuhta2016-02-231-2/+2
| | | |
| * | | Change ActionCable.server.broadcast to XChannel.broadcast_toDavid Kuhta2016-02-231-10/+7
| | | | | | | | | | | | Using broadcast directly off server is not recommended
| * | | Create action_cable_overview.md resolves #23176 [ci skip]David Kuhta2016-02-141-0/+659
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rails Guide for Action Cable Added content from README Pull additional information from Action Cable README and restructured Client/Server elements Update to list numbering Switched from list numbers to headings in the examples Change AppearancesChannel to AppearanceChannel Word missing fixed missing word. Removed Mistaken nesting of Channel class Removed nesting of ChatChannel and AppearanceChannel from within ApplicationChannel Module. (Copy&Paste error) Incorporated first round of comments 1. Capitalize "action cable" 2. Separated "Consumers require... via JavaScript" into two sentences 3. Minor typographical correction (remember...) 4. Extra backtick 5. Revised text which implied Redis was the exclusive storage adapter to reflect it's position as default. 6. Revised reference to denote correct config file location: config/cable.yml 7. Added adapter: redis to environment configuration blocks 8. Capitalized "R" for "Rack" 9. Revised syntax for routing to reflect the hash syntax. (to: NOT :to =>) 10. Removed reference to Action Cable being separate from Rails. 11. Began revision for adapter API [I believe this requires a reformatting of the 'Redis' portion of the configuration section to simply "Storage Adapters"] 12. Celluloid -> Concurrent-ruby Moved errant grave mark [ci skip] Reordered "In App" above "Standalone" [ci skip] Reordered to reflect "In App" as preferable to "Standalone" Action Cable Deployment [ci skip] Removed paragraph that alludes to Action Cable not being able to run in the same process as Rails. Removed EM reference and updated deployment [ci skip] Removed explicit multi-threaded server dependency reference [ci skip] Revised Configuration and fixed typos [ci skip] Switched Lifecycle Graphic for Detailed Description [ci skip] Switched from Lifecycle graphic to detailed description to facilitate revision and maintainability in the future. Capitalized Heading (typo) [ci skip] Implemented merged commits from README [ci skip] Pulled over all (or at least I believe all) merged commits from README. (Dec 14, 2015 - Feb 11, 2016) Editorial - Capitalize WebSockets [ci skip] Reformated lines to ~75 characters [ci skip]
* | | | use `app:update` instead of deprecated `rails:update` [ci skip]yuuji.yaginuma2016-02-281-2/+2
| | | | | | | | | | | | | | | | `rails:update` was deprecated in 6fb31638c8b61731103d4963272755b217a2df87
* | | | Merge pull request #23933 from HayleyCAnderson/ha-action-cable-docs-fixesJon Moss2016-02-271-2/+2
|\ \ \ \ | | | | | | | | | | [ci skip] Add small Action Cable documentation fixes
| * | | | Add small Action Cable documentation fixesHayley Anderson2016-02-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | * Fix typos/grammar errors * Make capitalization/naming consistent
* | | | | Update docs to point to new update task.Arthur Neves2016-02-271-3/+3
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This guides were pointing to this command `rails app:update`, which I tried to run, but it didnt worked. I think the right command is `rails rails:update` instead. Also thats the name of the rake task. Also I removed the `Rake` word from the title, as we run it using `rails` bin now. cc @kaspth [skip ci]
* | | | Merge pull request #23439 from ryohashimoto/160203_rake_railsKasper Timm Hansen2016-02-273-6/+6
|\ \ \ \ | | | | | | | | | | Use app namespace for framework tasks
| * | | | The tasks in the rails task namespace is deprecated in favor of app namespace.Ryo Hashimoto2016-02-263-6/+6
| | |_|/ | |/| | | | | | | | | | (e.g. `rails:update` and `rails:template` tasks is renamed to `app:update` and `app:template`.)
* / | | [ci skip]Add info for specifying logger in different envrionments.Kuldeep Aggarwal2016-02-271-1/+1
|/ / / | | | | | | | | | refer 2dc3e81aea8dbc, 56ca2061df83a3
* | | Merge pull request #23902 from prajakta-tambe/update-debuggings-rails-app-docप्रथमेश Sonpatki2016-02-261-5/+5
|\ \ \ | | | | | | | | Changed debugging rails app doc.
| * | | - Changed Debugging Rails Applications doc's logger introduction section. ↵prajakta2016-02-261-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | Changed location for specifying logger. [Prajakta, thiagoaugusto]
* | | | Doc: update AC::Parameters guides for Rails 5claudiob2016-02-251-2/+2
| | | | | | | | | | | | | | | | [ci skip]
* | | | Doc: update routes guides for Rails 5claudiob2016-02-251-14/+18
| | | | | | | | | | | | | | | | [ci skip]
* | | | Merge pull request #23874 from st0012/update-documentsAndrew White2016-02-251-1/+3
|\ \ \ \ | | | | | | | | | | [ci skip] Update configuration guide
| * | | | Add config.debug_exception_response_format into configuration guideStan Lo2016-02-251-0/+2
| | | | |
| * | | | Update config.force_ssl's documentationStan Lo2016-02-251-1/+1
| | | | |
* | | | | Additional review of 6b31761.Kasper Timm Hansen2016-02-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * Fixes typos in error message and release notes. * Removes unused template test file.
* | | | | Lock down new `ImplicitRender` behavior for 5.0 RCGodfrey Chan2016-02-251-0/+6
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Conceptually revert #20276 The feature was implemented for the `responders` gem. In the end, they did not need that feature, and have found a better fix (see plataformatec/responders#131). `ImplicitRender` is the place where Rails specifies our default policies for the case where the user did not explicitly tell us what to render, essentially describing a set of heuristics. If the gem (or the user) knows exactly what they want, they could just perform the correct `render` to avoid falling through to here, as `responders` did (the user called `respond_with`). Reverting the patch allows us to avoid exploding the complexity and defining “the fallback for a fallback” policies. 2. `respond_to` and templates are considered exhaustive enumerations If the user specified a list of formats/variants in a `respond_to` block, anything that is not explicitly included should result in an `UnknownFormat` error (which is then caught upstream to mean “406 Not Acceptable” by default). This is already how it works before this commit. Same goes for templates – if the user defined a set of templates (usually in the file system), that set is now considered exhaustive, which means that “missing” templates are considered `UnknownFormat` errors (406). 3. To keep API endpoints simple, the implicit render behavior for actions with no templates defined at all (regardless of formats, locales, variants, etc) are defaulted to “204 No Content”. This is a strictly narrower version of the feature landed in #19036 and #19377. 4. To avoid confusion when interacting in the browser, these actions will raise an `UnknownFormat` error for “interactive” requests instead. (The precise definition of “interactive” requests might change – the spirit here is to give helpful messages and avoid confusions.) Closes #20666, #23062, #23077, #23564 [Godfrey Chan, Jon Moss, Kasper Timm Hansen, Mike Clark, Matthew Draper]
* | | | Enable Action Cable routes by defaultJon Moss2016-02-241-0/+11
| | | | | | | | | | | | | | | | This also marks Action Cable routes as internal to Rails.
* | | | [ci skip] Need to mention debug_exception_response_format in the api_app ↵Akshay2016-02-251-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | documentation. - #23771 removed the reference to debug_exception_response_format from the api_app documentation. - We need to let users know, they have ability to configure debug_exception_response_format in their development environment. - Added documentation for the same in api_app.md file - Grammar corrections
* | | | Updated file documentation [ci skip]Chashmeet Singh2016-02-241-1/+1
| | | |
* | | | Merge pull request #23860 from zerothabhishek/weak-etag-guideRafael França2016-02-241-0/+8
|\ \ \ \ | | | | | | | | | | Changes caching guide to add note on weak etags
| * | | | changes caching guide to add note on weak etagsAbhishek Yadav2016-02-241-0/+8
| | | | |
* | | | | Merge pull request #23857 from st0012/update-documentsRafael França2016-02-244-1/+26
|\ \ \ \ \ | | | | | | | | | | | | [ci skip] Update guide sources for mailer view caching feature
| * | | | | Fix wording and wrong referenceStan Lo2016-02-252-2/+2
| | | | | |
| * | | | | Fix ActionView's cache section referenceStan Lo2016-02-251-1/+1
| | | | | |
| * | | | | Add caching guide in ActionMailer basicsStan Lo2016-02-251-0/+16
| | | | | |
| * | | | | Add ActionMailer configuration optionsStan Lo2016-02-251-0/+3
| | | | | |
| * | | | | Update 5.0 release notesStan Lo2016-02-251-0/+6
| | |/ / / | |/| | |
* / | | | Preparing for 5.0.0.beta3 releaseeileencodes2016-02-241-0/+5
|/ / / / | | | | | | | | | | | | Adds changelog headers for beta3 release
* | | | Merge pull request #23795 from claudiob/replace-rack-with-rails-commandDavid Heinemeier Hansson2016-02-241-8/+14
|\ \ \ \ | | | | | | | | | | AppGenerator: Replace 'rake' with 'rails_command'
| * | | | AppGenerator: Replace 'rake' with 'rails_command'claudiob2016-02-201-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since Rails 5.0 is switching the Rails command line from 'rake …' to 'rails …', it makes sense to also replace the `rake` method in the Rails templates API. Based on feedback from @matthewd and @kaspth, I chose to replace `rake` with `rails_command`, which is less confusing than the alternatives `rails` or `command` or `rails_run` and is not Thor-reserved word like `task`.