aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* Removed warning while running test with ruby 1.9.2bagwanpankaj2011-06-141-1/+1
|
* all requests are utf-8. Don't use the external encoding.Damien Mathieu2011-06-142-9/+3
|
* encode the uploaded file's name in the default external encoding - Closes #869Damien Mathieu2011-06-142-1/+24
|
* Define ActiveSupport#to_param as to_str - closes #1663Andrew White2011-06-121-0/+8
|
* Update changelog with #1552 feature: add hidden field before ↵Piotr Sarnacki2011-06-111-0/+5
| | | | select[multiple=true]
* Merge pull request #1552 from bogdan/selectPiotr Sarnacki2011-06-112-8/+55
|\ | | | | Fixing select[multiple] html specification problem.
| * Fixing select[multiple] html specification problem.Bogdan Gusiev2011-06-082-8/+55
| | | | | | | | Generating hidden input with same name before each multiple select
* | No need for a configuration option here.José Valim2011-06-111-10/+2
| |
* | Merge pull request #549 from dlee/utf8_enforcerJosé Valim2011-06-114-9/+20
|\ \ | | | | | | Utf8 enforcer param customization
| * | Remove utf8_enforcer_param config optionDavid Lee2011-06-111-7/+0
| | |
| * | Make utf8_enforcer_tag an overrideable methodDavid Lee2011-06-111-3/+7
| | |
| * | Make utf8 enforcer param customizeableDavid Lee2011-06-113-4/+18
| | |
| * | There are no snowmen hereDavid Lee2011-06-113-7/+7
| | |
* | | remove meaningless assert trueNeeraj Singh2011-06-111-1/+0
| | |
* | | expected message should come firstNeeraj Singh2011-06-111-2/+2
| | |
* | | try not to use assert_blank when nil will wouldNeeraj Singh2011-06-111-2/+2
|/ / | | | | | | | | | | be considered as failure Test for specific value to the extent possible
* | Revert "Make sure that we don't perform in-place mutation on SafeBuffer string"Santiago Pastorino and José Ignacio Costa2011-06-102-8/+0
| | | | | | | | This reverts commit 115e80dccc65c3ed9a9750649d9ca4ea2a7e64f1.
* | Merge pull request #1644 from smartinez87/warnsSantiago Pastorino2011-06-101-1/+1
|\ \ | | | | | | Remove unused variable causing warning in 1.9.3
| * | Remove unused variable causing warning in 1.9.3Sebastian Martinez2011-06-101-1/+1
| | |
* | | Merge pull request #1642 from sikachu/master-render-inlineAaron Patterson2011-06-103-21/+31
|\ \ \ | | | | | | | | Render inline fix for master
| * | | Make sure that we don't perform in-place mutation on SafeBuffer stringPrem Sichanugrist2011-06-102-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | This will make sure `render :inline` is working. Closes #1633
| * | | Update CHANGELOG to mention the json_escape change, and rearrange stuff a bit.Prem Sichanugrist2011-06-101-21/+23
| | | |
* | | | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-06-111-3/+3
|\ \ \ \ | |/ / / |/| | |
| * | | shallow_path example updatedganesh2011-06-101-3/+3
| | | |
* | | | Ensure number helpers can handle HTML safe strings - closes #1597.Andrew White2011-06-102-1/+8
| | | |
* | | | Merge pull request #1523 from raghunadhd/refactor_regexXavier Noria2011-06-101-4/+7
|\ \ \ \ | | | | | | | | | | rafactored the regex related code in the mapper class
| * | | | removed the unnecessary back slashes from the regular expressionRaghunadh2011-06-101-2/+2
| | | | |
| * | | | rafactored the regex related code in the mapper class Raghunadh2011-06-071-4/+7
| | | | |
* | | | | add missing ensureNeeraj Singh2011-06-101-0/+1
| | | | |
* | | | | replaced and with && as per coding guidelinesNeeraj Singh2011-06-101-1/+1
| | | | |
* | | | | The test name is misleading. It saysNeeraj Singh2011-06-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test_should_cache_with_trailing_slash_on_url A trailing slash is removed when a page is cached. What the test meant to say was : a url with trailing slash should be cached and the cached page should not have any trailing slash. This patch clarifies the name a bit.
* | | | | ensuring that json_escape returns html safe strings when passed an html safe ↵Aaron Patterson2011-06-091-0/+10
| | | | | | | | | | | | | | | | | | | | string
* | | | | Make sure `escape_javascript` return `SafeBuffer` if the incoming argument ↵Prem Sichanugrist2011-06-093-1/+6
| | | | | | | | | | | | | | | | | | | | is already html_safe
* | | | | Merge pull request #1606 from neerajdotname/remove_users_controller_from_testJosé Valim2011-06-091-3/+0
|\ \ \ \ \ | | | | | | | | | | | | remove unused UserController from test
| * | | | | remove unused user_controller from testNeeraj Singh2011-06-081-3/+0
| | |_|/ / | |/| | |
* / | | | class WithSymbolReturningString is not used anywhere in the test.Neeraj Singh2011-06-081-12/+0
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Secondly it seemed from the method that the intent was to test a case where layout was declared in a symbol and the method named mention in layout returns nil. That case is already covered with class class WithSymbolReturningNil . Also the case of SymbolReturningString is covered with the class WithSymbol.
* | | | Indention style + whitespace for readabilityDavid Heinemeier Hansson2011-06-091-33/+38
| | | |
* | | | If you set a js_compressor, it means that you want shit compressed -- we ↵David Heinemeier Hansson2011-06-091-2/+2
| | | | | | | | | | | | | | | | dont need a second option to turn that on
* | | | Update CHANGELOG to mention the new SafeBuffer changePrem Sichanugrist2011-06-081-0/+29
| | | |
* | | | Merge pull request #1560 from sikachu/master-escapejsJosé Valim2011-06-082-1/+8
|\ \ \ \ | | | | | | | | | | Make escape_javascript happy to handle SafeBuffers
| * | | | Make escape_javascript happy to handle SafeBuffersPaul Gallagher2011-06-082-1/+8
| | |_|/ | |/| | | | | | | | | | | | | | * see GH#1553 * allow for the fact that gsub on SafeBuffer does not pass match variables $1, $2 etc to a block
* / | | Make test meaningfulNeeraj Singh2011-06-081-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | If before_filter list was being called mistakenly then the test should fail. However test will not fail because second filter is assigning new values to @list. To truly test that first before_filter is not called when it should not be called then @list should not assigned value unconditionally. This patch will make the test fail if first filter is called.
* | | Merge pull request #1549 from neerajdotname/rename_to_method_for_actionJosé Valim2011-06-081-2/+2
|\ \ \ | | | | | | | | test name should reflect the name of the method
| * | | test name should reflect the name of the methodNeeraj Singh2011-06-081-2/+2
| | | | | | | | | | | | | | | | that is actually being called
* | | | Merge pull request #1548 from neerajdotname/remove_class_me5José Valim2011-06-081-6/+0
|\ \ \ \ | | | | | | | | | | remove unused class from test
| * | | | remove unused class from testNeeraj Singh2011-06-081-6/+0
| |/ / /
* | | | Merge pull request #1547 from sikachu/safebufferJosé Valim2011-06-073-5/+10
|\ \ \ \ | |/ / / |/| | | Fix ActionPack tests on `master`
| * | | Fix failing test on uninitialized `Rails.config.assets.prefix`Prem Sichanugrist2011-06-081-0/+1
| | | | | | | | | | | | | | | | This was introduced in [2684f17a17e4f97bdb89d20b4cd08585235263a2] :bomb:
| * | | Add proper fix to `mail_to` helper.Prem Sichanugrist2011-06-081-2/+2
| | | | | | | | | | | | | | | | | | | | * Fix the problem on manipulating on the `ActiveSupport::SafeBuffer` * Make sure that we run `escape_javascript` on the `String`, to avoid unexpected behavior.
| * | | Adapt [823aa223efbac6ad4d31ea33402892267bb77cb4] to make sure we perform ↵Prem Sichanugrist2011-06-081-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | cloning before manipulation only on `OutputBuffer`. After the fragment rendering, `Builder` returns the `String` object instead of `ActionView::OutputBuffer`. Somehow the same procedure which was in [823aa223efbac6ad4d31ea33402892267bb77cb4] does not play nice with the String, and result in the fragment got lost.