aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Deprecation: easier to work with warning behavior as procs; default ↵Jeremy Kemper2006-08-013-102/+124
| | | | | | behaviors for each environment so users needn't update env.rb; and testing pleasure with assert_deprecated, assert_not_deprecated. Test prints to , dev logs, production ignores. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4647 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* more concise destroy testJeremy Kemper2006-08-011-13/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4646 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r4889@ks: jeremy | 2006-07-31 20:27:15 -0700Jeremy Kemper2006-08-011-6/+6
| | | | | | | Create and update return the new pk and the number of affected rows, respectively. The job of returning true to appease the validations chain is up to create_or_update. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4645 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Restrict Request Method hacking with ?_method to POST requests. [Rick Olson]Rick Olson2006-08-013-3/+33
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4644 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Nested resource testing.Jeremy Kemper2006-08-012-17/+18
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4643 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Nesting map.resourcesJeremy Kemper2006-08-012-7/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4642 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix bug when passing multiple options to SimplyRestful, like :new => { ↵Rick Olson2006-07-313-19/+49
| | | | | | :preview => :get, :draft => :get }. [Rick Olson, Josh Susser, Lars Pind] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4641 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Calculate sum with SQL, not Enumerable on HasManyThrough Associations. [Dan ↵Rick Olson2006-07-313-1/+12
| | | | | | Peterson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4640 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dup the options passed to map.resources so that multiple resources get the ↵Rick Olson2006-07-313-3/+20
| | | | | | same options. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4639 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed the new_#{resource}_url route and added named route tests for Simply ↵Rick Olson2006-07-313-14/+65
| | | | | | Restful. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4638 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added map.resources from the Simply Restful plugin (backwards incompatible ↵David Heinemeier Hansson2006-07-316-9/+290
| | | | | | with the plugin!) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4637 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r4886@ks: jeremy | 2006-07-31 00:01:55 -0700Jeremy Kemper2006-07-311-1/+1
| | | | | | | comma git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4636 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r4880@ks: jeremy | 2006-07-30 23:52:59 -0700Jeremy Kemper2006-07-312-7/+27
| | | | | | | | | Only set method_name = md.pre_match if the pre_match is an attribute. Plays nicely with other ? suffixed attribute methods. r4881@ks: jeremy | 2006-07-30 23:53:37 -0700 Heavier testing for attribute method suffixes. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4635 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that integration simulation of XHRs should set Accept header as well ↵David Heinemeier Hansson2006-07-311-0/+2
| | | | | | [Edward Frederick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4634 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that integration simulation of XHRs should set Accept header as well ↵David Heinemeier Hansson2006-07-311-1/+5
| | | | | | [Edward Frederick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4633 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r4854@ks: jeremy | 2006-07-30 00:59:18 -0700Jeremy Kemper2006-07-315-9/+114
| | | | | | | | | | | Attribute methods r4877@ks: jeremy | 2006-07-30 20:23:53 -0700 Factor the attribute#{suffix} methods out of method_missing for easier extension. r4878@ks: jeremy | 2006-07-30 20:42:23 -0700 More specific method naming, declare many attribute method suffixes, set up default suffixes at module include rather than lazily. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4632 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* show missing file path on failed fixture_file_uploadRick Olson2006-07-301-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4631 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure TestRequest#session always returns a TestSession [Koz]Michael Koziarski2006-07-282-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4630 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed the failsafe response so it uses either the current recognized ↵Rick Olson2006-07-282-2/+7
| | | | | | controller or ApplicationController. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4629 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Patch sql injection vulnerability when using integer or float columns.Jamis Buck2006-07-273-1/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4626 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't search a load-path of '.' for controller files, since it may include ↵Jamis Buck2006-07-272-1/+3
| | | | | | symlinks to all kinds of things and result in far too many irrelevant files being considered git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4625 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update integration.rb to require test_process explicitly instead of via ↵Nicholas Seckar2006-07-272-0/+3
| | | | | | Dependencies git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Initial Version of Deprecation for Rails[Koz]Michael Koziarski2006-07-274-0/+134
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4623 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ICS to extension lookup recognition [Lars Pind]David Heinemeier Hansson2006-07-261-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4622 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* BigDecimal: schema dumper formattingJeremy Kemper2006-07-241-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4619 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow #count through a has_many association to accept :include. [Dan Peterson]Rick Olson2006-07-244-1/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4618 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that you can still access the flash after the flash has been reset in ↵Rick Olson2006-07-223-1/+21
| | | | | | reset_session. Closes #5584 [lmarlow@yahoo.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4617 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Strip boolean XML content before checking for 'true' [Rick Olson]Rick Olson2006-07-213-3/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix association exception messages, fix them so the error messages actually ↵Rick Olson2006-07-203-41/+16
| | | | | | display git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4615 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure script/reaper only reaps dispatcher pids by default, and not the ↵Jamis Buck2006-07-182-2/+4
| | | | | | spawner's pid. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow form_for and fields_for to work with indexed form inputs. [Jeremy ↵Rick Olson2006-07-183-1/+28
| | | | | | Kemper, Matt Lyon] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4613 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix script/plugin about so it uses about.yml and not meta.yml. [James Adam]Rick Olson2006-07-172-4/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4612 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove leak in development modeNicholas Seckar2006-07-172-21/+27
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4611 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Get rid of constant redefinition warnings when running AP testsMarcel Molina2006-07-132-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4610 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Provide support for decimal columns to form helpers. Closes #5672. ↵Marcel Molina2006-07-132-1/+3
| | | | | | [dave@pragprog.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4609 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Customize default BigDecimal formatting. [dave@pragprog.com]Marcel Molina2006-07-133-0/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4608 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correctly convert <foo nil=true> to nil when using Hash.create_from_xml. [Rick]Rick Olson2006-07-133-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4607 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* create_table rdoc: suggest :id => false for habtm join tablesJeremy Kemper2006-07-102-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4606 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* PostgreSQL: return array fields as strings. Closes #4664.Jeremy Kemper2006-07-103-0/+56
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4605 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* occured -> occurred. Closes #5559.Jeremy Kemper2006-07-104-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4604 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ignore fixtures in test cases if there are no database configurations. ↵Jeremy Kemper2006-07-101-2/+2
| | | | | | References #5497. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4603 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Test connections use AR::Base.configurations. References #5497.Jeremy Kemper2006-07-1012-177/+174
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4602 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SQLServer: added tests to ensure all database statements are closed, ↵Jeremy Kemper2006-07-106-177/+289
| | | | | | refactored identity_insert management code to use blocks, removed update/delete rowcount code out of execute and into update/delete, changed insert to go through execute method, removed unused quoting methods, disabled pessimistic locking tests as feature is currently unsupported, fixed RakeFile to load sqlserver specific tests whether running in ado or odbc mode, fixed support for recently added decimal types, added support for limits on integer types. Closes #5670. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4601 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Oracle: BigDecimal support. Closes #5667.Jeremy Kemper2006-07-104-22/+25
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4600 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Optional identity for Enumerable#sum defaults to zero. Closes #5657.Jeremy Kemper2006-07-093-2/+17
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4599 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update documentation for erb trim syntax. Closes #5651.Jeremy Kemper2006-07-092-3/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4598 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Firebird database tasks.Jeremy Kemper2006-07-091-0/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4597 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r4704@asus: jeremy | 2006-06-27 12:00:19 -0700Jeremy Kemper2006-07-0844-151/+561
| | | | | | | | | | | | | | | decimal r4705@asus: jeremy | 2006-06-27 12:20:47 -0700 current_adapter? checks whether any of its arguments is the name of the current adapter class r4834@asus: jeremy | 2006-07-08 13:08:24 -0700 Room to float. r4835@asus: jeremy | 2006-07-08 13:09:18 -0700 Give lock test a few chances. r4836@asus: jeremy | 2006-07-08 13:12:05 -0700 Numeric and decimal columns map to BigDecimal instead of Float. Those with scale 0 map to Integer. Closes #5454. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4596 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r4487@asus: jeremy | 2006-04-29 12:21:39 -0700Jeremy Kemper2006-07-0843-275/+237
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check whether @flash is defined? for warnings-safety. r4488@asus: jeremy | 2006-04-29 12:23:15 -0700 Check whether @flash is defined? for warnings-safety. Obviates nil? check. r4489@asus: jeremy | 2006-04-29 12:45:18 -0700 Check whether @session is defined? for warnings-safety. r4490@asus: jeremy | 2006-04-29 12:50:41 -0700 Check whether @rendering_runtime is defined? for warnings-safety. r4491@asus: jeremy | 2006-04-29 12:55:01 -0700 Check whether @_cycles is defined? for warnings-safety. r4492@asus: jeremy | 2006-04-29 12:59:19 -0700 Check whether instance variables are defined? for warnings-safety. r4493@asus: jeremy | 2006-04-29 13:14:09 -0700 Add nil @template to PrototypeHelperTest to suppress unitialized instance variable warning. r4494@asus: jeremy | 2006-04-29 13:31:34 -0700 Check whether @auto_index defined? for warnings-safety. r4495@asus: jeremy | 2006-04-29 13:32:24 -0700 Wrap content_columns redefinitions with silence_warnings. r4496@asus: jeremy | 2006-04-29 13:35:28 -0700 Wrap more redefinitions with silence_warnings. r4829@asus: jeremy | 2006-07-08 10:59:20 -0700 abstract unit, fix warnings r4830@asus: jeremy | 2006-07-08 11:06:12 -0700 Use parens to silence warning. r4831@asus: jeremy | 2006-07-08 11:06:48 -0700 Use parens to silence warning. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4595 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Firebird migrations support. Closes #5337.Jeremy Kemper2006-07-087-114/+508
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4594 5ecf4fe2-1ee6-0310-87b1-e25e094e27de