- 16 12月, 2015 1 次提交
-
-
由 Abdelkader Boudih 提交于
In Rails 5.1 `ActionController::TestCase` will be moved out of Rails into it's own gem. Please use `ActionDispatch::IntegrationTest` going forward. This changes the generators to use `ActionDispatch::IntegrationTest` and the required URL setup (rather than symbols) for each of the controller actions. Updated fix to #22076.
-
- 15 12月, 2015 1 次提交
-
-
由 Matthew Draper 提交于
-
- 14 12月, 2015 1 次提交
-
-
由 eileencodes 提交于
This reverts commit 9712a7a1, reversing changes made to 3e65c3d3. Reverting because this caused test failures and while we have a followup branch there is still one failure that happens randomly and isn't straight forward to fix.
-
- 13 12月, 2015 1 次提交
-
-
由 Abdelkader Boudih 提交于
-
- 08 11月, 2015 1 次提交
-
-
由 yuuji.yaginuma 提交于
In the app generator, regardless of the namespace, it is adapted to read the same `application_controller.rb`, modified to api generator also be the same behavior. ref 686966a1, 06ac63b4
-
- 20 9月, 2015 1 次提交
-
-
由 yuuji.yaginuma 提交于
This is follow up to #6643. In #6643, the controller generator only had been fixed, in this commit to fix the scaffold generator.
-
- 09 1月, 2015 1 次提交
-
-
由 Carlos Souza 提交于
For mailers created via generators Follow up to #18074
-
- 08 1月, 2015 1 次提交
-
-
由 yuuji.yaginuma 提交于
* ignore mailer suffix when generate test files * add mailer suffix to view files
-
- 06 1月, 2015 1 次提交
-
-
由 Carlos Souza 提交于
Following the same naming convention used in controllers and jobs.
-
- 25 11月, 2014 1 次提交
-
-
由 Guo Xiang Tan 提交于
-
- 22 11月, 2014 1 次提交
-
-
由 Andy Jeffries 提交于
Creates an ApplicationMailer and layout by default, including html and body tags to reduce spam score
-
- 04 8月, 2014 1 次提交
-
-
由 David Heinemeier Hansson 提交于
-
- 14 1月, 2014 1 次提交
-
-
由 Cristian Mircea Messel 提交于
Write routes in route.rb with single quotes get 'welcome/index' instead of get "welcome/index"
-
- 30 8月, 2013 1 次提交
-
-
由 Prathamesh Sonpatki 提交于
-
- 29 11月, 2012 1 次提交
-
-
由 Rafael Mendonça França 提交于
They was extracted from a plugin. See https://github.com/rails/rails-observers [Rafael Mendonça França + Steve Klabnik]
-
- 27 11月, 2012 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
- 05 11月, 2012 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
- 15 10月, 2012 1 次提交
-
-
由 Robin Dupret 提交于
-
- 10 10月, 2012 1 次提交
-
-
由 Mike Moore 提交于
Change the default test locations to avoid confusion around the common testing terms "unit" and "functional". Add new rake tasks for the new locations, while maintaining backwards compatibility with the old rake tasks. New testing locations are as follows: app/models -> test/models (was test/units) app/helpers -> test/helpers (was test/units/helpers) app/controllers -> test/controllers (was test/functional) app/mailers -> test/mailers (was test/functional)
-
- 29 9月, 2012 1 次提交
-
-
由 Jeremy Walker 提交于
-
- 07 7月, 2012 1 次提交
-
-
由 Wojciech Wnętrzak 提交于
-
- 06 6月, 2012 1 次提交
-
-
由 Fred Wu 提交于
-
- 22 5月, 2012 1 次提交
-
-
由 Piotr Sarnacki 提交于
Using require in development mode will prevent required files from reloading, even if they're changed. In order to keep namespaced application_controller reloadable, we need to use require_dependency instead of require.
-
- 21 5月, 2012 1 次提交
-
-
由 Piotr Sarnacki 提交于
In development mode, dependencies are loaded dynamically at runtime, using `const_missing`. Because of that, when one of the constants is already loaded and `const_missing` is not triggered, user can end up with unexpected results. Given such file in an Engine: ```ruby module Blog class PostsController < ApplicationController end end ``` If you load it first, before loading any application files, it will correctly load `Blog::ApplicationController`, because second line will hit `const_missing`. However if you load `ApplicationController` first, the constant will be loaded already, `const_missing` hook will not be fired and in result `PostsController` will inherit from `ApplicationController` instead of `Blog::ApplicationController`. Since it can't be fixed in `AS::Dependencies`, the easiest fix is to just explicitly load application controller. closes #6413
-
- 19 5月, 2012 2 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
由 Piotr Sarnacki 提交于
Minitest uses different signature for assert_no_match, so we have to swap arguments.
-
- 26 4月, 2012 1 次提交
-
-
由 Alexey Vakhov 提交于
-
- 25 4月, 2012 2 次提交
-
-
由 Alexey Vakhov 提交于
-
由 Alexey Vakhov 提交于
-
- 21 12月, 2011 1 次提交
-
-
由 José Valim 提交于
-
- 07 6月, 2011 1 次提交
-
-
由 Stefan Sprenger 提交于
-
- 25 5月, 2011 1 次提交
-
-
由 tomhuda 提交于
Move SCSS generators and default templates from Rails to the Sass Railtie (d435726312601edb3ba6f97b34f562221f72c1f8). * Sass gem registers a compressor * Sass gem registers generators for assets and scaffold * Create a default stylesheet_engine ("css") for apps that remove the Sass gem
-
- 18 5月, 2011 1 次提交
-
-
由 Akira Matsuda 提交于
this fixes: "warning: ambiguous first argument; put parentheses or even spaces" because: you need this to tell the parser that you're not calling :/ method (division) details (Japanese!): http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-dev/42445?42370-43277
-
- 14 5月, 2011 1 次提交
-
-
由 Arun Agrawal 提交于
-
- 18 4月, 2011 1 次提交
-
-
由 José Valim 提交于
-
- 04 11月, 2010 1 次提交
-
-
由 Piotr Sarnacki 提交于
-
- 10 10月, 2010 1 次提交
-
-
由 Piotr Sarnacki 提交于
This change caused by confusion caused by calling engine "namespaced". Stuff inside engine can be namespaced for every engine. This method is not actually namespacing anything, it's isolating engine within the given namespace.
-
- 25 9月, 2010 3 次提交
-
-
由 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>
-