aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
* Don't raise superfluous exception on test failure.Jeremy Kemper2007-09-111-6/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7455 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update copyright spanDavid Heinemeier Hansson2007-09-091-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7425 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use attribute pairs instead of the migration name to create add and remove ↵Michael Koziarski2007-09-093-20/+29
| | | | | | column migrations. Closes #9166 [lifofifo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7422 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix task description for db:sessions:create. Closes #9419 [topfunky]Michael Koziarski2007-09-021-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7398 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove duplication in test_help.rb Closes #3328 [jarkko]Michael Koziarski2007-09-021-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7395 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use Gem.find_name instead of search when freezing gems. Prevent false ↵Michael Koziarski2007-07-241-2/+2
| | | | | | positive for other gems with rails in the name. Closes #8729 [wselman] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7233 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Automatically generate add/remove column commands in specially named ↵Rick Olson2007-07-243-2/+29
| | | | | | migrations like AddLocationToEvent. Closes #9006 [zenspider] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7216 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
* Drop the trailing slashDavid Heinemeier Hansson2007-06-281-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7150 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added rake routes for listing all the defined routes in the system (closes ↵David Heinemeier Hansson2007-06-281-0/+16
| | | | | | #8795) [josh] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7149 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* db:create creates the database for the current environment if it's on ↵Jeremy Kemper2007-06-281-91/+107
| | | | | | localhost. db:create:all creates local databases for all environments. Closes #8783. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7147 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Generators: look for generators in all gems, not just those suffixed with ↵Jeremy Kemper2007-06-273-9/+43
| | | | | | _generator, in the gem's generators or rails_generators directory. Allow use of the rails_generators directory instead of the standard generators directory in plugins also. Closes #8730. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7139 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added db:version to get the current schema number [via Tim Bray]David Heinemeier Hansson2007-06-252-4/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added --skip-migration option to scaffold and resource generators (closes ↵David Heinemeier Hansson2007-06-232-3/+21
| | | | | | #8656) [Michael Glaesemann] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7108 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Docfix (closes #8480)David Heinemeier Hansson2007-06-231-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7104 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Docfixes (closes #7348, #7778, #8669)David Heinemeier Hansson2007-06-231-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7102 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Docfix (closes #8585)David Heinemeier Hansson2007-06-231-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7099 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Docfix (closes #8715)David Heinemeier Hansson2007-06-231-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7097 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix that FCGIs would leave log files open when asked to shut down by USR2 ↵David Heinemeier Hansson2007-06-231-0/+5
| | | | | | (closes #3028) [sebastian.kanthak/josh] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7095 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that dispatcher preparation callbacks only run once in production ↵Rick Olson2007-06-151-2/+1
| | | | | | mode. Mock Routes.reload so that dispatcher preparation callback tests run. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7033 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix precedence error in failsafe rescue. Closes #8625.Jeremy Kemper2007-06-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7006 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix syntax error in dispatcher than wrecked failsafe responses. Closes #8625.Jeremy Kemper2007-06-111-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7002 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Scaffolded validation errors set the appropriate HTTP status for XML ↵Jeremy Kemper2007-06-101-2/+2
| | | | | | responses. Closes #8622. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6990 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix indentation in model generator migration template. Closes #8577 [Josh Peek]Jeremy Kemper2007-06-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6939 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Sexy migrations for the session_migration generator. Closes #8561.Jeremy Kemper2007-06-051-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6938 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Skip databases that couldn't be created.Jeremy Kemper2007-05-301-3/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6900 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Console reload! runs to_prepare callbacks also. Closes #8393.Jeremy Kemper2007-05-291-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6897 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Wordsmith generator USAGEs.Jeremy Kemper2007-05-2911-163/+104
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6884 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Generated migrations include timestamps by default. Closes #8501.Jeremy Kemper2007-05-295-21/+33
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6883 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Active Resource to rails:freeze:edge and drop Action Web Service. Closes ↵Jeremy Kemper2007-05-271-2/+2
| | | | | | #8205. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6872 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove unused resource generator templates obviated by [6841]. Closes #8487 ↵Jeremy Kemper2007-05-273-0/+0
| | | | | | [shane] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6870 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Normalize whitespace. Closes #8385 [Time Pope]Jeremy Kemper2007-05-2714-19/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6869 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SQLite: db:create and dropJeremy Kemper2007-05-261-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6853 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add db:create, drop, reset, charset, and collation tasks. Closes #8448.Jeremy Kemper2007-05-261-0/+64
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6849 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Also remove the duplicated unit test template. References #7222.Jeremy Kemper2007-05-251-10/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6841 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Scaffold generator depends on model generator instead of duplicating it. ↵Jeremy Kemper2007-05-254-40/+1
| | | | | | Closes #7222. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6840 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missed commit from [6833]. References #8456.Jeremy Kemper2007-05-251-15/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Scaffold generator tests. Closes #8443.Jeremy Kemper2007-05-231-3/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6824 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't load observers if Active Record isn't loaded.Jeremy Kemper2007-05-231-5/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6819 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Initializers are now loaded consistently sorted by name. Closes #8343Tobias Lütke2007-05-221-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6809 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Generated scaffold functional tests use assert_difference. Closes #8421.Jeremy Kemper2007-05-221-6/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6808 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix USAGE typo in resource generator. Closes #8406.Jeremy Kemper2007-05-201-13/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6795 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* We changed name to scaffoldDavid Heinemeier Hansson2007-05-183-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6768 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* We dont use semicolon any moreDavid Heinemeier Hansson2007-05-181-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6767 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* A few more fixesDavid Heinemeier Hansson2007-05-171-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6749 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated with the latest tricksDavid Heinemeier Hansson2007-05-164-9/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6747 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Scaffold resource is now scaffoldDavid Heinemeier Hansson2007-05-1615-7/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6746 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make way for the new and improved scaffoldDavid Heinemeier Hansson2007-05-1613-534/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6745 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Generators use *.html.erb view template naming. Closes #8278.Jeremy Kemper2007-05-0626-19/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6690 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added short-hand declaration style to migrations (inspiration from Sexy ↵David Heinemeier Hansson2007-05-062-2/+2
| | | | | | Migrations, http://errtheblog.com/post/2381) [DHH] Updated resource_scaffold and model generators to use short-hand style migrations [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6667 5ecf4fe2-1ee6-0310-87b1-e25e094e27de