aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
Commit message (Collapse)AuthorAgeFilesLines
* Added :popup option to UrlHelper#link_to #1996 [gabriel.gironda@gmail.com]David Heinemeier Hansson2005-09-041-3/+23
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2129 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated the options_for_select to deal with the fact that Strings now ↵David Heinemeier Hansson2005-09-031-1/+1
| | | | | | implement :first git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2126 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added note about how pre-packaged error functionality can be easier to ↵David Heinemeier Hansson2005-09-031-0/+4
| | | | | | recreate yourself than attempt to overly tailor #1489 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2112 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix observe_field to fall back to event-based observation if frequency <= 0 ↵Jamis Buck2005-09-021-4/+5
| | | | | | #1916 [michael@schubert.cx] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2104 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* * Allow use of the :with option for submit_to_remote #1936 ↵Jamis Buck2005-09-021-1/+1
| | | | | | [jon@instance-design.co.uk] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2103 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Yield @content_for_ variables to templates #2058 [Sam Stephenson]Jamis Buck2005-09-011-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2094 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make rendering an empty partial collection behave like :nothing => true ↵Jamis Buck2005-09-011-1/+1
| | | | | | #2080 [Sam Stephenson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add dummy ActionView::Base.cache_template_loading accessor -- will be made ↵Nicholas Seckar2005-08-291-0/+3
| | | | | | functional again in short time git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2066 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made Upload Progress work with Prototype 1.4.0 and add some documentation ↵David Heinemeier Hansson2005-08-271-1/+1
| | | | | | for it #1847, #1876 [Thomas Fuchs/Sean Treadway] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2059 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Render refactoring; render error reporting fixesNicholas Seckar2005-08-263-122/+165
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2058 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :use_short_month option to select_month helper to show month names as ↵Jamis Buck2005-08-221-2/+6
| | | | | | abbreviations git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2033 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make link_to escape the javascript in the confirm option #1964 ↵Jamis Buck2005-08-141-1/+5
| | | | | | [nicolas.pouillard@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2009 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More fixes, but still brokenDavid Heinemeier Hansson2005-07-271-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1948 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixing the fix, but not quiteDavid Heinemeier Hansson2005-07-271-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1946 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed bug when a partial render was passing a local with the same name as ↵David Heinemeier Hansson2005-07-271-1/+1
| | | | | | the partial git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1942 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Document the design of the compiled templates approach and tweak the ↵David Heinemeier Hansson2005-07-261-4/+8
| | | | | | expiration check git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1929 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved performance of test app req/sec with ~10% refactoring the render ↵David Heinemeier Hansson2005-07-242-5/+13
| | | | | | method #1823 [Stefan Kaes] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1915 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Simplify content_for implementationDavid Heinemeier Hansson2005-07-241-10/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1914 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed regression for content_for #1820 [Stefan Kaes]David Heinemeier Hansson2005-07-241-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1911 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Caching template logging goes DEBUGDavid Heinemeier Hansson2005-07-231-4/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1903 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Extended template caching to rxml and attempted to fix periodical caching ↵David Heinemeier Hansson2005-07-231-40/+49
| | | | | | issue [Stephan Kaes] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1902 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed call on inline with new render_template #1808 [Michael Shuerig]David Heinemeier Hansson2005-07-221-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1898 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed changing templates in development mode [Stephan Kaes]David Heinemeier Hansson2005-07-221-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1891 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed caching/expiration/hit to report using the DEBUG log level and ↵David Heinemeier Hansson2005-07-221-3/+3
| | | | | | errors to use the ERROR log level instead of both using INFO git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1889 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use debug to report compilation of erb templatesDavid Heinemeier Hansson2005-07-221-6/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1885 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed compile of template fails if template name contains non-word character ↵David Heinemeier Hansson2005-07-221-2/+3
| | | | | | #1802 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1883 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added additional documentation to FormTagHelper #1788 ↵David Heinemeier Hansson2005-07-221-0/+49
| | | | | | [jon@instance-design.co.uk] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1880 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved rendering speed on complicated templates by up to 25% #1234 ↵David Heinemeier Hansson2005-07-211-43/+90
| | | | | | [Stephan Kaes]. This did necessasitate a change to the internals of ActionView#render_template that now has four parameters. Developers of custom view handlers (like Amrita) need to update for that. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1874 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added options hash as third argument to FormHelper#input, so you can do ↵David Heinemeier Hansson2005-07-171-2/+2
| | | | | | input('person', 'zip', :size=>10) #1719 [jeremye@bsa.ca.gov] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Docs for JavaScriptHelper#remote_function #1740 [jon@instance-design.co.uk]David Heinemeier Hansson2005-07-171-1/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1847 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cleaning up of javascript_helper array options, add :only to ↵David Heinemeier Hansson2005-07-171-16/+13
| | | | | | sortable_element #1761 [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1843 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More pagination speed #1334 [Stefan Kaes]David Heinemeier Hansson2005-07-151-18/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed line number reporting for Builder template errors #1753 [piotr]David Heinemeier Hansson2005-07-151-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1838 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed bug with :success/:failure callbacks for the JavaScriptHelper methods ↵David Heinemeier Hansson2005-07-142-2/+2
| | | | | | #1730 [court3nay/Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1835 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made pagination faster #1334 [Stefan Kaes]David Heinemeier Hansson2005-07-141-16/+25
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1832 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved documentation for :success/:failure callbacks #1699 [Thomas Fuchs]David Heinemeier Hansson2005-07-111-8/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1812 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Script.aculo.us: latest rev, new autocompleter features, memory leaks fixed ↵David Heinemeier Hansson2005-07-114-114/+303
| | | | | | #1695 [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1810 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to Prototype 1.3.1Sam Stephenson2005-07-111-39/+50
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1804 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made JavaScriptHelper tests pass regardless of hash order #1656 [Sam Stephenson]David Heinemeier Hansson2005-07-101-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1794 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that nil options are not included in tags, so tag("p", :ignore => nil) ↵David Heinemeier Hansson2005-07-091-2/+3
| | | | | | now returns <p /> not <p ignore="" /> but that tag("p", :ignore => "") still includes it #1465 [michael@schuerig.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1789 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that UrlHelper#link_to_unless/link_to_if used html_escape on the name ↵David Heinemeier Hansson2005-07-091-1/+1
| | | | | | if no link was to be applied. This is unnecessary and breaks its use with images #1649 [joergd@pobox.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1786 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added even more goodies to script.aculo.us #1677 [Thomas Fuchs]David Heinemeier Hansson2005-07-092-75/+133
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1783 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed SQL Server test #1678 [Tom Ward]David Heinemeier Hansson2005-07-091-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1782 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :handle as an option to sortable_element to restrict the drag handle ↵David Heinemeier Hansson2005-07-071-1/+1
| | | | | | to a given class #1642 [thejohnny] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1760 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a bunch of script.aculo.us features: Effect.ScrollTo, to smoothly ↵David Heinemeier Hansson2005-07-072-70/+116
| | | | | | scroll the page to an element, better Firefox flickering handling on SlideUp/SlideDown, Removed a possible memory leak in IE with draggables, Added support for cancelling dragging my hitting ESC #1644 [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1759 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed JavascriptHelper#visual_effect to use camelize such that :blind_up ↵David Heinemeier Hansson2005-07-071-1/+1
| | | | | | will work #1639 [pelletierm@eastmedia.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1754 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made documentation ready for release (AP)David Heinemeier Hansson2005-07-061-2/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1731 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make new AJAX helpers aware of more of their options #1622 [Thomas Fuchs]David Heinemeier Hansson2005-07-061-1/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1729 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* benchmark helper takes an optional log level, defaults to :info. Chose ↵Jeremy Kemper2005-07-051-9/+9
| | | | | | symbols log levels rather than Logger::FOO constants for simplicity. Added benchmark helper test suite. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix syntax errorDavid Heinemeier Hansson2005-07-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1715 5ecf4fe2-1ee6-0310-87b1-e25e094e27de