aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
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]
* Deprecated implicit local assignments when rendering partialsJoshua Peek2008-08-281-2/+8
|
* 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-262-20/+16
| | | | ActionView::Base#helpers
* defined? has no boundsJoshua Peek2008-08-261-1/+1
|
* Require missing libraries and check for defined ActionController constant so ↵Joshua Peek2008-08-265-4/+28
| | | | ActionView can be used standalone
* Cache JavaScriptGenerator's helper module set on the templateJoshua Peek2008-08-262-7/+20
|
* Performance: Cache modules that extend the view context for JavaScriptGeneratorJoshua Peek2008-08-252-5/+7
|
* Include all helpers into ActionView::HelperJoshua Peek2008-08-254-47/+94
|
* The view context always responds to controller, check if controller ↵Joshua Peek2008-08-251-1/+1
| | | | available instead
* Base path may be nil if template is at the root of the view pathJoshua Peek2008-08-251-1/+1
|
* Update translations for pluralization key change from 'many' to 'other'Sven Fuchs2008-08-251-22/+22
|
* Merge commit 'rails/master' into i18nSven Fuchs2008-08-251-11/+11
|\
| * Update translations for pluralization key change from 'other' to 'many'Jeremy Kemper2008-08-241-11/+11
| |
* | I18n: add aliases #t and #l to TranslationHelper#translate and #localizeSven Fuchs2008-08-251-0/+2
|/
* I18n: use :other instead of :many as default key for pluralization to better ↵Sven Fuchs2008-08-231-11/+11
| | | | conform w/ cldr pluralization rules
* Merge branch 'master' into i18nJeremy Kemper2008-08-221-1/+1
|\
| * Ensure :partial => @collection and :collection => @collection behaves same. ↵Ryan Bates2008-08-221-1/+1
| | | | | | | | | | | | [#884 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* | Merge commit 'sven/i18n' into i18nJeremy Kemper2008-08-223-57/+95
|\ \ | |/ |/|
| * Merge branch 'master' into i18nSven Fuchs2008-08-216-39/+109
| |\
| * | fixing actionpack yml translationsSven Fuchs2008-08-201-21/+23
| | |
| * | Changed locale file to yml for actionpack, but still brokenIain Hecker2008-08-202-89/+89
| | |
| * | Cleaned up ActiveRecord i18n scopingIain Hecker2008-08-142-12/+14
| | |
| * | switch to using I18n.load_translations instead of requiring plain ruby filesSven Fuchs2008-08-131-77/+78
| | |
| * | update i18n usage for pluralization hashes (api change)Sven Fuchs2008-08-101-12/+45
| | |
* | | Removed template_public? because it will always be true since the default ↵Joshua Peek2008-08-211-5/+0
| | | | | | | | | | | | template is never a partial
* | | Tidy up pick partial template logicJoshua Peek2008-08-211-18/+12
| | |
* | | Cleanup around partial renderingRyan Bates2008-08-212-68/+58
| |/ |/| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* | 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>
* | Partial revert of 2681685 premature TypeArray abstractionJoshua Peek2008-08-211-1/+25
| |
* | Return nil instead of a space when passing an empty collection or nil to ↵Ryan Bates2008-08-192-2/+2
| | | | | | | | | | | | 'render :partial' [#791 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* | Consistently use the framework's configured logger and avoid reverting to ↵Joshua Peek2008-08-183-3/+4
| | | | | | | | RAILS_DEFAULT_LOGGER unless necessary.
* | pass yielded arguments to block for ActionView::Base#render with :layout ↵Ryan Bates2008-08-173-18/+52
| | | | | | | | | | | | [#847 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* | Fix asset file paths with dangling queries in mtime checkJeremy Kemper2008-08-141-2/+6
| |
* | Fix rendering partials at the top level [#795 state:resolved]Joshua Peek2008-08-131-1/+1
| |
* | 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.
* | Merge branch 'conditional-get'Jeremy Kemper2008-08-121-3/+3
|\ \ | |/ |/|
| * Simplifying usage of ETags and Last-Modified and conditional GET requestsJeremy Kemper2008-08-071-3/+3
| |
* | 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>
* Tidy up ActionMailer rendering logic to take advantage of view path cache ↵Joshua Peek2008-08-062-2/+13
| | | | instead of using file system lookups
* 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>
* Ensure mailer view path is loaded when it's assigned. Path#[] raises if it ↵Jeremy Kemper2008-07-311-0/+2
| | | | isn't loaded.
* 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-292-69/+152
| | | | | | 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>