Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix app and actions generators tests | Piotr Sarnacki | 2010-09-25 | 2 | -0/+9 |
| | | | | | | | Normally Rails.application is an instance, but for those tests Rails.application needs to be class. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add namespacing to mailer generator | Piotr Sarnacki | 2010-09-25 | 1 | -0/+52 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add namespacing for observer generator | Piotr Sarnacki | 2010-09-25 | 1 | -0/+22 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add namespace for test_unit generators | Piotr Sarnacki | 2010-09-25 | 1 | -3/+3 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Generators fix: properly check if module should be created when creating a ↵ | Piotr Sarnacki | 2010-09-25 | 1 | -0/+5 |
| | | | | | | namespaced model Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | got rid of the "ambiguous first argument; put parentheses or even spaces" ↵ | Jeff Kreeftmeijer | 2010-09-24 | 1 | -32/+32 |
| | | | | | | warnings in the scaffold_generator tests [#4872 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Generators are not aware of namespace of isolated engines and applications | Piotr Sarnacki | 2010-09-24 | 2 | -1/+126 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Ensures the app generator generates the correct @app_name. [#5434 ↵ | Fred Wu | 2010-09-24 | 1 | -0/+1 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Remove existing migration when using 'rails generate model' with --force ↵ | David Trasbo | 2010-09-18 | 1 | -0/+9 |
| | | | | | | [#5526 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Remove deprecation warnings in railties | Carlos Antonio da Silva | 2010-09-06 | 1 | -37/+0 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add two integration tests for GeneratedAttribute missing type error. [#5461 ↵ | rohit | 2010-09-02 | 2 | -0/+12 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Failing test for GeneratedAttribute [#5461 state:open] | rohit | 2010-09-02 | 1 | -0/+12 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fixed the session name generated by the app_generator. Also refactored the ↵ | Fred Wu | 2010-08-28 | 1 | -6/+21 |
| | | | | | | corresponding test suites to be cleaner. [#5434 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix test of generated Gemfile with mysql selected as DB driver | Krekoten' Marjan | 2010-08-24 | 1 | -1/+1 |
| | | | | | | [#5435 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 2 | -3/+3 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | Stub is_a? not instance_of? here | Santiago Pastorino | 2010-08-03 | 1 | -1/+1 |
| | |||||
* | Improved how AppGenerator generates the application name. It now detects the ↵ | Fred Wu | 2010-08-02 | 1 | -0/+24 |
| | | | | | | | | current app name whenever possible. This means that renaming the residing directory will not effect the app name generated by AppGenerator. [#5225 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Failing test to check for route file corruption if legacy map parameter is ↵ | rohit | 2010-08-02 | 1 | -0/+15 |
| | | | | used. [#5263 state:open] | ||||
* | fix for rails app generator when using --pretend option | Steve Agalloco | 2010-07-30 | 1 | -0/+6 |
| | | | | | | [#5245 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Update to latest thor. | José Valim | 2010-07-26 | 1 | -4/+4 |
| | |||||
* | application generation: --skip-testunit and --skip-activerecord renamed to ↵ | Xavier Noria | 2010-07-25 | 1 | -6/+6 |
| | | | | | | | | --skip-test-unit and --skip-active-record respectively Reason is their proper spellings are "Test::Unit" and "Active Record". Option names and descriptions have been revised, as well as some method names and minor details here and there. | ||||
* | 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> |