aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Prepare Route#generate and Route#recognize early. Also refactor segments a ↵Joshua Peek2008-07-286-200/+202
| | | | bit to try to make immutable.
* Routing whitespace cleanupJoshua Peek2008-07-288-78/+73
|
* Merge docrails changesPratik Naik2008-07-285-31/+203
|
* 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>
* ActionController::Base.relative_url_root falls back to ↵Joshua Peek2008-07-241-1/+6
| | | | ENV['RAILS_RELATIVE_URL_ROOT']
* AbstractRequest.relative_url_root is no longer automatically configured by a ↵Joshua Peek2008-07-245-34/+25
| | | | HTTP header. It can now be set in your configuration environment with config.action_controller.relative_url_root
* Fixed bc5896e, and added test case for the caching bug it originally introduced.Joshua Peek2008-07-233-5/+9
|
* Revert 'bc5896e'Joshua Peek2008-07-232-8/+4
|
* Load view path cache after plugins and gems.Joshua Peek2008-07-231-3/+15
|
* Just file?Joshua Peek2008-07-231-1/+1
|
* Extract ActiveSupport::TypedArray class to ensure an array is all of the ↵Joshua Peek2008-07-221-25/+6
| | | | same type [#673 state:resolved]
* Memoize ActionView::Base pick_template and find_partial_path for rendering ↵Joshua Peek2008-07-224-7/+13
| | | | duration
* 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 spelling mistake in deprecation warning [#381 state:resolved]Joshua Peek2008-07-191-4/+6
|
* Ensure ActionView::PathSet::Path is not initialized with a precompiled pathJoshua Peek2008-07-191-0/+2
|
* 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 '*'
* Ruby 1.9: Strip encoding from ERB source since you can not change character ↵Joshua Peek2008-07-191-2/+5
| | | | encoding during a method
* Raise ArgumentError if an invalid method is specified as part of a route's ↵Tom Ward2008-07-182-4/+20
| | | | | | conditions. Also raise an error if HEAD is specified as the method, as rails routes all HEAD requests through the equivalent GET, though doesn't return the response body [#182 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Set the response content type to that of found template if not explicitly ↵Tom Ward2008-07-184-3/+16
| | | | | | set elsewhere [#444 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Removed lagacy TemplateHandler#render API. Left in a legacy TemplateHandler ↵Joshua Peek2008-07-185-41/+13
| | | | and Compilable stub so plugins will not have to change anything.
* Changed ActiveSupport::Memoizable API to extend since it mainly adds the ↵Joshua Peek2008-07-183-4/+4
| | | | memoize class method
* etag! and last_modified! conditional GET helpersJeremy Kemper2008-07-172-8/+47
|
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-07-172-37/+25
|\
| * Wrap AssetTagHelper's computed public path cache in a threadsafe storeJoshua Peek2008-07-172-37/+25
| |