- 09 10月, 2010 2 次提交
-
-
由 Santiago Pastorino 提交于
[#4104]
-
由 Piotr Sarnacki 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 08 10月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 07 10月, 2010 1 次提交
-
-
由 Ryan Bigg 提交于
[#3796 state:committed] Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
- 06 10月, 2010 4 次提交
-
-
由 José Valim 提交于
-
由 José Valim 提交于
This commit may be reverted once documentation and a proper way to handle actions are added.
-
由 Aditya Sanghi 提交于
-
- 05 10月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 04 10月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 03 10月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 02 10月, 2010 2 次提交
-
-
由 José Valim 提交于
-
由 José Valim 提交于
-
- 30 9月, 2010 3 次提交
-
-
由 Piotr Sarnacki 提交于
With config.generators becomes a way to configure generators for current instance only. For example: module Blog class Engine < Rails::Engine config.generators do |g| g.orm :active_record end config.app_generators do |g| g.test_framework :rspec end end end such definition sets :active_record as orm for engine and :rspec as test_framework for application. The values set with app_generators can be overwritten in application using config.generators as you would normally do: module MyApp class Application < Rails::Application config.generators do |g| g.test_framework :test_unit end end end
-
由 Piotr Sarnacki 提交于
Sometimes it's easier to define routes inside Engine or Application class definition (e.g. one file applications). The problem with such case is that if there is a plugin that has config/routes.rb file, it will trigger routes reload on application. Since routes definition for application is not in config/routes.rb file routes_reloader will fail to reload application's routes properly. With this commit you can pass routes definition as a block to routes method, which will allow to properly reload it: class MyApp::Application < Rails::Application routes do resources :users end end
-
由 Piotr Sarnacki 提交于
In order to run Engine as standalone application, you will need Rails::Application instance in the same namespace that engine one. It's very important to leave _railtie bound to whatever used "namespace" method first.
-
- 26 9月, 2010 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
This removes all deprecated classes in ActionController related to Routing, Abstract Request/Response and Integration/IntegrationTest. All tests and docs were changed to ActionDispatch instead of ActionController.
-
- 25 9月, 2010 8 次提交
-
-
由 Piotr Sarnacki 提交于
Normally Rails.application is an instance, but for those tests Rails.application needs to be class. Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Piotr Sarnacki 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Piotr Sarnacki 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Piotr Sarnacki 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Piotr Sarnacki 提交于
Rails.application is set anyway, we don't need to set it manually, this was purpose of different behavior in tests and in application Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Piotr Sarnacki 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Jeff Kreeftmeijer 提交于
got rid of the "ambiguous first argument; put parentheses or even spaces" warnings in the scaffold_generator tests [#4872 state:resolved] Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
由 Piotr Sarnacki 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 24 9月, 2010 2 次提交
-
-
由 Emilio Tagua 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Fred Wu 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 23 9月, 2010 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 20 9月, 2010 2 次提交
-
-
由 Piotr Sarnacki 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 rohit 提交于
[#5661 state:committed] Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
- 19 9月, 2010 5 次提交
-
-
由 Piotr Sarnacki 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Piotr Sarnacki 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 David Trasbo 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Krekoten' Marjan 提交于
-
由 rohit 提交于
-
- 18 9月, 2010 1 次提交
-
-
由 Carl Lerche 提交于
Allows specifying blocks to the routeset that will get appended after the RouteSet is drawn.
-
- 16 9月, 2010 1 次提交
-
-
由 Sparky 提交于
-
- 14 9月, 2010 2 次提交
- 11 9月, 2010 1 次提交
-
-
由 Piotr Sarnacki 提交于
Signed-off-by: NMikel Lindsaar <raasdnil@gmail.com>
-