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 |
|
Marcel Molina
|
ca3e89d4de
|
Document :allow_nil option for validates_acceptance_of since it defaults to true. Closes #8050. [tzaharia]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6687 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 05:16:41 +00:00 |
|
Marcel Molina
|
6ad9d1dbde
|
Update documentation for :dependent declaration so that it explicitly uses the non-deprecated API. Closes #8069. [danger]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6686 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 05:14:37 +00:00 |
|
Marcel Molina
|
ee614d6319
|
Add documentation caveat about when to use count_by_sql. Closes #8090. [fearoffish]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6685 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 05:10:19 +00:00 |
|
Marcel Molina
|
15dc567e0f
|
Also add documentation enhancements for increment_counter. Closes #8092. [fearoffish]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6684 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 05:08:05 +00:00 |
|
Marcel Molina
|
5bd35705ca
|
Enhance documentation for decrement_counter. Closes #8093. [fearoffish]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6683 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 05:06:26 +00:00 |
|
Marcel Molina
|
194b4aa4f3
|
Provide brief introduction to what optimistic locking is. Closes #8097. [fearoffish]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6682 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 05:01:31 +00:00 |
|
Marcel Molina
|
6bdcc0cfaf
|
Add documentation for :encoding option to mysql adapter. Closes #8219 [marclove]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6678 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 04:41:45 +00:00 |
|
Michael Koziarski
|
e642368829
|
Use assert_match instead of String#include? so we can get helpful error messages on failure
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6668 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 02:03:46 +00:00 |
|
David Heinemeier Hansson
|
4cbbebb1c3
|
Added short-hand declaration style to migrations (inspiration from Sexy Migrations, http://errtheblog.com/post/2381) [DHH] Updated resource_scaffold and model generators to use short-hand style migrations [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6667 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 01:48:19 +00:00 |
|
Michael Koziarski
|
0c960602fe
|
Change Base#to_xml to take the name for a container element for an association from the element name, not the first record's class name. Closes #7004
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6654 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-03 02:24:50 +00:00 |
|
David Heinemeier Hansson
|
70ac560e42
|
Removed breakpointer and Binding.of_caller in favor of relying on ruby-debug by Kent Sibilev since the breakpointer has been broken since Ruby 1.8.4 and will not be coming back [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6611 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-28 15:57:29 +00:00 |
|
Michael Koziarski
|
9d08a07c48
|
Improve Performance of calling create on has_many :through associations by avoiding loading the target collection. Closes #8150 [evan]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6581 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-26 00:18:38 +00:00 |
|
David Heinemeier Hansson
|
57352f86d4
|
Improved performance by relying less on exception raising #8159 [Blaine]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6571 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-24 16:58:24 +00:00 |
|
David Heinemeier Hansson
|
52a9e5089c
|
Added ActiveRecord::Base.inspect to return a column-view like #<Post id:integer, title:string, body:text> [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6549 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-21 17:35:09 +00:00 |
|
David Heinemeier Hansson
|
635c7f43dd
|
Run with the latest versions so beta gems will work
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6548 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-21 17:06:16 +00:00 |
|
David Heinemeier Hansson
|
c2f4681ab4
|
Added yielding of Builder instance for ActiveRecord::Base#to_xml calls [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6519 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-13 01:26:17 +00:00 |
|