- 16 10月, 2009 3 次提交
-
-
由 José Valim 提交于
-
由 José Valim 提交于
This reverts commit 8cbf8254.
-
由 Yehuda Katz 提交于
-
- 15 10月, 2009 11 次提交
-
-
由 Michael Koziarski 提交于
-
由 Michael Koziarski 提交于
This doesn't provide a way to turn off the escaping, but alternative template engine authors can figure out what their default should be by calling this. Avoids a messy version + plugin check.
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 George Ogata 提交于
Fixes RSpec integration example groups, which mixes its Matchers module into ActiveSupport::TestCase. Signed-off-by: NMichael Koziarski <michael@koziarski.com>
-
由 Craig Smith 提交于
Previously this example would always pass, even when cookies.delete was not called. @request.cookies['foo'] = 'bar' get :delete_cookie assert_nil cookies['foo'] Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#2768 state:committed]
-
由 Michael Koziarski 提交于
-
由 Michael Koziarski 提交于
-
由 Phil Darnowsky 提交于
ActionView::Helpers::UrlHelper#url_for used to escape the URLs it generated by default. This was most commonly seen when generating a path with multiple query parameters, e.g. url_for(:controller => :foo, :action => :bar, :this => 123, :that => 456) would return http://example.com/foo/bar?that=456&this=123 escaping an ampersand that shouldn't be escaped. This is both wrong and inconsistent with the behavior of ActionController#url_for, and is changed. Signed-off-by: NMichael Koziarski <michael@koziarski.com>
-
由 Yehuda Katz 提交于
By using config rather than hardcoded constants, we can evolve the configuration system over time (we'd just need to update the config method with more robust capabilities and all consumers would get the capabilities with no code changes)
-
由 Jeffrey Hardy 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 13 10月, 2009 2 次提交
-
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
state:resolved]
-
- 10 10月, 2009 1 次提交
-
-
由 Yehuda Katz 提交于
-
- 09 10月, 2009 6 次提交
-
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
-
由 Carl Lerche 提交于
-
由 Joshua Peek 提交于
-
由 Carl Lerche 提交于
-
- 08 10月, 2009 2 次提交
-
-
由 Michael Koziarski 提交于
-
由 Michael Koziarski 提交于
This consists of: * String#html_safe! a method to mark a string as 'safe' * ActionView::SafeBuffer a string subclass which escapes anything unsafe which is concatenated to it * Calls to String#html_safe! throughout the rails helpers * a 'raw' helper which lets you concatenate trusted HTML from non-safety-aware sources (e.g. presantized strings in the DB) * New ERB implementation based on erubis which uses a SafeBuffer instead of a String Hat tip to Django for the inspiration.
-
- 07 10月, 2009 2 次提交
-
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
-
- 06 10月, 2009 1 次提交
-
-
由 Joshua Peek 提交于
-
- 05 10月, 2009 3 次提交
-
-
由 Joshua Peek 提交于
This reverts commit 49b52cad.
-
由 Michael Koziarski 提交于
This reverts commit c97c31b0.
-
由 Joshua Peek 提交于
-
- 04 10月, 2009 1 次提交
-
-
由 Joshua Peek 提交于
-
- 01 10月, 2009 1 次提交
-
-
由 Carl Lerche 提交于
This is to fix the AWDWR tests until the application object is refactored to be a singleton.
-
- 29 9月, 2009 1 次提交
-
-
由 Erik Ostrom 提交于
state:resolved] The test case now mimicks the template environment more closely, so it's possible to use render, load helper dependencies. This also fixes assert_select, and similar assertions. Because view tests and helpers generally don't render full templates assert_select looks first in rendered and then in output_buffer to find the rendered output. Additional `master'-only changes: Made the Action Pack Rakefile run the ActionView::TestCase tests, and made ActionView::Rendering#_render_text always return a string. Signed-off-by: NJoshua Peek <josh@joshpeek.com>
-
- 28 9月, 2009 2 次提交
-
-
由 John Trupiano 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#3266 state:committed]
-
由 Jay Pignata 提交于
Enhancing distance_of_time_in_words to prefix year output with over and about depending upon how many months have elapsed Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#3106 state:committed]
-
- 27 9月, 2009 4 次提交
-
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-