aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Accept a prefix argument to filter_backtrace_with_cleaning [#1456 ↵Manfred Stienstra2008-11-241-6/+4
| | | | | | | | | state:committed] Add a prefix argument to filter_backtrace_with_cleaning so it has the same arity as test/unit's filter_backtrace. Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* simplify console with helpersJoshua Peek2008-11-231-21/+2
|
* Added rake rails:update:application_controller to renamed application.rb to ↵David Heinemeier Hansson2008-11-231-1/+11
| | | | application_controller.rb -- included in rake rails:update so upgrading to 2.3 will automatically trigger it [#1439 state:committed] (kastner)
* Switch script/server to use rack processorJoshua Peek2008-11-225-220/+95
|
* Drop lighttpd support from script/serverJoshua Peek2008-11-222-99/+1
|
* Kill dead "new_mongrel" handlerJoshua Peek2008-11-224-415/+2
|
* Add flush by ensure in script/runner because no flush in production mode ↵Cyril Mougel2008-11-221-7/+11
| | | | | | [#803 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Added ActiveSupport::BacktraceCleaner and Rails::BacktraceCleaner for ↵David Heinemeier Hansson2008-11-223-3/+46
| | | | cutting down on backtrace noise (inspired by the Thoughtbot Quiet Backtrace plugin) [DHH]
* Require active_support/secure_random for Ruby 1.9.Akira Matsuda2008-11-191-0/+1
| | | | | | [#1326 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Assume that the next version is going to be 2.3 for nowDavid Heinemeier Hansson2008-11-191-2/+2
|
* add vendor/ back to load paths; catch errors in constant loadingMatt Jones2008-11-181-0/+1
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Added config.i18n settings gatherer to config/environment, auto-loading of ↵David Heinemeier Hansson2008-11-182-0/+35
| | | | all locales in config/locales/*.rb,yml, and config/locales/en.yml as a sample locale [DHH]
* Add helper test generators [#1199 state:resolved]Eugene Bolshakov2008-11-1713-18/+96
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fix a typo in test helperPratik Naik2008-11-181-1/+1
|
* Dont require 'application' when running testsPratik Naik2008-11-181-2/+0
|
* Fix script/consolePratik Naik2008-11-181-2/+0
|
* Explicitly require test/unit so tests autorunJeremy Kemper2008-11-171-0/+4
|
* BACKWARDS INCOMPATIBLE: Renamed application.rb to application_controller.rb ↵David Heinemeier Hansson2008-11-171-1/+2
| | | | and removed all the special casing that was in place to support the former. You must do this rename in your own application when you upgrade to this version [DHH]
* Merge branch 'master' into testingJeremy Kemper2008-11-152-3/+3
|\
| * Prepare for RC2David Heinemeier Hansson2008-11-141-1/+1
| |
| * Revert "Move fixtures settings from AR::TestCase to railties test_help" -- ↵David Heinemeier Hansson2008-11-141-15/+4
| | | | | | | | | | | | it broke all the tests! This reverts commit 9a88ab64bb45ddb2bdcf80fab9203111d8f8abb4.
| * Properly check silence_spec_warnings class variable [#1372 state:committed]Chris Wanstrath2008-11-141-2/+2
| | | | | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
| * Move fixtures settings from AR::TestCase to railties test_helpJeremy Kemper2008-11-131-4/+15
| |
* | Move fixtures settings from AR::TestCase to railties test_helpJeremy Kemper2008-11-121-8/+14
| |
* | Remove deprecated Gem.manage_gemsJeremy Kemper2008-11-121-1/+0
| |
* | Set up fixtures in app's test_helpJeremy Kemper2008-11-071-7/+8
|/
* Make refresh_specs more resilient. Always add vendor/gems to gem search ↵Matt Jones2008-11-013-14/+27
| | | | | | path. Use Gem.clear_paths to ensure we get a current searcher. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Fixed plugin generator so that generated unit tests would subclass ↵Mathias Meyer2008-10-304-12/+16
| | | | | | ActiveSupport::TestCase, also introduced a helper script to reduce the needed require statements. [#1137 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Merge with docrailsPratik Naik2008-10-221-1/+1
|
* Merge with docrails. Also add a rake task to generate guides in your rails ↵Pratik Naik2008-10-211-0/+13
| | | | | | | | application : rake doc:guides The rake task will generate guides inside doc/guides directory of your application. Open index.html to browse.
* Fix script/generate warningPratik Naik2008-10-211-1/+2
|
* config.gem: Fix typo in unpack, skip dependencies on unloaded gems, and ↵Matt Jones2008-10-202-2/+3
| | | | | | silence spec warnings on refresh. [#1128] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Memoize the require and construction of the StringInquirerMichael Koziarski2008-10-191-2/+4
|
* Don't create test/performance/test_helper.rb. Just require the needed files ↵Pratik Naik2008-10-172-2/+2
| | | | from test directly. [#1135 state:resolved]
* Remove the class_path from the collisions test.Michael Koziarski2008-10-149-11/+11
| | | | The class_path is often taken already in situations like Admin namespaces etc.
* Don't include the path when checking class collisions [#545 state:resolved]Joshua Peek2008-10-131-0/+1
|
* Initialize silence_spec_warningsMatt Jones2008-10-131-0/+2
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1128 state:resolved]
* Make VendorGemSourceIndex handle broken/missing specs generated by previous ↵Matt Jones2008-10-133-23/+107
| | | | | | versions. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Fix script/console --sandbox warning. [#1194 state:resolved]Matt Jones2008-10-091-2/+2
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix definition of find_nameMatt Jones2008-10-081-2/+2
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1128 state:committed]
* Mark gem as not loaded when spec not foundMatt Jones2008-10-081-0/+2
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Fix deprecated ActionController::Base.relative_url_root call in mongrel commandChris Cherry2008-10-051-1/+1
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Merge docrailsPratik Naik2008-10-051-0/+1
|
* Fix a number of errors in the config.gem mechanism.Matt Jones2008-10-056-44/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rails::GemDependency was missing definitions for hash and eql?, causing Array#uniq to not work. * If several versions of a gem are unpacked in vendor, now chooses the highest if no version is specified. * streamlined add_load_path. Now sets up Rubygems correctly to allow 'gem' to find frozen gems, with gems frozen to vendor/gems and specifications in vendor/gems/<gem-name>/.specification * Rails::GemDependency#specification would return a spec for the highest installed version, even for frozen gems and/or previously loaded lower versions. See in part ticket #1123. * removed vendor from default_load_paths - it was causing autoloading to append Gems::Gems::<gem-dir> to constant names * added additional tests for loading frozen gems. * incorporates the fix from #1107 for vendor rails * defers to freeze:gems for handling the Rails framework. gems:unpack WILL NOT place a copy of Rails in vendor/gems. Should close #1123 completely. * incorporates, via using the gem loader for frozen gems, fixes corresponding to #227, #324, #362, #527, and #742. * gem plugins now work the same whether frozen or not. Correctness of the behavior is a matter for another ticket... Signed-off-by: rick <technoweenie@gmail.com>
* Add IMB DB support to Rails application generator. [#1136 state:resolved]Antonio Cangiano2008-10-041-1/+1
| | | | | | Usage : rails app_name -d ibm_db Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Make sure recreate MySQL test database with the proper encoding and ↵Luca Guidi2008-10-031-1/+1
| | | | | | | collation [#1165 state:resolved] Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1165 state:committed]
* Partially revert 185fe2e9cce737d69d3b47a656f3651ce152c0c1Michael Koziarski2008-09-241-1/+3
| | | | We shouldn't quote the unpack command's requirement as it's passed through GemRunner which takes care of it for us.
* Bump the Version constants to align with the *next* release rather than the ↵Michael Koziarski2008-09-221-1/+1
| | | | | | previous release. This allows people tracking non-release gems or git submodules to use the constants.
* make db:migrate:redo rake task accept an optional VERSION to target that ↵Philip Hallstrom2008-09-171-2/+10
| | | | | | specific migration to redo Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Add --debugger option to script/console.miloops2008-09-111-0/+13
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1025 state:committed]