Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Revert "move config.assets.precompile into config/application.rb" | Yves Senn | 2013-02-24 | 2 | -4/+6 | |
| | | | | | | | This reverts commit 304f4d4c25ccabdbf97d37dd7a92a54d0b63a9c9. As it turns out everything should behave as it did and we don't need to move this configuration option. | |||||
* | move config.assets.precompile into config/application.rb | Yves Senn | 2013-02-20 | 2 | -6/+4 | |
| | ||||||
* | Better not use tab chars in the generator template | Akira Matsuda | 2013-02-20 | 1 | -5/+5 | |
| | ||||||
* | Remove config.autoload_paths from config/application.rb | Andrew White | 2013-02-19 | 1 | -3/+0 | |
| | | | | | | | | | | Most application developers shouldn't be adding paths to `config.autoload_paths` as it won't be eagerly loaded so remove it from the generated config/application.rb file. If a developer does want to autoload from paths outside of the app directory then they should add the path to `config.eager_load_paths` as these paths are also autoloaded as well. | |||||
* | Added extra comment when a migration already exists of the same name. | wangjohn | 2013-02-15 | 1 | -1/+1 | |
| | | | | | | User should know that he can overwrite the previous migration. This comes in handy especially when generating models which were previously created then removed. | |||||
* | Added notice message for destroy method in scaffold | Rahul P. Chaudhari | 2013-02-10 | 1 | -1/+1 | |
| | ||||||
* | Fix article for generator name | Ryunosuke SATO | 2013-02-07 | 1 | -2/+2 | |
| | | | | Use 'some' instead of 'a/an'. | |||||
* | Add --rc description on the command line | robertomiranda | 2013-02-04 | 1 | -0/+3 | |
| | ||||||
* | Add --no-rc description on the command line | robertomiranda | 2013-02-02 | 1 | -0/+3 | |
| | ||||||
* | Remove BestStandardsSupport middleware | Guillermo Iguaran | 2013-01-29 | 1 | -3/+0 | |
| | ||||||
* | Merge pull request #8303 from jeremywrowe/master | Rafael Mendonça França | 2013-01-25 | 1 | -1/+1 | |
|\ | | | | | | | | | | | | | Fixes improper database name when creating a new rails app with a '.' Conflicts: railties/CHANGELOG.md | |||||
| * | 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 |