Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Makes test use the new config.action_view.javascript_expansions[:defaults] ↵ | Santiago Pastorino | 2010-07-17 | 1 | -1/+1 |
| | | | | initialization syntax | ||||
* | Adds application.js when app is generated with -J and clear ↵ | Santiago Pastorino | 2010-07-17 | 1 | -1/+6 |
| | | | | javascript_expansions[:defaults] | ||||
* | Remove the --singeleton option from scaffold generator. | Prem Sichanugrist | 2010-06-24 | 2 | -22/+0 |
| | | | | | | | | 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> | ||||
* | renames load_(once_)paths to autoload_(once_)paths in dependencies and config | Xavier Noria | 2010-06-24 | 1 | -3/+3 |
| | |||||
* | Patch for Namespace problem in Scaffold. [#4763 state:resolved] | Mohammed Siddick.E | 2010-06-23 | 1 | -0/+106 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add test for migration generator with name not starting with add or remove. ↵ | rohit | 2010-06-20 | 1 | -0/+15 |
| | | | | | | [#4835 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Make polymorphic_url and scaffolding work with uncountable resources [#3930 ↵ | Andrew White | 2010-06-20 | 1 | -0/+10 |
| | | | | | | 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 | -2/+2 |
| | |||||
* | Test create mailers folder when starting a new app | Damien Mathieu | 2010-06-12 | 1 | -0/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | layout 'application' is not anymore on application_controller | Santiago Pastorino | 2010-06-10 | 1 | -2/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Rails::Generators::GeneratedAttribute: tests, cleanups and a bugfix [#4631 ↵ | Jeff Kreeftmeijer | 2010-06-10 | 1 | -10/+81 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix generator test broken when rails new was added. | José Valim | 2010-06-08 | 1 | -3/+1 |
| | |||||
* | Still copy application configuration to generator even if they are required ↵ | José Valim | 2010-06-03 | 1 | -2/+5 |
| | | | | earlier. Also tidy up the guide a little bit. | ||||
* | Remove the laziness from the middleware stack. | José Valim | 2010-06-03 | 2 | -2/+2 |
| | |||||
* | Removing Metal from Rails 3. | wycats | 2010-06-03 | 1 | -17/+0 |
| | | | | | | | | | | | | | | | | | | | | | If you have existing Metals, you have a few options: * if your metal behaves like a middleware, add it to the middleware stack via config.middleware.use. You can use methods on the middleware stack to control exactly where it should go * if it behaves like a Rack endpoint, you can link to it in the router. This will result in more optimal routing time, and allows you to remove code in your endpoint that matches specific URLs in favor of the more powerful handling in the router itself. For the future, you can use ActionController::Metal to get a very fast controller with the ability to opt-in to specific controller features without paying the penalty of the full controller stack. Since Rails 3 is closer to Rack, the Metal abstraction is no longer needed. | ||||
* | Tests for new reserved words [#4602 state:resolved] | Simon Jefford | 2010-05-16 | 1 | -2/+7 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Rename assert_attribute_type to asser_field_type. | José Valim | 2010-05-16 | 1 | -7/+7 |
| | |||||
* | Added assert_attribute_type to clean up GeneratedAttributeTest [#2377 ↵ | Jeff Kreeftmeijer | 2010-05-16 | 1 | -0/+40 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Bundler deprecated options in Gemfile with application template using method ↵ | Adrian Sanchez | 2010-05-15 | 1 | -2/+12 |
| | | | | | | "gem" [#4534 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Expand paths to app builders relative to the working directory | Carl Lerche | 2010-05-06 | 1 | -0/+8 |
| | |||||
* | Provide a mechanism for overriding the entire generator via a class that ↵ | Carlhuda | 2010-04-30 | 1 | -38/+96 |
| | | | | handles the individual elements of generating a new Rails application | ||||
* | Set up app generator class to make it easier to for alt-stacks to override ↵ | Carlhuda | 2010-04-30 | 1 | -0/+4 |
| | | | | targeted areas | ||||
* | Update generators to use thor 0.13.6 with simpler source_root handling. | José Valim | 2010-04-30 | 1 | -1/+1 |
| | |||||
* | Reorganize the mailer generator a bit. | José Valim | 2010-04-30 | 1 | -1/+1 |
| | |||||
* | Move ActionMailer generator to AM | Carlhuda | 2010-04-29 | 1 | -1/+2 |
| | |||||
* | Update thor dependency to 0.13.5 | José Valim | 2010-04-29 | 1 | -1/+1 |
| | |||||
* | warn user if options are given before application name [#3435 state:resolved] | Ravinder Singh | 2010-04-29 | 1 | -0/+5 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Make the migration generator handle pre-existing migrations with the same ↵ | Phil Smith | 2010-04-19 | 1 | -0/+13 |
| | | | | | | | | | | timestamp. In the event a migration already exists with that number, the new migration's timestamp will be incremented by 1. [#4412 state:resolved] Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Generate module file for namespaced models [#4230 state:resolved] | Andrew White | 2010-04-12 | 1 | -0/+8 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Partially revert "A new application now comes with a layout and a stylesheet." | Jeremy Kemper | 2010-04-09 | 3 | -0/+26 |
| | | | | | | | | | 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 | ||||
* | Include app name in layout title | Jeremy Kemper | 2010-04-09 | 1 | -2/+2 |
| | |||||
* | A new application now comes with a layout and a stylesheet. | José Valim | 2010-04-06 | 4 | -26/+7 |
| | |||||
* | Load generators from both lib/rails/generators and lib/generators. Using the ↵ | José Valim | 2010-03-23 | 20 | -20/+20 |
| | | | | former since it's less obstrusive. | ||||
* | Controller generators should use routes shortcut. | José Valim | 2010-03-22 | 1 | -1/+1 |
| | |||||
* | Killing fixtures in mailer before they kill me (they usually lead to very ↵ | José Valim | 2010-03-22 | 1 | -3/+5 |
| | | | | brittle tests). | ||||
* | Also revert mailer generator test changes in 8b50f89 | Jeremy Kemper | 2010-03-21 | 1 | -2/+2 |
| | |||||
* | Fix regression introduced in 8b50f89. Generated views mentioned the wrong path. | Jeremy Kemper | 2010-03-21 | 1 | -2/+2 |
| | |||||
* | Make ERB generators more flexible and customizable. | José Valim | 2010-03-21 | 1 | -4/+4 |
| | |||||
* | Controller generator now creates routes as well [#4233 state:resolved] | José Valim | 2010-03-19 | 4 | -20/+16 |
| | |||||
* | removed useless require line | Sebastian Martinez | 2010-03-19 | 1 | -3/+0 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Use human_name in scaffold. | José Valim | 2010-03-17 | 1 | -0/+18 |
| | |||||
* | In app_generator, fix hardcoded `bundle` call to derive the bundle ↵ | Caio Chassot | 2010-03-12 | 1 | -2/+3 |
| | | | | | | | | executable name from Thor::Util.ruby_command. This ensures that eg. when `rails` is called from `ruby1.9`, `bundle1.9` is called. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add a check to ensure that the application name does not already exist, i.e. ↵ | Kieran Pilkington | 2010-03-12 | 1 | -0/+7 |
| | | | | | | String or Module are part of ruby [#3872 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | the folder public/javascripts should be created by default [#4027 ↵ | Ramon Soares | 2010-02-26 | 1 | -0/+1 |
| | | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add readme as method in Rails::Generators::Actions (as we had in 2.3) | José Valim | 2010-02-17 | 1 | -0/+6 |
| | |||||
* | Invalid namespace on app generation raises an error | Kyle Maxwell | 2010-02-17 | 1 | -0/+5 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix a couple failing tests. | José Valim | 2010-02-10 | 1 | -4/+2 |
| | |||||
* | Fixes unescaped version passthrough of generator 'gem' command. [#3901 ↵ | Michael Bleigh | 2010-02-10 | 1 | -0/+18 |
| | | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Debrittlize tests somewhat - fix for CI build | Mikel Lindsaar | 2010-02-10 | 1 | -5/+5 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | fix usage examples and more to use new invocations | RomD | 2010-02-06 | 1 | -5/+5 |
| | | | | Signed-off-by: Carl Lerche <carllerche@mac.com> |