aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Ensure scaffold works properly even if plural name is given. [#3062]José Valim2009-08-308-81/+137
|
* Remove inline css. [#593 status:resolved]José Valim2009-08-302-1/+5
|
* Change scaffold to use _form as partial and div's instead of paragraphs. ↵José Valim2009-08-306-31/+25
| | | | [#1760 status:resolved]
* Rails templates git command runs inside another directory [#2466 ↵David Calavera2009-08-301-7/+5
| | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix spelling in Rails 'generator' generator. [#3080 status:resolved]Rodrigo Rosenfeld Rosas2009-08-301-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Update vendored thor.José Valim2009-08-3031-73/+138
|
* 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-102-56/+35
| | | | 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-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.