aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
Commit message (Collapse)AuthorAgeFilesLines
* I18n: add aliases #t and #l to TranslationHelper#translate and #localizeSven Fuchs2008-08-251-0/+2
|
* Merge branch 'master' into i18nSven Fuchs2008-08-212-12/+23
|\
| * Allow overriding id for feed and entry with atom_feed_builder. [#485 ↵Darragh Curran2008-08-211-11/+13
| | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Fix asset file paths with dangling queries in mtime checkJeremy Kemper2008-08-141-2/+6
| |
| * Set asset-cached file ctime and mtime to the max mtime of the combined ↵Jeremy Kemper2008-08-121-0/+5
| | | | | | | | files. Allows for consistent ETag generation without having a shared filesystem.
* | Cleaned up ActiveRecord i18n scopingIain Hecker2008-08-141-4/+4
|/
* Fixed autolink regexp compatibility for ruby 1.9 [#783 state:resolved]Stefan Kaes2008-08-091-1/+1
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* mail_to should use decodeURIcomponent instead of unescape to be utf friendly.miloops2008-08-081-2/+2
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Refactor DateHelper to use DateTimeSelector presenter patternClemens Kofler2008-08-071-198/+378
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* MemoryStore is the only "unsafe" store. Make it threadsafe by default.Joshua Peek2008-08-061-1/+1
|
* Fixed i18n bulk translate issues in NumberHelperClemens Kofler2008-08-041-25/+31
| | | | 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-1/+1
| | | | | | 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.
* Reapply 'cab168ac' because it was accidentally patched over in '10d9fe4b'Joshua Peek2008-07-291-1/+1
|
* Updated NumberHelper: Full i18n support (except number_to_phone), ↵Clemens Kofler2008-07-291-62/+124
| | | | | | 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-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Refactored TextHelper#truncate, highlight, excerpt, word_wrap and auto_link ↵Clemens Kofler2008-07-272-59/+149
| | | | | | 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-272-16/+34
| | | | | | 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-3/+3
| | | | HTTP header. It can now be set in your configuration environment with config.action_controller.relative_url_root
* Refactored NumberHelper API to accept arguments as an options hash [#666 ↵Clemens Kofler2008-07-211-32/+66
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Refactor DateHelper and improve test coverage [#665 state:resolved]Clemens Kofler2008-07-211-156/+142
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fixed index and auto index for nested fields_for [#327 state:resolved]Kevin Glowacz2008-07-191-7/+23
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Update Prototype to 1.6.0.2 (Patrick Joyce) [#599 status:committed]David Heinemeier Hansson2008-07-191-154/+150
|
* Removed handling of string parameter in link_to to have all URL generation ↵Clemens Kofler2008-07-191-43/+50
| | | | | | done by url_for Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Removed unused option from FormHelper#fields_for [#641 state:resolved]Clemens Kofler2008-07-191-4/+0
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Ruby 1.9: Fixed regexp warning by replacing nested repeat operator + and ? ↵Joshua Peek2008-07-191-1/+1
| | | | with '*'
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-07-171-33/+25
|\
| * Wrap AssetTagHelper's computed public path cache in a threadsafe storeJoshua Peek2008-07-171-33/+25
| |
* | Merge branch 'master' into i18n-mergeJeremy Kemper2008-07-1712-47/+105
|\| | | | | | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/form_options_helper.rb activerecord/lib/active_record/validations.rb
| * Resolved conflictDavid Heinemeier Hansson2008-07-1615-325/+402
| |\
| | * Merge with docrails.Pratik Naik2008-07-1611-29/+84
| | |
| | * JavaScriptGenerator should only sets output_buffer for the duration of the ↵Jeremy Kemper2008-07-152-10/+12
| | | | | | | | | | | | update block
| * | Fixed that AssetTagHelper#compute_public_path shouldn't cache the asset_host ↵David Heinemeier Hansson2008-07-161-11/+14
| | | | | | | | | | | | along with the source or per-request proc's won't run [DHH]
* | | moving country helpers from form_options_helper to form_country_helper againSven Fuchs2008-07-162-81/+14
| | |
* | | fixing another timezone dependent testSven Fuchs2008-07-161-1/+1
| | |
* | | merge forward to current rails/masterSven Fuchs2008-07-1612-373/+431
|\ \ \ | | |/ | |/|
| * | Get buffer for fragment cache from template's @output_bufferJoshua Peek2008-07-152-188/+189
| | |
| * | Ruby 1.9 compat: only eval with block.binding in 1.9, uses more memory than ↵Jeremy Kemper2008-07-151-6/+12
| | | | | | | | | | | | eval with block
| * | Ruby 1.9 compat: call Proc#binding explicitly. [#623 state:resolved]松田 明2008-07-151-1/+1
| | |
| * | Ensure :index works with fields_for select methods. [#518 state:resolved]rsl2008-07-141-4/+4
| | | | | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * | Made ActionView::Base#first_render a little more private. And added ↵Joshua Peek2008-07-131-2/+1
| | | | | | | | | | | | _last_render to track the most recent render. Will fix #609 as a side effect. [#609 state:resolved]
| * | Ensure mail_to label is obfuscated for javascript encoding. [#294 ↵Johan Sørensen2008-07-121-1/+1
| | | | | | | | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * | WhitespaceMichael Koziarski2008-07-111-2/+1
| | |
| * | Pass caller to concat deprecation warningJeremy Kemper2008-07-091-1/+1
| | |
| * | Changed PrototypeHelper#submit_to_remote to PrototypeHelper#button_to_remote ↵David Heinemeier Hansson2008-07-091-3/+6
| | | | | | | | | | | | 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-4/+2
| | | | | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * | Add :recursive option to javascript_include_tag and stylesheet_link_tag to ↵Damian Janowski2008-07-081-14/+42
| | | | | | | | | | | | | | | | | | 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-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2/+5
| | | | | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>