aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
Commit message (Collapse)AuthorAgeFilesLines
* Ensure that calling content_tag_for in a helper doesn't cause duplicate output.Tom Lea2008-08-291-3/+3
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#871 state:committed]
* Added TextHelper#current_cycle to return the current cycle for better design ↵Ken Collins2008-08-271-3/+40
| | | | | | | | options. [#417 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Store application and other context specific helper modules in ↵Joshua Peek2008-08-261-20/+2
| | | | ActionView::Base#helpers
* Require missing libraries and check for defined ActionController constant so ↵Joshua Peek2008-08-262-2/+20
| | | | ActionView can be used standalone
* Cache JavaScriptGenerator's helper module set on the templateJoshua Peek2008-08-261-2/+20
|
* Performance: Cache modules that extend the view context for JavaScriptGeneratorJoshua Peek2008-08-251-3/+1
|
* Include all helpers into ActionView::HelperJoshua Peek2008-08-251-31/+54
|
* 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>