aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Tweak fixtures so they don't try to use a non-ActiveRecord class. [Kevin Clark]Rick Olson2006-08-113-1/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4752 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove ActiveRecord::Base.reset since Dispatcher doesn't use it anymore. ↵Rick Olson2006-08-093-13/+3
| | | | | | [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4743 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rearrange application resetting and preparation, fix bug with leaking ↵Rick Olson2006-08-092-1/+10
| | | | | | subclasses hash in ActiveRecord::Base [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4742 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cause ApplicationController to be reloadedDavid Heinemeier Hansson2006-08-091-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4741 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix typo in caching docs.Marcel Molina2006-08-091-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4740 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Document find's :from option. Closes #5762. [andrew@redlinesoftware.com]Marcel Molina2006-08-092-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4739 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* PostgreSQL: autodetected sequences work correctly with multiple schemas. ↵Jeremy Kemper2006-08-093-5/+80
| | | | | | Rely on the schema search_path instead of explicitly qualifying the sequence name with its schema. Closes #5280. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4737 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add missing mock directories from the autoload_paths configuration. [Rick ↵Rick Olson2006-08-092-2/+6
| | | | | | Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4736 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Nested controller scaffolding also nests the generated layout.Jeremy Kemper2006-08-092-3/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4735 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Require Tempfile explicitly for TestUploadedFile due to changes in class ↵Rick Olson2006-08-092-0/+3
| | | | | | auto loading. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4734 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add RoutingError exception when RouteSet fails to generate a path from a ↵Rick Olson2006-08-092-7/+9
| | | | | | Named Route. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4733 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* be sure to require_dependency on 'application', so that dependency loading ↵Jamis Buck2006-08-081-1/+1
| | | | | | is honored correctly git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4731 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add forgotten files; Fix double loading errors.Nicholas Seckar2006-08-084-17/+25
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4730 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Checkin forgotten add. Update const_missing handler to avoid double loading ↵Nicholas Seckar2006-08-082-1/+10
| | | | | | files. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4729 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* New dependencies implementationNicholas Seckar2006-08-0827-73/+455
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4728 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cache nil results for has_one associations so multiple calls don't call the ↵Rick Olson2006-08-084-7/+14
| | | | | | database. Closes #5757. [Michael A. Schoen] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4721 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* separate warn method for easier localization overrideJeremy Kemper2006-08-081-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4720 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include called method in instance variable deprecation warning.Jeremy Kemper2006-08-082-9/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* DateTime#to_time gives hour/minute/second resolution. Closes #5747.Jeremy Kemper2006-08-073-4/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4718 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: check whether instance variables have been monkeyed with before ↵Jeremy Kemper2006-08-073-4/+29
| | | | | | assigning them to deprecation proxies. Raises a RuntimeError if so. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4717 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix Dispatcher.reset_application! so that AR subclasses are removed and ↵Rick Olson2006-08-072-1/+3
| | | | | | Observers re-initialized *after* Reloadable classes are removed. Closes #5743. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4716 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecate direct usage of @params. Update ActionView::Base for instance var ↵Jeremy Kemper2006-08-0714-32/+66
| | | | | | deprecation. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4715 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add support for the param_name parameter to the auto_complete_field helper. ↵Thomas Fuchs2006-08-073-0/+5
| | | | | | Fixes #5026 [david.a.williams@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4713 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add documentation for how to disable timestamps on a per model basis. Closes ↵Marcel Molina2006-08-072-0/+11
| | | | | | #5684. [matt@mattmargolis.net Marcel Molina Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4706 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clarify usage of script/plugin source. Closes #5344. [james.adam@gmail.com]Marcel Molina2006-08-072-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4705 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* it's me, john wayneNicholas Seckar2006-08-071-12/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4700 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation! @session and @flash will be removed after 1.2. Use the session ↵Jeremy Kemper2006-08-077-47/+92
| | | | | | and flash methods instead. You'll get printed warnings during tests and logged warnings in dev mode when you access either instance variable directly. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4699 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't warn when the deprecated ivar proxy is instantiated.Jeremy Kemper2006-08-072-5/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4698 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* attr_internal to support namespacing and deprecationJeremy Kemper2006-08-074-0/+90
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4692 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Proper initializationDavid Heinemeier Hansson2006-08-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4691 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't save has_one associations unnecessarily. Closes #5735.Jeremy Kemper2006-08-063-1/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4690 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add Rdocs to map.resourcesRick Olson2006-08-061-0/+104
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4689 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove requires from webrick server; they were causing dispatcher.rb to be ↵Nicholas Seckar2006-08-061-4/+1
| | | | | | double loaded. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4688 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move methodNicholas Seckar2006-08-061-8/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4687 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Dispatcher.to_prepare and config.to_prepare to provide a pre-request hook.Nicholas Seckar2006-08-064-3/+102
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4686 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fixed lifecycle tests so they instantiate the observersRick Olson2006-08-061-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4685 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tweak the Rails load order so observers are loaded after plugins, and ↵Rick Olson2006-08-063-3/+12
| | | | | | reloaded in development mode. Closed #5279. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4684 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor ActiveRecord::Base.reset_subclasses to #reset, and add global ↵Rick Olson2006-08-063-2/+22
| | | | | | observer resetting. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4683 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Formally deprecate the deprecated finders. [Koz]Michael Koziarski2006-08-052-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4682 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Raise fully qualified names upon name errors. Closes #5533.Nicholas Seckar2006-08-055-5/+53
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4681 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Formally deprecate rich associations. [Koz]Michael Koziarski2006-08-052-1/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4680 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add extention to obtain the missing constant from NameError instancesNicholas Seckar2006-08-053-0/+44
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4679 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* I know we all love > but we can't all have themNicholas Seckar2006-08-051-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4678 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make Routing noisy when an anchor regexp is assigned to a segment. Closes #5674Nicholas Seckar2006-08-053-11/+66
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4677 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that you can change the web server port in config/lighttpd.conf from ↵David Heinemeier Hansson2006-08-052-0/+19
| | | | | | script/server --port/-p (closes #5465) [mats@imediatec.co.uk] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4676 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make test_tag_options pass (closes #5600) [shugo]David Heinemeier Hansson2006-08-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4675 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added months and years to the resolution of ↵David Heinemeier Hansson2006-08-053-5/+21
| | | | | | DateHelper#distance_of_time_in_words, such that "60 days ago" becomes "2 months ago" (closes #5611) [pjhyett@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4674 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* script/performance/profiler compatibility with the new ruby-prof, including ↵Jeremy Kemper2006-08-052-9/+27
| | | | | | an option to choose the results printer. Closes #5679. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4673 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Mention reload! when talking about console (closes #5560)David Heinemeier Hansson2006-08-051-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4672 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactored select routing for SQL Server adapter (closes #5683) [tom@popdog.net]David Heinemeier Hansson2006-08-052-14/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4671 5ecf4fe2-1ee6-0310-87b1-e25e094e27de