1. 27 12月, 2014 25 次提交
  2. 26 12月, 2014 12 次提交
  3. 25 12月, 2014 3 次提交
    • M
      Merge pull request #18196 from PavelPenkov/rails_env_instead_of_rails · d8e0b8ab
      Matthew Draper 提交于
      Check for Rails.env instead of Rails
      d8e0b8ab
    • P
      Check for Rails.env instead of Rails · 290e8e11
      Pavel Penkov 提交于
      `Rails` constant is added by rails-html-sanitizer leading to bugs in
      non-Rails apps using ActiveRecord and ActionMailer
      290e8e11
    • C
      Remove ActionController::ModelNaming · 4761d819
      claudiob 提交于
      The methods in these modules are not used anywhere. They used to be
      invoked in polymorphic_routes.rb but their usage was removed in e8210450.
      
      What is your opinion about removing these methods?
      
      They do belong to the public API, but in reality their code has already been duplicated to ActionView::ModelNaming, since they are used by methods like `dom_id` and `dom_class` to associated records with DOM elements (in
      ActionView).
      
      Please tell me if you think that removing this module is a good idea and,
      in that case, if the PR is okay as it is, or you'd rather start by showing
      a deprecation message, and remove the module in Rails 5.1.
      4761d819