Pratik Naik
|
ca9413674e
|
Improve documentation.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-26 12:27: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
|
ff8b9e6b08
|
Fixed that atom_feed shouldnt require a schema_date since most people just dont care and the value tends to be of no significance anyway (references #10672) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9044 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-17 04:46:33 +00:00 |
|
David Heinemeier Hansson
|
1b41178a83
|
Docfix (closes #11230) [Henrik N]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9035 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-15 20:08:51 +00:00 |
|
David Heinemeier Hansson
|
3ecde39968
|
Docfix (closes #11226) [mikong]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9034 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-15 20:08:05 +00:00 |
|
David Heinemeier Hansson
|
a02c6070f0
|
Docfix (closes #11263) [Irfy]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9031 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-15 20:00:41 +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 |
|
David Heinemeier Hansson
|
d0bc724786
|
Docfix (closes #11281) [jlindley]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9029 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-15 19:54:02 +00:00 |
|
Pratik Naik
|
4036fcc5c4
|
Handle template error gracefully when line number cannot be derived. Closes #11327 [Nex3]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9027 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-15 18:42:53 +00:00 |
|
Jeremy Kemper
|
d7f84f61a2
|
Remove unused to_date_tag. Closes #11237 [danger]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9024 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-13 19:18:45 +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
|
b1f6bb90b9
|
Documentation for the drop_receiving_element helpers :onDrop callback. Closes #11158 [thechrisoshow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8983 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-05 10:53:04 +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
|
b18585fb06
|
Fix syntax errors in the documentation for image submit tag. Closes #11073 [wharris]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-02 04:42:52 +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 |
|
David Heinemeier Hansson
|
7dcd0d7d96
|
Added that requests with JavaScript as the priority mime type in the accept header and no format extension in the parameters will be treated as though their format was :js when it comes to determining which template to render. This makes it possible for JS requests to automatically render action.js.rjs files without an explicit respond_to block [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8956 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-29 18:09:23 +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 |
|
Michael Koziarski
|
cae1d960d2
|
Check the host string contains %d before using String#%, this avoids warnings. Closes #10809 [chuyeow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8893 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-18 01:02:29 +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 |
|
Marcel Molina
|
c848c4c621
|
Fix problem with render :partial collections, records, and locals. #11057 [lotswholetime]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8822 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-08 22:04:06 +00:00 |
|
Rick Olson
|
efa739d73d
|
Fix typo in form_helper documentation. Closes #10650 [xaviershay, kampers]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8812 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-07 16:50:55 +00:00 |
|
Rick Olson
|
57cea9c945
|
Add a slightly more informative exception message for ActionView::TemplateFinder::InvalidViewPath [rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8809 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-07 02:45:13 +00:00 |
|
Michael Koziarski
|
692dbbf793
|
Introduce a Template class to ActionView. Closes #11024 [lifofifo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8805 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-06 04:26:40 +00:00 |
|
Jeremy Kemper
|
72640c6125
|
Cache partial variable names to reduce garbage
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8793 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-03 12:11:30 +00:00 |
|
Jeremy Kemper
|
780151c01e
|
Fix missing extension for caching. Closes #10733 [Catfish, tcoppock, mpalmer]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8791 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-03 01:11:42 +00:00 |
|
Jeremy Kemper
|
0da2aa6d11
|
Introduce the :index option for form_for and fields_for to simplify multi-model forms (see http://railscasts.com/episodes/75). Closes #9883.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8786 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-02 06:16:04 +00:00 |
|
Jeremy Kemper
|
9d79e0668d
|
Fix number_to_human_size incorrectly removing trailing zeros. Closes #10099 [libc, developingchris]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8774 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-02 02:59:10 +00:00 |
|
Michael Koziarski
|
1ba5fc745b
|
Move the declaration of the compilation related cattr_accessors to compilable. Closes #10959 [lifofifo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8756 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-30 21:09:32 +00:00 |
|
Michael Koziarski
|
aecb7fbefc
|
Correct line numbers from template errors. Closes #10937 [Aleksey Kondratenko]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8744 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-27 20:48:13 +00:00 |
|
Michael Koziarski
|
c155fe9a39
|
Precalculate the Backtrace of a template error to avoid raising exceptions in TemplateError#backtrace. These will abort the ruby vm. Closes #10936 [Aleksey Kondratenko]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8743 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-27 20:45:35 +00:00 |
|
Michael Koziarski
|
10aa728e8b
|
Don't repeatedly add relative_url_root to asset sources. Closes #10767 [tomtoday, Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8740 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-27 01:10:48 +00:00 |
|
Michael Koziarski
|
5ac3a9bd0b
|
Use File.join to construct partial path. Closes #10932 [patrick.t.joyce]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8739 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-27 01:03:56 +00:00 |
|
Michael Koziarski
|
9f1fdcc27d
|
Handle corner case with image_tag when passed 'messed up' image names. Closes #9018 [duncanbeevers, mpalmer]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8717 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-25 04:13:50 +00:00 |
|
Michael Koziarski
|
c0110a9faa
|
Refactor template compilation from AV::Base into the template handlers. Closes #10888 [lifofifo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8689 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-22 01:46:34 +00:00 |
|
Michael Koziarski
|
7701e6466d
|
Add label_tag helper for generating elements. Closes #10802 [DefV]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8685 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-21 21:08:28 +00:00 |
|
Michael Koziarski
|
61c90a4ad6
|
Reapply the TemplateFinder first applied in [8669] then reverted in [8676]. Closes #10800 [lifofifo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8683 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-21 20:45:04 +00:00 |
|
Jeremy Kemper
|
88bc014acc
|
Revert r8669 for now, breaks Action Mailer. Reopens #10800.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8676 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-19 06:01:57 +00:00 |
|
Jeremy Kemper
|
84b0f9c739
|
Introduce TemplateFinder to handle view paths and lookups. Closes #10800.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-19 03:20:39 +00:00 |
|
Michael Koziarski
|
b812b23687
|
Make render :partial recognise form builders and use the _form partial. Closes #10814 [djanowski]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8646 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-16 02:01:57 +00:00 |
|
Michael Koziarski
|
76ea495ec9
|
Correct docs on caching and all.js
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8641 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-14 04:22:44 +00:00 |
|