aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Refactor app and plugin generators to use new Thor APIPiotr Sarnacki2010-11-022-20/+4
| | |
| * | Make deep copy of application generators on engine initialization.Piotr Sarnacki2010-11-023-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 hashPiotr Sarnacki2010-11-023-0/+27
| | |
| * | Use application's generators defaults as engine defaults to not force users ↵Piotr Sarnacki2010-11-023-1/+19
| | | | | | | | | | | | to manually set it
| * | Do not create additional newlinePiotr Sarnacki2010-11-021-1/+1
| | |
| * | Don't be verbose while creating dummy application in plugin new generatorPiotr Sarnacki2010-11-023-3/+19
| | |
| * | No need to require 'app_base', it's required in app_generatorPiotr Sarnacki2010-11-021-1/+0
| | |
| * | Pass more options to test/dummy in 'plugin new' generatorPiotr Sarnacki2010-11-024-16/+29
| | |
| * | Add --full option to 'plugin new' generator, which generates rails enginePiotr Sarnacki2010-11-0214-9/+108
| | |
| * | No need for say_step in 'plugin new' generatorPiotr Sarnacki2010-11-023-22/+4
| | |
| * | DRY up app generator and plugin new generator. Moved shared options to ↵Piotr Sarnacki2010-11-023-52/+31
| | | | | | | | | | | | AppBase generator
| * | Remove integration tests and ActionModel/ActiveRecord calls from 'rake ↵Piotr Sarnacki2010-11-028-43/+7
| | | | | | | | | | | | plugin new' generator, it shouldn't be available as default option
| * | We don't need gem tasks, we have a gemspecPiotr Sarnacki2010-11-021-17/+0
| | |
| * | Builder should not be responsible for running store_application_definition ↵Piotr Sarnacki2010-11-021-1/+1
| | | | | | | | | | | | method
| * | Make tests for app and plugin generators more DRYPiotr Sarnacki2010-11-029-288/+220
| | |
| * | Allow easy overriding of test framework in 'rake plugin new' generator, ↵Piotr Sarnacki2010-11-025-16/+55
| | | | | | | | | | | | using PluginBuilder
| * | Ensure that tests run properlyPiotr Sarnacki2010-11-021-0/+7
| | |
| * | Change // style regexp to %r{}, to not confuse editors code highlightingPiotr Sarnacki2010-11-021-1/+1
| | |
| * | Add --dev and --edge options to rails plugin newPiotr Sarnacki2010-11-026-25/+61
| | |
| * | Added USAGE for rails plugin newPiotr Sarnacki2010-11-021-0/+10
| | |
| * | That method is already declared at AppBasePiotr Sarnacki2010-11-021-23/+0
| | |
| * | Add support for templates for rails plugin newPiotr Sarnacki2010-11-024-15/+50
| | |
| * | Ensure that options for plugin new generator are not passed to application ↵Piotr Sarnacki2010-11-022-1/+7
| | | | | | | | | | | | generator
| * | Refactored AppGenerator and PluginNewGenerator to inherit from AppBase.Piotr Sarnacki2010-11-023-57/+79
| | |
| * | Added 'rails plugin new' generator which generates gem plugin skeleton.Piotr Sarnacki2010-11-0221-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 Verrot2010-11-122-0/+10
| | | | | | | | | | | | state:resolved]
* | | Use ! instead of notSantiago Pastorino2010-11-111-1/+1
| | |
* | | Fixed bug in active_record/nested_attributes where an empty string id caused ↵Santiago Pastorino2010-11-112-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.2Santiago Pastorino2010-11-111-1/+1
| | |
* | | skip testing framework if app created with --skip-test-unit [#5796 ↵Rob Zolkos2010-11-112-0/+11
| | | | | | | | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* | | Add missing autoload.José Valim2010-11-111-0/+1
| | |
* | | Remove unused Configurable in Rails::Engine and Rails::Application. Remove ↵zhengjia2010-11-113-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 Singh2010-11-112-3/+16
| | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | | The model generator shouldn't throw warnings when using mass nouns [#5363 ↵Jeff Kreeftmeijer2010-11-112-1/+6
| | | | | | | | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* | | fields_for should treat ActiveRecord::Relation as an arrayNeeraj Singh2010-11-113-2/+33
| | | | | | | | | | | | | | | | | | [#5795 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* | | Remove inline comment.José Valim2010-11-111-17/+17
| | |
* | | Make after_filter halt when before_filter renders or redirects [#5648 ↵Marcelo Giorgi2010-11-112-2/+81
| | | | | | | | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* | | Fix render partial with layout and no blockCarlos Antonio da Silva2010-11-112-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.
* | | Fix issue with rendering partials and then yielding inside a render layout callCarlos Antonio da Silva2010-11-115-0/+26
| | | | | | | | | | | | | | | | | | | | | The given block was never being executed when another render :partial call existed before the yield call, due to the block being overriden. This commit also adds some more tests to render with :layout option.
* | | patching to ensure separator is printed with order [#5816 state:resolved]Aditya Sanghi2010-11-112-0/+43
| | | | | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | | Allow AR Session Store to be renewedJosé Valim2010-11-112-0/+21
| | |
* | | Duck typing hereSantiago Pastorino2010-11-111-1/+1
| | |
* | | Fix ActiveSupport::TimeWithZone#localtime method with DateTimeAlvaro Bautista2010-11-112-1/+12
| | | | | | | | | | | | | | | | | | [#5344 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | | restores the example for fixed-width font in API guidelinesXavier Noria2010-11-101-0/+10
| | |
* | | Remove copy_instance_variables_from from guidesSantiago Pastorino2010-11-102-45/+0
| | |
* | | Remove unused methodSantiago Pastorino2010-11-102-62/+0
| | |
* | | Remove useless cgiDenis Odorcic2010-11-104-36/+0
| | | | | | | | | | | | | | | | | | [#5943 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | | syncs CHANGELOGs for 3.0.2 in 3-0-stable with the ones in masterXavier Noria2010-11-096-2/+49
| | |
* | | Double negation of an already boolean value produces the same resultSantiago Pastorino2010-11-091-1/+1
| | |
* | | Don't check if persisted is defined just initialize it properlySantiago Pastorino2010-11-093-4/+1
| | |