- 03 4月, 2010 1 次提交
-
-
由 wycats 提交于
Refactored url_for in AV to have its own instances of the helpers instead of proxying back to the controller. This potentially allows for more standalone usage of AV. It also kicked up a lot of dust in the tests, which were mocking out controllers to get this behavior. By moving it to the view, it made a lot of the tests more standalone (a win)
-
- 10 3月, 2010 1 次提交
-
-
由 wycats 提交于
-
- 21 2月, 2010 1 次提交
-
-
由 José Valim 提交于
Require persisted? in ActiveModel::Lint and remove new_record? and destroyed? methods. ActionPack does not care if the resource is new or if it was destroyed, it cares only if it's persisted somewhere or not.
-
- 07 2月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 02 2月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 01 2月, 2010 2 次提交
-
-
由 Yehuda Katz 提交于
For performance reasons, you can no longer call html_safe! on Strings. Instead, all Strings are always not html_safe?. Instead, you can get a SafeBuffer from a String by calling #html_safe, which will SafeBuffer.new(self). * Additionally, instead of doing concat("</form>".html_safe), you can do safe_concat("</form>"), which will skip both the flag set, and the flag check. * For the first pass, I converted virtually all #html_safe!s to #html_safe, and the tests pass. A further optimization would be to try to use #safe_concat as much as possible, reducing the performance impact if we know up front that a String is safe.
-
由 Stephen St. Martin 提交于
-
- 31 1月, 2010 2 次提交
-
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
This reverts commit 3aa1ea1a, reversing changes made to 2c12a713. Conflicts: actionpack/lib/action_view/helpers/javascript_helper.rb actionpack/lib/action_view/helpers/url_helper.rb actionpack/test/template/url_helper_test.rb
-
- 28 1月, 2010 1 次提交
-
-
由 Erik St. Martin 提交于
Removed all helpers from PrototypeHelper that are implemented in AjaxHelper. Modified tests that extended with PrototypeHelper to now extend using AjaxHelper. AjaxHelper is now included by default in view helper
-
- 15 1月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 14 1月, 2010 4 次提交
-
-
由 Stephen Celis 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 Carlos Antonio da Silva 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 07 1月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 03 1月, 2010 1 次提交
-
-
由 Carsten Gehling 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 16 11月, 2009 1 次提交
-
-
由 Will Read 提交于
[#3259 state:resolved] Signed-off-by: NEloy Duran <eloy.de.enige@gmail.com>
-
- 08 10月, 2009 1 次提交
-
-
由 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.
-
- 04 10月, 2009 1 次提交
-
-
由 Joshua Peek 提交于
-
- 12 9月, 2009 1 次提交
-
-
由 Andrew France 提交于
Allow fields_for on a nested_attributes association to accept an explicit collection to be used. [#2648 state:resolved] Signed-off-by: NEloy Duran <eloy.de.enige@gmail.com>
-
- 10 8月, 2009 1 次提交
-
-
由 Matt Duncan 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 09 8月, 2009 1 次提交
-
-
由 José Valim 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 21 7月, 2009 1 次提交
-
-
由 Joshua Peek 提交于
-
- 20 7月, 2009 1 次提交
-
-
由 Yehuda Katz 提交于
-
- 19 7月, 2009 2 次提交
-
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
-
- 03 7月, 2009 2 次提交
-
-
由 Jarl Friis 提交于
Signed-off-by: NYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>
-
-
- 18 6月, 2009 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 09 6月, 2009 1 次提交
-
-
由 David Stevenson 提交于
Made label target radio button tags with values. Radio button now respects inherited :index options when generating id. Signed-off-by: NMichael Koziarski <michael@koziarski.com>
-
- 09 4月, 2009 1 次提交
-
-
- 27 2月, 2009 1 次提交
-
-
由 Eloy Duran 提交于
Signed-off-by: NDavid Heinemeier Hansson <david@loudthinking.com>
-
- 13 2月, 2009 1 次提交
-
-
由 Lance Ivy 提交于
Changed API of NestedAttributes to take an array, or hash with index keys, of hashes that have the id on the inside of the attributes hash and updated the FormBuilder to produce such hashes. Also fixed NestedAttributes with composite ids. Signed-off-by: NMichael Koziarski <michael@koziarski.com> Signed-off-by: NEloy Duran <eloy.de.enige@gmail.com> [#1892 state:committed]
-
- 11 2月, 2009 1 次提交
-
-
由 Joshua Peek 提交于
Move checkbox hidden field before the actual checkbox so the actual value doesn't get clobbered [#1863 state:resolved]
-
- 06 2月, 2009 1 次提交
-
-
由 Pascal Ehlert 提交于
Allowing an object to be passed explicitly to a fields_for with nested_attributes on one-to-one associations Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#1849 state:committed]
-
- 01 2月, 2009 1 次提交
-
-
由 Eloy Duran 提交于
Signed-Off-By: NMichael Koziarski <michael@koziarski.com> [#1202 state:committed]
-
- 21 12月, 2008 1 次提交
-
-
由 Pratik Naik 提交于
-
- 20 7月, 2008 1 次提交
-
-
由 Kevin Glowacz 提交于
Signed-off-by: NJoshua Peek <josh@joshpeek.com>
-
- 09 6月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
Use output_buffer reader and writer methods exclusively instead of hitting the instance variable so others can override the methods.
-