aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
Commit message (Collapse)AuthorAgeFilesLines
* More Safari appeasementDavid Heinemeier Hansson2007-02-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6137 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Safari requires an explicit submitDavid Heinemeier Hansson2007-02-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix that FormTagHelper#submit_tag using :disable_with should trigger the ↵David Heinemeier Hansson2007-02-061-1/+6
| | | | | | onsubmit handler of its form if available [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* rename #lookup_template_base_path_for to #find_base_path_for in ↵Rick Olson2007-02-061-1/+1
| | | | | | ActionView::Base [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6132 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix #render_file so that TemplateError is called with the correct params and ↵Rick Olson2007-02-051-5/+4
| | | | | | you don't get the WSOD. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6130 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow Controllers to have multiple view_paths instead of a single ↵Rick Olson2007-02-041-13/+19
| | | | | | template_root. Closes #2754 [John Long] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure that the string returned by TextHelper#truncate is actually a ↵David Heinemeier Hansson2007-01-311-1/+1
| | | | | | string, not a char proxy -- that should only be used internally while working on a multibyte-safe way of truncating [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6096 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added FormBuilder#submit as a delegate for FormTagHelper#submit_tag [DHH]David Heinemeier Hansson2007-01-291-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6089 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* date_select and datetime_select take a :default option. Closes #7052.Jeremy Kemper2007-01-281-1/+26
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6080 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* select :multiple => true suffixes the attribute name with [] unless already ↵Jeremy Kemper2007-01-281-1/+1
| | | | | | suffixed. Closes #6977. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6078 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* mail_to :encode => 'hex' also encodes the mailto: part of the href attribute ↵Jeremy Kemper2007-01-281-2/+10
| | | | | | as well as the linked email when no name is given. Closes #2061. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6070 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use a consistent load path to avoid double requires. Fix some scattered Ruby ↵Jeremy Kemper2007-01-2812-34/+24
| | | | | | warnings. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6057 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed NumberHelper#number_with_delimiter to use "." always for splitting the ↵David Heinemeier Hansson2007-01-261-5/+5
| | | | | | original number, not the delimiter parameter (closes #7389) [ceefour] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6045 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add error_messages and error_message_on to the default FormBuilder. Closes ↵Michael Koziarski2007-01-261-0/+8
| | | | | | #6939 [nik.wakelin] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6040 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Autolinking recognizes trailing and embedded . , : ; Closes #7354.Jeremy Kemper2007-01-241-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6034 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make TextHelper::auto_link recognize URLs with colons in path correctly, ↵Thomas Fuchs2007-01-211-14/+14
| | | | | | fixes #7268 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6005 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update trunk to script.aculo.us 1.7.0Thomas Fuchs2007-01-192-86/+86
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6004 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update prototype.js to [5985], fixes content-type issue with simulated HTTP ↵Thomas Fuchs2007-01-181-8/+9
| | | | | | methods git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5988 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix #distance_of_time_in_words to report accurately against the Duration ↵Rick Olson2007-01-171-3/+3
| | | | | | class. #7114 [eventualbuddha] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5973 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor #form_tag to allow easy extending. [Rick]Rick Olson2007-01-171-21/+37
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5972 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to Prototype 1.5.0Sam Stephenson2007-01-171-126/+214
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow fields_for to be nested in form_forJamis Buck2007-01-171-4/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5965 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow inGroupsOf and eachSlice to be called through rjs. Closes #7046 Tobias Lütke2007-01-151-3/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5942 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tiny doc fix for link_to_remote simulated :delete example. Closes #6962.Jeremy Kemper2007-01-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5899 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* link_to_unless_current works with full URLs as well as paths. Closes #6891.Jeremy Kemper2007-01-121-2/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5896 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Lookup the mime type for #auto_discovery_link_tag in the Mime::Type class. ↵Rick Olson2007-01-081-1/+1
| | | | | | Closes #6941 [Josh Peek] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5874 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix no method error with error_messages_on. Closes #6935 [nik.wakelin Koz]Michael Koziarski2007-01-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5870 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Slight doc tweak to the ActionView::Helpers::PrototypeHelper#replace docs. ↵Rick Olson2007-01-051-1/+1
| | | | | | Closes #6922 [Steven Bristol] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5863 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add more extensive documentation to the AssetTagHelper. Closes #6452 [Bob ↵Rick Olson2007-01-051-42/+82
| | | | | | Silva] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5859 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clean up multiple calls to #stringify_keys in TagHelper, add better ↵Rick Olson2007-01-051-23/+42
| | | | | | documentation and testing for TagHelper. Closes #6394 [Bob Silva] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5857 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* [DOCS] fix reference to ActionController::Macros::AutoComplete for ↵Rick Olson2007-01-051-2/+2
| | | | | | #text_field_with_auto_complete. Closes #2578 [Jan Prill] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to latest PrototypeSam Stephenson2007-01-051-61/+102
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5845 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make error_message_on handle nil objects. [dan]Michael Koziarski2006-12-271-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5799 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix date helper :include_blank regression. Closes #3811. [mhw]Jeremy Kemper2006-12-201-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5759 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved auto_link to match more valid urls correctlyTobias Lütke2006-12-071-13/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5704 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Bob's raining patches: fixes date_helper bugs and usability issues. ↵Jeremy Kemper2006-12-062-121/+224
| | | | | | References #3811. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5685 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Premature commitDavid Heinemeier Hansson2006-11-302-14/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5653 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that script/server running against Mongrel should tail the proper log ↵David Heinemeier Hansson2006-11-302-0/+14
| | | | | | regardless of the environment [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* strip_tags passes through blank args such as nil or "". Closes #6702, ↵Jeremy Kemper2006-11-261-1/+1
| | | | | | references #2229. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5629 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure .morph makes it inThomas Fuchs2006-11-201-1/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5602 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Extract template_changed_since? from compile_template? so plugins may ↵Jeremy Kemper2006-11-201-4/+10
| | | | | | override its behavior for non-file-based templates. Closes #6651. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update trunk w/ latest Prototype and script.aculo.usThomas Fuchs2006-11-194-15/+159
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5581 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* simple_format helper doesn't choke on nil. Closes #6644.Jeremy Kemper2006-11-191-6/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5561 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update Prototype in trunk to [5550]Thomas Fuchs2006-11-171-0/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5551 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ActionView::Base.erb_variable accessor names the buffer variable used to ↵Jeremy Kemper2006-11-173-5/+8
| | | | | | render templates. Defaults to _erbout; use _buf for erubis. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5544 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Template errors: fix strange deprecation warnings on e.g. @flash.inspect, ↵Jeremy Kemper2006-11-171-42/+66
| | | | | | remove deprecated @assigns, handle sources without a discernable line number, clean up code. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5543 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to Prototype 1.5.0_rc2Sam Stephenson2006-11-121-179/+239
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5497 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove JavaScriptLiteral in favor of ActiveSupport::JSON::Variable.Sam Stephenson2006-11-111-8/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5487 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecate JavaScriptHelper#update_element_function, which is superseeded by ↵Thomas Fuchs2006-11-062-75/+34
| | | | | | RJS [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5438 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* pluralize helper interprets nil as zero. Closes #6474.Jeremy Kemper2006-11-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5431 5ecf4fe2-1ee6-0310-87b1-e25e094e27de