aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
Commit message (Collapse)AuthorAgeFilesLines
...
* Changed the default of ActionView#render to assume partials instead of files ↵David Heinemeier Hansson2008-11-192-7/+48
| | | | when not given an options hash [DHH]
* Fix rendering html partial via inline render when with :js format [#1399 ↵Luke Melia2008-11-181-1/+2
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Register 'checked' as an HTML boolean attribute.Hongli Lai (Phusion)2008-11-181-1/+1
| | | | | | | | | | | | | | | This way, 'tag :foo, :type => "checkbox", :checked => false' would output the expected <input type="checkbox" /> instead of the old <input type="checkbox" checked="false" /> The latter would result in a checkbox that's initially checked. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Remove duplicate distribution of prototype and scriptaculous.Michael Koziarski2008-11-184-7384/+0
| | | | This was previously needed by define_javascript_functions which has been removed for a while.
* Remove mention of long-dead define_javascript_functionsMichael Koziarski2008-11-181-3/+0
|
* Update Prototype to 1.6.0.3 and update script.aculo.us to 1.8.2Thomas Fuchs2008-11-184-520/+628
|
* use :en as a default locale (in favor of :en-US)Sven Fuchs2008-11-182-2/+2
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Prevent assert_template failures when a render :inline is called before ↵Luke Melia2008-11-171-1/+3
| | | | | | rendering a file-based template [#1383 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fixed RedCloth and BlueCloth shouldn't preload. Instead just assume that ↵David Heinemeier Hansson2008-11-171-81/+69
| | | | they're available if you want to use textilize and markdown and let autoload require them [DHH]
* Merge branch 'master' into testingJeremy Kemper2008-11-152-30/+30
|\
| * auto_link helper: add intelligent ending closing bracket handling. add new ↵Mislav Marohnić2008-11-151-9/+13
| | | | | | | | | | | | | | tests and reorder new ones for readability Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1353 state:committed]
| * refactor autolink helper. change tests to expect HTML-escaped URLsMislav Marohnić2008-11-151-26/+20
| | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
| * Tag helper should output an attribute with the value 'false' instead of ↵Hongli Lai (Phusion)2008-11-131-4/+6
| | | | | | | | omitting the attribute, if the associated option is false but not nil.
| * Check whether last arg is a Hash instead of duck-typing against []Jeremy Kemper2008-11-071-4/+9
| |
* | Merge branch 'master' into testingJeremy Kemper2008-11-071-2/+2
|\|
| * auto_link view helper was failing on URLs with colons after a query paramRich Manalang2008-11-071-2/+2
| | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1341 state:committed]
* | Check whether last arg is a Hash instead of duck-typing against []Jeremy Kemper2008-11-071-4/+9
| |
* | Move controller assertions from base TestCase to AC:: and AV::TestCaseJeremy Kemper2008-11-071-1/+3
|/
* Fixed that FormTagHelper generates illegal html if name contains e.g. square ↵Vladimir Dobriakov2008-11-041-4/+10
| | | | | | brackets [#1238 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Fix regression bug that made date_select and datetime_select raise a Null ↵Bernardo de Pádua2008-11-041-2/+2
| | | | | | Pointer Exception when a nil date/datetime was passed and only month and year were displayed [#1289 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Merge with docrailsPratik Naik2008-11-021-5/+5
|
* Dup local assigns for partial collections so nil values doesn't get ↵Joshua Peek2008-10-301-1/+1
| | | | overwritten [#1250 state:resolved]
* Ensure @content_for_* is checked before yielding to block in render :layout ↵Ryan Bates2008-10-281-1/+1
| | | | | | [#8994 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Merge branch 'master' of git@github.com:rails/railsDavid Heinemeier Hansson2008-10-282-6/+17
|\
| * Track rendered templates in stack so the current template can always be ↵Joshua Peek2008-10-282-6/+17
| | | | | | | | accessed. Added ActionView::Base#template to access the template object.
* | A little less hokus pokusDavid Heinemeier Hansson2008-10-281-5/+4
|/
* modified current_page? to ignore extra parameters unless specified in optionsErik Andrejko2008-10-261-3/+14
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#805 state:committed]
* Fixed bug with asset timestamping when using relative_url_root (Joe ↵David Heinemeier Hansson2008-10-261-1/+1
| | | | Goldwasser) [#1265 status:committed]
* Merge with docrails. Also add a rake task to generate guides in your rails ↵Pratik Naik2008-10-211-6/+6
| | | | | | | | application : rake doc:guides The rake task will generate guides inside doc/guides directory of your application. Open index.html to browse.
* Remove stuff that was deprecated in 2-1-stablePratik Naik2008-10-211-16/+0
|
* Added inline builder yield to atom_feed_helper tags where appropriate (Sam ↵David Heinemeier Hansson2008-10-131-8/+46
| | | | Ruby) [#8994 status:committed]
* Add support for xml processing instructions in atom_feed_helper [#926 ↵Matthew M. Boedicker2008-10-131-0/+10
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure select_tag#name attribute uses [] when :multiple is true. [#1146 ↵Andrew Kaspick2008-10-071-3/+4
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Implement submit_to_remote as a wrapper around a more generic button_to_remoteTarmo Tänav2008-10-071-12/+6
| | | | | | | Removed the "return false" from submit_to_remote onclick end as button input elements have no default behavior to cancel. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix image_tag behavior on windows. [#1085 state:resolved]madlep2008-10-061-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Merge docrailsPratik Naik2008-10-051-4/+4
|
* Move controller ivar copying to a separate methodPratik Naik2008-10-051-8/+10
|
* Add options to field_set_tagAndrew Kaspick2008-09-291-2/+8
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1116 state:committed]
* Protect body ivar from being clobbered by the mailer template assignsJoshua Peek2008-09-281-2/+2
|
* Merge branch 'patches' into multibyteMichael Koziarski2008-09-221-148/+316
|\
| * Fixed AssetTag cache with with relative_url_root [#1022 state:resolved]Martin Rehfeld2008-09-221-1/+1
| | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Refactor AssetTagHelper and fix remaining threadsafe issues.Joshua Peek2008-09-221-148/+316
| |
* | Remove special 1.9 version of excerpt helper.Manfred Stienstra2008-09-211-45/+45
| |
* | Change all calls to String#chars to String#mb_chars. Remove a exception for ↵Manfred Stienstra2008-09-211-87/+41
|/ | | | Ruby <= 1.9.
* Fixed missing template paths on exception [#1082 state:resolved]Claudio Poli2008-09-202-24/+19
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Remove the country_select helper.Michael Koziarski2008-09-183-96/+0
| | | | | | | | We're in no position to mediate disputes on this matter, and the previous change to use ISO 3166 has offended just as many people as the ad-hoc list did. If you want the old list back you can install the plugin: ruby script/plugin install git://github.com/rails/country_select.git
* Merge docrailsPratik Naik2008-09-131-1/+1
|
* Switched computed public paths cache over to a simple hash w/ mutexJoshua Peek2008-09-101-15/+17
|
* Added image_submit_tag confirm option [status:committed #784]Alastair Brunton2008-09-101-0/+10
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* The FormTagHelper#submit_tag helper will now pass along the original value ↵Jose Fernandez2008-09-101-10/+7
| | | | | | of the submit button to the params if the :disable_with option is used [status:committed #633] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>