aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails_generator
Commit message (Collapse)AuthorAgeFilesLines
* r2495@sedna: jeremy | 2005-05-27 22:07:18 -0700Jeremy Kemper2005-06-121-20/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Branch to have scaffold use new render methods r2496@sedna: jeremy | 2005-05-28 10:50:51 -0700 axe unused process_request method r2497@sedna: jeremy | 2005-05-28 10:51:58 -0700 sanity assertions in process method check that @controller, @request, @response are set r2498@sedna: jeremy | 2005-05-28 10:53:42 -0700 clean up escaping. use instance_variable_get instead of instance_eval. put id in form action instead of hidden input (like the generated scaffolding) r2499@sedna: jeremy | 2005-05-28 10:54:46 -0700 clean up interpolation, remove tabs from stylesheet r2500@sedna: jeremy | 2005-05-28 10:56:40 -0700 modernize dynamic scaffolding. use params[:id] instead of @params[id]. use consolidated render method instead of render_action, render_file, etc. use builtin inflections rather than module methods. r2501@sedna: jeremy | 2005-05-28 11:00:26 -0700 modernize generated scaffolding. use new-style assertions; use params[:id] instead of @params[id]; use consolidated render method instead of render_* r2542@sedna: jeremy | 2005-06-12 02:24:06 -0700 use :id => model instead of :id => model.id. clean up the form helper method. use flash[:notice] instead of flash['notice']. r2543@sedna: jeremy | 2005-06-12 02:33:22 -0700 whitespace r2544@sedna: jeremy | 2005-06-12 02:56:57 -0700 update changelogs r2545@sedna: jeremy | 2005-06-12 03:26:23 -0700 test dynamic form help when @post is not a new record r2546@sedna: jeremy | 2005-06-12 03:44:14 -0700 touch up TestCase#process sanity assertions git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1404 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* CSS needs "red" not #redDavid Heinemeier Hansson2005-06-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1388 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed scaffolding to use the latest styleDavid Heinemeier Hansson2005-06-025-19/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1380 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed docs for scaffolding generator #1303 [thijs@vandervossen.net]David Heinemeier Hansson2005-05-191-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1312 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added console --profile for profiling an IRB session #1154 [bitsweat]. ↵David Heinemeier Hansson2005-04-301-1/+1
| | | | | | Changed console_sandbox into console --sandbox #1154 [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1261 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added script/benchmarker to easily benchmark one or more statement a number ↵David Heinemeier Hansson2005-04-141-1/+1
| | | | | | of times from within the environment. Added script/profiler to easily profile a single statement from within the environment git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1166 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added lazy typing for generate, such that ./script/generate cn == ↵David Heinemeier Hansson2005-04-101-3/+9
| | | | | | ./script/generate controller and the likes #1051 [k@v2studio.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1137 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* generate --quiet documentation #715David Heinemeier Hansson2005-04-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1107 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added pagination for scaffolding (10 items per page) #964 [mortonda@dgrmm.net]David Heinemeier Hansson2005-04-022-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1067 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* _at is better for Time.now than _onDavid Heinemeier Hansson2005-03-231-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@988 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont repeat error messages in scaffoldsDavid Heinemeier Hansson2005-03-213-9/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@962 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Choose a simpler requiring of picking gems or not for library loadingDavid Heinemeier Hansson2005-03-211-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@961 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add prototype.js to new apps in javascripts/ #885David Heinemeier Hansson2005-03-211-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@956 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved the generated scaffold code a lot to take advantage of recent Rails ↵David Heinemeier Hansson2005-03-201-0/+1
| | | | | | developments #882 [Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@952 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved the generated scaffold code a lot to take advantage of recent Rails ↵David Heinemeier Hansson2005-03-2010-65/+73
| | | | | | developments #882 [Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@951 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Combined the script/environment.rb used for gems and regular files version. ↵David Heinemeier Hansson2005-03-201-5/+1
| | | | | | If vendor/rails/* has all the frameworks, then files version is used, otherwise gems #878 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@946 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added script/runner which can be used to run code inside the environment by ↵David Heinemeier Hansson2005-03-201-1/+1
| | | | | | eval'ing the first parameter git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@939 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added an empty favicon.ico file to the public directory of new applications ↵David Heinemeier Hansson2005-03-061-0/+2
| | | | | | (so the logs are not spammed by its absence) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@861 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that scaffold generator new template should use local variable instead ↵David Heinemeier Hansson2005-03-061-1/+1
| | | | | | of instance variable #778 [Dan Peterson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@859 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added web_service generator (run ./script/generate web_service for help) ↵David Heinemeier Hansson2005-03-065-0/+89
| | | | | | #776 [Leon Bredt] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed test/mocks/testing to the correct test/mocks/test #740David Heinemeier Hansson2005-02-271-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@809 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Drop the _doc nonsense and use the index.html straight onDavid Heinemeier Hansson2005-02-241-2/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@791 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix the error message on generate mailerDavid Heinemeier Hansson2005-02-221-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@745 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made Action Mailer templates use UTF-8 as defaultDavid Heinemeier Hansson2005-02-221-1/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@739 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added lighttpd config example and changed apache.log to less discriminating ↵David Heinemeier Hansson2005-02-201-1/+1
| | | | | | server.log git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@726 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for independent components residing in /componentsDavid Heinemeier Hansson2005-02-201-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@714 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added --sandbox option to script/console that'll roll back all changes made ↵David Heinemeier Hansson2005-02-191-1/+1
| | | | | | to the database when you quit #672 [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@700 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix module support for controller generators #668 [Ulysses]David Heinemeier Hansson2005-02-191-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@691 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed functional test path problems #662David Heinemeier Hansson2005-02-182-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@663 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Integrated Action Service with the existing elementsDavid Heinemeier Hansson2005-02-181-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Check class path for conflicts on generation #640 [bitsweat]David Heinemeier Hansson2005-02-174-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@655 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Forget to addd thisDavid Heinemeier Hansson2005-02-151-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@634 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed generated functional test for nested controllers has wrong paths #635David Heinemeier Hansson2005-02-156-17/+20
| | | | 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-152-3/+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-152-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* No leading returnDavid Heinemeier Hansson2005-02-151-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@621 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated the Rails generator command to workDavid Heinemeier Hansson2005-02-152-3/+3
| | | | 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-1517-92/+116
| | | | 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-1517-116/+92
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Merged back the Routing branchDavid Heinemeier Hansson2005-02-1517-92/+116
| | | | 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-0741-0/+2024
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