aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* Make performance tests work againPratik Naik2009-06-251-1/+1
|
* Separate Rails module methods, the config object, and the initializer into ↵Yehuda Katz + Carl Lerche2009-06-233-334/+338
| | | | separate files.
* Resurrect threadsafe!Yehuda Katz + Carl Lerche2009-06-231-0/+12
|
* Tests pass, AWDoR passes, and a fresh app boots.Yehuda Katz + Carl Lerche2009-06-231-121/+228
|
* Got all the railties tests to pass, rails must boot!Yehuda Katz + Carl Lerche2009-06-234-3/+34
|
* Fix the default frameworksYehuda Katz + Carl Lerche2009-06-232-2/+11
|
* Get more tests to passYehuda Katz + Carl Lerche2009-06-232-5/+76
|
* Get initializer_test.rb to pass with the new initializer.Yehuda Katz + Carl Lerche2009-06-233-18/+114
|
* Started making progress on implementing a new initializer.Yehuda Katz + Carl Lerche2009-06-234-1075/+1725
| | | | | Class.any_instance.expects(:require).raises(LoadError) ... w0t
* Initial initializer implYehuda Katz + Carl Lerche2009-06-231-11/+6
|
* Starting to write the new initializerYehuda Katz + Carl Lerche2009-06-231-0/+118
|
* Rename ActionView::Template::Path ActionView::ResolverYehuda Katz + Carl Lerche2009-06-171-1/+1
|
* Remove a stray process2 requireYehuda Katz + Carl Lerche2009-06-161-1/+1
|
* Get all of rake tests to passYehuda Katz + Carl Lerche2009-06-151-1/+7
|
* Fix incorrect specification path in GemDependency#from_directory_nameMatt Jones2009-06-102-1/+8
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* 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>
* 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>
* Fix initializer i18n path testJeremy Kemper2009-06-011-0/+1
|
* Updated the db:structure:dump task to properly format the pgdump command ↵Jeff Dean2009-06-011-1/+3
| | | | | | | when you have multiple schemas in your schema search path. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2695 state:committed]
* better db:create for mysql - do not assume root userVladimir Dobriakov2009-06-011-3/+19
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1459 state:committed]
* Avoid loading the ActiveRecord::SessionStore class on initialization if it ↵Luke Melia2009-05-301-1/+1
| | | | | | is not in use [#2737 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Ruby 1.9: use UTF-8 for default internal and external encodings.Jeremy Kemper2009-05-282-3/+9
|
* Fix script/server's default mount path [#2731 state:resolved]Joshua Peek2009-05-281-1/+1
|
* ensure initialize_database_middleware doesn't use ActionController if ↵calavera2009-05-272-6/+23
| | | | | | action_controller framework is not enabled [#2680 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* server command help inconsistency fix [#2685 state:resolved]anupom syam2009-05-271-5/+5
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Add an model_subclass generator.Fabien Jakimowicz2009-05-275-0/+71
| | | | | | | | This generator creates a new model as a subclass of an existing model and the unit test for that model. Lets users avoid having to manually delete the fixtures and migration or remember to pass those arguments. [#2702 state:committed] Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Remove 'core' fluff. Hookable ActiveSupport.load_all!Jeremy Kemper2009-05-204-16/+7
|
* Lazy-require Kernel#silence_warningsJeremy Kemper2009-05-191-2/+1
|
* Extract generic callbacks middleware from dispatcherJoshua Peek2009-05-172-4/+2
|
* Merge Failsafe middleware into ShowExceptionsJoshua Peek2009-05-171-1/+1
|
* Remove obsolete wiki reference [#2291 state:resolved]Mike Gunderloy2009-05-171-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix typo in the generated routes.rb [#2433 state:resolved]Paulo Schneider2009-05-171-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Supply valid ruby-prof parameters [#1804 state:resolved]Jacob Kjeldahl2009-05-171-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Get Railties passing againYehuda Katz2009-05-168-17/+23
|
* Include guides directory in the rails gemPratik Naik2009-05-161-3/+4
|
* Cherry-pick core extensionsJeremy Kemper2009-05-135-3/+4
|
* Defer rake/contrib requires so we can use the stdlib rake instead of the ↵Jeremy Kemper2009-05-131-1/+3
| | | | full gem
* Added db/seeds.rb as a default file for storing seed data for the database. ↵David Heinemeier Hansson2009-05-115-2/+31
| | | | Can be loaded with rake db:seed (or created alongside the db with db:setup). (This is also known as the "Stop Putting Gawd Damn Seed Data In Your Migrations" feature) [DHH]
* Remove stray call to gems:unpack in gems:build:forceMatt Jones2009-05-061-2/+1
| | | | | | [#2266 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fix old reference to ActionController::FailsafeJeremy Kemper2009-05-061-1/+1
|
* fix problems with requires in metal choking under development reloading ↵Tim Connor2009-05-041-1/+2
| | | | | | [#2579 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fix consoleJoshua Peek2009-05-041-2/+3
|
* Additional tests for the gem subsystemDavid Dollar2009-04-295-0/+101
| | | | | | | | | | * test_gem_ignores_development_dependencies * test_gem_guards_against_duplicate_unpacks * test_gem_does_not_unpack_framework_gems [#2236 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Attempt to deal with more cases of gems with native components.David Dollar2009-04-289-6/+159
| | | | | | | | | | | | | | | | | | | This commit adds a rudimentary check for 'unbuilt' gems, so that we can abort the application load if there are any gems that have native components that have not yet been built. The rake task gems:build has now only builds 'unbuilt' gems as a result. The rake task gems:build:force has been added to deal with cases of incomplete builds, or any case where you need to force the build of all of your gems. Changes the gems:build task to get its gem list by parsing directory entries in vendor/gems, which sidesteps the chicken/egg issues involved with having a gem unpacked into vendor/gems without before its native bits are compiled. [#2266 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Rejig active support dependencies to behave better with the boot processJeremy Kemper2009-04-285-8/+12
|
* Fix missing core extension dependenciesJeremy Kemper2009-04-286-2/+10
|
* Refactor ActionView::TemplateYehuda Katz + Carl Lerche2009-04-272-3/+3
| | | | | | | | ActionView::Template is now completely independent from template storage, which allows different back ends such as the database. ActionView::Template's only responsibility is to take in the template source (passed in from ActionView::Path), compile it, and render it.
* Remove reference to Rack::RewindableInput, which has been removed a while ago.Hongli Lai (Phusion)2009-04-261-1/+1
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Use Symbol#to_proc in rails plugin internalsJeremy Kemper2009-04-241-0/+1
|
* Removed rest of Symbol#to_proc from railties testsJeremy Kemper2009-04-222-3/+3
|