Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge remote branch 'drogus/plugin_new' | José Valim | 2010-11-11 | 57 | -320/+1307 |
|\ | | | | | | | | | Conflicts: railties/test/generators/app_generator_test.rb | ||||
| * | Allow to set dummy application path through options | Piotr Sarnacki | 2010-11-08 | 2 | -1/+11 |
| | | |||||
| * | New version of thor was released no need to use the one from git | Piotr Sarnacki | 2010-11-04 | 1 | -2/+0 |
| | | |||||
| * | Fix scaffold generator to be aware of namespace in isolated engine | Piotr Sarnacki | 2010-11-03 | 11 | -5/+178 |
| | | |||||
| * | Add --mountable option to 'plugin new' generator which generates full ↵ | Piotr Sarnacki | 2010-11-02 | 7 | -3/+52 |
| | | | | | | | | mountable application (engine) | ||||
| * | Add example rake task to 'plugin new' generator | Piotr Sarnacki | 2010-11-02 | 3 | -0/+6 |
| | | |||||
| * | create_dummy_app method that allows to easily create dummy application from ↵ | Piotr Sarnacki | 2010-11-02 | 6 | -42/+51 |
| | | | | | | | | template | ||||
| * | Properly skip test unit in 'plugin new' generator | Piotr Sarnacki | 2010-11-02 | 6 | -26/+22 |
| | | |||||
| * | Properly handle other databases in 'plugin new' generator | Piotr Sarnacki | 2010-11-02 | 7 | -27/+51 |
| | | |||||
| * | Skip active record properly in 'plugin new' generator | Piotr Sarnacki | 2010-11-02 | 2 | -1/+2 |
| | | |||||
| * | Use rails integration tests by default in 'plugin new' generator | Piotr Sarnacki | 2010-11-02 | 7 | -21/+8 |
| | | |||||
| * | We don't need to configure ActionMailer in plugin's test helper, it's ↵ | Piotr Sarnacki | 2010-11-02 | 1 | -4/+0 |
| | | | | | | | | configured by dummy app | ||||
| * | Refactor app and plugin generators to use new Thor API | Piotr Sarnacki | 2010-11-02 | 2 | -20/+4 |
| | | |||||
| * | Make deep copy of application generators on engine initialization. | Piotr Sarnacki | 2010-11-02 | 3 | -1/+12 |
| | | | | | | | | | | Otherwise nested hashes will be same objects for both application and engine, which will result in overwriting each others values on changes. | ||||
| * | Added Hash#deep_dup function which performs deep duplication on given hash | Piotr Sarnacki | 2010-11-02 | 3 | -0/+27 |
| | | |||||
| * | Use application's generators defaults as engine defaults to not force users ↵ | Piotr Sarnacki | 2010-11-02 | 3 | -1/+19 |
| | | | | | | | | to manually set it | ||||
| * | Do not create additional newline | Piotr Sarnacki | 2010-11-02 | 1 | -1/+1 |
| | | |||||
| * | Don't be verbose while creating dummy application in plugin new generator | Piotr Sarnacki | 2010-11-02 | 3 | -3/+19 |
| | | |||||
| * | No need to require 'app_base', it's required in app_generator | Piotr Sarnacki | 2010-11-02 | 1 | -1/+0 |
| | | |||||
| * | Pass more options to test/dummy in 'plugin new' generator | Piotr Sarnacki | 2010-11-02 | 4 | -16/+29 |
| | | |||||
| * | Add --full option to 'plugin new' generator, which generates rails engine | Piotr Sarnacki | 2010-11-02 | 14 | -9/+108 |
| | | |||||
| * | No need for say_step in 'plugin new' generator | Piotr Sarnacki | 2010-11-02 | 3 | -22/+4 |
| | | |||||
| * | DRY up app generator and plugin new generator. Moved shared options to ↵ | Piotr Sarnacki | 2010-11-02 | 3 | -52/+31 |
| | | | | | | | | AppBase generator | ||||
| * | Remove integration tests and ActionModel/ActiveRecord calls from 'rake ↵ | Piotr Sarnacki | 2010-11-02 | 8 | -43/+7 |
| | | | | | | | | plugin new' generator, it shouldn't be available as default option | ||||
| * | We don't need gem tasks, we have a gemspec | Piotr Sarnacki | 2010-11-02 | 1 | -17/+0 |
| | | |||||
| * | Builder should not be responsible for running store_application_definition ↵ | Piotr Sarnacki | 2010-11-02 | 1 | -1/+1 |
| | | | | | | | | method | ||||
| * | Make tests for app and plugin generators more DRY | Piotr Sarnacki | 2010-11-02 | 9 | -288/+220 |
| | | |||||
| * | Allow easy overriding of test framework in 'rake plugin new' generator, ↵ | Piotr Sarnacki | 2010-11-02 | 5 | -16/+55 |
| | | | | | | | | using PluginBuilder | ||||
| * | Ensure that tests run properly | Piotr Sarnacki | 2010-11-02 | 1 | -0/+7 |
| | | |||||
| * | Change // style regexp to %r{}, to not confuse editors code highlighting | Piotr Sarnacki | 2010-11-02 | 1 | -1/+1 |
| | | |||||
| * | Add --dev and --edge options to rails plugin new | Piotr Sarnacki | 2010-11-02 | 6 | -25/+61 |
| | | |||||
| * | Added USAGE for rails plugin new | Piotr Sarnacki | 2010-11-02 | 1 | -0/+10 |
| | | |||||
| * | That method is already declared at AppBase | Piotr Sarnacki | 2010-11-02 | 1 | -23/+0 |
| | | |||||
| * | Add support for templates for rails plugin new | Piotr Sarnacki | 2010-11-02 | 4 | -15/+50 |
| | | |||||
| * | Ensure that options for plugin new generator are not passed to application ↵ | Piotr Sarnacki | 2010-11-02 | 2 | -1/+7 |
| | | | | | | | | generator | ||||
| * | Refactored AppGenerator and PluginNewGenerator to inherit from AppBase. | Piotr Sarnacki | 2010-11-02 | 3 | -57/+79 |
| | | |||||
| * | Added 'rails plugin new' generator which generates gem plugin skeleton. | Piotr Sarnacki | 2010-11-02 | 21 | -1/+607 |
| | | | | | | | | | | | | This command is based on enginex gem by José Valim. It generates gem structure and ads dummy application into test/dummy. This can be used to start developing any kind of extension for rails 3. | ||||
* | | STI type is now updated when calling AR::Base.becomes on subclasses [#5953 ↵ | Franck Verrot | 2010-11-12 | 2 | -0/+10 |
| | | | | | | | | state:resolved] | ||||
* | | Use ! instead of not | Santiago Pastorino | 2010-11-11 | 1 | -1/+1 |
| | | |||||
* | | Fixed bug in active_record/nested_attributes where an empty string id caused ↵ | Santiago Pastorino | 2010-11-11 | 2 | -1/+9 |
| | | | | | | | | | | | | | | | | an ActiveRecord::RecordNotFound error. Found by [Ben Tillman] [#5638 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | | Bump Arel up to 2.0.2 | Santiago Pastorino | 2010-11-11 | 1 | -1/+1 |
| | | |||||
* | | skip testing framework if app created with --skip-test-unit [#5796 ↵ | Rob Zolkos | 2010-11-11 | 2 | -0/+11 |
| | | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | Add missing autoload. | José Valim | 2010-11-11 | 1 | -0/+1 |
| | | |||||
* | | Remove unused Configurable in Rails::Engine and Rails::Application. Remove ↵ | zhengjia | 2010-11-11 | 3 | -5/+0 |
| | | | | | | | | | | | | unnecessary railties load path in cli [#5871 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | provide better error message if path is uri [#5914 state:resolved] | Neeraj Singh | 2010-11-11 | 2 | -3/+16 |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | The model generator shouldn't throw warnings when using mass nouns [#5363 ↵ | Jeff Kreeftmeijer | 2010-11-11 | 2 | -1/+6 |
| | | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | fields_for should treat ActiveRecord::Relation as an array | Neeraj Singh | 2010-11-11 | 3 | -2/+33 |
| | | | | | | | | | | | | [#5795 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | Remove inline comment. | José Valim | 2010-11-11 | 1 | -17/+17 |
| | | |||||
* | | Make after_filter halt when before_filter renders or redirects [#5648 ↵ | Marcelo Giorgi | 2010-11-11 | 2 | -2/+81 |
| | | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | Fix render partial with layout and no block | Carlos Antonio da Silva | 2010-11-11 | 2 | -0/+12 |
| | | | | | | | | | | | | | | | | When using a render :partial with :layout call, without giving a block, if the given :partial had another render :partial call, the layout was not being rendered. This commit fixes this context by storing variables before rendering the partial, so they are not overrided in any successive call to render partials down the path. All ActionPack tests are ok. |