aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
* Require test/unit in the generated test_helper for plugin [#1878 state:resolved]jastix2009-08-091-1/+3
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Refactored create_migration on model generator.José Valim2009-08-092-7/+3
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fixed generating a namespaced model with table pluralization turned off. Add ↵Hugo Peixoto2009-08-092-2/+5
| | | | | | | | tests for namespaced model generation. [#767 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Add a .tmp pathYehuda Katz2009-08-091-1/+2
|
* Use Pathname for checking if sqlite path is absolutePratik Naik2009-08-091-1/+5
|
* Make sure db:drop doesn't fail when sqlite db is given by an absolute path ↵bastilian2009-08-091-1/+1
| | | | | | [#1789 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Depend on rubygems 1.3.2Michael Koziarski2009-08-091-1/+1
| | | | Also move the min_version definition up a line so it's present in the rescue block down below.
* Users can now pass :branch for git plugins and :revision for subversion pluginsMatt Duncan2009-08-081-1/+10
| | | | | | [#2352 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Improved coverage for session_migration generator. [#3008 status:resolved]José Valim2009-08-081-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fixed reference to AR::SessionStore::Session.table_name in session migrationsElad Meidar2009-08-082-2/+6
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Ensure db:drop:all doesn't error out on exception [#2997 state:resolved] ↵Pratik Naik2009-08-081-2/+6
| | | | [Anthony Caliendo]
* Add rake db:forward - opposite of db:rollback [#768 state:resolved]Cristi Balan2009-08-081-0/+7
| | | | | | | | Example: rake db:forward # performs the next migration rake db:forward STEP=4 # performs the next 4 migrations Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Added rubygems to generators load_paths, but we only load generators from ↵José Valim2009-08-081-21/+43
| | | | gems that are alraedy activated. This fixes the version problem and avoid silly conflicts.
* Rename Rails::Generators::ActionORM to Rails::Generators::ActiveModel.José Valim2009-08-083-14/+14
|
* Add option to routes task to target a specific controller with CONTROLLER=x.Mike Breen2009-08-081-3/+4
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2928 state:committed]
* Allow rails templates relative to the current path to be given.José Valim2009-08-071-3/+18
|
* Updated vendored thor to 0.11.5José Valim2009-08-0736-354/+312
|
* Dont require thin as the thin rack adapter is now upstreamJames Tucker2009-08-051-7/+0
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Removed default_internal, which was preventing round-tripping of some encodings.Yehuda Katz2009-07-301-1/+0
|
* Generator config should be commented by defaultPratik Naik2009-07-301-5/+5
|
* Remove whitespaces from the default mailer filePratik Naik2009-07-301-2/+1
|
* Always use application generator to run templates.José Valim2009-07-282-2/+1
|
* Merge branch 'master' of git://github.com/rails/railsJosé Valim2009-07-282-2/+8
|\
| * make pass through error code configurable [#2817 state:resolved]John Duff2009-07-221-1/+7
| | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* | Ensure that developers options are overwritten by user options.José Valim2009-07-281-17/+21
| |
* | Allow templates for non namespaced generators too.José Valim2009-07-251-1/+5
| |
* | Updated vendored thor to 0.11.3.José Valim2009-07-2335-81/+92
| |
* | Do not try to use thor gem.José Valim2009-07-232-10/+1
| |
* | Solving merge conflicts.José Valim2009-07-2129-10/+950
|\|
| * Vendor the bundler projectYehuda Katz + Carl Lerche2009-07-2019-0/+940
| |
* | Allow nested and multiple fallbacks for generators.José Valim2009-07-211-6/+20
| |
* | Change attributes default type to array to allow order to be preserved.José Valim2009-07-217-7/+8
| |
* | Update db:sessions:create to use the proper generator.José Valim2009-07-213-5/+5
| |
* | Modified rake tasks to use new app generator structure and updated Thor version.José Valim2009-07-1639-87/+79
| |
* | Update vendored Thor to have latest actions updates.José Valim2009-07-1610-463/+371
| |
* | Implemented generaators fallbacks.José Valim2009-07-161-11/+35
| |
* | Change generators configuration to have a hash style.José Valim2009-07-152-47/+21
| |
* | Add a form hook to erb scaffold. Customize and go!José Valim2009-07-152-2/+9
| |
* | Added source_paths to rails generators. If a template is added to ↵José Valim2009-07-152-40/+36
| | | | | | | | RAILS_ROOT/lib/templates/base/generator it will be used. For example, to customize edit.html.erb template on scaffold, just add a customized copy at RAILS_ROOT/lib/templates/erb/scaffold.
* | Change false to :verbose => false as in new Thor version.José Valim2009-07-1513-128/+117
| |
* | Allow nil and false to be given as configuration values and avoid creating ↵José Valim2009-07-153-15/+15
| | | | | | | | unecessary hashes.
* | Allow namespaced configuration on generators.José Valim2009-07-158-75/+161
| |
* | Refactored some generators to make use of improved invocations on thor.José Valim2009-07-1513-60/+89
| |
* | Updated vendored Thor to 0.11.1 and update Rails::Generators.José Valim2009-07-1441-295/+412
| |
* | Add version to thor frozen gem.José Valim2009-07-1438-2/+2
| |
* | Copy Thor files instead of using as a submodule.José Valim2009-07-1337-0/+4185
| |
* | Vendorized Thor.José Valim2009-07-133-5/+10
| |
* | Added a generator generator.José Valim2009-07-134-0/+50
| |
* | Ensure non timestamped migrations are generated properly.José Valim2009-07-131-1/+3
| |
* | Add some attribute readers to migration module.José Valim2009-07-134-3/+8
| |