aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add support for try to just yield the object to a block if no method is to ↵raggi2010-11-142-1/+23
| | | | be called. Kind of like a tap_if_present.
* HashWithIndifferentAccess should not change the subclass of an arrayLarry Sprock2010-11-142-1/+18
|
* Tests added for rendering partial with layout, when the partial contains ↵Santiago Pastorino2010-11-133-0/+10
| | | | another render layout with block call added missing fixtures
* Tests added for rendering partial with layout, when the partial contains ↵Santiago Pastorino2010-11-131-0/+15
| | | | another render layout with block call
* Make collection and collection_from_object methods return an arraySantiago Pastorino2010-11-131-3/+4
| | | | | | This transforms for instance scoped objects into arrays and avoid unneeded queries [#5958 state:committed]
* Allow bundler 1.1 (and 1.2, etc.) in Rails 1.0.2 and aboveYehuda Katz2010-11-121-1/+1
|
* Finder gives a little bit more info on the lookup column (primary key)Franck Verrot2010-11-132-1/+11
|
* Update to JQuery 1.4.4Santiago Pastorino2010-11-121-344/+640
| | | | | Check out http://blog.jquery.com/2010/11/11/jquery-1-4-4-release-notes/ for information on what's new.
* present? is better hereSantiago Pastorino2010-11-111-1/+1
|
* Remove whitespaces and add missing test.José Valim2010-11-112-6/+12
|
* Merge remote branch 'drogus/plugin_new'José Valim2010-11-1157-320/+1307
|\ | | | | | | | | Conflicts: railties/test/generators/app_generator_test.rb
| * Allow to set dummy application path through optionsPiotr Sarnacki2010-11-082-1/+11
| |
| * New version of thor was released no need to use the one from gitPiotr Sarnacki2010-11-041-2/+0
| |
| * Fix scaffold generator to be aware of namespace in isolated enginePiotr Sarnacki2010-11-0311-5/+178
| |
| * Add --mountable option to 'plugin new' generator which generates full ↵Piotr Sarnacki2010-11-027-3/+52
| | | | | | | | mountable application (engine)
| * Add example rake task to 'plugin new' generatorPiotr Sarnacki2010-11-023-0/+6
| |
| * create_dummy_app method that allows to easily create dummy application from ↵Piotr Sarnacki2010-11-026-42/+51
| | | | | | | | template
| * Properly skip test unit in 'plugin new' generatorPiotr Sarnacki2010-11-026-26/+22
| |
| * Properly handle other databases in 'plugin new' generatorPiotr Sarnacki2010-11-027-27/+51
| |
| * Skip active record properly in 'plugin new' generatorPiotr Sarnacki2010-11-022-1/+2
| |
| * Use rails integration tests by default in 'plugin new' generatorPiotr Sarnacki2010-11-027-21/+8
| |
| * We don't need to configure ActionMailer in plugin's test helper, it's ↵Piotr Sarnacki2010-11-021-4/+0
| | | | | | | | configured by dummy app
| * 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>