aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | | | | | | | | | | Move model naming into ActiveModelJoshua Peek2009-06-1715-13/+31
| | | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | Convert line breaks.José Valim2009-06-171-55/+55
|/ / / / / / / / / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | | | | | | | | Remove a stray process2 requireYehuda Katz + Carl Lerche2009-06-161-1/+1
| | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | Move the exceptions for missing template into Compatibility in prep for ↵Yehuda Katz + Carl Lerche2009-06-162-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | moving it into a "not-production" module
* | | | | | | | | | | | | | | | | | | | | | An exception is raised if a layout is missing only if the layout is missing ↵Yehuda Katz + Carl Lerche2009-06-164-11/+5
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for all mimes
* | | | | | | | | | | | | | | | | | | | | Exceptions now in an exceptions moduleYehuda Katz + Carl Lerche2009-06-161-0/+58
| | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | Remove exceptions from AbstractUnit so they work in real lifeYehuda Katz + Carl Lerche2009-06-162-58/+13
| | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | Merge process2 into process to people's regular tests run :PYehuda Katz + Carl Lerche2009-06-163-115/+12
| | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | More _write_layout_method removalYehuda Katz + Carl Lerche2009-06-152-14/+0
| | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | Whoops, I guess we broke layouts ;)Yehuda Katz + Carl Lerche2009-06-156-32/+7
| | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | rm -r controller/base!Yehuda Katz + Carl Lerche2009-06-1520-2477/+10
| | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | Get all of rake tests to passYehuda Katz + Carl Lerche2009-06-152-1/+9
| | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | Get the new base tests to passYehuda Katz + Carl Lerche2009-06-151-2/+1
| | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | Get the AR integration tests to passYehuda Katz + Carl Lerche2009-06-151-3/+4
| | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | Keep ActionMailer using the old layouts code until it gets refactored.Yehuda Katz + Carl Lerche2009-06-154-2/+13
| | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | Fix the fixture pathYehuda Katz + Carl Lerche2009-06-151-1/+1
| | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | Get tests to run (with failures) without old base aroundYehuda Katz + Carl Lerche2009-06-1542-1685/+1687
| | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | Require missing file in ASYehuda Katz + Carl Lerche2009-06-151-0/+2
| | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | Fix failing tests in new callbacksYehuda Katz + Carl Lerche2009-06-151-1/+1
| | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | Finish making things pass with updated internal content_type semanticsYehuda Katz + Carl Lerche2009-06-157-59/+26
| | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | 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-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>