Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | [ci skip] Add "Low-Level Caching" part to "Caching With Rails" | Nikolay Shebanov | 2014-03-06 | 1 | -0/+20 | |
| | | | ||||||
* | | | Merge pull request #14285 from ↵ | Aaron Patterson | 2014-03-06 | 1 | -2/+5 | |
|\ \ \ | | | | | | | | | | | | | | | | | sikachu/master-revert-render-body-remove-content-type Do note remove `Content-Type` when `render :body` | |||||
| * | | | Do note remove `Content-Type` when `render :body` | Prem Sichanugrist | 2014-03-05 | 1 | -2/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `render :body` should just not set the `Content-Type` header. By removing the header, it breaks the compatibility with other parts. After this commit, `render :body` will returns `text/html` content type, sets by default from `ActionDispatch::Response`, and it will preserve the overridden content type if you override it. Fixes #14197, #14238 This partially reverts commit 3047376870d4a7adc7ff15c3cb4852e073c8f1da. | |||||
* | | | | Fix guide about `config.active_record.default_timezone` [ci skip] | joker1007 | 2014-03-06 | 1 | -1/+1 | |
|/ / / | | | | | | | | | | Now the initial value of ActiveRecord.default_timezone is always :utc | |||||
* / / | docs, flash message keys are normalized to strings. [ci skip] | Yves Senn | 2014-03-05 | 1 | -0/+20 | |
|/ / | | | | | | | This is a follow up to a668beffd64106a1e1fedb71cc25eaaa11baf0c1 | |||||
* | | [ci skip] use secrets.secret_key_base instead of config.secret_key_base | Kuldeep Aggarwal | 2014-03-01 | 2 | -4/+11 | |
| | | | | | | | | use secrets.yml instead of secret_token.rb | |||||
* | | Improve a bit the 4.1 release notes [ci skip] | Robin Dupret | 2014-02-28 | 1 | -4/+6 | |
| | | | | | | | | | | Fix a few typos. #present_in has been changed to #presence_in through commit d61baee5. | |||||
* | | [ci skip] use secrets.yml instead of secret_token.rb in the action ↵ | Brian Thomas Storti | 2014-02-27 | 1 | -3/+18 | |
| | | | | | | | | controller guide | |||||
* | | Fixes docs typo in nested resource path helpers [skip ci] | Gareth du Plooy | 2014-02-26 | 1 | -18/+18 | |
| | | ||||||
* | | [ci skip] Update list of files extensions in rake notes guide | robertomiranda | 2014-02-26 | 1 | -1/+1 | |
| | | ||||||
* | | [ci skip] remove guide section on models in migrations | Luke Steensen | 2014-02-26 | 1 | -153/+0 | |
| | | | | | | | | | | | | Both examples given are incorrect, and no one can seem to come up with a realistic situation where this is an actual problem. For now, it seems like the best thing to do is just scrap the section altogether. | |||||
* | | Bump version of bcrypt gem | T.J. Schuck | 2014-02-25 | 1 | -1/+1 | |
| | | ||||||
* | | Optimize getting started guide images, and use png instead of jpg | Carlos Antonio da Silva | 2014-02-25 | 16 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We noticed the rails gem increased in size between the beta and rc versions, and the reason is that some guides images were updated but not properly optimized, and one image changed from png to jpg, way bigger. Converting the jpg image back to png, and using ImageOptim to optimize all the images for web view, improves the situation [ci skip]. --- In current master/4-1-stable: 508K guides/assets/images/getting_started/ In v4.1.0.beta1: 268K guides/assets/images/getting_started/ In 4-0-stable 328K guides/assets/images/getting_started/ After the patch: 260K guides/assets/images/getting_started/ | |||||
* | | :scissors: [ci skip] | Carlos Antonio da Silva | 2014-02-25 | 1 | -5/+5 | |
| | | ||||||
* | | Point master changelogs to 4-1-stable branch | Carlos Antonio da Silva | 2014-02-25 | 1 | -13/+1 | |
| | | | | | | | | Remove 4-1 related entries from master [ci skip] | |||||
* | | [skip ci] Standardized punctuation. | ch33hau | 2014-02-25 | 1 | -3/+3 | |
| | | ||||||
* | | [ci skip] update guides to new version of rails 3.2.x | Kuldeep Aggarwal | 2014-02-21 | 1 | -2/+2 | |
| | | ||||||
* | | Merge pull request #14086 from jingweno/master | Arthur Nogueira Neves | 2014-02-20 | 1 | -1/+1 | |
|\ \ | |/ |/| | Fix the javascript path in guide for asset modules [skip ci] | |||||
| * | [skip ci] Fix the javascript path in guide for asset modules | Jingwen Owen Ou | 2014-02-20 | 1 | -1/+1 | |
| | | ||||||
* | | Merge branch 'master' of github.com:rails/docrails | Vijay Dev | 2014-02-20 | 1 | -0/+7 | |
|\ \ | ||||||
| * | | Add tip about using RDoc's --pipe command to quickly test the output of | Zachary Scott | 2014-02-10 | 1 | -0/+7 | |
| | | | | | | | | | | | | | | | | | | | | | a piece of documentation. This can be useful for trying out combinations of markup and code, as discussed in rails/rails@225bcad | |||||
* | | | change 'assert !' to 'assert_not' in guides [ci skip] | Greg Molnar | 2014-02-20 | 1 | -3/+3 | |
| | | | ||||||
* | | | Pointing to latest guides [ci skip] | Arun Agrawal | 2014-02-19 | 1 | -1/+1 | |
| | | | ||||||
* | | | [ci skip] Close the meta tag with '/>' instead of '>' | Prakash Murthy | 2014-02-19 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fixes the 42 instances of `end tag for "meta" omitted, but OMITTAG NO was specified` error message that comes up when the full railsguides are validated. Full error list at https://gist.github.com/prakashmurthy/9086679. | |||||
* | | | Typo fix for unscope | Amit Thawait | 2014-02-18 | 1 | -1/+1 | |
| | | | ||||||
* | | | Sync 4.1 release notes with changes since 7f648bc7 [ci skip] | Godfrey Chan | 2014-02-18 | 1 | -3/+11 | |
| | | | ||||||
* | | | Update upgrading guide regarding `render :text` | Prem Sichanugrist | 2014-02-18 | 1 | -0/+19 | |
| | | | ||||||
* | | | Update guides for new rendering options | Prem Sichanugrist | 2014-02-18 | 3 | -6/+38 | |
| | | | | | | | | | | | | | | | * Introduces `:plain`, `:html`, `:body` render option. * Update guide to use `render :plain` instead of `render :text`. | |||||
* | | | Merge pull request #14095 from rails/rm-scopes | Rafael Mendonça França | 2014-02-18 | 3 | -12/+85 | |
|\ \ \ | | | | | | | | | Document `default_scope` changes | |||||
| * | | | Don't use `# =>` when it is not the expression values | Rafael Mendonça França | 2014-02-18 | 2 | -17/+17 | |
| | | | | | | | | | | | | | | | | [ci skip] | |||||
| * | | | Fix the column name [ci skip] | Rafael Mendonça França | 2014-02-18 | 2 | -8/+8 | |
| | | | | ||||||
| * | | | Document the default scopes change on the release notes, CHANGELOG | Rafael Mendonça França | 2014-02-18 | 2 | -0/+73 | |
| | | | | | | | | | | | | | | | | | | | | | | | | and upgrating guides [ci skip] | |||||
| * | | | Aesthetic [ci skip] | Rafael Mendonça França | 2014-02-18 | 1 | -4/+4 | |
| | | | | ||||||
| * | | | Tell default_scope are prepended [ci skip] | Rafael Mendonça França | 2014-02-18 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Updated doc for default scope [ci skip] | Rashmi Yadav | 2014-02-18 | 1 | -4/+4 | |
| | | | | ||||||
* | | | | Minor grammar/punctuation fixes [ci skip] | Carlos Antonio da Silva | 2014-02-18 | 1 | -4/+3 | |
| | | | | ||||||
* | | | | Doc: assets:precompile:all was removed on 4 [skip ci] | Arthur Neves | 2014-02-18 | 1 | -1/+1 | |
|/ / / | ||||||
* | | | Merge pull request #14087 from 10io/patch-1 | Carlos Antonio da Silva | 2014-02-17 | 1 | -1/+1 | |
|\ \ \ | |_|/ |/| | | Fix coffeescript sample [ci skip] | |||||
| * | | Fix coffeescript sample [ci skip] | David Fernandez | 2014-02-13 | 1 | -1/+1 | |
| | | | | | | | | | Replace bind() with on() as suggested by the JQuery bind() documentation: https://api.jquery.com/bind/ | |||||
* | | | Merge pull request #13937 from ktaragorn/guides_fixes | Vijay Dev | 2014-02-16 | 2 | -3/+14 | |
|\ \ \ | | | | | | | | | Guides fixes | |||||
| * | | | Getting started guide fixes & Explain X-SendFile a little better, with links | Karthik T | 2014-02-14 | 2 | -3/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Explain how form_for :article is able to pull in the properties of @article Make it clear that article_id is generated due to the association set up Add link to the rails function that uses X-Sendfile. Add links to apache and nginx docs for the header | |||||
* | | | | Add verb to sanitization note | Dave Jachimiak | 2014-02-14 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | fix guide active_support_core_extensions. add Note to String#indent [ci skip] | tbpgr | 2014-02-14 | 1 | -0/+2 | |
| | | | | ||||||
* | | | | Merge pull request #13945 from rails/json_cookie_serializer_improvements | Guillermo Iguaran | 2014-02-13 | 3 | -20/+47 | |
|\ \ \ \ | |_|/ / |/| | | | Cookies serializer improvements | |||||
| * | | | Updated CHANGELOG, docs, guides and release notes. | Godfrey Chan | 2014-02-11 | 3 | -11/+27 | |
| | | | | | | | | | | | | | | | | 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 | |
| | | | | ||||||
* | | | | Merge pull request #14023 from prathamesh-sonpatki/assert_redirected_to | Carlos Antonio da Silva | 2014-02-12 | 1 | -1/+1 | |
|\ \ \ \ | | | | | | | | | | | [Testing Guide] Explain usage of assert_redirected_to with named routes and ActiveRecord objects [ci skip] | |||||
| * | | | | [Testing Guide] Explain usage of assert_redirected_to with named routes and ↵ | Prathamesh Sonpatki | 2014-02-12 | 1 | -1/+1 | |
| |/ / / | | | | | | | | | | | | | Active Record objects [ci skip] | |||||
* | | | | Revert "Don't symbolize tainted data." [ci skip] | Xavier Noria | 2014-02-11 | 1 | -5/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reason: i18n whitelists now locales without passing through symbols, see https://github.com/svenfuchs/i18n/blob/master/lib/i18n.rb#L278. Therefore, this snippet is no longer a good practice. This reverts commit ec0664a6eb8906fcd31a53a1efad69bdc7fe6f5b. | |||||
* | | | | Don't symbolize tainted data. | devlin zed | 2014-02-11 | 1 | -1/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | `I18n.locale=` symbolizes its argument, so passing it `params[:locale]` allows one to DOS your application by visiting `...?locale=` URLS repeatedly, with unique values, until the never-GCed symbols monopolize the available memory. |