1. 31 7月, 2014 7 次提交
  2. 30 7月, 2014 1 次提交
  3. 29 7月, 2014 1 次提交
  4. 25 7月, 2014 2 次提交
  5. 24 7月, 2014 5 次提交
  6. 20 7月, 2014 1 次提交
    • R
      Stop requiring mocha automatically · fd6aaaa0
      Rafael Mendonça França 提交于
      We are planning to remove mocha from our test suite because of
      performance problems. To make this possible we should stop require mocha
      on ActionSupport::TestCase.
      
      This should not affect applications since users still need to add mocha
      to Gemfile and this already load mocha.
      
      Added FIXME notes to place that still need mocha removal
      fd6aaaa0
  7. 18 7月, 2014 3 次提交
  8. 16 7月, 2014 3 次提交
  9. 12 7月, 2014 1 次提交
    • A
      Add ability to extend `rails server` command options parser · b3a34cd3
      Andrey Chernih 提交于
      With this change it will be possible to add additional options to the `option_parser` like this:
      
          require 'rails/commands/server'
          module Rails
            class Server < ::Rack::Server
              class Options
                def option_parser_with_open(options)
                  parser = option_parser_without_open options
                  parser.on('-o', '--open', 'Open in default browser') { options[:open] = true }
                  parser
                end
                alias_method_chain :option_parser, :open
              end
      
              def start_with_open
                start_without_open do
                  `open http://localhost:3000` if options[:open]
                end
              end
              alias_method_chain :start, :open
            end
          end
      b3a34cd3
  10. 11 7月, 2014 2 次提交
  11. 08 7月, 2014 4 次提交
  12. 07 7月, 2014 1 次提交
  13. 06 7月, 2014 1 次提交
  14. 04 7月, 2014 2 次提交
  15. 02 7月, 2014 2 次提交
  16. 01 7月, 2014 1 次提交
    • L
      Add configuration to enable mail previews · 84ed7b8d
      Leonard Garvey 提交于
      Adds `config.action_mailer.preview_enabled`
      
      This allows mail previewing to be enabled easily in non-development
      environments such as staging. The default is set to true for development
      so no changes should be required to existing Rails applications.
      
      The mail preview path can still be configured using the existing
      `config.action_mailer.preview_path` configuration option.
      
      Adding this avoids devs from having to do stuff like:
      https://gist.github.com/lengarvey/fa2c9bd6cdbeba96526a
      
      Update actionmailer/CHANGELOG with new configuration.
      Update configuring guide with new configuratation.
      Add `config.action_mailer.preview_path` to configuring guide.
      84ed7b8d
  17. 28 6月, 2014 2 次提交
  18. 27 6月, 2014 1 次提交