Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Update documentation to use Rails.application instead | Marcel Morgan | 2014-04-13 | 1 | -3/+3 | |
| | | | | | | | 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 Mokhtari | 2014-04-12 | 1 | -1/+1 | |
| | | | This is in the note at the end of Section 2: Controller Naming Convention. [ci skip] | |||||
* | Added a warning about serializing data with JSON cookie jars [skip ci] | Godfrey Chan | 2014-03-19 | 1 | -0/+24 | |
| | | | | Closes #14409 | |||||
* | [ci skip] use secrets.yml instead of secret_token.rb in the action ↵ | Brian Thomas Storti | 2014-02-27 | 1 | -3/+18 | |
| | | | | controller guide | |||||
* | Update guides for new rendering options | Prem Sichanugrist | 2014-02-18 | 1 | -1/+1 | |
| | | | | | * Introduces `:plain`, `:html`, `:body` render option. * Update guide to use `render :plain` instead of `render :text`. | |||||
* | Updated CHANGELOG, docs, guides and release notes. | Godfrey Chan | 2014-02-11 | 1 | -7/+12 | |
| | | | | Also added a `cookies_serializer.rb` initializer to the app template. | |||||
* | Renamed session_serializer option to cookies_serializer | Godfrey Chan | 2014-02-11 | 1 | -16/+27 | |
| | ||||||
* | Modify the session serializer implementation | Guillermo Iguaran | 2014-01-30 | 1 | -11/+5 | |
| | | | | | Rename allowed options to :marshal and :json, for custom serializers only allow the use of custom classes. | |||||
* | Fix documentation of new controller filters api [ci skip] | Kassio Borges | 2014-01-29 | 1 | -2/+2 | |
| | | | | | | | | | The api for filters with classes change and the guides weren't updated. Now the class must respond for methods with the same name as the filter, so the `before_action` calls a `before` method, and so on. The method `#filter` has been deprecated in 4.0.0 and has been removed in 4.1.0: #7560 | |||||
* | Allow session serializer key in config.session_store | Lukasz Sarnacki | 2014-01-29 | 1 | -0/+22 | |
| | | | | | | | | | | | | | MessageEncryptor has :serializer option, where any serializer object can be passed. This commit make it possible to set this serializer from configuration level. There are predefined serializers (:marshal_serializer, :json_serialzier) and custom serializer can be passed as String, Symbol (camelized and constantized in ActionDispatch::Session namepspace) or serializer object. Default :json_serializer was also added to generators to provide secure defalt. | |||||
* | Log which keys were set to nil in deep_munge | Lukasz Sarnacki | 2014-01-28 | 1 | -0/+4 | |
| | | | | | | | | deep_munge solves CVE-2013-0155 security vulnerability, but its behaviour is definately confuisng. This commit adds logging to deep_munge. It logs keys for which values were set to nil. Also mentions in guides were added. | |||||
* | Change all "can not"s to the correct "cannot". | T.J. Schuck | 2014-01-03 | 1 | -1/+1 | |
| | ||||||
* | [ci skip] Add missing flash message in block filter example. | Juanito Fatas | 2014-01-01 | 1 | -2/+5 | |
| | | | | Also make all three examples consistent. | |||||
* | Fix typo [ci skip] | Sıtkı Bağdat | 2013-12-18 | 1 | -1/+1 | |
| | ||||||
* | sync example and documentation for strong_parameters hash whitelisting. | Yves Senn | 2013-11-26 | 1 | -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 Noria | 2013-11-24 | 1 | -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 Sabne | 2013-11-15 | 1 | -1/+1 | |
| | | | | | | Code style adherence | |||||
* | | removes redundant curly brackets in example code [ci skip] | Xavier Noria | 2013-11-08 | 1 | -1/+1 | |
| | | ||||||
* | | Fix undefined method error for NilClass | corwinkelly | 2013-10-23 | 1 | -1/+1 | |
| | | | | | | Add .try to prevent undefined method error for NilClass. | |||||
* | | Update workaround for "Outside the Scope of Strong Parameters" | corwinkelly | 2013-10-22 | 1 | -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 Scott | 2013-09-28 | 1 | -1/+1 | |
| | ||||||
* | Use Ruby on Rails Coding Conventions for code examples in the guides | Paul Nikitochkin | 2013-09-06 | 1 | -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 stuff | Xavier Noria | 2013-08-23 | 1 | -2/+2 | |
| | ||||||
* | ActionController::Live documentation in the guides. | wangjohn | 2013-07-13 | 1 | -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/docrails | Vijay Dev | 2013-07-06 | 1 | -1/+1 | |
|\ | ||||||
| * | cookies are encrypted starting Rails 4 | Neeraj Singh | 2013-06-29 | 1 | -1/+1 | |
| | | ||||||
* | | Specify request method in guides [ci skip] | Mihail Evsyukov | 2013-07-04 | 1 | -1/+1 | |
| | | ||||||
* | | Using preferred find_by syntax in guides | Cristian Planas | 2013-07-01 | 1 | -1/+1 | |
|/ | ||||||
* | Mention Content-Type for JSON params parsing. | Gustavo Delfino | 2013-06-24 | 1 | -1/+1 | |
| | | | | http://stackoverflow.com/questions/8501021/rails-json-request-is-not-parsed-correctly-into-post-parameters | |||||
* | Consistent use of one space only after punctuation | Sunny Ripert | 2013-05-28 | 1 | -1/+1 | |
| | ||||||
* | Fix Typo xml -> XML, json -> JSON | Prathamesh Sonpatki | 2013-05-08 | 1 | -2/+2 | |
| | ||||||
* | Ruby 1.9 hash syntax for action controller guide | Yves Senn | 2013-04-15 | 1 | -5/+5 | |
| | ||||||
* | Typos/grammar fixes | Jonathan Roes | 2013-04-03 | 1 | -3/+3 | |
| | ||||||
* | Merge branch 'master' of github.com:lifo/docrails | Oliver Jakubiec | 2013-04-02 | 1 | -25/+16 | |
|\ | ||||||
| * | Remove unnecessary / confusing code in example | Jonathan Roes | 2013-03-31 | 1 | -11/+2 | |
| | | ||||||
| * | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-03-30 | 1 | -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 fixes | Jonathan Roes | 2013-03-29 | 1 | -6/+6 | |
| | | | ||||||
| | * | Proofreading tweaks | Jonathan Roes | 2013-03-29 | 1 | -7/+7 | |
| | | | | | | | | | | | | - Consistent hash structure - Rewording / typo fixes | |||||
| * | | Fix guides error on error class name | Sebastian Sogamoso | 2013-03-19 | 1 | -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 Jakubiec | 2013-04-02 | 1 | -2/+12 | |
| |/ |/| | ||||||
* | | Update action_controller_overview.md | Mikhail Dieterle | 2013-03-16 | 1 | -2/+2 | |
| | | ||||||
* | | fix markup of controllers guide | Mikhail Dieterle | 2013-03-16 | 1 | -1/+1 | |
| | | ||||||
* | | fix missing to | Vipul A M | 2013-03-14 | 1 | -1/+1 | |
|/ | ||||||
* | fixed typo in strong parameters example | Yves Senn | 2013-03-09 | 1 | -1/+1 | |
| | ||||||
* | strong parameter example for hashes with integer keys. | Yves Senn | 2013-03-09 | 1 | -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 Silva | 2013-03-05 | 1 | -1/+1 | |
| | ||||||
* | example for `accepts_nested_attribtues_for` and strong parameters. | Yves Senn | 2013-03-05 | 1 | -0/+9 | |
| | | | | Closes #9558. | |||||
* | strong parameters example for default values using `fetch`. [ci skip] | Yves Senn | 2013-03-05 | 1 | -0/+12 | |
| | | | | Origin: #9534. | |||||
* | integrate the strong params README into the AC guide. | Yves Senn | 2013-03-03 | 1 | -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 ActionDispatch | Prem Sichanugrist | 2013-02-20 | 1 | -3/+5 | |
| | | | | | If you want an ability to parse XML parameters, please install `actionpack-xml_parser` gem. |