Jeremy Kemper
|
28729a4829
|
validates_uniqueness_of behaves well with abstract superclasses. References #3833, closes #9886.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8000 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-23 06:18:42 +00:00 |
|
Jeremy Kemper
|
902533e6f0
|
Reinstate test_change_column_nullability for all adapters. Closes #9945 [lawrence]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7996 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-22 23:52:04 +00:00 |
|
Jeremy Kemper
|
e829e12e16
|
test_select_rows shouldn't depend on implicit result ordering. Closes #9898 [lawrence]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7995 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-22 23:50:12 +00:00 |
|
Rick Olson
|
7042163d76
|
Ensure that mysql quotes table names with database names correctly. Closes #9911 [crayz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7980 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-20 21:17:31 +00:00 |
|
Michael Koziarski
|
17ac677a2d
|
typo in test name
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7977 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-19 02:51:44 +00:00 |
|
Michael Koziarski
|
3facc8578b
|
Few more tests for Sexy Migrations
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7975 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-19 02:25:23 +00:00 |
|
Michael Koziarski
|
637c685a42
|
Forgotten changelog entry
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7974 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-19 02:25:09 +00:00 |
|
Michael Koziarski
|
6ddde027c4
|
Add t.belongs_to and t.references to sexy migrations [arthurgeek]
Test harness for Sexy Migrations. [Koz]
Closes #9775
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7973 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-19 02:09:06 +00:00 |
|
Michael Koziarski
|
210f7e29e2
|
Move all Schema creation into schema.rb for Mysql. Closes #9899 [mikong, lawrence]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7972 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-19 01:52:50 +00:00 |
|
Jeremy Kemper
|
2fac5d1a8b
|
SQL Server: test for affected row count. References #9558 [lawrence, ryepup]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7968 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-18 23:47:59 +00:00 |
|
Michael Koziarski
|
2833706699
|
Read in binary mode to make sure windows support keeps working. [lawrence] Closes #9912
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7959 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-17 22:50:34 +00:00 |
|
Michael Koziarski
|
8ed1e885b7
|
Use a smaller binary fixture so we don't overflow column size limitations in some commercial / legacy databases. Closes #7987 [roderickvd, lawrence]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7958 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-17 21:35:46 +00:00 |
|
Michael Koziarski
|
ac3cf43182
|
Raise an intelligible error message when migration aren't named correctly [bronson] Closes #9909
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7957 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-17 21:35:19 +00:00 |
|
Jeremy Kemper
|
f575757ca4
|
Qualified column names work in hash conditions, like :conditions => { 'comments.created_at' => ... }. Closes #9733.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7943 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-16 08:08:08 +00:00 |
|
Jeremy Kemper
|
cfbd790ad3
|
Fix regression where the association would not construct new finder SQL on save causing bogus queries for "WHERE owner_id = NULL" even after owner was saved. Closes #8713.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7942 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-16 07:24:23 +00:00 |
|
Jeremy Kemper
|
a72c1ec43e
|
Refactor association create and build so before & after callbacks behave consistently. Closes #8854.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7935 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-16 05:07:58 +00:00 |
|
Jeremy Kemper
|
9b6207c3d0
|
Quote table names. Defaults to column quoting. Closes #4593.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7932 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-16 05:06:33 +00:00 |
|
Jeremy Kemper
|
e7ed4c9354
|
Fix join table docs error in schema_statements. Closes #9880 [lawrence]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7931 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-16 05:05:47 +00:00 |
|
Jeremy Kemper
|
197c888576
|
Moving SQL Server tests to the extracted adapter. References #9884.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7930 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-16 05:05:22 +00:00 |
|
Jeremy Kemper
|
671228942d
|
Alias association #build to #new so it behaves predictably. Closes #8787.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7913 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-15 08:09:04 +00:00 |
|
Jeremy Kemper
|
333463679a
|
Revert [7894] and apply to adapter instead. References #9588.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7912 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-15 07:57:06 +00:00 |
|
Jeremy Kemper
|
660a696a3f
|
Test that change_column quotes column names. Closes #9537 [lawrence]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7909 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-15 07:33:53 +00:00 |
|
Jeremy Kemper
|
9f5a9aa35f
|
Factor out checks for duplicable objects. Closes #9333.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7908 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-15 07:13:40 +00:00 |
|
Michael Koziarski
|
fe234a1538
|
Fix Json related documentation for render and the AR serializer. Closes #9814. Closes #9833. [chuyeow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7905 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-15 07:04:10 +00:00 |
|
Michael Koziarski
|
347b911a74
|
Remove seemingly misleading 'faster tests' instructions too
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7903 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-15 06:48:27 +00:00 |
|
Michael Koziarski
|
0d0fd2142b
|
Update the instructions for running tests.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7902 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-15 06:48:16 +00:00 |
|
Jeremy Kemper
|
e81f1acc33
|
Uncomment test for join model method_missing. Closes #8707 [Giles Bowkett, Josh Peek]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7897 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-15 04:14:10 +00:00 |
|
Jeremy Kemper
|
619f2897f5
|
Update test/all.sh
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7896 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-15 03:46:15 +00:00 |
|
Jeremy Kemper
|
6cc7095320
|
Update IGNORED_SQL for SQL Server. Closes #9638 [lawrence]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7895 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-15 03:32:00 +00:00 |
|
Jeremy Kemper
|
5d3e72486b
|
Add build/drop/rebuild tasks for SQL Server. Closes #9588 [lawrence]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7894 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-15 03:30:47 +00:00 |
|
Jeremy Kemper
|
bfe85ae0e8
|
Add explicit test task
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7889 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-15 00:10:09 +00:00 |
|
Rick Olson
|
c1bc61cba0
|
Add notes to documentation regarding attr_readonly behavior with counter caches and polymorphic associations. Closes #9835 [saimonmoore, rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7873 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-14 05:32:57 +00:00 |
|
Rick Olson
|
f56dd107cd
|
Observers can observe model names as symbols properly now. Closes #9869 [queso]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7872 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-14 05:20:24 +00:00 |
|
David Heinemeier Hansson
|
faff774f9d
|
Update versions here too
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7843 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-12 16:03:54 +00:00 |
|
Jeremy Kemper
|
cff25aae90
|
eval with __FILE__ and __LINE__
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7827 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-10 23:01:18 +00:00 |
|
Tobias Lütke
|
0ad5365bf4
|
find_and_(initialize|create)_by methods can now properly initialize protected attributes
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7826 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-10 19:11:50 +00:00 |
|
Michael Koziarski
|
1c881ca5bf
|
Ensure that 'autosaving' works when associations aren't loaded [Bryan Helmkamp] References #8713
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7824 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-10 06:45:13 +00:00 |
|
Jeremy Kemper
|
aa04635d8e
|
Update :dependent docs and improve its argument error message.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7813 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-09 00:32:36 +00:00 |
|
Jeremy Kemper
|
cdc3c246c6
|
belongs_to infers the foreign key from the association name instead of from the class name. Fulfills the 1.2.4 deprecation.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7812 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-08 23:39:28 +00:00 |
|
Michael Koziarski
|
3122d321fd
|
Make sure AR::Base#clone handles attr changes made in after_initialize hooks. Closes #7191 [weyus]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7802 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-08 06:21:38 +00:00 |
|
Jeremy Kemper
|
4eaa8ba5be
|
PostgreSQL: support multiline default values. Closes #7533.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7801 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-08 06:17:53 +00:00 |
|
Jeremy Kemper
|
9319361328
|
Dr Math meets Captain Obvious.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7798 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-08 05:41:19 +00:00 |
|
Jeremy Kemper
|
346d36bfba
|
Namespace the internal Rakefile tasks. Closes #8850 [drnic]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7795 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-08 05:29:09 +00:00 |
|
Jeremy Kemper
|
85c86f0999
|
MySQL: fix change_column on not-null columns that don't accept dfeault values of ''. Closes #6663.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7790 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-08 03:28:28 +00:00 |
|
Michael Koziarski
|
ce47db3366
|
Change Migration documentation to use the new syntax. Closes #9813 [sjgman9]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7788 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-08 03:18:18 +00:00 |
|
Jeremy Kemper
|
210ecaecc3
|
validates_uniqueness_of behaves well with single-table inheritance. Closes #3833.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7787 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-08 01:44:55 +00:00 |
|
Jeremy Kemper
|
bd087e6716
|
Use fast date/time parsing by default. Closes #9811.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7780 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-07 22:01:59 +00:00 |
|
Jeremy Kemper
|
c79dfd36dc
|
Closed wrong ticket. Closes #9802, reopens #9699.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7778 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-07 19:45:07 +00:00 |
|
Jeremy Kemper
|
84a14f2620
|
Raise ProtectedAttributeAssignmentError in development and test environments when mass-assigning to an attr_protected attribute. Closes #9699.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7777 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-07 19:43:19 +00:00 |
|
Jeremy Kemper
|
c7c3f73fd9
|
Reinstate failsafe date/time parsing rescues. Head off some obvious failures like year == 0 or nil.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7771 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-07 06:27:39 +00:00 |
|