Jeremy Kemper
|
673daeabca
|
Fixtures: people(:technomancy, :josh) returns both fixtures. Closes #7880.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6940 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-06-05 03:47:02 +00:00 |
|
Jeremy Kemper
|
b05fc40b5d
|
Calculations support non-numeric foreign keys. Closes #8154.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6919 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-06-01 03:26:51 +00:00 |
|
Jeremy Kemper
|
d0360a4d5c
|
Base.inspect handles Base itself and abstract_class? Don't use #<Foo ...> since that notation's typically used for instances of a class, not the class itself. Closes #8490 [deepblue]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6913 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-31 17:31:33 +00:00 |
|
Jeremy Kemper
|
8158455ded
|
Fix an edge case with find with a list of ids, limit, and offset. Closes #8437.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6912 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-31 17:15:56 +00:00 |
|
Jeremy Kemper
|
1edd21bb02
|
with_scope is protected. Closes #8524.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6909 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-30 21:40:55 +00:00 |
|
Jeremy Kemper
|
ff6d2aae0a
|
Quickref for association methods. Closes #7723.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6905 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-30 07:05:14 +00:00 |
|
Jeremy Kemper
|
1f802968c5
|
Calculations: return nil average instead of 0 when there are no rows to average. Closes #8298.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6904 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-30 06:57:04 +00:00 |
|
Jeremy Kemper
|
b2681cca2e
|
acts_as_nested_set: direct_children is sorted correctly. Closes #4761.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6903 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-30 06:34:25 +00:00 |
|
Jeremy Kemper
|
af98d883b9
|
Raise an exception if both attr_protected and attr_accessible are declared. Closes #8507, #6004.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6896 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-29 20:35:46 +00:00 |
|
Jeremy Kemper
|
ae242b0d23
|
Workaround test isolation failure with Task.attr_protected :starting.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6892 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-29 08:29:33 +00:00 |
|
Jeremy Kemper
|
690d6e204a
|
Typo in PostgreSQL change_column quoting. References #8466.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6891 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-29 08:06:35 +00:00 |
|
Jeremy Kemper
|
c2d14836a1
|
Missed Oracle rename_column quoting. References #8466.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6890 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-29 07:40:59 +00:00 |
|
Jeremy Kemper
|
69e4cc6e31
|
SQLite, MySQL, PostgreSQL, Oracle: quote column names in column migration SQL statements. Closes #8466.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6889 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-29 07:21:41 +00:00 |
|
Jeremy Kemper
|
d8b67f7fe1
|
Generate rdoc with utf-8 charset. Closes #7188 [manfred, jferris]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6881 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-28 22:55:14 +00:00 |
|
Rick Olson
|
4472a30aad
|
Allow nil serialized attributes with a set class constraint. #7293 [sandofsky]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6879 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-28 15:51:53 +00:00 |
|
Jeremy Kemper
|
6f6328787c
|
Test that DateTime are quoted as DateTime not Date. Closes #8364 [chas]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6878 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-28 05:55:27 +00:00 |
|
Jeremy Kemper
|
33e96f3cb3
|
Oracle binary fixtures; pull fixture insertion into the adapters. Closes #7987.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6859 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-26 06:26:50 +00:00 |
|
Jeremy Kemper
|
d0d5a1fe23
|
Announce migration versions as they're performed.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6855 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-26 02:36:55 +00:00 |
|
Jeremy Kemper
|
2be3a33f32
|
find gracefully copes with blank :conditions. Closes #7599.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6852 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-26 00:35:49 +00:00 |
|
Jeremy Kemper
|
64d655628c
|
validates_numericality_of takes :greater_than, :greater_than_or_equal_to, :equal_to, :less_than, :less_than_or_equal_to, :odd, and :even options. Closes #3952.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6850 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-26 00:30:14 +00:00 |
|
Jeremy Kemper
|
ed2a84f99b
|
MySQL: create_database takes :charset and :collation options. Charset defaults to utf8. References #8448.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6848 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-26 00:20:37 +00:00 |
|
Jeremy Kemper
|
79212def83
|
Test that #to_xml takes a block. Closes #8471. [seth]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6847 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-25 23:04:45 +00:00 |
|
Jeremy Kemper
|
6149c39d14
|
Typo in [6845]. References #8437.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6846 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-25 22:05:57 +00:00 |
|
Jeremy Kemper
|
109926c5a3
|
Find with a list of ids supports limit/offset. Closes #8437.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6845 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-25 21:56:21 +00:00 |
|
Jeremy Kemper
|
c4a31560bd
|
Optimistic locking: revert the lock version when an update fails. Closes #7840. Also return the number of affected rows instead of true.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6843 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-25 21:31:44 +00:00 |
|
Jeremy Kemper
|
38deb0ed83
|
Migrations: add_column supports custom column types. Closes #7742. First-patch cheers to jsgarvin\!
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6842 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-25 21:21:41 +00:00 |
|
Jeremy Kemper
|
4793c5b808
|
Test reconnection after MySQL client timeout. References #428.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6838 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-25 21:09:46 +00:00 |
|
Jeremy Kemper
|
def61a200e
|
Call the newly generated read method after generating it. Closes #8470.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6837 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-25 20:55:05 +00:00 |
|
Jeremy Kemper
|
cb7a17a9d0
|
Load database adapters on demand. Eliminates config.connection_adapters and RAILS_CONNECTION_ADAPTERS. Closes #8456.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6833 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-25 03:19:35 +00:00 |
|
Jeremy Kemper
|
162a4c5309
|
Include some missing fixtures. Closes #7981.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6832 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-25 01:28:40 +00:00 |
|
Rick Olson
|
04354cd4c2
|
update changelog too
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6828 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-24 20:40:14 +00:00 |
|
Rick Olson
|
c57c7210cd
|
Ensure that associations with :dependent => :delete_all respect :conditions option. Closes #8034 [danger, joshpeek, Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6827 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-24 20:39:51 +00:00 |
|
Jeremy Kemper
|
9f51eb2472
|
Fix :through docs wrecked up by [6777]. Closes #4961.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6817 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-23 06:35:08 +00:00 |
|
Jeremy Kemper
|
4afd6c9f0a
|
belongs_to assignment creates a new proxy rather than modifying its target in-place. Closes #8412.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6804 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-22 03:39:36 +00:00 |
|
Rick Olson
|
f6edfa3553
|
forgot binary fixture
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6801 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-21 19:50:44 +00:00 |
|
Rick Olson
|
96bc3d224d
|
Fix column type detection while loading fixtures. Closes #7987 [roderickvd]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6798 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-21 18:54:51 +00:00 |
|
Jeremy Kemper
|
5b414190d0
|
Document deep eager includes. Closes #6267.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6790 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-19 22:36:36 +00:00 |
|
Jeremy Kemper
|
c7c867ebd2
|
Revert [4706] which added incorrect docs. References #5684.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6789 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-19 22:15:28 +00:00 |
|
Jeremy Kemper
|
a995b9cde0
|
Fix #inspect for new records. Closes #8405.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6782 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-19 01:35:19 +00:00 |
|
Jeremy Kemper
|
0f2fd5ab51
|
belongs_to doesn't go :through. Closes #4961.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6777 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-18 21:51:21 +00:00 |
|
Jeremy Kemper
|
57b5fb43ef
|
Correct rdoc link to OracleAdapter. Closes #5289.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6771 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-18 20:49:59 +00:00 |
|
Jeremy Kemper
|
7288fd3e3f
|
Docs: warn that associations names shouldn't be reserved words. Closes #4378.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6770 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-18 19:18:01 +00:00 |
|
Jeremy Kemper
|
39c64fff8a
|
Clarify :offset docs. Closes #3733.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6769 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-18 19:06:54 +00:00 |
|
Jeremy Kemper
|
4d753adeaf
|
Pay tribute to timezones. Tune #inspect style.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6766 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-18 07:24:03 +00:00 |
|
Jeremy Kemper
|
e48b062eed
|
Sanitize Base#inspect. Closes #8392.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6761 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-18 02:11:43 +00:00 |
|
Michael Koziarski
|
45a79034e4
|
Ensure that the BigDecimal assertions aren't run for sqlite3, which doesn't support the precision correctly
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6756 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-18 01:14:18 +00:00 |
|
Michael Koziarski
|
ebbe4fb0d4
|
Replace the transaction {|transaction|..} semantics with a new Exception ActiveRecord::Rollback. Closes #8030 [Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6754 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-18 01:02:08 +00:00 |
|
Jeremy Kemper
|
9e3a51eb6c
|
Oracle: extract column length for CHAR also. Closes #7866.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6738 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-15 19:30:19 +00:00 |
|
Michael Koziarski
|
a722b48000
|
Ensure copy table test runs for sqlite and sqlite3. [mislav] Cllosoes #8328
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6721 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-12 00:44:50 +00:00 |
|
David Heinemeier Hansson
|
e105e599e7
|
Sexy dumper now has its groove on (closes #8281) [Chris Wanstrath]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-11 21:26:53 +00:00 |
|