aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* moves reopening of core classes to add generic stuff from Action Pack to ↵Xavier Noria2009-06-1310-49/+93
| | | | | | | | AS/core_ext and adds tests [#2798 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Bytes calculation speed upLuca Guidi2009-06-131-8/+15
| | | | | | [#2800 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* uses Object#metaclass and Object#class_eval in a few spotsXavier Noria2009-06-126-7/+11
| | | | | | [#2797 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* HasOneThroughAssociation still shouldn't derive from HasManyThroughAssociation.Adam Milligan2009-06-124-167/+166
| | | | | | [#1642 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* HasOneAssociation inherits AssociationProxy since it shares nothing with ↵Emilio Tagua2009-06-121-5/+5
| | | | | | | | BelongsToAssociation. [#2796 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Move observing notify helper into AMoJoshua Peek2009-06-112-5/+6
|
* Fix observing AS dependenciesJoshua Peek2009-06-111-0/+2
|
* Integrate ActiveModel::Observing into ActiveRecordJoshua Peek2009-06-106-155/+93
|
* 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-103-62/+53
| | | | in #helpers
* Whitelist the methods which are called by multiparameter attribute assignment.Michael Koziarski2009-06-101-8/+8
| | | | This prevents users from causing NoMethodErrors and the like by editing the parameter names, and closes a potential exploit of CVE-2009-1904.
* 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
|
* Fix incorrect specification path in GemDependency#from_directory_nameMatt Jones2009-06-102-1/+8
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* enable *real* IO parsing for the libxml, nokogiri and rexml backends [#2659 ↵Brian Lopez2009-06-093-16/+26
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* 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>
* disabled base_test.rb tests that were not Oracle compatible (TIME datatype ↵Raimonds Simanovskis2009-06-092-30/+60
| | | | | | is not supported on Oracle, UPDATE does not support ORDER BY) _before_type_cast on Oracle returns Time and not String added Oracle specific schema definition that was missing for test_default_values test Signed-off-by: Michael Koziarski <michael@koziarski.com>
* 1.9 compatibility - don't pass an array as the from address as this ends up ↵Friedrich Göpel2009-06-091-1/+1
| | | | generating invalid SMTP commands.
* PostgreSQL adapter should call thread safe quote_string functionEugene Pimenov2009-06-091-2/+14
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Pull autoload fix from 2-3-stableMichael Koziarski2009-06-091-1/+1
|
* Fix several issues with the 2.3.2 gem loader.Matt Jones2009-06-093-12/+38
| | | | | | | | | | | | | | | | | | Incorporates the following: - migrates back small change to gems:build:force from bfc1609a501fc3ed442685819de5bcdb5fbada1c to finish closing #2266. - unrolls to_proc calls in gems.rake, to match the change in master. - fixes #2722 by passing the options hash to dependencies during build. (includes a test) - fixes #2721 by loading the specification directly in from_directory_name. Adds an option to opt-out of specification loading when needed (in gems:refresh_specs, for instance). Includes tests. - fixes #2679 by refreshing specs for all frozen gems rather than just gems loaded from the environment. - fixes #2678 by passing the options hash to dependencies during unpack. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* 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>
* Further cleanup of callbacksYehuda Katz2009-06-091-10/+7
|
* More pruning of NewCallbacksYehuda Katz2009-06-091-16/+5
|
* Lazier Rakefile requires to avoid needing full rake gem on 1.9Jeremy Kemper2009-06-081-1/+2
|
* Uses Hash#symbolize_keysJeremy Kemper2009-06-081-0/+1
|
* Prefer JSON.encode(value) to value.to_jsonJeremy Kemper2009-06-081-2/+2
|
* each yields per message not per attributeJeremy Kemper2009-06-081-0/+1
|
* Simplify json decoder backend lazy loadJeremy Kemper2009-06-081-4/+2
|
* Fix AR json encodingJeremy Kemper2009-06-083-31/+14
|
* Add #element and #collection to ModelNameJeremy Kemper2009-06-082-3/+13
|
* Update for Active Model yielding per error not per attributeJeremy Kemper2009-06-081-0/+1
|
* Make use of AS::Concern in ActiveResourceJoshua Peek2009-06-082-40/+37
|
* Setup ActiveResource autoloadsJoshua Peek2009-06-088-31/+14
|
* Properly require ActiveModel validation dependenciesJoshua Peek2009-06-0811-29/+35
|
* Fix activesupport pathJoshua Peek2009-06-081-3/+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
|
* Ruby 1.9: fix json encodingJeremy Kemper2009-06-081-1/+2
|
* 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
|