Andre Arko
|
3351d29970
|
Add has_many :primary_key option to allow setting the primary key on a has many association
Signed-off-by: Michael Koziarski <michael@koziarski.com>
|
2008-07-06 20:25:10 +02:00 |
|
Tarmo Tänav
|
baddea95e1
|
Always treat integer :limit as byte length. [#420 state:resolved]
|
2008-06-22 20:42:31 -07:00 |
|
Alex MacCaw
|
4cc594bd70
|
Fix validates_uniqueness_of for SQL keywords [#23 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-05-11 19:30:03 +01:00 |
|
David Heinemeier Hansson
|
6f20efdaf7
|
Fixed AssociationsPreload such that it doesnt require foreign keys to be integers (fcheung) [#33 state:resolved]
|
2008-04-30 23:30:50 -05:00 |
|
David Heinemeier Hansson
|
c353794dff
|
Fixed that pessimistic locking you reference the quoted table name (Josh Susser) [#67 state:resolved]
|
2008-04-30 15:04:08 -05:00 |
|
Frederick Cheung
|
44d2142352
|
Ensure table names are quoted by the association preloading code.
[#45 state:resolved]
Signed-off-by: Michael Koziarski <michael@koziarski.com>
|
2008-04-26 12:14:50 +12:00 |
|
Frederick Cheung
|
a4fc93c3a9
|
Use schema.rb for all databases
Move adapter specific schema into their own files
Signed-off-by: Michael Koziarski <michael@koziarski.com>
|
2008-04-22 13:55:13 +12:00 |
|
Jeremy Kemper
|
98d87f38fc
|
Fix schema.rb some more. sponsors.sponsorable_type should be a string. References #4756.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9073 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-21 23:15:21 +00:00 |
|
Jeremy Kemper
|
36baabe24c
|
Fix schema.rb. Please to be testing on more than just MySQL! References #9067.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9072 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-21 23:10:42 +00:00 |
|
Rick Olson
|
273b21faa9
|
Add has_one :through support, finally. Closes #4756 [thechrisoshow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9067 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-21 18:09:03 +00:00 |
|
Michael Koziarski
|
c1abe44306
|
Make the mysql schema dumper roundtrip the limits of text/blob columns. Closes #7424 [will.bryant]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8969 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-02 04:42:10 +00:00 |
|
Michael Koziarski
|
44c169397a
|
Move the eager load nested include tables into schema.rb and use delete_all instead of drop table to reset the state.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8914 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-20 05:31:03 +00:00 |
|
Jeremy Kemper
|
b1ea27630d
|
Fix has_many :through a polymorphic has_many. Closes #10529 [Aleksey Kondratenko]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8776 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-02 03:27:31 +00:00 |
|
Jeremy Kemper
|
be827f9348
|
Fixed preloading belongs_to associations which reference a custom foreign key. References #9640.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8762 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-31 07:50:15 +00:00 |
|
Jeremy Kemper
|
859ca3a1ea
|
Add posts.comments_count for other databases. Closes #10804.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8745 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-28 18:45:12 +00:00 |
|
Michael Koziarski
|
c48f744400
|
Make sure that belongs_to counter decrements when assigning nil Closes #10804 [jeanmartin]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8735 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-26 06:23:03 +00:00 |
|
Jeremy Kemper
|
16b129a68c
|
belongs_to supports :dependent => :destroy and :delete. Closes #10592.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8675 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-19 05:30:42 +00:00 |
|
Jeremy Kemper
|
105a27f39e
|
move schema
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8659 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-18 07:29:00 +00:00 |
|