1. 02 11月, 2016 1 次提交
  2. 29 10月, 2016 1 次提交
  3. 25 10月, 2016 1 次提交
  4. 21 10月, 2016 1 次提交
  5. 27 9月, 2016 1 次提交
  6. 17 9月, 2016 1 次提交
  7. 14 9月, 2016 2 次提交
  8. 16 8月, 2016 1 次提交
  9. 14 8月, 2016 1 次提交
  10. 13 8月, 2016 1 次提交
  11. 07 8月, 2016 6 次提交
  12. 27 7月, 2016 1 次提交
  13. 21 7月, 2016 1 次提交
    • G
      Enforce minimal web-console version for Rails 5 · e072db77
      Genadi Samokovarov 提交于
      I dropped the version constraint in web-console with the idea it will be
      easier to upgrade the console between Rails releases. However, issues
      like #25899 started popping up.
      
      I'm reintroducing the constraint, but this time, I don't set an upper
      limit to the major version. This will keep the web-console in a version
      that always works for the current Rails version and can be easily
      upgraded to the last one with `bundle update`.
      
      We may need to backport this for Rails 5.0.1.
      
      Fixes #25899.
      e072db77
  14. 17 7月, 2016 1 次提交
  15. 02 7月, 2016 1 次提交
  16. 08 6月, 2016 2 次提交
  17. 07 6月, 2016 1 次提交
  18. 04 6月, 2016 1 次提交
    • P
      Fix minor regression about old apps not getting per_form_csrf and... · a7adec93
      Prathamesh Sonpatki 提交于
      Fix minor regression about old apps not getting per_form_csrf and request_forgery_protection configs
      
      - Earlier per_form_csrf_tokens and request_forgery_protection config
        files were generated for old apps upgraded to Rails 5.
      - But when we collapsed all initializers into one file, the entire file
        does not get created for old apps.
      - This commit fixes it and also changes values for all new defaults for
        old apps so that they will not break.
      - Also added a test for `rails app:update`.
      a7adec93
  19. 01 6月, 2016 1 次提交
  20. 29 5月, 2016 2 次提交
  21. 28 5月, 2016 1 次提交
  22. 17 5月, 2016 1 次提交
    • P
      Cable: Generate .js or .coffee files while generating channel as per the... · 63ac6255
      Prathamesh Sonpatki 提交于
      Cable: Generate .js or .coffee files while generating channel as per the javascript engine of the application
      
      - Now we will detect what javascript engine user is using and based on
        that we will generate either `.js` or `.coffee` version of the channel
        file.
      - This also needs a change in coffee-rails to override the `js_template`
        method. Related PR https://github.com/rails/coffee-rails/pull/72.
      - Currently coffee-rails gem sets
        `config.app_generators.javascript_engine` to `:coffee` and using this
        information we override the `js_template` to set the extension as
        `.coffee` in coffee-rails gem.
      - Using this approach, we can keep the `channel.js` and `channel.coffee`
        files in the Rails repository itself.
      - Additionally the `js_template` method can act as public interface for
        coffee-rails gem to hook into and change the extension to `.coffee`
        without maintaining the actual asset files.
      
      [Prathamesh Sonpatki, Matthew Draper]
      63ac6255
  23. 15 5月, 2016 1 次提交
    • Y
      generate mailer layout files if it does not already exist · f0f4cb2f
      yuuji.yaginuma 提交于
      Currently, if `ApplicationMailer` does not exist, it is generated when
      run the mailer generator, but layouts files does not generate.
      However, because it uses the layouts in `ApplicationMailer`,
      layouts are required.
      
      Follow up to #24161
      f0f4cb2f
  24. 28 4月, 2016 1 次提交
    • G
      Always genererate models with ApplicationRecord parent · e6ed3aaf
      Genadi Samokovarov 提交于
      Currently, if we generate a model while
      `app/model/application_record.rb` isn't present, we'll end up with a
      model with an `ActiveRecord::Base` parent _and_ a newly generated
      `app/models/application_record.rb`.
      
      While the behavior for choosing an `ActiveRecord::Base` was chosen for
      an easier migration math to 5.0, generating the
      `app/model/application_record.rb` file kinda contradicts with it.
      
      In any case, I think we should decide on a behavior and stick to it.
      Here, I'm changing the generated parent to always be `ApplicationRecord`
      and to always create `app/model/application_record.rb` if it doesn't
      exist.
      e6ed3aaf
  25. 23 4月, 2016 1 次提交
  26. 16 4月, 2016 1 次提交
  27. 13 4月, 2016 1 次提交
  28. 08 4月, 2016 1 次提交
  29. 25 3月, 2016 1 次提交
  30. 22 3月, 2016 2 次提交
  31. 12 3月, 2016 1 次提交