- 09 6月, 2011 2 次提交
-
-
由 Rodrigo Navarro 提交于
-
由 Aaron Patterson 提交于
Update CHANGELOG to mention the new SafeBuffer change
-
- 08 6月, 2011 38 次提交
-
-
由 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 提交于
-
由 Aaron Patterson 提交于
Fragment caching needs to operate on the pure output, not the safebuffer.
-
由 Christopher Meiklejohn 提交于
-
由 Christopher Meiklejohn 提交于
safebuffer.
-
由 Sebastian Martinez 提交于
-
由 Michael Koziarski 提交于
Also make sure that the versions of those methods which modify a string in place such as gsub! can't be called on safe buffers at all. Conflicts: activesupport/test/safe_buffer_test.rb
-
由 Jon Leighton 提交于
Allow polymorphic has_one to work when the association is set before the owner has been saved. Fixes #1524.
-
由 Jon Leighton 提交于
When you add a record to a polymorphic has_one, you should be able to access the owner from the associated record
-
-
由 Vijay Dev 提交于
-
由 Xavier Noria 提交于
Fix typo
-
由 Alexandr Zykov 提交于
-
由 Joshua Peek 提交于
Fixes #1489
-
由 Paco Guzman 提交于
-
由 Vijay Dev 提交于
-
由 Vijay Dev 提交于
-
由 Vijay Dev 提交于
-
由 Xavier Noria 提交于
-