Commit Graph

11524 Commits

Author SHA1 Message Date
Jeremy Kemper
c9cd10c4fa Bundle arel for AR integration tests 2009-10-19 19:00:17 -07:00
Jeremy Kemper
418ce487c4 Only undef to_json if it's defined 2009-10-19 18:46:59 -07:00
Jeremy Kemper
acb1624f27 Merge commit 'josevalim/fixes'
Conflicts:
	railties/test/generators/app_generator_test.rb
2009-10-19 18:37:19 -07:00
Jeremy Kemper
7ab30599a6 Error message references application.rb instead of environment.rb 2009-10-19 18:33:57 -07:00
Jeremy Kemper
66c4f28bd6 Bump arel requirement to 0.1.1 2009-10-19 18:33:38 -07:00
Jeremy Kemper
4afe70790c Check for environment.rb 2009-10-19 18:12:29 -07:00
Jeremy Kemper
3072bf7555 Check for bundler environment or 2.x-style vendor/rails + rubygems 2009-10-19 18:10:14 -07:00
Jeremy Kemper
a49c3b0365 Merge branch 'master' of github.com:rails/rails 2009-10-19 12:33:36 -07:00
Pratik Naik
1ac5cf4788 Make sure boot.rb requires rubygems only when needed 2009-10-19 15:06:54 -02:00
Mike Gunderloy
77bb129fdb Fix bad assumption in BacktraceCleaner test [#3249 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-10-18 17:17:09 -02:00
Joshua Peek
51e1260b18 Rails info tests needs use_controllers 2009-10-18 11:13:57 -05:00
Joshua Peek
91726c201b Relax generation requirements and only enforce the requirements used in the path segment 2009-10-18 11:05:24 -05:00
Joshua Peek
01e04a446c Use Rails.root in railties tests 2009-10-18 10:53:43 -05:00
Joshua Peek
f74e04c21d RAILS_GEM_VERSION is obsolete 2009-10-18 10:44:05 -05:00
Joshua Peek
3ccaabc6c6 Need to use "use_controllers" for nonexistent controller in AM test 2009-10-18 10:39:21 -05:00
Eric Chapweske
2831996483 Fixed: #without_typecast should only disable typecasting on the duplicated attributes [#3387 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-10-18 10:22:22 -05:00
Joshua Peek
6873b1d658 Don't use use_controllers in routing tests 2009-10-18 00:26:36 -05:00
Joshua Peek
2c3ca9ae80 This is routing error message test is tightly coupled to the implementation. Just test that it raises an exception. 2009-10-17 21:56:43 -05:00
Joshua Peek
f1767c1513 Drop legacy support for case insensitive controller recognition 2009-10-17 21:21:34 -05:00
Joshua Peek
cc0103fe83 Fix brittle query string comparisons 2009-10-17 19:18:18 -05:00
Joshua Peek
e900a8437a Fix brittle query string comparisons 2009-10-17 17:35:21 -05:00
Joshua Peek
702df0d238 Fix standalone run of routing test. Only reference controllers that are provided in fake_controllers 2009-10-17 17:35:21 -05:00
Joshua Peek
6c2a73909e Stop using with_controllers in tests 2009-10-17 17:35:20 -05:00
Joshua Peek
e00f57e208 No longer need this special routing exception message because these kinds of ambiguous generations are deprecated 2009-10-17 17:35:20 -05:00
Joshua Peek
20f0b33035 Drop support for routing :generate_all 2009-10-17 17:35:20 -05:00
Joshua Peek
d50413826f Invalid route requirements should always raise an exception even if they are unused 2009-10-17 17:35:19 -05:00
Carl Lerche
d0f4d93df8 Remove some remnants of config.gem 2009-10-17 14:38:40 -07:00
José Valim
1f9d234a6b By default use ActiveModel API in controller generators, unless otherwise specified [#3123 status:resolved] 2009-10-17 15:56:44 -03:00
José Valim
03c5a0e5c4 Make app generatoor specs green once again. 2009-10-17 15:54:58 -03:00
Eric Chapweske
f936a1f100 Refactoring attributes/types [#3348 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-10-17 12:37:15 -05:00
José Valim
cb87302689 Bring agnosticism to error_messages_for. 2009-10-17 13:03:28 -03:00
José Valim
2e37effd72 Unify class_inheritable_accessor and extlib_inheritable_accessor and allow responder to be set in the class level. 2009-10-17 12:54:03 -03:00
Joshua Peek
e13d232150 Add stub for configuring your package manager 2009-10-16 20:57:46 -05:00
Carl Lerche
e1fdc8bba3 Remove config.gem in favor of using the bundler. This makes config/boot.rb obsolete.
The bundler library is at: http://github.com/wycats/bundler/ and is a rubygem.
2009-10-16 18:10:52 -07:00
Joshua Peek
29ba9c0307 Use Rails.root in statistics rake task 2009-10-16 19:40:59 -05:00
Joshua Peek
7593e8b8b5 Rakefile doesn't need initializers to be ran 2009-10-16 19:40:08 -05:00
Jeremy Kemper
028911ad00 Use rails/rack 2009-10-16 17:39:12 -07:00
Joshua Peek
c7bf1058d3 Fix incorrect path in script/runner template 2009-10-16 19:33:25 -05:00
Joshua Peek
f1640a1653 script/runner should require environment 2009-10-16 19:33:25 -05:00
Joshua Peek
8f2d8f4528 script/performance/profiler should require environment 2009-10-16 19:33:24 -05:00
Joshua Peek
2f7217c76a script/performance/benchmarker should require environment 2009-10-16 19:33:24 -05:00
Joshua Peek
7635c9f4c0 script/generate should require environment 2009-10-16 19:33:24 -05:00
Yehuda Katz
7e9e370e03 Make encodings work with Erubis and 1.9 again 2009-10-16 17:28:44 -07:00
Joshua Peek
a22394295c Ignore log folder created by tests 2009-10-16 19:25:21 -05:00
Joshua Peek
c40f79f330 script/about should require environment 2009-10-16 19:24:19 -05:00
Joshua Peek
4cebd41d9e Fix Rails root in sqlite adapter 2009-10-16 19:08:09 -05:00
Joshua Peek
c1261b5484 Use Rails.application where we want a valid rack app 2009-10-16 19:04:28 -05:00
Joshua Peek
d859402696 Use Rails.initialize! where we just want to run the initializers and aren't concerned about the config 2009-10-16 18:58:35 -05:00
Joshua Peek
92bfc693f2 Rackup file should require environment 2009-10-16 18:46:34 -05:00
Joshua Peek
3971d972c3 Expand paths in i18n initializer tests 2009-10-16 18:42:55 -05:00