aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
* Require core_ext/kernel/requires in test_help to providing ↵Carl Lerche2009-06-301-0/+1
| | | | #require_library_or_gem
* Stop the initializer from blowing up when builtin_directories is emptyCarl Lerche2009-06-301-1/+1
|
* Starting to replace scattered path configuration settings with the path objectYehuda Katz + Carl Lerche2009-06-264-27/+78
|
* Finished a first stab at the Rails application path object.Yehuda Katz + Carl Lerche2009-06-261-0/+85
|
* Checkpoint. Added a bunch of TODOs and some changes after further going ↵Yehuda Katz + Carl Lerche2009-06-261-15/+8
| | | | through the initializer
* Try speeding up rails bootingYehuda Katz + Carl Lerche2009-06-252-7/+10
|
* Run the block passed to #run first when initializingYehuda Katz + Carl Lerche2009-06-251-0/+1
|
* 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-231-1/+27
|
* Fix the default frameworksYehuda Katz + Carl Lerche2009-06-231-1/+9
|
* Get more tests to passYehuda Katz + Carl Lerche2009-06-231-2/+71
|
* Get initializer_test.rb to pass with the new initializer.Yehuda Katz + Carl Lerche2009-06-232-7/+103
|
* Started making progress on implementing a new initializer.Yehuda Katz + Carl Lerche2009-06-232-986/+1585
| | | | | Class.any_instance.expects(:require).raises(LoadError) ... w0t
* Rename ActionView::Template::Path ActionView::ResolverYehuda Katz + Carl Lerche2009-06-171-1/+1
|
* Fix incorrect specification path in GemDependency#from_directory_nameMatt Jones2009-06-101-1/+1
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Fix several issues with the 2.3.2 gem loader.Matt Jones2009-06-092-11/+23
| | | | | | | | | | | | | | | | | | 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>
* 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-281-3/+7
|
* 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-271-2/+4
| | | | | | 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-274-0/+56
| | | | | | | | 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>
* 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-166-14/+14
|
* Cherry-pick core extensionsJeremy Kemper2009-05-132-1/+3
|
* Added db/seeds.rb as a default file for storing seed data for the database. ↵David Heinemeier Hansson2009-05-112-2/+16
| | | | 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
|
* Attempt to deal with more cases of gems with native components.David Dollar2009-04-283-6/+54
| | | | | | | | | | | | | | | | | | | 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-283-8/+10
|
* Fix missing core extension dependenciesJeremy Kemper2009-04-284-2/+8
|
* 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
|
* Opt in to DependenciesJeremy Kemper2009-04-221-0/+1
|
* No more free lunchJeremy Kemper2009-04-223-10/+15
|
* Update rails:template task to expand file paths [#2528 state:resolved]Stephen Celis2009-04-211-1/+3
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Makes rails-dev-boost work againCarl Lerche & Yehuda Katz2009-04-141-1/+1
|