Jeremy Kemper
|
965ae90bc6
|
Eliminate Active Support warnings.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-29 08:24:04 +00:00 |
|
David Heinemeier Hansson
|
06a731e365
|
Keep onsubmit around for form_remote_for
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4838 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-29 07:48:55 +00:00 |
|
Nicholas Seckar
|
68c9c93118
|
Update Initializer to use load_once_paths to avoid plugin reloading. References #5852.
Add Dependencies.load_once_paths.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4837 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-29 06:52:39 +00:00 |
|
David Heinemeier Hansson
|
eb1d78189e
|
Reload should take options for the replace
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4836 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-29 00:20:18 +00:00 |
|
David Heinemeier Hansson
|
d164d09649
|
FormEncodedStringParser needs a tad more work before it can handle POST data (like file handling), so were backing out for a bit
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4833 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-28 14:05:05 +00:00 |
|
Jeremy Kemper
|
8261f17eb8
|
start an Active Resource changelog
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4826 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-26 08:23:36 +00:00 |
|
Jeremy Kemper
|
9f8b8f5ca8
|
Typo in integration app session. Closes #5864.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4825 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-26 06:54:26 +00:00 |
|
Jeremy Kemper
|
96c6ca369a
|
Deprecation: test deprecated instance vars in partials.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4824 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-26 05:58:16 +00:00 |
|
David Heinemeier Hansson
|
7b34d0f8c5
|
Actually, indifferent access mattered in the bowels (hashes hidden in arrays)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4823 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-26 03:09:32 +00:00 |
|
David Heinemeier Hansson
|
a78519071c
|
Result is made indifferent on the way out
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4822 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-26 02:58:55 +00:00 |
|
David Heinemeier Hansson
|
04fda65306
|
Changed the POST parameter processing to use the new QueryStringParser and make the result a indifferent hash [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4821 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-26 02:49:09 +00:00 |
|
David Heinemeier Hansson
|
9e054fdf41
|
More tests for array/hashing in parameters, one failing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4820 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-26 01:57:44 +00:00 |
|
Jeremy Kemper
|
bcbce90b1b
|
Nested subclasses are not prefixed with the parent class' table_name since they should always use the base class' table_name. Closes #5911.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4819 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-25 15:25:08 +00:00 |
|
David Heinemeier Hansson
|
c064802de9
|
Automatically included ActionController::UrlWriter, such that URL generation can happen within ActionMailer controllers. [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4818 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-25 06:48:15 +00:00 |
|
Jeremy Kemper
|
4dc464c1df
|
Use Array#assoc in ActiveSupport::OrderedHash.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4817 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-25 06:01:02 +00:00 |
|
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 |
|