aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into i18nJeremy Kemper2008-08-221-0/+4
|\
| * Ensure :partial => @collection and :collection => @collection behaves same. ↵Ryan Bates2008-08-221-0/+4
| | | | | | | | | | | | [#884 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* | Merge branch 'master' into i18nSven Fuchs2008-08-213-6/+60
|\|
| * Allow overriding id for feed and entry with atom_feed_builder. [#485 ↵Darragh Curran2008-08-211-5/+32
| | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Return nil instead of a space when passing an empty collection or nil to ↵Ryan Bates2008-08-191-0/+8
| | | | | | | | | | | | 'render :partial' [#791 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Fix rendering partials at the top level [#795 state:resolved]Joshua Peek2008-08-131-0/+18
| |
| * Set asset-cached file ctime and mtime to the max mtime of the combined ↵Jeremy Kemper2008-08-121-1/+2
| | | | | | | | files. Allows for consistent ETag generation without having a shared filesystem.
* | Cleaned up ActiveRecord i18n scopingIain Hecker2008-08-141-14/+14
| |
* | update i18n usage for pluralization hashes (api change)Sven Fuchs2008-08-101-0/+22
|/
* Added tests for partial collection counters [#766 state:resolved]Cameron Yule2008-08-091-4/+8
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* mail_to should use decodeURIcomponent instead of unescape to be utf friendly.miloops2008-08-081-3/+7
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Refactor DateHelper to use DateTimeSelector presenter patternClemens Kofler2008-08-072-61/+260
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fixed i18n bulk translate issues in NumberHelperClemens Kofler2008-08-041-13/+13
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fix file permissionsTarmo Tänav2008-07-311-0/+0
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* In javascript helpers option[:type] = :synchronous should work as described ↵miloops2008-07-311-0/+6
| | | | | | in docs. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Prototype helpers should generate Element.insert instead of Insertion.new, ↵miloops2008-07-301-6/+6
| | | | which has been deprecated in Prototype 1.6.
* Updated NumberHelper: Full i18n support (except number_to_phone), ↵Clemens Kofler2008-07-292-27/+67
| | | | | | consolidated API (almost all methods now support :precision, :delimiter and :separator). Added deprecation notices for old API. Added tests for new options [#716 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fix that label_tag doesn't take a symbol for a name. [#719 state:resolved]Jan De Poorter2008-07-291-0/+6
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Refactored TextHelper#truncate, highlight, excerpt, word_wrap and auto_link ↵Clemens Kofler2008-07-271-9/+42
| | | | | | to accept options hash [#705 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* error_message_on takes an options hash instead of ordered parameters [#704 ↵Clemens Kofler2008-07-271-24/+24
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* AbstractRequest.relative_url_root is no longer automatically configured by a ↵Joshua Peek2008-07-241-22/+23
| | | | HTTP header. It can now be set in your configuration environment with config.action_controller.relative_url_root
* Fixed bc5896e, and added test case for the caching bug it originally introduced.Joshua Peek2008-07-231-1/+4
|
* Memoize ActionView::Base pick_template and find_partial_path for rendering ↵Joshua Peek2008-07-221-10/+13
| | | | duration
* Refactored NumberHelper API to accept arguments as an options hash [#666 ↵Clemens Kofler2008-07-211-1/+27
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Refactor DateHelper and improve test coverage [#665 state:resolved]Clemens Kofler2008-07-211-48/+96
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fixed index and auto index for nested fields_for [#327 state:resolved]Kevin Glowacz2008-07-191-3/+113
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Removed handling of string parameter in link_to to have all URL generation ↵Clemens Kofler2008-07-191-1/+10
| | | | | | done by url_for Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Removed lagacy TemplateHandler#render API. Left in a legacy TemplateHandler ↵Joshua Peek2008-07-181-25/+5
| | | | and Compilable stub so plugins will not have to change anything.
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-07-171-3/+2
|\
| * Wrap AssetTagHelper's computed public path cache in a threadsafe storeJoshua Peek2008-07-171-3/+2
| |
* | Merge branch 'master' into i18n-mergeJeremy Kemper2008-07-173-2/+51
|\| | | | | | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/form_options_helper.rb activerecord/lib/active_record/validations.rb
| * Fixed template recompile logic [#630 state:resolved]Stefan Kaes2008-07-161-0/+41
| | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * JavaScriptGenerator should only sets output_buffer for the duration of the ↵Jeremy Kemper2008-07-152-2/+10
| | | | | | | | update block
* | moving country helpers from form_options_helper to form_country_helper againSven Fuchs2008-07-162-1539/+777
| |
* | fixing another timezone dependent testSven Fuchs2008-07-161-25/+5
| |
* | merge forward to current rails/masterSven Fuchs2008-07-1613-824/+1794
|\|
| * Get buffer for fragment cache from template's @output_bufferJoshua Peek2008-07-152-1/+3
| |
| * Ruby 1.9 compat: account for different String#hashJeremy Kemper2008-07-151-1/+2
| |
| * Ensure :index works with fields_for select methods. [#518 state:resolved]rsl2008-07-141-0/+885
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Set global ActionController::Base.view_paths for test casesJoshua Peek2008-07-122-9/+1
| |
| * Ensure mail_to label is obfuscated for javascript encoding. [#294 ↵Johan Sørensen2008-07-121-0/+1
| | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Changed ActionView::TemplateHandler#render API method signature to ↵Joshua Peek2008-07-111-5/+4
| | | | | | | | render(template, local_assigns = {})
| * Changed PrototypeHelper#submit_to_remote to PrototypeHelper#button_to_remote ↵David Heinemeier Hansson2008-07-091-2/+2
| | | | | | | | to stay consistent with link_to_remote (submit_to_remote still works as an alias) (clemens) [#8994 status:closed]
| * Ensure url_for(nil) falls back to url_for({}). [#472 state:resolved]Cheah Chu Yeow2008-07-091-1/+10
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Add :recursive option to javascript_include_tag and stylesheet_link_tag to ↵Damian Janowski2008-07-081-0/+43
| | | | | | | | | | | | be used along with :all. [#480 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Revert "Moved TemplateHandlers to Base"Joshua Peek2008-07-031-4/+4
| | | | | | | | | | | | | | | | | | This reverts commit 42d215a925a228778e43f7040f03ad8f3eb5341c. Conflicts: actionpack/lib/action_view/inline_template.rb actionpack/lib/action_view/template.rb
| * Allow date helpers to ignore date hidden field tags. [#503 state:resolved]miloops2008-07-041-0/+15
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Moved TemplateHandlers to BaseJoshua Peek2008-07-031-4/+4
| |
| * Remove old method of including javascripts define_javascript_functions.Michael Koziarski2008-07-031-8/+0
| | | | | | | | javascript_include_tag and friends do a much better job.
| * Deprecate :use_full_path render option. The supplying the option no longer ↵Joshua Peek2008-07-021-2/+2
| | | | | | | | has an effect.