Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Allow setting a symbol as path in scope on routes | Guillermo Iguaran | 2012-11-21 | 1 | -0/+22 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Was surprising found that this example doesn't work: scope :api do resources :users end and the right form to use it is: scope 'api' do resources :users end I think this should work similary as `namespace` where both are allowed. These two are equivalent: namespace :api do resources :users end namespace 'api' do resources :user end | |||||
* | Correct the use of params options when given to url_for | Carlos Antonio da Silva | 2012-11-19 | 1 | -0/+12 | |
| | | | | Merge url for tests and add changelog entry for #8233. | |||||
* | render every partial with a new `PartialRenderer`. | Yves Senn | 2012-11-19 | 1 | -0/+6 | |
| | | | | | | | | This resolves issues when rendering nested partials. Previously the `PartialRenderer` was reused which led to situations where the state of the renderer was reset. Closes #8197 | |||||
* | Move changelog entry from #8235 to the top [ci skip] | Carlos Antonio da Silva | 2012-11-16 | 1 | -7/+7 | |
| | ||||||
* | Introduce `ActionView::Template::Handlers::ERB.escape_whitelist`. | Joost Baaij | 2012-11-16 | 1 | -0/+7 | |
| | | | | | | | | | | | This is a list of mime types where template text is not html escaped by default. It prevents `Jack & Joe` from rendering as `Jack & Joe` for the whitelisted mime types. The default whitelist contains text/plain. This follows a whitelist approach where plain text templates are not escaped, and all the others (json, xml) are. The mime type is assumed to be set by the abstract controller. | |||||
* | Add CHANGELOG entry for #8108 on master too. | Rafael Mendonça França | 2012-11-08 | 1 | -0/+16 | |
| | | | | [ci skip] | |||||
* | Clear url helpers when reloading routes | Santiago Pastorino | 2012-11-02 | 1 | -0/+4 | |
| | ||||||
* | Revert "Merge pull request #7668 from Draiken/fix_issue_6497" | Rafael Mendonça França | 2012-11-02 | 1 | -10/+0 | |
| | | | | | | | | | | | | | | This reverts commit f4ad0ebe7a6b17658bddfeb996e3c34835b75623, reversing changes made to 8b2cbb3a832101f0e672ee309beca0f8c555b292. Conflicts: actionpack/CHANGELOG.md REASON: This added introduced a bug when you have a shorthand route inside a nested namespace. See https://github.com/rafaelfranca/rails/commit/281367eb770faf8077c1fd6194188e92ed1637a1 | |||||
* | Fix #8086 (BestStandardsSupport rewrites app X-UA-Compatible header, now ↵ | Nikita Afanasenko | 2012-11-01 | 1 | -0/+5 | |
| | | | | | | | appends). Now `BestStandardsSupport` middleware appends it's `X-UA-Compatible` value to app's value. Also test for `BestStandardsSupport` middleware added. | |||||
* | Revert "if format is unknown NullMimeTypeObject is returned" | Guillermo Iguaran | 2012-10-31 | 1 | -5/+0 | |
| | | | | This reverts commit a8560fa361958b33d76e4468eb5c07d82a20196e. | |||||
* | if format is unknown NullMimeTypeObject is returned | Angelo capilleri | 2012-10-31 | 1 | -0/+5 | |
| | | | | | | | | | | If a unknown format is passed in a request, the methods html?, xml?, json? ...etc Nil Exception. This patch add a class NullMimeTypeObject, that is returned when request.format is unknown and it responds false to the methods that ends with '?'. It refers to #7837, not fixes because it's not considered a improvement not a bug. | |||||
* | Merge pull request #7975 from butcher/extend_date_select_helper_functionality | Rafael Mendonça França | 2012-10-18 | 1 | -0/+5 | |
|\ | | | | | | | | | | | | | Extend date_select helper functionality. Conflicts: actionpack/CHANGELOG.md | |||||
| * | Extend date_select helper functionality. | Pavel Nikitin | 2012-10-18 | 1 | -0/+3 | |
| | | ||||||
* | | Add changelog entry for precompile config | Joshua Peek | 2012-10-17 | 1 | -0/+4 | |
| | | ||||||
* | | Add more CHANGELOG entries from #7927 | Rafael Mendonça França | 2012-10-17 | 1 | -0/+5 | |
| | | | | | | | | | | | | Also remove references for RAILS_ASSET_ID from the guides [ci skip] | |||||
* | | Add CHANGELOG entry for #7927 | Rafael Mendonça França | 2012-10-17 | 1 | -1/+7 | |
|/ | | | | | | | Removed the asset_path configuration from the guides and added an entry in the upgrading_ruby_on_rails guide [ci skip] | |||||
* | recognizes when a partial was rendered twice. Closes #3675 | Yves Senn | 2012-10-11 | 1 | -0/+5 | |
| | ||||||
* | Add changelog entry for killing the asset tag concatenation | David Heinemeier Hansson | 2012-10-10 | 1 | -0/+2 | |
| | ||||||
* | Accept :remote as symbol in link_to options | Riley Lynch | 2012-10-06 | 1 | -0/+2 | |
| | | | | | Accept either :remote or 'remote' in both the html_options and (url_)options hash arguments to link_to. | |||||
* | can't pass :locals to #assert_template without a view test case. Closes #3415 | Yves Senn | 2012-10-06 | 1 | -1/+6 | |
| | | | | | | | | | | | the documentation on #assert_template states that the :locals option is only available in view test cases: # In a view test case, you can also assert that specific locals are passed # to partials: I added a warning when it's passed in an inapropriate context to prevent a NoMethodError. | |||||
* | Update CHANGELOG entry about rack-cache extract | Guillermo Iguaran | 2012-10-04 | 1 | -3/+7 | |
| | ||||||
* | Remove unneeded CHANGELOG entry. | Rafael Mendonça França | 2012-10-04 | 1 | -3/+0 | |
| | | | | | | | This was added in Rails 4 and we don't need changelog entries to behavior changes [ci skip] | |||||
* | ActionController::Parameters#permit! is recursive | Brendan Loudermilk | 2012-10-04 | 1 | -0/+3 | |
| | ||||||
* | add CHANGELOG entry for AP page and action caching extraction [ci skip] | Francesco Rodriguez | 2012-10-04 | 1 | -0/+11 | |
| | ||||||
* | Failsafe exception returns text/plain. | Steve Klabnik | 2012-10-01 | 1 | -0/+2 | |
| | | | | | | | It's best to just return text/plain when something has gone terribly wrong. Fixes #5660. | |||||
* | Add the CHANGELOG entry that Guillermo forgot :P | Santiago Pastorino | 2012-10-02 | 1 | -0/+5 | |
| | ||||||
* | prefix TemplateAssertions ivars (#7459) | Yves Senn | 2012-10-01 | 1 | -0/+6 | |
| | ||||||
* | resource and resources do no longer modify passed options | Yves Senn | 2012-10-01 | 1 | -0/+5 | |
| | | | | this is a patch for #7777. | |||||
* | Add a changelog entry for asset aliasing update in sprockets-rails. Supports ↵ | Jeremy Kemper | 2012-09-30 | 1 | -0/+14 | |
| | | | | referencing foo.js as foo/index.js and vice versa. | |||||
* | Fix changelog entry about sprockets-rails | Guillermo Iguaran | 2012-09-30 | 1 | -3/+2 | |
| | ||||||
* | Whitespaces :scissors: [ci skip] | Rafael Mendonça França | 2012-09-30 | 1 | -10/+13 | |
| | ||||||
* | `assert_template` no more passing with what ever string that matches. | Hugo Roque | 2012-09-29 | 1 | -0/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | Given Im rendering an template `/layout/hello.html.erb`, assert_template was passing with any string that matches. This behavior allowed false passing like: assert_template "layout" assert_template "out/hello" Now the passing possibilities are: assert_template "layout/hello" assert_template "hello" fixing assert_template bug when template matches expected, but not ends with Cherry Pick Merge: Fixes issue #3849 assert_template false positive taking redundant test off prevening incorrect assert_template when rendering with repeated names in path updating CHANGELOG with bugfix: assert_template false passing | |||||
* | allow to pass numerical value to size option in image_tag | Nihad Abbasov | 2012-09-25 | 1 | -0/+5 | |
| | | | | | This will set image's both width and height attributes to value passed in size option. | |||||
* | Merge pull request #7738 from grosser/verified_request | Rafael Mendonça França | 2012-09-25 | 1 | -0/+5 | |
|\ | | | | | remove unused Mime::Type#verify_request? | |||||
| * | depreacte unused Mime::Type#verify_request? and ↵ | grosser | 2012-09-24 | 1 | -0/+5 | |
| | | | | | | | | Mime::Type.browser_generated_types | |||||
* | | some copy-editing I did in passing | Xavier Noria | 2012-09-25 | 1 | -26/+28 | |
| | | ||||||
* | | gives credit to Aaron in the CHANGELOG entry for AC::Live | Xavier Noria | 2012-09-25 | 1 | -2/+4 | |
|/ | ||||||
* | Put the new CHANGELOG entries always in the top [ci skip] | Rafael Mendonça França | 2012-09-22 | 1 | -8/+10 | |
| | ||||||
* | Merge pull request #7713 from ↵ | Xavier Noria | 2012-09-22 | 1 | -0/+2 | |
|\ | | | | | | | | | porras/action-dispatch-upload-delegates-close-to-tempfile Delegate ActionDispatch::Http::UploadedFile#close to tempfile | |||||
| * | Update CHANGELOG.md | Sergio Gil Pérez de la Manga | 2012-09-21 | 1 | -0/+2 | |
| | | ||||||
* | | Fix MIME type in CHANGELOG | Jo Liss | 2012-09-21 | 1 | -1/+1 | |
|/ | ||||||
* | Update changelogs to add entries about strong_parameters integration | Guillermo Iguaran | 2012-09-19 | 1 | -0/+14 | |
| | ||||||
* | Removing to_shorthand from default_controller_and_action. Fixes #6497 | Luiz Felipe | 2012-09-19 | 1 | -2/+12 | |
| | | | | | When using shortcut routes inside an engine the "to_shorthand" variable is set to true, causing the module scope of the route to not be applied. | |||||
* | cleanup, remove whitespace from CHANGELOG | Yves Senn | 2012-09-17 | 1 | -6/+6 | |
| | ||||||
* | log 404 status when ActiveRecord::RecordNotFound was raised (#7646) | Yves Senn | 2012-09-17 | 1 | -0/+4 | |
| | ||||||
* | Merge pull request #7669 from guilleiguaran/rename-rb-handler | Carlos Antonio da Silva | 2012-09-17 | 1 | -1/+1 | |
|\ | | | | | Rename .rb template handler to .ruby to avoid conflicts with mustache classes | |||||
| * | Rename .rb template handler to .ruby to avoid conflicts with mustache views ↵ | Guillermo Iguaran | 2012-09-17 | 1 | -1/+1 | |
| | | | | | | | | classes | |||||
* | | allowing pass couple extension to register_template_handler call | Tima Maslyuchenko | 2012-09-17 | 1 | -0/+2 | |
| | | ||||||
* | | Add missing entries in AP changelog | Guillermo Iguaran | 2012-09-16 | 1 | -0/+13 | |
|/ | ||||||
* | Support for multiple etags in an If-None-Match header | Travis Warlick | 2012-09-15 | 1 | -0/+2 | |
| | | | | | | | | This is a rebased version of #2520. Conflicts: actionpack/test/dispatch/request_test.rb |