Joshua Peek
|
f2d8d13c64
|
Performance: Cache modules that extend the view context for JavaScriptGenerator
|
2008-08-25 21:50:26 -05:00 |
|
Joshua Peek
|
ba0d621695
|
Include all helpers into ActionView::Helper
|
2008-08-25 21:50:26 -05:00 |
|
Joshua Peek
|
a916c2e3d3
|
The view context always responds to controller, check if controller available instead
|
2008-08-25 15:37:19 -05:00 |
|
Joshua Peek
|
fe2640549b
|
Base path may be nil if template is at the root of the view path
|
2008-08-25 15:36:11 -05:00 |
|
Sven Fuchs
|
d0a4d9b73a
|
Update translations for pluralization key change from 'many' to 'other'
|
2008-08-25 11:41:51 +02:00 |
|
Sven Fuchs
|
e464f9b6b9
|
Merge commit 'rails/master' into i18n
|
2008-08-25 11:11:08 +02:00 |
|
Sven Fuchs
|
90a9637d41
|
I18n: add aliases #t and #l to TranslationHelper#translate and #localize
|
2008-08-25 11:06:18 +02:00 |
|
Jeremy Kemper
|
8a4d7233aa
|
Update translations for pluralization key change from 'other' to 'many'
|
2008-08-24 11:10:15 -07:00 |
|
Sven Fuchs
|
23fb26a0dc
|
I18n: use :other instead of :many as default key for pluralization to better conform w/ cldr pluralization rules
|
2008-08-23 19:43:57 +02:00 |
|
Jeremy Kemper
|
9dac5547ad
|
Merge branch 'master' into i18n
|
2008-08-22 13:01:53 -07:00 |
|
Jeremy Kemper
|
a6e05b18d6
|
Merge commit 'sven/i18n' into i18n
|
2008-08-22 12:44:14 -07:00 |
|
Ryan Bates
|
9a5ffaa01e
|
Ensure :partial => @collection and :collection => @collection behaves same. [#884 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-08-22 18:15:53 +01:00 |
|
Joshua Peek
|
0096f55869
|
Removed template_public? because it will always be true since the default template is never a partial
|
2008-08-21 21:34:03 -05:00 |
|
Joshua Peek
|
ba516b40f5
|
Tidy up pick partial template logic
|
2008-08-21 21:25:33 -05:00 |
|
Ryan Bates
|
1129a24caf
|
Cleanup around partial rendering
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-08-21 21:03:33 -05:00 |
|
Sven Fuchs
|
aad429a46e
|
Merge branch 'master' into i18n
|
2008-08-21 19:04:39 +02:00 |
|
Darragh Curran
|
7e4ea5f4a2
|
Allow overriding id for feed and entry with atom_feed_builder. [#485 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-08-21 13:37:26 +01:00 |
|
Joshua Peek
|
f388725bd6
|
Partial revert of 2681685 premature TypeArray abstraction
|
2008-08-21 00:28:25 -05:00 |
|
Sven Fuchs
|
950b9792ba
|
fixing actionpack yml translations
|
2008-08-20 18:44:18 +02:00 |
|
Iain Hecker
|
7ee01c8c54
|
Changed locale file to yml for actionpack, but still broken
|
2008-08-20 18:04:36 +02:00 |
|
Ryan Bates
|
a8ece12fe2
|
Return nil instead of a space when passing an empty collection or nil to 'render :partial' [#791 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-08-19 19:09:04 -05:00 |
|
Joshua Peek
|
c1a8690d58
|
Consistently use the framework's configured logger and avoid reverting to RAILS_DEFAULT_LOGGER unless necessary.
|
2008-08-18 23:36:13 -05:00 |
|
Ryan Bates
|
38c7d73e73
|
pass yielded arguments to block for ActionView::Base#render with :layout [#847 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-08-17 19:29:24 -05:00 |
|
Jeremy Kemper
|
f1f4e84a7e
|
Fix asset file paths with dangling queries in mtime check
|
2008-08-14 12:28:02 -07:00 |
|
Iain Hecker
|
ffeab4e0c1
|
Cleaned up ActiveRecord i18n scoping
|
2008-08-14 10:48:33 +02:00 |
|
Joshua Peek
|
3b9324e62f
|
Fix rendering partials at the top level [#795 state:resolved]
|
2008-08-13 19:15:35 -05:00 |
|
Sven Fuchs
|
f26380b775
|
switch to using I18n.load_translations instead of requiring plain ruby files
|
2008-08-13 09:53:25 +02:00 |
|
Jeremy Kemper
|
1b127fcdea
|
Set asset-cached file ctime and mtime to the max mtime of the combined files. Allows for consistent ETag generation without having a shared filesystem.
|
2008-08-12 20:18:03 -07:00 |
|
Jeremy Kemper
|
45b79d933c
|
Merge branch 'conditional-get'
|
2008-08-12 17:03:17 -07:00 |
|
Sven Fuchs
|
bdf783b5a8
|
update i18n usage for pluralization hashes (api change)
|
2008-08-10 21:29:02 +02:00 |
|
Stefan Kaes
|
b2630502a0
|
Fixed autolink regexp compatibility for ruby 1.9 [#783 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-08-09 10:48:56 -05:00 |
|
miloops
|
ea0d036e31
|
mail_to should use decodeURIcomponent instead of unescape to be utf friendly.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
|
2008-08-08 15:31:02 +02:00 |
|
Jeremy Kemper
|
b7529ed1cc
|
Simplifying usage of ETags and Last-Modified and conditional GET requests
|
2008-08-07 23:43:12 -07:00 |
|
Clemens Kofler
|
105093f907
|
Refactor DateHelper to use DateTimeSelector presenter pattern
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-08-07 13:13:47 -05:00 |
|
Joshua Peek
|
b2504f8ba0
|
Tidy up ActionMailer rendering logic to take advantage of view path cache instead of using file system lookups
|
2008-08-06 20:11:21 -05:00 |
|
Joshua Peek
|
e5b1ab7cc3
|
MemoryStore is the only "unsafe" store. Make it threadsafe by default.
|
2008-08-06 14:54:18 -05:00 |
|
Clemens Kofler
|
dc66469e64
|
Fixed i18n bulk translate issues in NumberHelper
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-08-04 22:26:14 -05:00 |
|
Jeremy Kemper
|
909a7f430b
|
Ensure mailer view path is loaded when it's assigned. Path#[] raises if it isn't loaded.
|
2008-07-31 17:51:43 -07:00 |
|
Tarmo Tänav
|
656f0e7c6c
|
Fix file permissions
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-07-31 16:36:23 -05:00 |
|
miloops
|
f3da46effa
|
In javascript helpers option[:type] = :synchronous should work as described in docs.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
|
2008-07-31 21:28:12 +02:00 |
|
miloops
|
eaab895f83
|
Prototype helpers should generate Element.insert instead of Insertion.new, which has been deprecated in Prototype 1.6.
|
2008-07-30 01:42:32 -07:00 |
|
Joshua Peek
|
a065b764e5
|
Reapply 'cab168ac' because it was accidentally patched over in '10d9fe4b'
|
2008-07-29 22:04:07 -05:00 |
|
Clemens Kofler
|
fea7771d22
|
Updated NumberHelper: Full i18n support (except number_to_phone), 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>
|
2008-07-29 21:47:02 -05:00 |
|
Jan De Poorter
|
7aaf1689dd
|
Fix that label_tag doesn't take a symbol for a name. [#719 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-07-29 12:39:21 +01:00 |
|
Clemens Kofler
|
10d9fe4bf3
|
Refactored TextHelper#truncate, highlight, excerpt, word_wrap and auto_link to accept options hash [#705 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-07-27 16:49:19 -05:00 |
|
Clemens Kofler
|
f7abf0c9db
|
error_message_on takes an options hash instead of ordered parameters [#704 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-07-27 16:34:20 -05:00 |
|
Joshua Peek
|
a87462afcb
|
AbstractRequest.relative_url_root is no longer automatically configured by a HTTP header. It can now be set in your configuration environment with config.action_controller.relative_url_root
|
2008-07-24 13:41:51 -05:00 |
|
Joshua Peek
|
55adaa2efc
|
Fixed bc5896e, and added test case for the caching bug it originally introduced.
|
2008-07-23 13:47:30 -05:00 |
|
Joshua Peek
|
e0db925be0
|
Revert 'bc5896e'
|
2008-07-23 11:23:25 -05:00 |
|
Joshua Peek
|
97a954bf1d
|
Load view path cache after plugins and gems.
|
2008-07-23 10:41:28 -05:00 |
|