aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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
* JSON: split encoding and coercionJeremy Kemper2009-06-0820-332/+279
|
* Don't rely on Rails.loggerJeremy Kemper2009-06-081-2/+4
|
* Add notes to TZInfo bundling taskGeoff Buesing2009-06-071-0/+10
|
* Kathmandu TimeZone: reference Asia/Kathmandu zone directly instead of ↵Geoff Buesing2009-06-073-14/+21
| | | | through linked timezone
* Load correct version of TZInfoGeoff Buesing2009-06-071-2/+2
|
* String #to_time and #to_datetime: handle fractional seconds [#864 ↵Jason Frey (Fryguy)2009-06-073-2/+11
| | | | state:resolved]
* Update bundled TZInfo to v0.3.13Geoff Buesing2009-06-07140-21/+20
|
* Work around a gem dependency edge case that prevents Rails from booting..Tim Connor2009-06-051-1/+1
| | | | | | | | | | | | | | | | | If you have a frozen gem with unfrozen dependencies (for instance if the dependency has native extensions so can't be frozen) you can have a nightmare upgrade problem, where you cannot rake gems:install, because rake is broken by a gem loading problem. If you bump up your frozen gem to a newer version that requires a newer dependency, everybody else on the team will have rake broken by that dependency mismatch, since you will have had to specify the dependency in your config.gems, otherwise nobody will have installed it, since the parent is frozen. And now the config.gems loading code will kill rake. [#2609 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Pull in time extensions alsoJeremy Kemper2009-06-051-1/+1
|
* Prefer sibling action_controllerJeremy Kemper2009-06-051-10/+3
|
* YAGNI Method references. DeprecatedYehuda Katz2009-06-022-16/+11
|
* 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-025-117/+97
|
* Simplify callbacks to use less metaprogrammingYehuda Katz2009-06-026-109/+115
|