- 10 6月, 2011 2 次提交
-
-
由 Aaron Patterson 提交于
Make sure `escape_javascript` return `SafeBuffer` if the incoming argumen
-
由 Prem Sichanugrist 提交于
-
- 09 6月, 2011 17 次提交
-
-
由 José Valim 提交于
remove unused UserController from test
-
由 José Valim 提交于
Fix engine's generator
-
由 José Valim 提交于
Fix "warning: assigned but unused variable" on AR tests
-
由 José Valim 提交于
class WithSymbolReturningString is not used anywhere in the test.
-
由 José Valim 提交于
Date#freeze fails when called more than once in 1.8
-
由 José Valim 提交于
Instance variable not used.
-
由 Aaron Patterson 提交于
Simplify boolean logic into ternary
-
由 Ben Orenstein 提交于
-
由 Neeraj Singh 提交于
-
由 Sebastian Martinez 提交于
-
由 Sebastian Martinez 提交于
-
由 Neeraj Singh 提交于
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.
-
由 David Heinemeier Hansson 提交于
-
由 David Heinemeier Hansson 提交于
If you set a js_compressor, it means that you want shit compressed -- we dont need a second option to turn that on
-
由 Bradley Buda 提交于
-
由 Rodrigo Navarro 提交于
-
由 Aaron Patterson 提交于
Update CHANGELOG to mention the new SafeBuffer change
-
- 08 6月, 2011 21 次提交
-
-
由 Prem Sichanugrist 提交于
-
由 José Valim 提交于
Make escape_javascript happy to handle SafeBuffers
-
由 Paul Gallagher 提交于
* see GH#1553 * allow for the fact that gsub on SafeBuffer does not pass match variables $1, $2 etc to a block
-
由 José Valim 提交于
Make test meaningful
-
由 Neeraj Singh 提交于
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.
-
由 José Valim 提交于
Brought back alternative convention for namespaced models in i18n
-
由 thoefer 提交于
-
由 Xavier Noria 提交于
Do not hardcode :id as it was ignored by mass assignment filter
-
由 Raimonds Simanovskis 提交于
As a result test was failing on Oracle where ids are assigned by default from 1000
-
由 José Valim 提交于
test name should reflect the name of the method
-
由 José Valim 提交于
remove unused class from test
-
由 Neeraj Singh 提交于
that is actually being called
-
由 Neeraj Singh 提交于
-
由 José Valim 提交于
Fix ActionPack tests on `master`
-
由 José Valim 提交于
Don't operate on the safebuffer, operate on a string and convert.
-
由 Prem Sichanugrist 提交于
This was introduced in [2684f17a]
💣 -
由 Prem Sichanugrist 提交于
* Fix the problem on manipulating on the `ActiveSupport::SafeBuffer` * Make sure that we run `escape_javascript` on the `String`, to avoid unexpected behavior.
-
由 Prem Sichanugrist 提交于
Adapt [823aa223] to make sure we perform 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 [823aa223] does not play nice with the String, and result in the fragment got lost.
-
由 José Valim 提交于
Prefer 'each' over 'for in' syntax.
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
-