1. 15 3月, 2016 1 次提交
    • R
      Creates development and test databases in db:migrate task · 6ca9031b
      Rafael Mendonça França 提交于
      This reverts a334425c.
      
      The main reason is that now the workflow is inconsistent when using
      spring.
      
      When using spring `RAILS_ENV` is always set, so only one database is
      created.
      
      This means that in development `bin/rake db:create` and `bundle exec
      rake db:create` have different results.
      
      It also breaks the `bin/setup` script since `bin/rake db:setup
      db:test:prepare` will fail.
      6ca9031b
  2. 14 3月, 2016 1 次提交
  3. 12 3月, 2016 2 次提交
    • R
      Fix `warning: method redefined; discarding old female` · 7c61f5c2
      Ryuta Kamizono 提交于
      ```
      $ ARCONN=mysql2 be ruby -w -Itest test/cases/scoping/default_scoping_test.rb
      Using mysql2
      /Users/kamipo/src/github.com/rails/rails/activerecord/lib/active_record/scoping/named.rb:158: warning: method redefined; discarding old female
      /Users/kamipo/src/github.com/rails/rails/activerecord/lib/active_record/scoping/named.rb:158: warning: previous definition of female was here
      /Users/kamipo/src/github.com/rails/rails/activerecord/lib/active_record/scoping/named.rb:158: warning: method redefined; discarding old male
      /Users/kamipo/src/github.com/rails/rails/activerecord/lib/active_record/scoping/named.rb:158: warning: previous definition of male was here
      ```
      7c61f5c2
    • S
      Fix test failures caused by #23958 · 0ff6eb34
      Sean Griffin 提交于
      I'm unsure how this passed CI in the pull request.
      0ff6eb34
  4. 11 3月, 2016 2 次提交
  5. 10 3月, 2016 2 次提交
  6. 09 3月, 2016 1 次提交
  7. 08 3月, 2016 7 次提交
  8. 06 3月, 2016 4 次提交
  9. 05 3月, 2016 6 次提交
  10. 04 3月, 2016 3 次提交
  11. 03 3月, 2016 3 次提交
  12. 02 3月, 2016 4 次提交
  13. 01 3月, 2016 2 次提交
    • M
      Publish AS::Executor and AS::Reloader APIs · d3c9d808
      Matthew Draper 提交于
      These should allow external code to run blocks of user code to do
      "work", at a similar unit size to a web request, without needing to get
      intimate with ActionDipatch.
      d3c9d808
    • S
      Respect through association scopes when used with polymorphic · af2c427c
      Sean Griffin 提交于
      When the `source_type` option is passed to a has_many through, the
      resulting `Reflection` will be an instance of `PolymorphicReflection`
      and not `ThroughReflection`, meaning that it will ignore the scopes that
      it needs to apply from the through reflections. This adds an additional
      delegation call to remedy this. I've been finding the reflection code
      completely impenetrable lately, it could use some major love.
      
      Fixes #22726
      af2c427c
  14. 29 2月, 2016 2 次提交