aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails_generator/base.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add "-m/--template" option to Rails generator to apply template to generated ↵Jeremy McAnally2008-12-021-0/+3
| | | | | | application. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Merge docrails.Pratik Naik2008-05-251-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Table names aren't nested: replace / with _ to match the likely table name.Jeremy Kemper2007-11-161-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8158 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Docfix (cloases #9832)David Heinemeier Hansson2007-10-181-7/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7961 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed spelling errors (closes #9706) [tarmo/rmm5t]David Heinemeier Hansson2007-09-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Default to plural table name in Rails Generator if ActiveRecord is not ↵Rick Olson2007-07-121-1/+1
| | | | | | present. Closes #8963 [evan] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7183 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Documentation for generators (closes #6671) [topfunky]David Heinemeier Hansson2006-12-031-24/+73
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed migration creation to work with namespaced models, so script/generate ↵David Heinemeier Hansson2006-10-091-0/+1
| | | | | | model Gallery::Image will use create_table :gallery_images #6327 [BobSilva] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5261 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added script/generate resource which works just like scaffold_resource, but ↵David Heinemeier Hansson2006-10-091-0/+8
| | | | | | creates empty placeholders instead of predefined [DHH] Added generated attribute options to script/generate model, like the one found in scaffold_resource and resource [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5236 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make table_name and controller_name in generators honor ↵Marcel Molina2005-09-281-2/+2
| | | | | | AR::Base.pluralize_table_names. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2380 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed generated functional test for nested controllers has wrong paths #635David Heinemeier Hansson2005-02-151-3/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@631 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* All libraries should link against the independent active supportDavid Heinemeier Hansson2005-02-151-2/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@625 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved Active Support into its own gemDavid Heinemeier Hansson2005-02-151-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated the Rails generator command to workDavid Heinemeier Hansson2005-02-151-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@620 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* A hopefully more successful attempt at the Routing branch mergeDavid Heinemeier Hansson2005-02-151-6/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@617 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Backed out of routing merge.. investigating missing patchesDavid Heinemeier Hansson2005-02-151-15/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Merged back the Routing branchDavid Heinemeier Hansson2005-02-151-6/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added new generator framework that informs about its doings on generation ↵David Heinemeier Hansson2005-02-071-0/+195
and enables updating and destruction of generated artifacts. See the new script/destroy and script/update for more details #487 [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@518 5ecf4fe2-1ee6-0310-87b1-e25e094e27de