aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
* deprecate Base#assign_default_content_type_and_charsetJeremy Kemper2008-08-211-0/+5
|
* Move default content type and charset from Base to Response. Handle charset ↵Jeremy Kemper2008-08-212-16/+30
| | | | = nil.
* Allow polymorphic_url helper to take url options. [#880 state:resolved]Tarmo Tänav2008-08-211-5/+11
| | | | | | | | | All *_polymorphic_url, *_polymorphic_path helpers can now accept an options hash which will be passed on to the named route making it possible to generate polymorphic routes with additional url parameters. Signed-off-by: Pratik Naik <pratiknaik@gmail.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>
* Simplified and renamed CallbackChain union method to replace_or_append!Joshua Peek2008-08-211-1/+1
|
* Partial revert of 2681685 premature TypeArray abstractionJoshua Peek2008-08-211-1/+25
|
* Switched integration test runner to use Rack processor instead of CGIJoshua Peek2008-08-201-44/+32
|
* Don't shadow query string methodJoshua Peek2008-08-191-1/+10
|
* Return nil instead of a space when passing an empty collection or nil to ↵Ryan Bates2008-08-193-5/+8
| | | | | | 'render :partial' [#791 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Delegate xhr helper method to integration sessionJoshua Peek2008-08-191-1/+1
|
* Make AbstractRequest.if_modified_sense return nil if the header could not be ↵Jamis Buck2008-08-191-1/+1
| | | | parsed
* hack around CGI session closeJoshua Peek2008-08-191-1/+5
|
* Consistently use the framework's configured logger and avoid reverting to ↵Joshua Peek2008-08-184-5/+6
| | | | 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>
* Use Response status accessor instead of the Status headerJoshua Peek2008-08-171-17/+17
|
* Merge RackProcess#normalize_headers logic into AbstractResponse#prepare!Joshua Peek2008-08-171-35/+52
|
* Set cache control to require revalidation if cache freshness response ↵Jeremy Kemper2008-08-141-5/+14
| | | | headers are set. Don't set Content-Length header if 304 status.
* Fix asset file paths with dangling queries in mtime checkJeremy Kemper2008-08-141-2/+6
|
* TestRequest#recycle! uses unmemoize_all to reset cached request method, ↵Jeremy Kemper2008-08-131-3/+3
| | | | accepts, etc.
* Fix rendering partials at the top level [#795 state:resolved]Joshua Peek2008-08-131-1/+1
|
* Refactor Filter predicate methods to use inheritance. [#815 state:resolved]Josh Susser2008-08-131-3/+16
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* 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-127-191/+193
|\
| * Update tests for request memoizationJeremy Kemper2008-08-082-17/+32
| |
| * Don't shadow host methodJeremy Kemper2008-08-081-1/+1
| |
| * Simplifying usage of ETags and Last-Modified and conditional GET requestsJeremy Kemper2008-08-076-132/+161
| |
| * Inherit these from AbstractRequest insteadJeremy Kemper2008-08-071-46/+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>
* | dryed up resources; fixed small formatting issue in resources rdocJames Rosen2008-08-081-25/+25
|/ | | | 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
* Be more careful about deducing action_methodsJeremy Kemper2008-08-061-6/+10
|
* MemoryStore is the only "unsafe" store. Make it threadsafe by default.Joshua Peek2008-08-061-1/+1
|
* Strip newlines from cookie session dataJeremy Kemper2008-08-051-1/+1
|
* Ensure public superclass methods don't shadow public controller methods. ↵Jeremy Kemper2008-08-051-3/+3
| | | | Case in point, ruby-debug's Kernel#start shadowing a controller's start action.
* Make assert_template failure message more friendlyJeffrey Hardy2008-08-051-2/+2
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fixed i18n bulk translate issues in NumberHelperClemens Kofler2008-08-041-25/+31
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Expose Routing::Segment::SAFE_PCHAR list of path characters that don't need ↵Jeremy Kemper2008-08-041-1/+2
| | | | escaping
* Ensure mailer view path is loaded when it's assigned. Path#[] raises if it ↵Jeremy Kemper2008-07-311-0/+2
| | | | isn't loaded.
* List available actions in UnknownAction exception messageJeremy Kemper2008-07-311-1/+1
|
* Use "/usr/bin/env ruby" instead of "/usr/local/bin/ruby"Tarmo Tänav2008-07-311-7/+7
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fix file permissionsTarmo Tänav2008-07-317-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-302-16/+22
| | | | 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>
* 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>
* Remove send! usage, relic of reverted 1.9 behaviorJeremy Kemper2008-07-281-1/+1
|
* Added back ActionController::Base.allow_concurrency flag and moved lock down ↵Joshua Peek2008-07-282-12/+21
| | | | to controller processing.