aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Moved the validation logic to the association reflection and refactored ↵Eloy Duran2010-01-074-33/+70
| | | | autosave_association.rb a bit.
* Remove deprecated '_delete' option from NestedAttributes.Eloy Duran2010-01-072-19/+2
|
* Removed unnecessary call to #try and cleaned up a bit more.Eloy Duran2010-01-071-6/+4
|
* Don't use strings for callbacks, as these will be evaled. Rather use ↵Eloy Duran2010-01-071-2/+2
| | | | | | symbols, which uses a direct method dispatch. Patch by Comron Sattari. [#3429 state:resolved]
* Cleanup some code in nested_attributes.rb, autosave_association.rb, and ↵Eloy Duran2010-01-074-14/+9
| | | | | | associations.rb with AssociationReflection#collection_association? Also cache the result value.
* Add AssociationReflection#collection_association? which returns true if it's ↵Eloy Duran2010-01-072-1/+17
| | | | for a has_many or has_and_belongs_to_many association.
* Refactored nested attributes a bit around :reject_if => :all_blank.Eloy Duran2010-01-072-6/+8
|
* Remove unneeded reliance on super -> method_missing quirkJeremy Kemper2010-01-072-2/+29
|
* Remove unneeded reliance on Numeric#round quirkJeremy Kemper2010-01-061-2/+3
|
* instrumenter should be accessible from ActiveSupport::Notifications.José Valim2010-01-062-15/+16
|
* Ensure before_validation and after_validation accepts :on as option.José Valim2010-01-062-3/+64
|
* Fix failing app generator test when using the --dev optionJeffrey Hardy2010-01-061-1/+1
|
* Restore require of 'active_record/fixtures' for Rake tasks that use themJeffrey Hardy2010-01-061-0/+4
|
* Use better defaults for fixtures: transactional=true, instantiated=falseJeffrey Hardy2010-01-061-2/+2
| | | | | These reflect the settings that were previously included in the default test_helper.rb, removed in d7d9173.
* Update db:migrate error message to reflect the removal of config.frameworksJeffrey Hardy2010-01-061-1/+1
|
* Fix spacing on frameworks error messageJeffrey Hardy2010-01-061-2/+2
|
* Remove config.gem deprecation stub since its not "deprecated" butJoshua Peek2010-01-061-8/+0
| | | | | | completely removed. This makes feature detection easier with config.respond_to?(:gem)
* namespace in routes changes both the path and name prefix.José Valim2010-01-062-2/+5
|
* Allow named routes to be debugged.José Valim2010-01-061-23/+20
|
* config.plugins should still work with an array of stringsJoshua Peek2010-01-052-4/+11
|
* Ruby 1.9.1 requires hash given to foormat to contain symbols.José Valim2010-01-061-1/+1
|
* Remove CGI.escape in function of Rack::Mount.escapeJosé Valim2010-01-063-8/+8
|
* redirect in routes takes port into account [#3653 status:resolved]José Valim2010-01-052-0/+13
|
* All router redirect helper to accept a full URI [#3653 state:resolved]Joshua Peek2010-01-052-7/+25
|
* assert_template depends on AV::Template monkey patches in action_view/test_caseJoshua Peek2010-01-052-0/+34
|
* NumberHelper#number_to_currency should output html_safe strings so the units ↵David Heinemeier Hansson2010-01-051-1/+1
| | | | are not escaped
* Rails layouts, error pages, and public/index now use HTML5.Dan Croak2010-01-055-5/+0
| | | | | | | | | | The specification allows the character encoding meta tag to be removed if character encoding is set at the transport level (Content-Type), which Rails is doing. http://dev.w3.org/html5/html4-differences/#character-encoding Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Controller tests should always require view tests since they add behavior ↵Jeremy Kemper2010-01-041-0/+1
| | | | controllers expect
* Trash string coercion rack hacksJoshua Peek2010-01-046-73/+0
|
* Default middleware stack needs to be available at configuration timeJoshua Peek2010-01-043-23/+29
|
* Middleware configuration testsJoshua Peek2010-01-041-0/+67
|
* Reinstate explicit active_support/test_case require since console_app ↵Jeremy Kemper2010-01-041-0/+1
| | | | interacts with a non-autoloaded constant
* Fix --dev optionCarlhuda2010-01-041-1/+2
|
* use_instantiated_fixtures and use_transactional_fixtures defaults are set in ↵Joshua Peek2010-01-041-2/+0
| | | | active_record/fixtures
* Smoke test for test_helpJoshua Peek2010-01-041-0/+38
|
* rack and rack-test are pulled in by ADJoshua Peek2010-01-041-3/+0
|
* Autoload AR test caseJoshua Peek2010-01-046-12/+4
|
* Autoload AMo test caseJoshua Peek2010-01-044-7/+4
|
* Autoload AS test caseJoshua Peek2010-01-0415-24/+6
|
* Autoload AM test case classJoshua Peek2010-01-042-2/+0
|
* Autoload AC and AV test case classesJoshua Peek2010-01-047-11/+7
|
* Expose Instrumenter id in Notifications.José Valim2010-01-042-0/+6
|
* @_formats initialization should be AbstractController::Base.José Valim2010-01-043-7/+6
|
* Remove deprecated formatted named routesJosé Valim2010-01-042-26/+0
|
* adding fix for auto linking to master tooZach Brock2010-01-052-1/+15
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Remove rack submodule, 1.1 has been released as a gem.Joshua Peek2010-01-043-4/+0
|
* MergeDavid Heinemeier Hansson2010-01-03117-2440/+2811
|\
| * Merge branch 'master' of git://github.com/rails/railsJosé Valim2010-01-046-10/+46
| |\
| | * Add Relation#create_with to explictily specify create scopePratik Naik2010-01-044-7/+31
| | |
| | * Ensure using proper engine for Arel::TablePratik Naik2010-01-043-3/+15
| | |