Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | print generators on failed generate | schneems | 2014-05-24 | 1 | -12/+16 | |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Let's say we just ran: ``` $ rails g migrate add_click_to_issue_assignment ``` We will get an error that looks like: ``` Could not find generator migrate. ``` This patch adds all existing migrations to the output to make it easier for a developer to find a valid migration. ``` Could not find generator "migrate". Please select a valid generator: Rails: assets controller generator helper integration_test mailer migration model resource scaffold scaffold_controller task ``` It would be nice to do some spelling detection and suggest alternatives, but for now this should help. | |||||
* | Require the top file and autoload Base class | Rafael Mendonça França | 2013-11-09 | 1 | -0/+1 | |
| | | | | | | | The generators entry point file is rails/generators so we need to make sure uers will be able to use the generators when requiring that file. Fixes #12802 | |||||
* | Remove "circular require considered harmful" error | Robin Dupret | 2013-11-01 | 1 | -2/+2 | |
| | | | | | rails/generators should not load rails/generators/base since the latter is loading it. | |||||
* | s/plugin_new/plugin | schneems | 2013-06-30 | 1 | -1/+1 | |
| | | | | | 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 | |||||
* | remove performance tests from the default stack | Yves Senn | 2013-01-10 | 1 | -2/+0 | |
| | ||||||
* | Remove observers and sweepers | Rafael Mendonça França | 2012-11-28 | 1 | -2/+0 | |
| | | | | | | | | They was extracted from a plugin. See https://github.com/rails/rails-observers [Rafael Mendonça França + Steve Klabnik] | |||||
* | Use Ruby 1.9 Hash syntax in railties | Robin Dupret | 2012-10-14 | 1 | -29/+29 | |
| | ||||||
* | Extract ActiveRecord::SessionStore from Rails | Prem Sichanugrist | 2012-08-24 | 1 | -1/+0 | |
| | | | | | This functionality will be available from gem `active_record-session_store` instead. | |||||
* | Removing ==Examples and last blank lines of docs from railties | Francesco Rodriguez | 2012-05-14 | 1 | -4/+0 | |
| | ||||||
* | Add hook for add_resource_route | Santiago Pastorino | 2012-04-18 | 1 | -0/+2 | |
| | ||||||
* | Remove --http. | José Valim | 2012-03-14 | 1 | -22/+1 | |
| | ||||||
* | Generate special controller and functional test templates for http apps | Carlos Antonio da Silva | 2012-03-14 | 1 | -0/+2 | |
| | | | | | | | | | | | | The main goal is to not generate the format.html block in scaffold controller, and to generate a different functional test as we don't rely on redirects anymore, we should test for http responses. In addition to that, the :edit action is removed from the http controller and the edit route is not generated by default, as they usually do not make sense in this scenario. [Carlos Antonio da Silva & Santiago Pastorino] | |||||
* | Allow generator configs from http_only! to be overriden by app | Carlos Antonio da Silva | 2012-03-14 | 1 | -1/+1 | |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | |||||
* | Disable template, helper and assets options when using http_only! | Carlos Antonio da Silva | 2012-03-14 | 1 | -1/+14 | |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | |||||
* | Create generators http_only! setup and hide some common namespaces for now | Carlos Antonio da Silva | 2012-03-14 | 1 | -1/+7 | |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | |||||
* | Rails::Plugin has gone | Santiago Pastorino | 2012-01-03 | 1 | -11/+0 | |
| | ||||||
* | Revert the serializers API as other alternatives are now also under discussion | José Valim | 2011-11-25 | 1 | -3/+1 | |
| | ||||||
* | Add a hook for serializers in the scaffold generator (off for now). | José Valim | 2011-11-25 | 1 | -1/+3 | |
| | ||||||
* | fix ambiguous * and remove unused variable | Aaron Patterson | 2011-08-24 | 1 | -2/+2 | |
| | ||||||
* | Move Coffee generators and templates to Coffee Railtie and create ↵ | Santiago Pastorino | 2011-06-29 | 1 | -1/+1 | |
| | | | | javascript_engine ("js") for apps that remove Coffee gem | |||||
* | Removed rescue branch for Rails 2.x compatibility | Alexey Gaziev | 2011-06-20 | 1 | -3/+0 | |
| | ||||||
* | Fix regexp in generators for right catching error message | Alexey Gaziev | 2011-06-20 | 1 | -1/+1 | |
| | ||||||
* | Use mattr_accessor :namespace | Stefan Sprenger | 2011-06-07 | 1 | -10/+2 | |
| | ||||||
* | Use namespace if it's a mountable engine | Stefan Sprenger | 2011-06-07 | 1 | -0/+10 | |
| | ||||||
* | Streamline generators initialization flow. | José Valim | 2011-05-25 | 1 | -11/+1 | |
| | ||||||
* | Hide css:* and the default stylesheet from rails g | wycats | 2011-05-24 | 1 | -1/+6 | |
| | ||||||
* | Update generator config to support hiding namespaces and pass the app into ↵ | wycats | 2011-05-24 | 1 | -0/+1 | |
| | | | | generator blocks | |||||
* | Move SCSS generators and default templates from Rails to the Sass Railtie ↵ | tomhuda | 2011-05-24 | 1 | -1/+1 | |
| | | | | | | | | (d435726312601edb3ba6f97b34f562221f72c1f8). * Sass gem registers a compressor * Sass gem registers generators for assets and scaffold * Create a default stylesheet_engine ("css") for apps that remove the Sass gem | |||||
* | default orm and test_framework to false; change application.rb template ↵ | Aditya Sanghi | 2011-05-06 | 1 | -2/+2 | |
| | | | | accordingly | |||||
* | Fix assets generators. | José Valim | 2011-04-17 | 1 | -0/+1 | |
| | ||||||
* | Make generators more modular, add hooks and improve test suite. | José Valim | 2011-04-17 | 1 | -2/+7 | |
| | ||||||
* | The controller and resource generators will now automatically produce asset ↵ | David Heinemeier Hansson | 2011-04-14 | 1 | -0/+1 | |
| | | | | stubs (this can be turned off with --skip-assets). These stubs will use Coffee and Sass, if those libraries are available. [DHH] | |||||
* | Allow generators nested in more than one level | Santiago Pastorino | 2011-01-12 | 1 | -1/+1 | |
| | ||||||
* | Ensure that app generator is not loaded twice to get rid of warnings | Piotr Sarnacki | 2010-11-22 | 1 | -0/+1 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Tidy up generators commits. | José Valim | 2010-11-17 | 1 | -0/+1 | |
| | ||||||
* | Perf: speed up 2 methods in railties. | Emilio Tagua | 2010-09-22 | 1 | -4/+1 | |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Trifling typos | Raphomet | 2010-08-21 | 1 | -2/+2 | |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Remove the --singeleton option from scaffold generator. | Prem Sichanugrist | 2010-06-24 | 1 | -2/+1 | |
| | | | | | | | | It turned out to be that scaffold for singeleton resource will always depend on another model, and it's not possible at the moment to make the application tests pass after generate the singeleton scafold. So, it would be better to remove it for now and probably provide another generator, such as singeleton_scaffold, in which also require the depended model name. [#4863 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Tidy up generators based on latest change on AM. | José Valim | 2010-06-13 | 1 | -1/+1 | |
| | ||||||
* | Hide remaining generators hooks [#4790 state:resolved] | José Valim | 2010-06-08 | 1 | -1/+5 | |
| | ||||||
* | Still copy application configuration to generator even if they are required ↵ | José Valim | 2010-06-03 | 1 | -6/+2 | |
| | | | | earlier. Also tidy up the guide a little bit. | |||||
* | Update hidden namespace mechanism to work better with alternate choices and ↵ | wycats | 2010-05-05 | 1 | -4/+42 | |
| | | | | to support full namespaces (not just entire groups) | |||||
* | Partially revert "A new application now comes with a layout and a stylesheet." | Jeremy Kemper | 2010-04-09 | 1 | -0/+2 | |
| | | | | | | | | | This reverts commit ea2c5fa8046e2f953b366adc94f0610ccfea0828. Conflicts: railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb railties/test/generators/app_generator_test.rb | |||||
* | Remove :layout option from generators. | José Valim | 2010-04-06 | 1 | -5/+0 | |
| | ||||||
* | A new application now comes with a layout and a stylesheet. | José Valim | 2010-04-06 | 1 | -2/+0 | |
| | ||||||
* | moves Object#singleton_class to Kernel#singleton_class to match Ruby also ↵ | Xavier Noria | 2010-04-05 | 1 | -1/+1 | |
| | | | | there, same for #class_eval to simplify, and adds coverage for class_eval | |||||
* | Load generators from both lib/rails/generators and lib/generators. Using the ↵ | José Valim | 2010-03-23 | 1 | -2/+2 | |
| | | | | former since it's less obstrusive. | |||||
* | Prettify generators description whenever using the default stack [#4143 ↵ | José Valim | 2010-03-12 | 1 | -0/+4 | |
| | | | | status:resolved] | |||||
* | Add autoload to generators modules and fix failing test. | José Valim | 2010-02-26 | 1 | -1/+7 | |
| | ||||||
* | Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice. | Jeremy Kemper | 2010-02-25 | 1 | -2/+2 | |
| |