Michael Koziarski
|
ef21e01333
|
Remove dead code, and the tests for it.
|
2008-05-31 16:59:03 -07:00 |
|
Jeremy Kemper
|
888a2927b6
|
Remove superfluous tests directive
|
2008-05-26 01:39:21 -07:00 |
|
Kevin Glowacz
|
1a73e98660
|
Fix auto_link helper for already linked urls. [#72 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-05-22 21:10:40 +01:00 |
|
Adam
|
314e556e6f
|
Parentheses should be acceptable characters for auto_link_urls. [#234 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-05-22 11:16:02 +01:00 |
|
Erkki Eilonen
|
6e3521e613
|
Improve check_box_checked? to use include? for Array values. [#193 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-05-21 20:23:58 +01:00 |
|
Frederick Cheung
|
17d1319c48
|
Ensure observe_field encodes value parameter. [#216 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-05-19 10:30:56 +01:00 |
|
gbuesing
|
e30a263bf1
|
InstanceTag#default_time_from_options overflows to DateTime
|
2008-05-18 10:59:24 -05:00 |
|
Eugene Pimenov
|
150717344a
|
auto_link helper fails to recognize links separated by space. [#72 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-05-16 13:00:39 +01:00 |
|
Robby Russell
|
6df995bbf2
|
Adding an example test case for pluralize for (y) -> (ies)
|
2008-05-14 17:17:24 -07:00 |
|
Joshua Peek
|
603c853a34
|
Don't fallback to just adding "'s" in TextHelper#pluralize, because the Inflector is always loaded.
|
2008-05-14 14:34:28 -05:00 |
|
Andre Arko
|
d16fbe53b2
|
Fix remote_function to escape apostrophes inside the remote url passed to Ajax.Update. [#180 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-05-13 18:33:33 +01:00 |
|
gbuesing
|
bfbf03ecee
|
ActionView::InstanceTag#default_time_from_options with hash args uses Time.current as default; respects hash settings when time falls in system local spring DST gap
|
2008-05-08 23:40:25 -05:00 |
|
gbuesing
|
66728087d0
|
Adding Date.current, which returns Time.zone.today if config.time_zone is set; otherwise returns Date.today. ActionView date_helper uses Date.current to determine locale-appropriate default
|
2008-05-08 22:48:47 -05:00 |
|
Andrew Vit
|
04f52219f1
|
Fixed form helper's name attribute for question methods
|
2008-05-06 00:03:32 -07:00 |
|
Pratik Naik
|
87ec72bd8c
|
Improve PartialTemplate tests
|
2008-05-02 10:45:08 +01:00 |
|
David Heinemeier Hansson
|
f6ec296ad8
|
Fixed that TextHelper#text_field would corrypt when raw HTML was used as the value (mchenryc, Kevin Glowacz) [#80 state:resolved]
|
2008-05-01 17:56:32 -05:00 |
|
Pratik Naik
|
74436d2203
|
Fixed render :template for templates in top level of view path. [#54 state:resolved]
|
2008-05-01 10:21:46 +01:00 |
|
Kevin Glowacz
|
c83f75812e
|
Fixed labels that have a bracketed name and an index [#68 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-04-30 17:21:18 -05:00 |
|
Joshua Peek
|
96d9691e71
|
FormHelper#label_tag accepts :for option [encoded] [#38 state:resolved]
|
2008-04-30 17:14:28 -05:00 |
|
David Heinemeier Hansson
|
d327496ab7
|
Fixed tests (and the weird assumption that no logger would mean that the code wasnt run)
|
2008-04-30 15:00:15 -05:00 |
|
gbuesing
|
f757f58388
|
select_datetime and select_time default to Time.zone.now when config.time_zone is set
|
2008-04-21 00:40:04 -05:00 |
|
gbuesing
|
c2c779044f
|
datetime_select defaults to Time.zone.now when config.time_zone is set
|
2008-04-21 00:08:45 -05:00 |
|
Joshua Peek
|
17d4164a16
|
Introduce ActionView::TestCase for testing view helpers.
|
2008-04-19 13:08:24 -05:00 |
|
Pratik Naik
|
ef4c65088f
|
Move missing template logic to ActionView
|
2008-04-19 18:59:13 +01:00 |
|
Stephen Celis
|
89237fe07e
|
Scripts and styles with multiple dots in the filename should cache
|
2008-04-12 18:43:38 -05:00 |
|
Rick Olson
|
0ff7a2d89f
|
add json_escape ERB util to escape html entities in json strings that are output in HTML pages. [rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9241 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-08 04:52:01 +00:00 |
|
Pratik Naik
|
1e087fd3fd
|
Ensure RJS redirect_to doesn't html-escapes string argument. Closes #8546
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9212 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-02 12:48:59 +00:00 |
|
Jeremy Kemper
|
30fa377f33
|
Ruby 1.9 compat: encoding and multibyte test fixes
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9194 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-01 07:39:04 +00:00 |
|
Jeremy Kemper
|
5c0656c9ee
|
Fix layouts in symlinked paths. Closes #9136 [court3nay, caio]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 20:54:26 +00:00 |
|
Jeremy Kemper
|
6efee90bf2
|
Missing :js template falls back to :html, so you don't have to explicitly specify template format everywhere, breaking old code
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 20:21:52 +00:00 |
|
Jeremy Kemper
|
4942e5b1cb
|
Whitespace + formatting
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9089 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-25 21:27:57 +00:00 |
|
David Heinemeier Hansson
|
b0bfcca16e
|
Fixed that FormHelper#radio_button would produce invalid ids (closes #11298) [harlancrystal]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9088 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-24 21:32:50 +00:00 |
|
David Heinemeier Hansson
|
123f5a357d
|
Added :confirm option to submit_tag (closes #11415) [miloops]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9087 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-24 21:24:40 +00:00 |
|
David Heinemeier Hansson
|
0e62c773f6
|
Fixed NumberHelper#number_with_precision to properly round in a way that works equally on Mac, Windows, Linux (closes #11409, #8275, #10090, #8027) [zhangyuanyi]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9086 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-24 21:12:55 +00:00 |
|
Rick Olson
|
5bf4cbbdb7
|
Allow the #simple_format text_helper to take an html_options hash for each paragraph. Closes #2448 [Francois Beausoleil, thechrisoshow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9083 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-24 02:29:30 +00:00 |
|
Jeremy Kemper
|
bd940d98bd
|
Re-added ActionView::Helpers::register_javascript/stylesheet_expansion to make it easier for plugin developers to inject multiple assets. Closes #10350.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9065 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-20 16:26:04 +00:00 |
|
David Heinemeier Hansson
|
54213dadfd
|
Docfixes (closes #11356, #11172, #10523)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9064 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-20 02:15:29 +00:00 |
|
Jeremy Kemper
|
e87d3e3335
|
Revert [9106]. References #10350.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9063 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-19 19:56:07 +00:00 |
|
David Heinemeier Hansson
|
3c0fd445c0
|
Added :format option to NumberHelper#number_to_currency to enable better localization support #11149 [lylo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9052 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-17 22:08:25 +00:00 |
|
David Heinemeier Hansson
|
5f5822af37
|
Fixed that TextHelper#excerpt would include one character too many (closes #11268) [Irfy]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9030 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-15 19:59:34 +00:00 |
|
Pratik Naik
|
58c30f6135
|
Move tests from action_view_test.rb to template_finder_test.rb so that they get run by default take task. [Pratik]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9021 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-13 11:52:53 +00:00 |
|
David Heinemeier Hansson
|
e915379a10
|
Added ActionView::Helpers::register_javascript/stylesheet_expansion to make it easier for plugin developers to inject multiple assets (closes #10350) [lotswholetime]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9016 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-13 02:31:45 +00:00 |
|
Pratik Naik
|
a96272a0c5
|
Moved template handlers related code from ActionView::Base to ActionView::Template
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8981 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-05 02:03:24 +00:00 |
|
Pratik Naik
|
89ee5d63d0
|
Tests for div_for and content_tag_for helpers. Closes #11223 [thechrisoshow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8980 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-05 01:26:24 +00:00 |
|
Michael Koziarski
|
51b6619d4e
|
Refactor partial rendering into a PartialTemplate class. [Pratik]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-03 04:01:35 +00:00 |
|
Michael Koziarski
|
4673c47d7b
|
Allow html_options to be passed to all the date helpers. Closes #6000 [h-lame, Jakob S]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8968 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-02 04:40:54 +00:00 |
|
Michael Koziarski
|
6da3771346
|
Fix regexp to contain only one rjs, and add rhtml [lifofifo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8959 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-01 00:01:28 +00:00 |
|
Michael Koziarski
|
cd937e6ad7
|
Make date_helper use tag and content_tag. Move to assert_dom_equal instead of assert_equal to avoid being dependent on hash ordering. Closes #11131 [ernesto.jimenez]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8911 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-20 04:23:18 +00:00 |
|
Geoff Buesing
|
3025ff28cc
|
Tests for distance_of_time_in_words with TimeWithZone instances. Closes #10914 [ernesto.jimenez]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8883 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-16 21:16:03 +00:00 |
|
Michael Koziarski
|
86cb0a61fb
|
Ensure that :confirm doesn't need extra quotes when using drop_receiving_element. Closes #8299 [thechrisoshow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8879 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-16 00:07:52 +00:00 |
|