aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
Commit message (Collapse)AuthorAgeFilesLines
* simplify console with helpersJoshua Peek2008-11-231-0/+1
|
* Add i18n for number_to_human_size() helper storage units. Translation key is ↵Yaroslav Markin2008-11-232-4/+4
| | | | | | | | number.human.storage_units. [#1448 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* A back support for legacy TemplateHandler#render APIJoshua Peek2008-11-232-6/+27
|
* use autoload instead of explicit requires for ActionViewJoshua Peek2008-11-236-55/+70
|
* Added ActiveSupport::BacktraceCleaner and Rails::BacktraceCleaner for ↵David Heinemeier Hansson2008-11-221-9/+8
| | | | cutting down on backtrace noise (inspired by the Thoughtbot Quiet Backtrace plugin) [DHH]
* need to make sure the asset type is cached with it in Cache.. name is ↵Aaron Batalion2008-11-191-2/+2
| | | | | | sufficient, not self Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fixed asset host to not cache objects [#1419 state:resolved]Aaron Batalion2008-11-191-29/+35
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* 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
| |