- 25 2月, 2016 1 次提交
-
-
由 Jon Moss 提交于
This also marks Action Cable routes as internal to Rails.
-
- 24 2月, 2016 1 次提交
-
-
由 Sam Stephenson 提交于
-
- 23 2月, 2016 2 次提交
- 21 2月, 2016 2 次提交
-
-
由 claudiob 提交于
Follows the convention from Rails 5 of invoking tasks on the command-line with `rails …` rather than `rake …`.
-
由 claudiob 提交于
Since Rails 5.0 is switching the Rails command line from 'rake …' to 'rails …', it makes sense to also replace the `rake` method in the Rails templates API. Based on feedback from @matthewd and @kaspth, I chose to replace `rake` with `rails_command`, which is less confusing than the alternatives `rails` or `command` or `rails_run` and is not Thor-reserved word like `task`.
-
- 18 2月, 2016 1 次提交
-
-
由 yuuji.yaginuma 提交于
If you want to use `EventedFileUpdateChecker`, need to specify `listen` to plugin's gemspec. However, the default is not specified `listen` to plugin's gemspec, `EventedFileUpdateChecker` should be disabled.
-
- 17 2月, 2016 1 次提交
-
-
由 Xavier Noria 提交于
-
- 15 2月, 2016 3 次提交
-
-
由 Yves Senn 提交于
-
由 Yves Senn 提交于
-
由 yuuji.yaginuma 提交于
View files is necessary to send mail, it should be generated even Rails API. Fixes #23617
-
- 13 2月, 2016 1 次提交
-
-
由 Kasper Timm Hansen 提交于
3f70e8bd set a new bar for tests, but they weren't updated. Update their expectation.
-
- 10 2月, 2016 2 次提交
-
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
- 06 2月, 2016 1 次提交
-
-
由 yuuji.yaginuma 提交于
It has been changed to require `belongs_to` by default in Rails 5. Therefore in order to pass the controller test, have association of set to fixtures. Fixes #23384
-
- 04 2月, 2016 2 次提交
-
-
由 Vipul A M 提交于
- app generate option --skip-sprockets leaves jquery-rails gem, which relies on sprockets environment - Remove jquery-rails if --skip-sprockets is true Fixes #23431
-
由 Prem Sichanugrist 提交于
Redis now included in Gemfile but commented out. This change was made in 91864439 and is causing the test failure. See https://travis-ci.org/rails/rails/jobs/106994913#L1025
-
- 02 2月, 2016 2 次提交
-
-
由 yuuji.yaginuma 提交于
Test of Rails API should be in `api_app_generator_test.rb`.
-
由 Aaron Patterson 提交于
Generated engines should call `protect_from_forgery`. If this method isn't called, then the Engine could be susceptible to XSS attacks. Thanks @tomekr for reporting this to us!
-
- 31 1月, 2016 2 次提交
-
-
由 Matthew Draper 提交于
This new adapter does get a little more intimate with the redis-rb gem's implementation than I would like, but it's the least bad of the approaches I've come up with.
-
由 yuuji.yaginuma 提交于
-
- 30 1月, 2016 1 次提交
-
-
由 schneems 提交于
When the `puma` command is run without any configuration options it will detect presence of a `config/puma.rb` file and use that. Currently there is discrepancy between `puma` command and `rails server` but Evan said it would be reasonable to add in reading in config from the default location. I am working on that right now as a feature in puma/puma. Why do we need this? By default Puma uses 16 threads, and by default ActiveRecord only has 5 threads. Due to the architecture of AR it is guaranteed that if you're running with fewer DB connections than your server has threads you will hit `ActiveRecord::ConnectionTimeoutError ` eventually if your app gets modest amounts of traffic. Since we are providing a default webserver, we should provide reasonable configuration for that webserver. This PR does a few things, first it sets the default Puma thread count to 5 to mach ActiveRecord's default. It sets the default environment to `"development"` and the default port to 300 so that booting the server with `$ puma` will give you the same default port as `rails server`. It is worth mentioning that by reading in from `PORT` environment variable this config can work with containerized deployments, such as on Heroku. We are not using worker processes by default, that way JRuby and windows devs can use this configuration without modification. I went ahead and included a default `on_worker_boot`. It won't be used unless a worker count is specified, that means this config will not use it. Even though it's not being used now It will make someone who wants to try modifying their config to run extra workers easier. cc/ @pixeltrix
-
- 29 1月, 2016 1 次提交
-
-
由 Ryan Manuel 提交于
-
- 24 1月, 2016 2 次提交
-
-
由 Prathamesh Sonpatki 提交于
- Using `references` or `belongs_to` in migrations will always add index for the referenced column by default, without adding `index:true` option to generated migration file. - Users can opt out of this by passing `index: false`. - Legacy migrations won't be affected by this change. They will continue to run as they were before. - Fixes #18146
-
由 Prathamesh Sonpatki 提交于
- Fixes #23137.
-
- 23 1月, 2016 1 次提交
-
-
由 Dave Riddle 提交于
-
- 22 1月, 2016 3 次提交
-
-
由 yuuji.yaginuma 提交于
Because the form is not in the Rails API, `per_form_csrf_tokens` initializer I think unnecessary.
-
由 Jon Moss 提交于
-
由 JuanitoFatas 提交于
-
- 19 1月, 2016 3 次提交
-
-
由 Jon Moss 提交于
-
由 Jon Moss 提交于
-
由 Kasper Timm Hansen 提交于
Forgot to remove it, when I changed the expectations in 88881d2b.
-
- 16 1月, 2016 1 次提交
-
-
由 yuuji.yaginuma 提交于
-
- 15 1月, 2016 1 次提交
-
-
由 yuuji.yaginuma 提交于
since 9446e38b, generated mailer inherents from ApplicationMailer, ApplicationMailer is required in the mountable engine.
-
- 02 1月, 2016 2 次提交
-
-
由 yuuji.yaginuma 提交于
-
由 yuuji.yaginuma 提交于
-
- 31 12月, 2015 1 次提交
-
-
由 Rafael Mendonça França 提交于
It was removed by mistake at 877a411d
-
- 22 12月, 2015 3 次提交
-
-
由 yuuji.yaginuma 提交于
`rack-cors` gem is defined in Gemfile by default only if the api, not defined by default in rails app.
-
由 Rafael Mendonça França 提交于
-
由 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.
-