aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails_generator/generators/components/scaffold/templates
Commit message (Collapse)AuthorAgeFilesLines
* Apply the rest of Chads patchDavid Heinemeier Hansson2007-02-2114-73/+73
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6180 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Scaffold resource should have both a layout and a stylesheet [DHH]David Heinemeier Hansson2006-11-191-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5565 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix scaffolding from using deprecated :post => true (closes #6499)David Heinemeier Hansson2006-10-261-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5366 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update scaffold to use new form_tag block functionality. Closes #6480 [BobSilva]Michael Koziarski2006-10-242-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5351 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Really, this time. References #5612.Jeremy Kemper2006-07-051-7/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4560 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update scaffolding functional tests to use :id => people(:first) instead of ↵Jeremy Kemper2006-07-051-4/+4
| | | | | | :id => 1. Closes #5612. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4559 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Change the scaffolding layout to use yield rather than @content_for_layout.Marcel Molina2006-04-251-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4263 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* My beautiful eyes [DHH]David Heinemeier Hansson2006-03-202-8/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3993 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add verification to scaffolds (generated and reflection based). Require ↵Michael Koziarski2006-03-142-1/+9
| | | | | | POST for unsafe actions [Michael Koziarski]. Closes #2601 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3864 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct the case of the CSS declarations. [Blair Zajac] Closes #3171Michael Koziarski2006-01-131-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3416 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Scaffold-generated controller action gives paginate the plural_ rather than ↵Jeremy Kemper2005-11-051-1/+1
| | | | | | singular_name. Closes #2743. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2879 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Proper CSS color definition (closes #2334)David Heinemeier Hansson2005-10-261-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2751 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Look here, braces: gimme some elbow room. #2418Jeremy Kemper2005-10-081-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2492 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Replace render_partial with render :partial in scaffold generatorNicholas Seckar2005-08-172-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2030 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for upload progress indicators in Apache and lighttpd 1.4.x ↵David Heinemeier Hansson2005-06-281-0/+21
| | | | | | (won't work in WEBrick or lighttpd 1.3.x) #1475 [Sean Treadway] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1552 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* 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
* 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
* 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
* 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-208-41/+49
| | | | | | developments #882 [Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@951 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
* Fixed functional test path problems #662David Heinemeier Hansson2005-02-181-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@663 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-151-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@631 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
* A hopefully more successful attempt at the Routing branch mergeDavid Heinemeier Hansson2005-02-152-10/+10
| | | | 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-152-10/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Merged back the Routing branchDavid Heinemeier Hansson2005-02-152-10/+10
| | | | 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-079-0/+249
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