aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
* Added db:fixtures:identity as a way of locating what ID a foxy fixture was ↵David Heinemeier Hansson2007-12-011-0/+22
| | | | | | assigned (closes #10332) [jbarnette] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8248 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Generated fixtures should not specify ids since theyre expected to be foxy ↵David Heinemeier Hansson2007-12-011-9/+9
| | | | | | fixtures (closes #10330) [jbarnette] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8247 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* You dont need to explicitly declare which controller youre testing when you ↵David Heinemeier Hansson2007-11-303-6/+0
| | | | | | follow the naming convention git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8244 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* use autoeval not autoirb, it's mostly equivalent but doesn't make stepping ↵Michael Koziarski2007-11-301-1/+1
| | | | | | frustrating [Koz]. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8243 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Prep for RC2David Heinemeier Hansson2007-11-291-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8233 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce SecretKeyGenerator for more secure session secrets than ↵Jeremy Kemper2007-11-282-1/+165
| | | | | | CGI::Session's pseudo-random id generator. Consider extracting to Active Support later. Closes #10286. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8229 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* No trailing whitespace in migration generation (closes #10235)David Heinemeier Hansson2007-11-251-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8204 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure script/plugin doesn't skip files beginning with http (i.e. the old ↵Michael Koziarski2007-11-211-1/+1
| | | | | | http_authentication plugin). Closes #7887 [choonkeat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8175 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix typo in generator usage blurb. Closes #10217 [Mike Naberezny]Jeremy Kemper2007-11-201-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8171 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* 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
* Resource and scaffold generators pass on the full name to the dependent ↵Jeremy Kemper2007-11-162-2/+2
| | | | | | model, so nested resources give a corresponding nested model. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8157 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use the new TestCase subclasses in the scaffold and resource generators ↵Jeremy Kemper2007-11-162-22/+6
| | | | | | also. Closes #10174 [bscofield] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8154 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove stale warning from application generator usage message. Closes #10165 ↵Jeremy Kemper2007-11-141-7/+0
| | | | | | [bronson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8143 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* FastCGI handler ignores unsupported signals like USR2 on Windows [Grzegorz ↵Jeremy Kemper2007-11-131-1/+6
| | | | | | Derebecki] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8132 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only load ActionMailer::TestCase if ActionMailer is loaded. Closes #10137 ↵Rick Olson2007-11-111-1/+1
| | | | | | [defunkt] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8127 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that db:reset would use migrations instead of loading db/schema.rb [DHH]David Heinemeier Hansson2007-11-091-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8123 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Prepare versions for RC1David Heinemeier Hansson2007-11-091-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8121 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure the plugin loader only loads plugins once. Closes #10102 [haruki_zaemon]Rick Olson2007-11-081-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8116 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor Plugin Loader. Add plugin lib paths early, and add lots of tests. ↵Rick Olson2007-11-084-165/+268
| | | | | | Closes #9795 [lazyatom] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove unneeded file that was missed by [8098]Michael Koziarski2007-11-061-0/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8105 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make work with --skip-timestampsDavid Heinemeier Hansson2007-11-061-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8098 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added --skip-timestamps to generators that produce models (closes #10036) ↵David Heinemeier Hansson2007-11-044-4/+12
| | | | | | [tpope] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8070 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't eliminate the logger by defaultJeremy Kemper2007-11-011-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8063 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Excise generated whitespace. Closes #10017 [Tim Pope]Jeremy Kemper2007-10-292-19/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8055 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added db:rollback to rollback the schema one version (or multiple as ↵David Heinemeier Hansson2007-10-261-0/+7
| | | | | | specified by STEP) [Jeffrey Allan Hardy] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8039 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove broken requireMichael Koziarski2007-10-261-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8023 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce TestCase subclasses for testing rails applications allowing tests ↵Michael Koziarski2007-10-264-35/+15
| | | | | | to be DRY'd up a bit and to provide a path toward tidying up our monkeypatching of test/unit. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8022 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Request profilerJeremy Kemper2007-10-252-1/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8016 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* rake test aborts if tests failed. Closes #9962 [Jason Roelofs]Jeremy Kemper2007-10-231-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8008 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed incorrect migration number if script/generate executed outside of ↵David Heinemeier Hansson2007-10-181-1/+1
| | | | | | Rails root (closes #7080) [jeremymcanally] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7963 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
* Generated fixtures use the actual primary key instead of id. Closes #4343.Jeremy Kemper2007-10-151-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7899 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update versions here tooDavid Heinemeier Hansson2007-10-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7843 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added better documentation for generator overwrite options (closes #9842) ↵David Heinemeier Hansson2007-10-111-7/+17
| | | | | | [wincet] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7837 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* config.active_record.whiny_protected_attributes. Closes #9816 [henrik]Jeremy Kemper2007-10-081-20/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7807 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include ARes and Railties in rdoc. Freeze ARes gem instead of AWS.Jeremy Kemper2007-10-082-1/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7803 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Create layout dir it's nested. References #9272 [alancfrancis]Jeremy Kemper2007-10-081-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7784 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use a configuration check so ActiveRecord can be omitted. References #9699.Jeremy Kemper2007-10-071-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7781 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Raise ProtectedAttributeAssignmentError in development and test environments ↵Jeremy Kemper2007-10-071-0/+18
| | | | | | when mass-assigning to an attr_protected attribute. Closes #9699. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7777 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Axe excess backtracery.Jeremy Kemper2007-10-071-6/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7770 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Extend the console +helper+ method to allow you to include custom helpers. ↵Michael Koziarski2007-10-071-2/+5
| | | | | | Closes #6781 [Chris Wanstrath] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7765 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Bump versions for 1.2.4 release.Jeremy Kemper2007-10-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7744 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tidy up framework initialization code to ensure that it doesn't add folders ↵Michael Koziarski2007-10-041-10/+11
| | | | | | | | | to the load path that it doesn't intend to require. Work around mongrel swallowing LoadErrors to ensure that users get more helpful errors if active_resource is required but not missing. [mislav] Closes #9743 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7738 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* db:create works with remote databases whereas db:create:all only ↵Jeremy Kemper2007-10-021-31/+50
| | | | | | createsdatabases on localhost. Closes #9753. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7718 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add --prefix option to script/server when using mongrel. [dacat] Closes #9716Michael Koziarski2007-10-011-1/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7708 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed calls to fixtures in generated tests as fixtures :all is now present ↵David Heinemeier Hansson2007-10-014-8/+0
| | | | | | by default in test_helper.rb [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7705 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that installing plugins from SVN repositories that use trunk/ will ↵David Heinemeier Hansson2007-09-301-8/+12
| | | | | | work (closes #8188) [evan] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7698 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved the SourceAnnotationExtractor to a separate file in case libraries try ↵Rick Olson2007-09-282-62/+63
| | | | | | to load the rails rake tasks twice. rspec_on_rails, I'm looking at you. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7672 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Better error messages if you leave out the :secret option for request ↵Rick Olson2007-09-281-1/+1
| | | | | | forgery protection. Closes #9670 [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7671 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed spelling errors (closes #9706) [tarmo/rmm5t]David Heinemeier Hansson2007-09-283-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de