aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* 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-042-38/+44
| | | | 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-3111-0/+0
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* In javascript helpers option[:type] = :synchronous should work as described ↵miloops2008-07-312-1/+7
| | | | | | in docs. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Prototype helpers should generate Element.insert instead of Insertion.new, ↵miloops2008-07-303-22/+28
| | | | 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-294-96/+219
| | | | | | 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-292-1/+7
| | | | 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-283-12/+23
| | | | to controller processing.
* Prepare Route#generate and Route#recognize early. Also refactor segments a ↵Joshua Peek2008-07-288-298/+259
| | | | bit to try to make immutable.
* Routing whitespace cleanupJoshua Peek2008-07-2810-89/+84
|
* Merge docrails changesPratik Naik2008-07-285-31/+203
|
* Refactored TextHelper#truncate, highlight, excerpt, word_wrap and auto_link ↵Clemens Kofler2008-07-273-68/+191
| | | | | | 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-273-40/+58
| | | | | | 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-2411-219/+161
| | | | 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-234-6/+13
|
* 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-222-33/+8
| | | | same type [#673 state:resolved]
* Memoize ActionView::Base pick_template and find_partial_path for rendering ↵Joshua Peek2008-07-225-17/+26
| | | | duration
* Refactored NumberHelper API to accept arguments as an options hash [#666 ↵Clemens Kofler2008-07-212-33/+93
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Refactor DateHelper and improve test coverage [#665 state:resolved]Clemens Kofler2008-07-212-204/+238
| | | | 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-192-10/+136
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Update Prototype to 1.6.0.2 (Patrick Joyce) [#599 status:committed]David Heinemeier Hansson2008-07-192-154/+152
|
* Removed handling of string parameter in link_to to have all URL generation ↵Clemens Kofler2008-07-192-44/+60
| | | | | | 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-184-4/+56
| | | | | | 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-186-8/+28
| | | | | | 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-187-76/+20
| | | | 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-174-61/+150
|
* Introduce simple internationalization supportJeremy Kemper2008-07-171-9/+0
|
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-07-173-40/+27
|\
| * Wrap AssetTagHelper's computed public path cache in a threadsafe storeJoshua Peek2008-07-173-40/+27
| |
* | Merge branch 'master' into i18n-mergeJeremy Kemper2008-07-1744-156/+517
|\| | | | | | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/form_options_helper.rb activerecord/lib/active_record/validations.rb