- 23 1月, 2016 1 次提交
-
-
由 Dave Riddle 提交于
-
- 22 1月, 2016 2 次提交
-
-
由 Jon Moss 提交于
-
由 JuanitoFatas 提交于
-
- 19 1月, 2016 2 次提交
- 31 12月, 2015 1 次提交
-
-
由 Rafael Mendonça França 提交于
It was removed by mistake at 877a411d
-
- 22 12月, 2015 2 次提交
-
-
由 yuuji.yaginuma 提交于
`rack-cors` gem is defined in Gemfile by default only if the api, not defined by default in rails app.
-
由 Jey Balachandran 提交于
The Action Cable generators creates four files which need to be removed if `skip_action_cable` is set. 1. `app/assets/javascripts/cable.coffee` 2. `app/channels/application_cable/channel.rb` 3. `app/channels/application_cable/connection.rb` 4. `config/redis/cable.yml` Fixes #22669.
-
- 18 12月, 2015 1 次提交
-
-
由 David Heinemeier Hansson 提交于
-
- 17 12月, 2015 1 次提交
-
-
由 David Heinemeier Hansson 提交于
-
- 16 12月, 2015 1 次提交
-
-
由 Genadi Samokovarov 提交于
It's pretty common for folks to monkey patch `ActiveRecord::Base` to work around an issue or introduce extra functionality. Instead of shoving even more stuff in `ActiveRecord::Base`, `ApplicationRecord` can hold all those custom work the apps may need. Now, we don't wanna encourage all of the application models to inherit from `ActiveRecord::Base`, but we can encourage all the models that do, to inherit from `ApplicationRecord`. Newly generated applications have `app/models/application_record.rb` present by default. The model generators are smart enough to recognize that newly generated models have to inherit from `ApplicationRecord`, but only if it's present.
-
- 15 12月, 2015 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 14 12月, 2015 1 次提交
-
-
由 Genadi Samokovarov 提交于
Web Console 3.0.0 is compatible with Rails 5, while the 2.x.x releases aren't.
-
- 30 10月, 2015 1 次提交
-
-
由 Rafael Mendonça França 提交于
We are using the same version constraint in the database adapters so when a new version of the adapter that doesn't work with the version of rails is released we don't break new applications.
-
- 24 9月, 2015 1 次提交
-
-
由 Ronak Jangir 提交于
-
- 18 6月, 2015 2 次提交
-
-
由 Diego Carrion 提交于
fixes #20042
-
由 Mehmet Emin İNAÇ 提交于
-
- 30 5月, 2015 1 次提交
-
-
由 Yoong Kang Lim 提交于
A lot of scripts assumes the existence of this folder and most would fail if it is absent. One example of this is `rake restart` (before the previous commit) – it tries to `touch tmp/restart.txt`, which would fail if `tmp` does not exist, which was the case for a freshly-cloned project as `tmp` is `.gitignored` by default. See #20299. [Yoong Kang Lim, Sunny Juneja]
-
- 20 4月, 2015 1 次提交
-
-
由 Godfrey Chan 提交于
Spring seems like an obvious foot gun for the `--dev` setup, presumably you are about to make lots of changes to the codebase, so it should always reload the framework.
-
- 24 3月, 2015 1 次提交
-
-
由 Jeroen van Baarsen 提交于
* Jobs generated now inherent from ApplicationJob * ApplicationJob inherents from ActiveJob::Base * Added entry to changelog Signed-off-by: NJeroen van Baarsen <jeroenvanbaarsen@gmail.com>
-
- 19 3月, 2015 1 次提交
-
-
由 Arthur Neves 提交于
-
- 22 2月, 2015 1 次提交
-
-
由 Josef Šimánek 提交于
Deprecate `required` option in favor of `optional` for belongs_to.
-
- 07 2月, 2015 2 次提交
-
-
由 Xavier Noria 提交于
README.rdoc was generated to support the doc:app task. Now that this task is gone we can switch to Markdown, which is nowadays a better default.
-
由 Xavier Noria 提交于
This patch removes the tasks doc:app, doc:rails, and doc:guides. In our experience applications do not generate APIs using doc:app. Methods may be certainly documented for maintainers, annotated with YARD tags, etc. but that is intended to be read with the source code, not in a separate website. Then, teams also have typically selected topics written down in Markdown files, or in a GitHub wiki... that kind of thing. If a team absolutely needs to generate application documentation for internal purposes, they can still easily write their own task. Regarding doc:rails and doc:guides, we live in 2015. We are used to go to online docs all the time. If you really want access to the API offline RubyGems generates it for every Rails component unless you tell it not to, and you can checkout the Rails source code to read the guides as Markdown, or download them for a Kindle reader. All in all, maintaining this code does not seem to be worthwhile anymore. As a consequence of this, guides (+3 MB uncompressed) won't be distributed with the rails gem anymore. Of course, guides and API are going to be still part of releases, since documentation is maintained alongside code and tests. Also, time permitting, this will allow us to experiment with novel ways to generate documentation in the Rails docs server, since right now we were constrained by being able to generate them in the user's environment.
-
- 28 1月, 2015 2 次提交
-
-
由 Yves Senn 提交于
It's a thin layer to provide easy access to sample files throughout test-cases. This adds the directory `test/fixtures/files` to newly generated applications.
-
由 Melanie Gilman 提交于
Rails no longer generates Test::Unit files by default.
-
- 14 1月, 2015 1 次提交
-
-
由 Sean Griffin 提交于
Fixes #18473
-
- 05 1月, 2015 1 次提交
-
-
由 Rafael Mendonça França 提交于
bebugger doesn't work with Ruby 2.2 so we don't need to support it anymore
-
- 03 1月, 2015 1 次提交
-
-
由 claudiob 提交于
This stems from [a comment](rails#17227 (comment)) by @dhh. In summary: * New Rails 5.0 apps will not accept `return false` as a way to halt callback chains, and will not display a deprecation warning. * Existing apps ported to Rails 5.0 will still accept `return false` as a way to halt callback chains, albeit with a deprecation warning. For this purpose, this commit introduces a Rails configuration option: ```ruby config.active_support.halt_callback_chains_on_return_false ``` For new Rails 5.0 apps, this option will be set to `false` by a new initializer `config/initializers/callback_terminator.rb`: ```ruby Rails.application.config.active_support.halt_callback_chains_on_return_false = false ``` For existing apps ported to Rails 5.0, the initializers above will not exist. Even running `rake rails:update` will not create this initializer. Since the default value of `halt_callback_chains_on_return_false` is set to `true`, these apps will still accept `return true` as a way to halt callback chains, displaying a deprecation warning. Developers will be able to switch to the new behavior (and stop the warning) by manually adding the line above to their `config/application.rb`. A gist with the suggested release notes to add to Rails 5.0 after this commit is available at https://gist.github.com/claudiob/614c59409fb7d11f2931
-
- 02 1月, 2015 1 次提交
-
-
由 claudiob 提交于
-
- 23 12月, 2014 2 次提交
-
-
由 Sean Griffin 提交于
The changes in #18149 added tests for the app generator, but only fixed it for the plugin generator (I should have let CI finish though I think it would have failed as an allowed failure).
-
由 Arthur Neves 提交于
-
- 14 12月, 2014 1 次提交
-
-
由 NorimasaAndo 提交于
-
- 28 10月, 2014 1 次提交
-
-
由 Benjamin Fleischer 提交于
https://travis-ci.org/rails/rails/jobs/39190983#L460 1) Failure: AppGeneratorTest#test_psych_gem [test/generators/app_generator_test.rb:495]: Expected /gem 'psych',\s+'~> 2.0', \s+platforms: :rbx/ to match <snip> http://git.io/uuLVag)\ngem 'psych', '~> 2.0', platforms: :rbx\n\n
-
- 27 10月, 2014 1 次提交
-
-
由 Rafael Mendonça França 提交于
For the most part of cases --skip-gems option just remove one line in the Gemfile. This is not worth for the complexity it adds. Closes #17196
-
- 24 9月, 2014 1 次提交
-
-
由 Dan Olson 提交于
-
- 21 8月, 2014 1 次提交
-
-
由 slainer68 提交于
Change position of require active_job
-
- 09 8月, 2014 1 次提交
-
-
由 Arun Agrawal 提交于
Broken by fbe38c9e
-
- 03 8月, 2014 1 次提交
-
-
由 Stefan Kanev 提交于
The template runs before the generation of binstubs – this does not allow to write one, that makes an initial commit to version control. It is solvable by adding an after_bundle callback.
-
- 31 7月, 2014 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
-