Jeremy Kemper
a5870d43e3
Rename Rails::Info.components to frameworks
2008-11-24 18:47:42 -08:00
Jeremy Kemper
104f3a5776
Add config.preload_frameworks to load all frameworks at startup. Default to false so Rails autoloads itself as it's used.
2008-11-24 18:43:04 -08:00
Jeremy Kemper
d01f75b1f0
Initializer#env relies on StringInquirer autoload. Style fixes.
2008-11-24 18:10:23 -08:00
Jeremy Kemper
536c239966
JSON can't be autoloaded since it includes core extensions
2008-11-24 13:08:25 -08:00
Jeremy Kemper
565fad350e
Ruby 1.9 compat: explicitly require delegate for cookie's DelegateClass
2008-11-24 12:05:17 -08:00
Jeremy Kemper
0f07b537ce
Require builder before fast_xs so we don't tickle its over-eager String#to_xs collision check
2008-11-24 11:39:51 -08:00
Jeremy Kemper
720ffdc42f
Explicitly require Builder in test that uses it
2008-11-24 11:05:54 -08:00
Jeremy Kemper
e06c5bef7f
Revert "Hack builder to look for fast_xs instead of insisting on its own String#to_xs"
...
This reverts commit 5d3712a81e .
2008-11-24 11:05:07 -08:00
Pratik Naik
1cbdd53bd3
Add a rake task to generate dispatchers : rake rails:generate_dispatchers
2008-11-24 19:50:09 +01:00
Pratik Naik
b7568e77d7
Fix typo in 5b5730cc6e
2008-11-24 19:35:09 +01:00
Yaroslav Markin
5b5730cc6e
Don't generate public/dispatch.cgi/fcgi/rb files by default.
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2008-11-24 19:31:58 +01:00
Joshua Peek
835be0cbed
missed ActiveRecord::Migrator
2008-11-24 12:31:16 -06:00
Geoff Garside
61becfe2b9
Test default singleton resource route to ensure it uses GET. This is important if using map.root :resource instead of map.root :resources for some reason.
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2008-11-24 19:19:56 +01:00
Geoff Garside
eac16d0ee1
Reorder the way in which map.resource routes are added to the set. This prevents the singular named route from hitting :create instead of :show.
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2008-11-24 19:19:55 +01:00
Joshua Peek
8aeed003f5
prototype and scripty helpers require json
2008-11-24 12:17:07 -06:00
Joshua Peek
a76351093c
helpers require dependencies
2008-11-24 12:17:07 -06:00
Joshua Peek
d6b923adbd
get activerecord tests passing with lazy loading
2008-11-24 12:17:07 -06:00
Joshua Peek
21901e9345
fixtures depends on dependencies
2008-11-24 12:17:07 -06:00
Eloy Duran
823b623fe2
Allow optional arguments and/or block for Object#try like Object#send does. [ #1425 state:resolved]
...
Original suggestion by Pat Nakajima.
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2008-11-24 18:53:48 +01:00
Joshua Peek
fffb1da3f2
require json lib when serialization is loaded
2008-11-24 11:52:29 -06:00
Joshua Peek
703fecb4fc
Add LAZY env flag for testing autoload/lazy load feature
2008-11-24 11:37:57 -06:00
Joshua Peek
368117c041
Autoload more ActiveSupport libs
2008-11-24 11:35:21 -06:00
Joshua Peek
7254d23764
Autoload ActiveRecord files
2008-11-24 11:14:24 -06:00
Joshua Peek
426a86ab1e
prefer autoloaded html scanner
2008-11-24 10:20:41 -06:00
Joshua Peek
f0f07c6427
prefer autoloading Mime::Type
2008-11-24 10:05:15 -06:00
Joshua Peek
5ffd1e0c02
Ensure integration test is load in script/console [ #1452 state:resolved]
2008-11-24 09:58:52 -06:00
David Heinemeier Hansson
42b4407e35
Strip out the ./ part of the test path so the backtrace align perfectly
2008-11-24 15:43:47 +01:00
Manfred Stienstra
1f48c09094
Accept a prefix argument to filter_backtrace_with_cleaning [ #1456 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 >
2008-11-24 11:35:55 +01:00
David Heinemeier Hansson
f3f67ce621
Merge branch 'master' of git@github.com:rails/rails
2008-11-24 11:11:08 +01:00
David Heinemeier Hansson
eea5dc3a34
Removed the old .htaccess as it is no longer used
2008-11-24 11:09:06 +01:00
David Heinemeier Hansson
8b14686892
Updated docs to stop talking exclusively about lighttpd and clarify a few other things
2008-11-24 11:05:49 +01:00
Jeremy Kemper
2dd0ec48a5
Autoload HTML::Document and sanitizers
2008-11-23 19:12:00 -08:00
Jeremy Kemper
fb4bb93d43
Drop unneeded drb require
2008-11-23 18:29:38 -08:00
Jeremy Kemper
95072a6846
Fix dangling tzinfo dependency
2008-11-23 16:12:41 -08:00
Jeremy Kemper
6c7463deab
Autoload ActiveSupport::Duration, Gzip, OptionMerger, OrderedHash, OrderedOptions, StringInquirer, TimeWithZone, and TimeZone also
2008-11-23 16:11:32 -08:00
Jeremy Kemper
e44076f2c3
Autoload cache stores
2008-11-23 16:10:41 -08:00
Jeremy Kemper
49752e6ca5
Duration requires BasicObject in case it's autoloaded early
2008-11-23 16:10:20 -08:00
Jeremy Kemper
1250faa858
Lazy-require tzinfo for TimeZone
2008-11-23 16:08:00 -08:00
Jeremy Kemper
0eca8111f2
Autoload ActiveSupport::SecureRandom and ::MessageVerifier
2008-11-23 15:39:28 -08:00
Jeremy Kemper
308876fca2
Lazy-require tempfile for File#atomic_write
2008-11-23 15:31:57 -08:00
Jeremy Kemper
283418a785
Lazy-require DRb for ActiveSupport::Cache::DRbStore
2008-11-23 15:30:21 -08:00
Jeremy Kemper
51d155e697
Lazy-require OpenSSL
2008-11-23 15:29:03 -08:00
Jeremy Kemper
c26cb08998
Lazy-require OpenSSL. Skip entirely if SecureRandom is available.
2008-11-23 15:27:09 -08:00
Jeremy Kemper
9f5ab945b7
Lazy-require XmlSimple. Move CGI require to object conversions where it's actually used.
2008-11-23 15:26:32 -08:00
Jeremy Kemper
e931012287
Require Mocha >= 0.9.3 which includes a MiniTest adapter
2008-11-23 15:05:59 -08:00
Jeremy Kemper
5d3712a81e
Hack builder to look for fast_xs instead of insisting on its own String#to_xs
2008-11-23 15:05:57 -08:00
Jeremy Kemper
6de241be81
Lazy-require builder lib
2008-11-23 15:05:57 -08:00
Joshua Peek
31ce92f7b5
Use autoload instead of explicit requires for ActionController
2008-11-23 16:35:47 -06:00
Jeremy Kemper
6de1060eb5
Changelog for #1448 . Mention updating old translations with storage_units key.
2008-11-23 13:22:46 -08:00
Jeremy Kemper
6d91e7a7d6
Remove explicit tmail requires in favor of autoload
2008-11-23 13:16:39 -08:00