aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
...
* Add :concat option to asset tag helpers to force concatenation.Joshua Peek2009-06-152-6/+48
| | | | | This is useful for working around IE's stylesheet limit. stylesheet_link_tag :all, :concat => true
* moves reopening of core classes to add generic stuff from Action Pack to ↵Xavier Noria2009-06-131-49/+4
| | | | | | | | AS/core_ext and adds tests [#2798 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* uses Object#metaclass and Object#class_eval in a few spotsXavier Noria2009-06-121-1/+2
| | | | | | [#2797 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* allow absolute paths for the asset cachesAndrew Kaspick2009-06-112-3/+19
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Document and clean up HideActions and HttpYehuda Katz + Carl Lerche2009-06-104-29/+49
|
* Removed unnecessary codeYehuda Katz + Carl Lerche2009-06-102-32/+17
|
* Document ActionController::HelpersYehuda Katz + Carl Lerche2009-06-101-4/+71
|
* Cleaned up the #default_helper_module method to make better use of #helper ↵Yehuda Katz + Carl Lerche2009-06-101-9/+6
| | | | instead of duplicating code.
* Adding "test" to the lib directory when running action pack tests on new baseYehuda Katz + Carl Lerche2009-06-101-1/+3
|
* Simplify helper use of ActiveSupport::Dependencies, and use super better for ↵Yehuda Katz + Carl Lerche2009-06-101-49/+34
| | | | in #helpers
* Clean up AbstractController::Logger and write documentationYehuda Katz + Carl Lerche2009-06-091-4/+12
|
* Cleaning up and documenting AbstractController::LayoutsYehuda Katz + Carl Lerche2009-06-095-43/+255
|
* Write documentation for AbstractController::HelpersYehuda Katz + Carl Lerche2009-06-094-23/+55
|
* Sanitized the id generated by text_area_tag helper method. ↵Stephen Anderson2009-06-092-1/+6
| | | | | | text_area_tag('item[description]') should return: <textarea id="item_description" name="item[description]"></textarea> instead of: <textarea id="item[description]" name="item[description]"></textarea> The old id was causing HTML validation failures. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Made label target radio button tags with values. Radio button now respects ↵David Stevenson2009-06-092-7/+38
| | | | | | inherited :index options when generating id. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Pull autoload fix from 2-3-stableMichael Koziarski2009-06-091-1/+1
|
* A test to show that http_authentication needs to fail authentication if the ↵nate2009-06-092-1/+17
| | | | | | password procedure returns nil. Also includes a fix to validate_digest_response to fail validation if the password procedure returns nil. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Uses Hash#symbolize_keysJeremy Kemper2009-06-081-0/+1
|
* More documentation work on AbstractControllerYehuda Katz + Carl Lerche2009-06-084-25/+80
| | | This is still not completely done and there might be pointers to things that don't exist yet.
* Writing comments to AbstractControllerYehuda Katz + Carl Lerche2009-06-088-72/+191
|
* Remove extraneous response_objYehuda Katz + Carl Lerche2009-06-081-5/+0
|
* Explicitly qualify constants in BasicObjectsJeremy Kemper2009-06-081-1/+1
|
* Remove duplicateYehuda Katz + Carl Lerche2009-06-081-7/+0
|
* Use as_json instead of rails_to_jsonJeremy Kemper2009-06-081-2/+2
|
* ActionPack components should no longer have undeclared dependencies.Yehuda Katz + Carl Lerche2009-06-0816-34/+72
| | | | | | | * Tests can be run in isolation * Dependencies added * A few tests modified to avoid depending on AS deps not depended on my files they were testing
* YAGNI Method references. DeprecatedYehuda Katz2009-06-021-4/+6
|
* Add explicit requirement in a few cases it was missing.Yehuda Katz2009-06-023-0/+3
| | | TODO: Come up with the minimal core and remove all of these
* Further cleaning up new callbacksYehuda Katz2009-06-022-4/+4
|
* Simplify callbacks to use less metaprogrammingYehuda Katz2009-06-022-16/+16
|
* Get all the callback tests to work on new baseYehuda Katz + Carl Lerche2009-06-012-22/+52
|
* Ensure ERB source begins with the encoding commentJeremy Kemper2009-06-015-7/+34
|
* fix for IE incompatibility of :disable_with in submit_tagHan Kessels2009-06-012-4/+5
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Sidestep need for Kernel#silence_warningsJeremy Kemper2009-05-301-4/+4
|
* Depend on Hash#slice and Object#tryJeremy Kemper2009-05-301-0/+3
|
* html-scanner uses Set and class_inheritable_accessorJeremy Kemper2009-05-301-0/+3
|
* Depend on Hash#diff extensionJeremy Kemper2009-05-301-0/+2
|
* Revert "Only save the session if we're actually writing to it [#2703 ↵Joshua Peek2009-05-303-40/+1
| | | | | | state:resolved]" This reverts commit dd98280e38d640f5724887cf8a715b79f0439d2d.
* Make sure tests pass action name to Controller.action()Pratik Naik2009-05-301-1/+1
|
* AS::Concern redefines "include" to lazy include modules as dependenciesJoshua Peek2009-05-2918-26/+24
|
* AS::Concern includes InstanceMethods module if it existsJoshua Peek2009-05-291-6/+1
|
* Ruby 1.9: ERB template encoding using a magic comment at the top of the fileJeremy Kemper2009-05-285-10/+22
|
* Ruby 1.9: flushing the output buffer preserves its encodingJeremy Kemper2009-05-282-3/+21
|
* Reinstate pending output buffer testsJeremy Kemper2009-05-281-28/+36
|
* Break up DependencyModule's dual function of providing a "depend_on" DSL and ↵Joshua Peek2009-05-2827-46/+42
| | | | "included" block DSL into separate modules. But, unify both approaches under AS::Concern.
* Revert "Revert "Whitespace!""Joshua Peek2009-05-2823-264/+270
| | | This reverts commit 0cac68d3bed3e6bf8ec2eb994858e4a179046941.
* Only save the session if we're actually writing to it [#2703 state:resolved]Johan Sörensen2009-05-283-1/+40
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* The FlashHash and friends causes a lot of needless session storing, when we ↵Johan Sörensen2009-05-282-34/+43
| | | | | | know for a fact that there's no content in the flash. By not storing the empty hash in the session we save a lot of communication with the various session backends, while still keeping the same interface to the flash. [#2703 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Memoize cookies so that updates to cookies are available in the current ↵Olly Legg2009-05-282-1/+7
| | | | | | request. [#2733 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fix failing ActionCacheFilter tests due to around filter changes.Yehuda Katz + Carl Lerche2009-05-271-1/+1
|
* Added a compatibility layer to get legacy filter tests to pass on new baseYehuda Katz + Carl Lerche2009-05-271-5/+27
|