aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/action_controller_overview.md
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo [ci skip]Sıtkı Bağdat2013-12-181-1/+1
|
* sync example and documentation for strong_parameters hash whitelisting.Yves Senn2013-11-261-5/+7
| | | | | | | | | [ci skip] This is a follow up to #12609 and integrates #12158. Thanks @aspiers. Closes #12158.
* Merge remote-tracking branch 'docrails/master'Xavier Noria2013-11-241-1/+1
|\ | | | | | | | | | | Conflicts: activesupport/lib/active_support/core_ext/hash/deep_merge.rb activesupport/lib/active_support/core_ext/hash/keys.rb
| * Update action_controller_overview.md [ci skip]Harshad Sabne2013-11-151-1/+1
| | | | | | Code style adherence
* | removes redundant curly brackets in example code [ci skip]Xavier Noria2013-11-081-1/+1
| |
* | Fix undefined method error for NilClasscorwinkelly2013-10-231-1/+1
| | | | | | Add .try to prevent undefined method error for NilClass.
* | Update workaround for "Outside the Scope of Strong Parameters" corwinkelly2013-10-221-3/+1
|/ | | The previous example of how to permit a hash of unknown keys used .tap, but had the side effect of logging an "Unpermitted parameters" message despite being a successful workaround. The proposed workaround is ever so slightly better, imo, because it won't result in an "Unpermitted parameters" message being logged.
* Use ActiveRecord::Base#update! instead of #update_attributes!Zachary Scott2013-09-281-1/+1
|
* Use Ruby on Rails Coding Conventions for code examples in the guidesPaul Nikitochkin2013-09-061-22/+22
| | | | | | | | * Indent after private/protected * Ruby >= 1.9 syntax for hashes * Prefer method { do_stuff } instead of method{do_stuff} for single-line blocks. [ci skip]
* cleans the guides sources from fancy non-ASCII stuffXavier Noria2013-08-231-2/+2
|
* ActionController::Live documentation in the guides.wangjohn2013-07-131-0/+86
| | | | | I'm adding documentation to the action_controller_overview guide which should tell people how to stream arbitrary data.
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2013-07-061-1/+1
|\
| * cookies are encrypted starting Rails 4Neeraj Singh2013-06-291-1/+1
| |
* | Specify request method in guides [ci skip]Mihail Evsyukov2013-07-041-1/+1
| |
* | Using preferred find_by syntax in guidesCristian Planas2013-07-011-1/+1
|/
* Mention Content-Type for JSON params parsing.Gustavo Delfino2013-06-241-1/+1
| | | | http://stackoverflow.com/questions/8501021/rails-json-request-is-not-parsed-correctly-into-post-parameters
* Consistent use of one space only after punctuationSunny Ripert2013-05-281-1/+1
|
* Fix Typo xml -> XML, json -> JSONPrathamesh Sonpatki2013-05-081-2/+2
|
* Ruby 1.9 hash syntax for action controller guideYves Senn2013-04-151-5/+5
|
* Typos/grammar fixesJonathan Roes2013-04-031-3/+3
|
* Merge branch 'master' of github.com:lifo/docrailsOliver Jakubiec2013-04-021-25/+16
|\
| * Remove unnecessary / confusing code in exampleJonathan Roes2013-03-311-11/+2
| |
| * Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-03-301-17/+17
| |\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb activerecord/test/cases/adapter_test.rb guides/source/testing.md [ci skip]
| | * More typo / wording fixesJonathan Roes2013-03-291-6/+6
| | |
| | * Proofreading tweaksJonathan Roes2013-03-291-7/+7
| | | | | | | | | | | | - Consistent hash structure - Rewording / typo fixes
| * | Fix guides error on error class nameSebastian Sogamoso2013-03-191-1/+1
| | | | | | | | | The error that's raised in case the required key is missing it's actually `ActionController::ParameterMissing` not `ActionController::MissingParameter`. It's important to fix so that people reading the guides knows what error to rescue from when needed.
* | | Added a section on Rails Controller naming conventions.Oliver Jakubiec2013-04-021-2/+12
| |/ |/|
* | Update action_controller_overview.mdMikhail Dieterle2013-03-161-2/+2
| |
* | fix markup of controllers guideMikhail Dieterle2013-03-161-1/+1
| |
* | fix missing toVipul A M2013-03-141-1/+1
|/
* fixed typo in strong parameters exampleYves Senn2013-03-091-1/+1
|
* strong parameter example for hashes with integer keys.Yves Senn2013-03-091-0/+14
| | | | | This replicates the situation described in https://github.com/rails/strong_parameters/issues/114
* Fix typo in AC overview guide [ci skip]Carlos Antonio da Silva2013-03-051-1/+1
|
* example for `accepts_nested_attribtues_for` and strong parameters.Yves Senn2013-03-051-0/+9
| | | | Closes #9558.
* strong parameters example for default values using `fetch`. [ci skip]Yves Senn2013-03-051-0/+12
| | | | Origin: #9534.
* integrate the strong params README into the AC guide.Yves Senn2013-03-031-0/+118
| | | | | | | | | | The current ActionController guide does not mention strong parameters at all. I integrated the README into the guide to explain the API. I also included a section to illustrate that the API does not solve all possible whitelisting scenarios. The origin was #9454.
* Remove XML Parser from ActionDispatchPrem Sichanugrist2013-02-201-3/+5
| | | | | If you want an ability to parse XML parameters, please install `actionpack-xml_parser` gem.
* consistently inherit from ApplicationController in guides exemplesCyril Jouve2013-01-201-2/+2
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-01-091-4/+4
|\ | | | | | | | | Conflicts: guides/source/getting_started.md
| * a bit of inline code tagsMikhail Dieterle2013-01-011-4/+4
| |
* | Introduce ./bin for your app's executables: bin/bundle, bin/rails, bin/rake. ↵Jeremy Kemper2013-01-061-1/+1
| | | | | | | | Executable scripts are versioned code like the rest of your app. To generate a stub for a bundled gem: 'bundle binstubs unicorn' and 'git add bin/unicorn'
* | Namespace HashWithIndifferentAccessAkira Matsuda2013-01-071-1/+1
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-12-081-9/+9
|\
| * Remove references to Rails versions.Steve Klabnik2012-12-071-1/+1
| | | | | | | | | | | | | | | | There's no reason for guides to reference old behaviors. They should be current as of the versions of Rails that they ship with, and including older information just clutters thing. I discussed this change with @fxn and he agrees.
| * Fix small grammatical errorMax Katz2012-12-071-1/+1
| |
| * Fixed grammar in a lot of guide prologues.Katie Oldaker2012-12-071-7/+7
| |
* | update guides to use _action callbacks [ci skip]Francesco Rodriguez2012-12-071-10/+10
| |
* | Adding filter capability to ActionController logsFabrizio Regini2012-12-051-3/+24
|/
* Normalize on 'After reading this guide, you will know:'Steve Klabnik2012-11-291-1/+3
| | | | | We have three or four different introduction sentences to the guides. After this commit, we use the same one everywhere.
* Add periods to the bullet points in guides.Steve Klabnik2012-11-291-7/+7
| | | | Talked with @fxn about this. Bullet points should have periods at the ends.