aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
...
| * Update vendored thor.José Valim2009-08-3031-73/+138
| |
* | Make sure all needed files get added to the rails gemCarl Lerche2009-08-291-1/+1
|/
* Prefer utf8_unicode_ci (better) over utf8_general_ci (faster)Jeremy Kemper2009-08-271-1/+1
|
* Remove support for SQLite 2.Pratik Naik2009-08-172-20/+1
| | | | If you're still using it, please install the plugin from git://github.com/rails/sqlite2_adapter.git
* Use less strict rules in generators lookup, so people can lay their ↵José Valim2009-08-107-68/+64
| | | | generators wherever they want.
* find_cmd should return the full path of the db commandKamal Fariz Mahyuddin2009-08-101-4/+8
| | | | | | [#1488 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Only load db/schema.rb if it exists; otherwise, display a message to run ↵Joshua Nichols2009-08-091-1/+5
| | | | | | | | db:migrate or remove active_record in environment.rb. [#3012 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* 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-093-2/+49
| | | | | | | | tests for namespaced model generation. [#767 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Add a .tmp pathYehuda Katz2009-08-092-2/+4
|
* 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-082-1/+25
| | | | | | [#2352 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Improved coverage for session_migration generator. [#3008 status:resolved]José Valim2009-08-082-3/+7
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fixed reference to AR::SessionStore::Session.table_name in session migrationsElad Meidar2009-08-083-2/+20
| | | | 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-083-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-084-15/+15
|
* 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-074-4/+25
|
* 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-2836-491/+1557
|\
| * Merge docrailsPratik Naik2009-07-2532-486/+1516
| |
| * make pass through error code configurable [#2817 state:resolved]John Duff2009-07-224-5/+41
| | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* | Ensure that not namespaced generators also load RAILS_ROOT/lib/templates files.José Valim2009-07-281-0/+5
| |
* | Ensure that developers options are overwritten by user options.José Valim2009-07-282-17/+35
| |
* | Allow templates for non namespaced generators too.José Valim2009-07-251-1/+5
| |
* | Updated vendored thor to 0.11.3.José Valim2009-07-2336-116/+92
| |
* | Do not try to use thor gem.José Valim2009-07-232-10/+1
| |
* | Solving merge conflicts.José Valim2009-07-2129-10/+950
|\|
| * Ruby 1.9.2 compat: Use File#expand_path for require path because "." will ↵Akira Matsuda2009-07-2110-11/+11
| | | | | | | | | | | | not be included in LOAD_PATH since Ruby 1.9.2 [#2921 state:resolved] Signed-off-by: Yehuda Katz <wycats@gmail.com>
| * Vendor the bundler projectYehuda Katz + Carl Lerche2009-07-2019-0/+940
| |
* | Allow nested and multiple fallbacks for generators.José Valim2009-07-212-11/+31
| |
* | 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-1640-87/+92
| |
* | Update vendored Thor to have latest actions updates.José Valim2009-07-1610-463/+371
| |
* | Implemented generaators fallbacks.José Valim2009-07-162-11/+49
| |
* | Change generators configuration to have a hash style.José Valim2009-07-153-76/+39
| |
* | 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-153-41/+55
| | | | | | | | 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-1517-144/+140
| |