Jeremy Kemper
|
ee2397036f
|
SQLServer: work around bug where some unambiguous date formats are not correctly identified if the session language is set to german. Closes #5894.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4816 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-25 03:56:21 +00:00 |
|
Jeremy Kemper
|
91dff30041
|
SQLServer: fix eager association test. Closes #5901.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4815 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-25 03:30:21 +00:00 |
|
Nicholas Seckar
|
3b1972a896
|
Add UrlWriter to allow writing urls from Mailers and scripts.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4814 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-24 06:15:01 +00:00 |
|
Jeremy Kemper
|
4b4dd54082
|
Clashing type columns due to a sloppy join shouldn't wreck single-table inheritance. Closes #5838.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4813 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-24 03:36:48 +00:00 |
|
Jeremy Kemper
|
d65a8f6e9e
|
map.resources docs typo closes #5895
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4812 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-24 01:52:23 +00:00 |
|
Jeremy Kemper
|
842ce34bbc
|
Fixtures: correct escaping of \n and \r. Closes #5859.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4811 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-24 01:50:24 +00:00 |
|
Kent Sibilev
|
d37604f03e
|
Fixed XMLRPC multicall when one of the called methods returns a struct object.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4810 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-23 09:34:46 +00:00 |
|
Jeremy Kemper
|
8cbe22ab51
|
Migrations: gracefully handle missing migration files. Closes #5857.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4809 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-23 05:49:40 +00:00 |
|
Jeremy Kemper
|
32dcfa6913
|
MySQL: update test schema for MySQL 5 strict mode. Closes #5861.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4808 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-23 05:30:14 +00:00 |
|
Jeremy Kemper
|
767eaa9df1
|
Clean up and run the Active Record integration tests by default. Closes #5854.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4807 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-22 09:19:55 +00:00 |
|
Jeremy Kemper
|
8f89f14fc8
|
Rollback #5819 since it's compatible with PostgreSQL 8.1 only. References #5819.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4806 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-22 08:58:32 +00:00 |
|
Nicholas Seckar
|
caf546b675
|
Add test case from ticket #4090
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4805 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-22 07:18:24 +00:00 |
|
Jeremy Kemper
|
070f3fdc8c
|
Clean up and run the Active Record integration tests by default.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4804 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-22 04:38:03 +00:00 |
|
Thomas Fuchs
|
bb531a946d
|
Fix unit tests for JSON emitters
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4795 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-20 17:27:28 +00:00 |
|
Jeremy Kemper
|
edb4208857
|
to_xml: correct naming of included associations. Closes #5831.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4794 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-20 14:38:58 +00:00 |
|
Jeremy Kemper
|
04d2d5f288
|
Correct example in cookies docs. Closes #5832.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4793 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-20 05:28:47 +00:00 |
|
Jeremy Kemper
|
70577d0dca
|
Pushing a record onto a has_many :through sets the association's foreign key to the associate's primary key and adds it to the correct association. Closes #5829.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4792 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-20 05:23:34 +00:00 |
|
Jeremy Kemper
|
e96c58224c
|
unbraindeadify addition to has_many :through
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4791 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-19 14:56:58 +00:00 |
|
Jeremy Kemper
|
81b05fd909
|
Pushing a record onto a has_many :through sets the association's foreign key to the associate's primary key. Closes #5815.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4790 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-19 09:13:00 +00:00 |
|
Jeremy Kemper
|
a752fdb321
|
whitespace
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4789 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-19 05:55:15 +00:00 |
|
Jeremy Kemper
|
b0a86f8c0e
|
PostgreSQL: simplify index introspection query. Closes #5819.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4788 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-19 05:46:21 +00:00 |
|
Thomas Fuchs
|
b006317b44
|
Greatly increased performance of String.to_json, which speeds up RJS considerably on large pages, fixes #3473 [Shugo Maeda]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4787 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-18 09:16:29 +00:00 |
|
Jeremy Kemper
|
0da426be96
|
Add records to has_many :through using <<, push, and concat by creating the association record. Raise if base or associate are new records since both ids are required to create the association. #build raises since you can't associate an unsaved record. #create! takes an attributes hash and creates the associated record and its association in a transaction.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4786 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-18 07:35:07 +00:00 |
|
Jeremy Kemper
|
18057d2fb6
|
Cache nil results for :included has_one associations also. Closes #5787.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4783 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-17 23:46:55 +00:00 |
|
Nicholas Seckar
|
4584376a91
|
Add tests for prior checkin
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4782 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-17 17:32:23 +00:00 |
|
Nicholas Seckar
|
cad830fb20
|
Widen too narrow rescue
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4781 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-17 17:19:11 +00:00 |
|
Nicholas Seckar
|
924ef18d4b
|
Detect missing_constants calls from removed modules and fail accordingly.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4780 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-17 03:35:36 +00:00 |
|
Nicholas Seckar
|
2b37d59976
|
Fix const_missing to behave responsibly when called within anonymous modules
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4779 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-16 20:54:25 +00:00 |
|
Nicholas Seckar
|
38f598ec0b
|
Update require_dependency to return true or false as require does.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4778 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-16 20:33:31 +00:00 |
|
Jeremy Kemper
|
50be89b609
|
Shorten index name.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4777 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-16 18:22:51 +00:00 |
|
Jeremy Kemper
|
7aaf4867d2
|
Included associations: go deep.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4776 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-16 18:10:52 +00:00 |
|
Nicholas Seckar
|
593f04e6a9
|
Stop using defined? in Dependencies.qualified_const_defined? since defined? may invoke const_missing.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4774 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-16 17:50:52 +00:00 |
|
Tobias Lütke
|
ae74e8e9fe
|
Fixed a bug which would cause .save to fail after trying to access a empty has_one association on a unsaved record.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4773 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-16 16:05:48 +00:00 |
|
Jeremy Kemper
|
14101c7b40
|
Nested classes are given table names prefixed by the singular form of the parent's table name.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4770 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-16 09:46:43 +00:00 |
|
Jeremy Kemper
|
80f1597942
|
Dependencies can autoload directories of nested classes.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4769 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-16 09:18:17 +00:00 |
|
Jeremy Kemper
|
bc7f2315ba
|
Make indexed columns easy to extract from the index name. Oracle users should explicitly assign index names due to field length restrictions.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4768 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-15 23:51:27 +00:00 |
|
Jeremy Kemper
|
79542f8d0b
|
Migrations: uniquely name multicolumn indexes so you don't have to.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4767 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-15 23:05:01 +00:00 |
|
Thomas Fuchs
|
6457b365a1
|
Updated trunk to script.aculo.us 1.6.2
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4766 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-15 14:20:55 +00:00 |
|
Nicholas Seckar
|
5f3486c0b4
|
cleanup
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4764 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-15 02:04:25 +00:00 |
|
Nicholas Seckar
|
7678d123a7
|
Relax Routing's anchor pattern warning; it was preventing use of [^/] inside restrictions.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4763 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-15 02:04:11 +00:00 |
|
Nicholas Seckar
|
5baf7462c7
|
Add controller_paths variable to Routing; Assign Routing.controller_paths from initializer; fix script/about and rails info controller.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4762 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-15 01:28:06 +00:00 |
|
David Heinemeier Hansson
|
461dce13ae
|
Fix AWS tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4761 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-14 23:14:08 +00:00 |
|
Nicholas Seckar
|
30fa7053be
|
Add silencing to deprecations; avoid self-scolding.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4760 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-14 18:15:44 +00:00 |
|
Marcel Molina
|
2ac4839050
|
Update respond_to docs to follow established naming convention
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4759 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-14 14:33:40 +00:00 |
|
Jeremy Kemper
|
d7f780e066
|
Fix for deep includes on the same association.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4758 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-14 07:19:47 +00:00 |
|
Rick Olson
|
8c4b599b7c
|
Fix assert_redirected_to issue with named routes for module controllers. [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4757 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-13 18:31:58 +00:00 |
|
Rick Olson
|
c963f8e955
|
Tweak RoutingError message to show option diffs, not just missing named route significant keys. [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4756 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-13 18:00:08 +00:00 |
|
Nicholas Seckar
|
84bacf99d6
|
Invoke method_missing directly for hidden actions. Closes #3030.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4755 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-13 04:15:22 +00:00 |
|
Nicholas Seckar
|
440655e1fa
|
Add debugging logging to Dependencies.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4754 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-13 03:29:04 +00:00 |
|
Nicholas Seckar
|
33406747d8
|
Use require_dependency and not require to load models
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4753 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-12 19:29:46 +00:00 |
|