José Valim
3022ce4f72
No more hacks to ensure generators are executed inside Rails.root.
2010-01-07 21:24:50 +01:00
José Valim
ccc9f0b7de
Ensure application names are not singularized.
2010-01-07 21:09:32 +01:00
Joshua Peek
8fe66f1af0
Run railtie and plugin initializers before app specific ones
2010-01-07 14:01:34 -06:00
José Valim
19e7c524d2
Ensure config/application.rb also uses app_const instead of app_name.classify.
2010-01-07 20:59:26 +01:00
Jeffrey Hardy
2dcc53bdbc
Remove stray semicolon from cookie_verification_secret initialzer template
2010-01-07 11:51:54 -05:00
Jeffrey Hardy
f8352ec255
Align assignments in the session_store initializer template
2010-01-07 11:46:55 -05:00
Jeffrey Hardy
cfe0fcae06
Fix failing app generator test when using the --dev option
2010-01-06 14:22:51 -05:00
Jeffrey Hardy
8a41b710f6
Fix spacing on frameworks error message
2010-01-06 13:37:11 -05:00
Joshua Peek
88fd569ba0
Remove config.gem deprecation stub since its not "deprecated" but
...
completely removed.
This makes feature detection easier with config.respond_to?(:gem)
2010-01-06 11:33:04 -06:00
Joshua Peek
bbe80ae652
config.plugins should still work with an array of strings
2010-01-05 23:37:40 -06:00
Joshua Peek
8ff4faf66a
assert_template depends on AV::Template monkey patches in action_view/test_case
2010-01-05 11:48:06 -06:00
Dan Croak
38f669766c
Rails layouts, error pages, and public/index now use HTML5.
...
The specification allows the character encoding meta tag to be removed
if character encoding is set at the transport level (Content-Type),
which Rails is doing.
http://dev.w3.org/html5/html4-differences/#character-encoding
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2010-01-05 10:13:29 -06:00
Joshua Peek
3f28e0bda6
Trash string coercion rack hacks
2010-01-04 19:46:21 -06:00
Joshua Peek
76b5f18feb
Default middleware stack needs to be available at configuration time
2010-01-04 19:40:16 -06:00
Joshua Peek
56b28ec8d6
Middleware configuration tests
2010-01-04 19:40:16 -06:00
Jeremy Kemper
6591a10b1f
Reinstate explicit active_support/test_case require since console_app interacts with a non-autoloaded constant
2010-01-04 17:00:47 -08:00
Carlhuda
952e449fc0
Fix --dev option
2010-01-04 16:32:43 -08:00
Joshua Peek
17f053931e
use_instantiated_fixtures and use_transactional_fixtures defaults are set in active_record/fixtures
2010-01-04 17:23:36 -06:00
Joshua Peek
947bbc170e
Smoke test for test_help
2010-01-04 17:13:45 -06:00
Joshua Peek
508ffccfe7
rack and rack-test are pulled in by AD
2010-01-04 16:55:27 -06:00
Joshua Peek
e5ed62deea
Autoload AR test case
2010-01-04 16:50:01 -06:00
Joshua Peek
640d9e7e32
Autoload AMo test case
2010-01-04 16:29:07 -06:00
Joshua Peek
2601a16ede
Autoload AS test case
2010-01-04 16:22:46 -06:00
Joshua Peek
ce56c36cd3
Autoload AM test case class
2010-01-04 16:22:46 -06:00
Joshua Peek
cf83a6f16b
Autoload AC and AV test case classes
2010-01-04 16:22:46 -06:00
David Heinemeier Hansson
5e94d3e3ea
Merge
2010-01-03 22:27:28 -08:00
David Heinemeier Hansson
d7d917335e
Stop featuring ActiveSupport::TestCase.use_instantiated_fixtures and ActiveSupport::TestCase.use_transactional_fixtures as likely-to-change settings in test/test_helper.rb -- they are not and their values are already set in test_help.rb [DHH]
2010-01-03 19:55:21 -08:00
David Heinemeier Hansson
437df4a8d3
Describe intent, not implementation
2010-01-03 19:46:10 -08:00
David Heinemeier Hansson
0ad07d9c26
Removed config/initializers/new_rails_defaults.rb as all frameworks now follow the settings from it [DHH]
2010-01-03 19:32:48 -08:00
David Heinemeier Hansson
6042067c0b
Changed the default ActiveSupport.use_standard_json_time_format from false to true and
...
ActiveSupport.escape_html_entities_in_json from true to false to match previously announced Rails 3 defaults [DHH]
2010-01-03 19:20:43 -08:00
David Heinemeier Hansson
0422314b29
Time zoning should be turned on by default with UTC
2010-01-03 21:55:48 -05:00
David Heinemeier Hansson
51460b5bf2
This comment has been true of all helpers for a long time
2010-01-03 21:34:19 -05:00
David Heinemeier Hansson
950e6bb491
Remove self-evident comment about how subclasses work
2010-01-03 21:32:40 -05:00
David Heinemeier Hansson
090d12b49b
Added that ActionController::Base now does helper :all instead of relying on the default ApplicationController in Rails to do it [DHH]
2010-01-03 21:32:02 -05:00
José Valim
b0947bf97c
Bring generators tests back to life.
2010-01-04 00:31:53 +01:00
José Valim
271e7c803f
Move all generators tests to use new test case syntax.
2010-01-03 17:14:50 +01:00
José Valim
441227a10f
Create Rails::Generators::TestCase.
2010-01-03 17:14:49 +01:00
José Valim
e88ea3255f
Assert for valid application names. [ #3556 status:resolved]
2010-01-03 17:14:49 +01:00
José Valim
6716e4bc0c
Use regexp in lookups instead of traversing namespaces. This removes the need of special cases.
2010-01-03 17:14:48 +01:00
Yehuda Katz
106d8f7688
AppName::Application.root should work
2010-01-02 22:49:40 -08:00
Yehuda Katz
f1cd3a98f3
Doc fix
2010-01-02 22:46:09 -08:00
Steve Agalloco
c3d19eb950
app_generator option should be skip_activerecord not no_activerecord
...
(Thor actually accepts both, the patch was applied to improve readability)
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-01-03 00:47:01 +01:00
José Valim
4c5b5024c3
Rails notifications are set through Railtie in each framework.
2010-01-02 22:27:03 +01:00
José Valim
fd719d7ecf
Update vendored Thor.
2010-01-02 22:27:03 +01:00
Carl Lerche
ae7ada1fde
Some railties cleanup:
...
* Rename <framework>/rails.rb -> <framework>/railtie.rb
* Rails::Plugin -> Rails::Railtie
* Rails::Plugin::Vendored -> Rails::Plugin
2009-12-31 13:12:52 -08:00
Carl Lerche
e749424dfa
Rename rails.rb -> rails/all.rb and rails/core.rb -> rails.rb
2009-12-31 13:12:52 -08:00
Carl Lerche
2f8643955a
Raise a helpful error if config.frameworks is used
2009-12-31 11:57:59 -08:00
Carl Lerche
a23f4b6aee
Add a /rails.rb for each framework for consistency
2009-12-31 11:57:59 -08:00
Carl Lerche
1e41097294
Fully remove config.frameworks in favor of requires in boot.rb
2009-12-31 11:57:59 -08:00
David Heinemeier Hansson
ea41a757aa
Dont gitkeep things that are gitignored
2009-12-31 11:09:10 -05:00