1. 04 12月, 2013 1 次提交
  2. 01 12月, 2013 1 次提交
  3. 22 11月, 2013 2 次提交
  4. 17 11月, 2013 1 次提交
  5. 12 11月, 2013 1 次提交
  6. 11 11月, 2013 1 次提交
  7. 04 11月, 2013 3 次提交
  8. 28 10月, 2013 1 次提交
    • R
      Removal of javascript related gems when creating an app · 84e261b9
      Robin Dupret 提交于
      Commit 0417bc83 add the coffee-rails and javascript runtime gems even
      when passing the --skip-javascript option but this is not the desired
      behavior.
      
      Also remove all javascript related stuff in the generated application
      such as the vendor/assets/javascripts folder.
      84e261b9
  9. 22 10月, 2013 1 次提交
    • R
      Make the application name snake cased when it contains spaces · 52b25261
      Robin Dupret 提交于
      The application name is used to fill the `database.yml` and
      `session_store.rb` files ; previously, if the provided name contained
      whitespaces, it led to unexpected names in these files.
      
      Since Shellwords.escape adds backslashes to escape spaces, the app_name
      should remove them and replace any space with an underscore (just like
      periods previously).
      
      Also improve the assert_file helper to work with paths containing spaces
      using String#shellescape.
      52b25261
  10. 16 10月, 2013 1 次提交
  11. 15 10月, 2013 1 次提交
  12. 09 10月, 2013 1 次提交
  13. 25 9月, 2013 1 次提交
  14. 23 9月, 2013 1 次提交
    • S
      Only output Server logs in Development · 5f98bb40
      schneems 提交于
      Right now when you start a server via `rails s`, the logger gets extended so that it logs to the file system and also to stdout. This extension behavior is not "intelligent" and if the default logger is already set to output to stdout, then the contents will be received twice.
      
      To capture logs in accordance with http://www.12factor.net/logs some platforms require the logs to be sent to standard out. If a logger is set to stdout, and the server is started using `rails server` instead of another method (i.e. `thin start` etc.) then the app will produce double logs.
      
      This PR fixes the issue by only extending the logger to standard out in the development environment. So that in production you don't get double logs like this:
      
      ```
      ActionView::Template::Error (wrong number of arguments (5 for 4)):
          1: <% lang_index = 0 %>
          2: <div class="row">
          3:   <ul class="nav nav-tabs nav-stacked span2" data-tabs="tabs" id="repo-tabs">
          4:     <% repos.group_by(&:language).each do |lang, repos| %>
          5:       <% unless lang == nil %>
          6:         <li><a href="#<%= "#{lang.parameterize}#{lang.hash}" %>" data-toggle="tab"><%= lang %></a></li>
          7:       <% end -%>
        app/views/shared/_repos.html.erb:4:in `_app_views_shared__repos_html_erb___1685450633638247395_70300668607000'
        app/views/pages/index.html.erb:13:in `_app_views_pages_index_html_erb__2084723628308867770_70300687584880'
      
      ActionView::Template::Error (wrong number of arguments (5 for 4)):
          1: <% lang_index = 0 %>
          2: <div class="row">
          3:   <ul class="nav nav-tabs nav-stacked span2" data-tabs="tabs" id="repo-tabs">
          4:     <% repos.group_by(&:language).each do |lang, repos| %>
          5:       <% unless lang == nil %>
          6:         <li><a href="#<%= "#{lang.parameterize}#{lang.hash}" %>" data-toggle="tab"><%= lang %></a></li>
          7:       <% end -%>
        app/views/shared/_repos.html.erb:4:in `_app_views_shared__repos_html_erb___1685450633638247395_70300668607000'
        app/views/pages/index.html.erb:13:in `_app_views_pages_index_html_erb__2084723628308867770_70300687584880'
      ```
      
      ATP Railties. Opened against master in favor of #10999
      5f98bb40
  15. 14 9月, 2013 1 次提交
    • P
      Don't require using application_name before options · 47ac67b8
      Piotr Sarnacki 提交于
      Before this commit options for `rails new` and `rails plugin new` had to
      be passed in a strict order, trying to execute a following command:
      
          rails new -J path/to/app
      
      resulted in an error.
      
      This commit fixes the situation and allows to pass path to app anywhere
      after `new`
      47ac67b8
  16. 15 8月, 2013 1 次提交
  17. 14 8月, 2013 1 次提交
  18. 06 8月, 2013 1 次提交
  19. 04 8月, 2013 1 次提交
  20. 29 7月, 2013 1 次提交
  21. 28 7月, 2013 1 次提交
  22. 16 7月, 2013 1 次提交
  23. 13 7月, 2013 1 次提交
  24. 11 7月, 2013 1 次提交
  25. 08 7月, 2013 1 次提交
  26. 05 7月, 2013 1 次提交
  27. 04 7月, 2013 2 次提交
  28. 02 7月, 2013 1 次提交
  29. 01 7月, 2013 1 次提交
    • S
      s/plugin_new/plugin · ec8d8652
      schneems 提交于
      There are historical reasons that the `plugin` command was `plugin_new`, now those are no longer applicable, we should remove the naming edge case from the project. This PR is based off of comments from #11176
      
      ATP Railties
      ec8d8652
  30. 29 6月, 2013 1 次提交
    • S
      Fix `rails plugin --help` · 6ce18ba7
      schneems 提交于
      Right now if you run the `rails plugin --help` command it fails because rails expects a command in `railties/lib/rails/commands/plugin.rb` that does not exist because the file is named `plugin_new`. This is the error:
      
      ```
      ruby-2.0.0-p0  ~/documents/projects/tmp/vanilla (master)
      $ rails plugin --help
      /Users/schneems/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require': cannot load such file -- rails/commands/plugin (LoadError)
      	from /Users/schneems/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `block in require'
      	from /Users/schneems/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
      	from /Users/schneems/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require'
      	from /Users/schneems/.rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0/lib/rails/commands.rb:49:in `<top (required)>'
      	from bin/rails:4:in `require'
      	from bin/rails:4:in `<main>'
      ```
      6ce18ba7
  31. 28 6月, 2013 1 次提交
  32. 27 6月, 2013 1 次提交
  33. 24 6月, 2013 1 次提交
  34. 18 6月, 2013 1 次提交
    • S
      Use Colspan in th Tags · f0e4254b
      Sıtkı Bağdat 提交于
      Is it more suitable that using ```<th colspan="3">``` instead of three empty ```<th>```? It is simple, but what i am missing about it?
      
      Change repetitive th tags to use colspan attribute
      
      Update CHANGELOG.md
      
      Update CHANGELOG.md
      f0e4254b
  35. 07 6月, 2013 1 次提交
  36. 28 5月, 2013 1 次提交