aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * Fix symbol cookie testPratik Naik2008-07-171-1/+1
| |
| * All 2xx requests are considered successful [#217 state:resolved]Joshua Peek2008-07-162-1/+3
| |
| * Use fully-qualified controller name when logging. [#600 state:resolved]Ripta Pasay2008-07-172-1/+21
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Resolved conflictDavid Heinemeier Hansson2008-07-1699-1625/+2721
| |\
| | * Allow Dispatcher exceptions to be handled in application.rb using rescue_fromPratik Naik2008-07-162-12/+25
| | |
| | * Fixed template recompile logic [#630 state:resolved]Stefan Kaes2008-07-163-22/+73
| | | | | | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
| | * Merge with docrails.Pratik Naik2008-07-1625-64/+155
| | |
| | * Improve rack/cgi testsPratik Naik2008-07-162-12/+6
| | |
| | * Make RackRequest#request_method respect _methodPratik Naik2008-07-163-4/+66
| | |
| | * Removed config.action_view.cache_template_loading, use config.cache_classes ↵Joshua Peek2008-07-155-9/+19
| | | | | | | | | | | | instead
| | * RackResponse should not contain Status headerPratik Naik2008-07-162-4/+14
| | |