Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Fixes improper database name when a '.' is included while creating a new rails | Jeremy W. Rowe | 2013-01-16 | 1 | -1/+1 | |
| | | | | | | | | | | | | application. EG: `rails new something.awesome.com` Conflicts: railties/CHANGELOG.md | |||||
* | | Revert "Merge pull request #7873 from steveklabnik/update_initializer" | Carlos Antonio da Silva | 2013-01-22 | 2 | -9/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 43e14f8ff203c21646f733d35bdde4e68da70a3b, reversing changes made to bb17a0f085aba40a1952612f6c98b2a5804a1152. Conflicts: railties/lib/rails/generators/rails/app/templates/config/application.rb railties/lib/rails/generators/rails/app/templates/config/initializers/locale.rb Reason: setting the Time.zone in an after_initialize block can become a problem for people upgrading, since it's not going to be available when config/initializers run, and people might be relying on it. An example that I noticed was with the Chronic gem, for date/time parsing. It requires us to configure the time class to be Time.zone, and doing that in an initializer no longer worked with these changes, so reverting is the safer path for now. | |||||
* | | Remove unnecessary require | Ryunosuke SATO | 2013-01-22 | 1 | -1/+0 | |
|/ | | | | `require 'rubygems'` is already required in Ruby 1.9 or later. | |||||
* | Deprecate `Rails::Generators::ActiveModel#update_attributes` | Carlos Antonio da Silva | 2013-01-12 | 1 | -0/+8 | |
| | | | | | | | | | | | | | | | | Deprecate #update_attributes in favor of `#update`. ORMs that implement `Generators::ActiveModel#update_attributes` should change to `#update`. Scaffold controller generators should change calls like: @orm_instance.update_attributes(...) to: @orm_instance.update(...) This goes along with the addition of `ActiveRecord::Base#update`, introduced in cb2bd4aa619d9329c42aaf6d9f8eacc616ce53f4. | |||||
* | Merge pull request #8887 from rwz/controller-scaffold-codestyle | Rafael Mendonça França | 2013-01-10 | 2 | -3/+3 | |
|\ | | | | | Controller scaffold codestyle | |||||
| * | More consistent quotes in scaffold generator | Pavel Pravosud | 2013-01-11 | 1 | -2/+2 | |
| | | ||||||
| * | Changed if ! to unless | Pavel Pravosud | 2013-01-11 | 1 | -1/+1 | |
| | | ||||||
* | | Specified jbuilder version | Pavel Pravosud | 2013-01-11 | 1 | -1/+1 | |
|/ | ||||||
* | Include jbuilder by default and rely on its scaffold generator to show json ↵ | David Heinemeier Hansson | 2013-01-10 | 4 | -75/+13 | |
| | | | | API. The default scaffold will now just create HTML if the user actively opts out of jbuilder | |||||
* | remove performance tests from the default stack | Yves Senn | 2013-01-10 | 1 | -2/+1 | |
| | ||||||
* | extract PerformanceTest into rails-performance_tests gem | Yves Senn | 2013-01-10 | 5 | -54/+0 | |
| | ||||||
* | mv README README.rdoc as app template file | Xavier Noria | 2013-01-08 | 2 | -4/+4 | |
| | ||||||
* | Initialize instance variable to remove warning | Carlos Antonio da Silva | 2013-01-07 | 1 | -0/+4 | |
| | | | | actions.rb:34: warning: instance variable @in_group not initialized | |||||
* | new README generated for new apps | Xavier Noria | 2013-01-08 | 1 | -252/+16 | |
| | ||||||
* | doc/README_FOR_APP is no longer generated | Xavier Noria | 2013-01-08 | 2 | -10/+0 | |
| | ||||||
* | Use similar comment style | David Heinemeier Hansson | 2013-01-07 | 2 | -2/+2 | |
| | ||||||
* | Introduce ./bin for your app's executables: bin/bundle, bin/rails, bin/rake. ↵ | Jeremy Kemper | 2013-01-06 | 9 | -28/+35 | |
| | | | | Executable scripts are versioned code like the rest of your app. To generate a stub for a bundled gem: 'bundle binstubs unicorn' and 'git add bin/unicorn' | |||||
* | Merge pull request #8263 from senny/refactor_plugin_new_generator | Yehuda Katz | 2013-01-06 | 5 | -11/+13 | |
|\ | | | | | refactor the naming within plugin new generator | |||||
| * | refactor the naming within plugin new generator | Yves Senn | 2012-11-18 | 5 | -11/+13 | |
| | | | | | | | | | | | | Having a method called `full?`, which checks on :full and :mountable is very confusing. I renamed `full?` to `engine?` and created a `full?` method that only checks the `:full` option | |||||
* | | This is not that common of a change to warrant top-line billing and you ↵ | David Heinemeier Hansson | 2013-01-06 | 1 | -6/+1 | |
| | | | | | | | | should read more about the consequences than just toggling a boolean to make best use of it | |||||
* | | Include the standard reminder that you need to restart for changes in ↵ | David Heinemeier Hansson | 2013-01-06 | 2 | -0/+4 | |
| | | | | | | | | config/initializers to take effect | |||||
* | | Update generated app's README [ci skip] | Akira Matsuda | 2013-01-06 | 1 | -7/+5 | |
| | | | | | | | | | | | | | | * a controller that destroying Weblogs might be WeblogsController * a controller that indexing Posts might be PostsController * Post.all returns a Relation * modernize Model.inspect results | |||||
* | | The controller generator invokes assets generator in addition | Akira Matsuda | 2013-01-06 | 1 | -1/+1 | |
| | | ||||||
* | | Fix generated migration file name in model generator USAGE | Akira Matsuda | 2013-01-06 | 1 | -7/+7 | |
| | | ||||||
* | | Move config.filter_parameters to you own initializer file | Rafael Mendonça França | 2013-01-05 | 2 | -3/+2 | |
| | | | | | | | | This is very rarely changed and does not deserve to be in application.rb | |||||
* | | Needless fancy structure that did not anything | David Heinemeier Hansson | 2013-01-05 | 1 | -1/+3 | |
| | | ||||||
* | | Fix indention issue in generated template | David Heinemeier Hansson | 2013-01-05 | 1 | -2/+2 | |
| | | ||||||
* | | Fix indention issue in generated template | David Heinemeier Hansson | 2013-01-05 | 1 | -2/+2 | |
| | | ||||||
* | | No need to give an example where there is generated code right there to ↵ | David Heinemeier Hansson | 2013-01-05 | 1 | -5/+1 | |
| | | | | | | | | serve as the example | |||||
* | | config.assets.enabled is now true by default | David Heinemeier Hansson | 2013-01-05 | 2 | -6/+6 | |
| | | ||||||
* | | Add join table migration generator to usage help. | Matthew M. Boedicker | 2013-01-04 | 1 | -0/+13 | |
| | | ||||||
* | | misleading error message that prompts non-existing command | Akira Matsuda | 2013-01-05 | 1 | -1/+1 | |
| | | | | | | | | [ci skip] | |||||
* | | get rid of unused .empty_directory files in the app generator | Akira Matsuda | 2013-01-05 | 7 | -0/+0 | |
| | | ||||||
* | | removed dangling whitespace in generated database yml | Aditya Sanghi | 2013-01-04 | 2 | -4/+4 | |
| | | ||||||
* | | No such feature in Rails anymore. That's Bundler's business | Akira Matsuda | 2013-01-04 | 1 | -2/+2 | |
| | | | | | | | | [ci skip] | |||||
* | | no, call <%= yield %> | Akira Matsuda | 2013-01-04 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #8731 from amatsuda/readme_dir_tree | Guillermo Iguaran | 2013-01-03 | 1 | -11/+15 | |
|\ \ | | | | | | | update directory tree in the generated README | |||||
| * | | update directory tree in the generated README | Akira Matsuda | 2013-01-04 | 1 | -11/+15 | |
| | | | ||||||
* | | | Merge pull request #8705 from amparo-luna/change_update_attributes_to_update | Guillermo Iguaran | 2013-01-03 | 2 | -3/+3 | |
|\ \ \ | |/ / |/| | | Rename update_attributes method to update | |||||
| * | | Updating default application templates to use update instead of ↵ | Amparo Luna + Guillermo Iguaran | 2013-01-03 | 2 | -3/+3 | |
| | | | | | | | | | | | | update_attributes | |||||
* | | | test PATCH method for update action in generated scaffold controller test ↵ | Akira Matsuda | 2013-01-03 | 1 | -1/+1 | |
|/ / | | | | | | | rather than PUT | |||||
* | | Add -B alias for --skip-bundle | Jiri Pospisil | 2013-01-01 | 1 | -1/+1 | |
| | | ||||||
* | | Add active_support/testing/autorun | Rafael Mendonça França | 2012-12-31 | 1 | -1/+1 | |
| | | | | | | | | | | minitest/autorun load minitest/spec polluting the global namespace with the DSL that we don't want on Rails | |||||
* | | Revert "Install binstubs by default" | Jeremy Kemper | 2012-12-28 | 1 | -1/+1 | |
| | | | | | | | | | | | | This reverts commit f34c27a452418d8aa17f92bb0fd7ae97b5f7e252. We'll be taking a different tack on this with new `bundle binstubs <gem>` support. | |||||
* | | Revert "Detect rbenv and update the shebang" | Jeremy Kemper | 2012-12-28 | 1 | -8/+1 | |
| | | | | | | | | | | This reverts commit 7173c4f931c9026bd3bc0b644d93dae744433f09. This reverts commit a562f9fa09967eba26dff1c3bc8aa85b6f0a72ff. | |||||
* | | Consistent punctuation for @jaroslawr :bowtie: | Jeremy Kemper | 2012-12-27 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #8616 from senny/8612_respect_yaml_keywords | Rafael Mendonça França | 2012-12-26 | 2 | -4/+16 | |
|\ \ | | | | | | | quote column names in generated fixture files | |||||
| * | | quote column names in generated fixture files | Yves Senn | 2012-12-26 | 2 | -4/+16 | |
| | | | ||||||
* | | | Revert "Ignore /bin on new apps" -- given the move to default binstubs, we ↵ | David Heinemeier Hansson | 2012-12-26 | 1 | -4/+3 | |
|/ / | | | | | | | | | | | want you to check those in! This reverts commit 35c554f0bf518e1068e79002a462c3deba649e9b. | |||||
* | | Fix spacing regression in scaffold generator | Yehuda Katz | 2012-12-22 | 1 | -1/+3 | |
| | |