Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixed dumping from postgresql columns in index in wrong order. [#2515 ↵ | Max Lapshin | 2009-04-21 | 1 | -0/+2 | |
| | | | | | | state:resolved] Signed-off-by: Tarmo Tänav <tarmo@itech.ee> | |||||
* | Quote table names when casting to regclass so that capitalized tables are ↵ | Scott Woods | 2009-04-21 | 1 | -0/+4 | |
| | | | | | | supported. [#2418 state:resolved] Signed-off-by: Tarmo Tänav <tarmo@itech.ee> | |||||
* | Added :touch option to belongs_to associations that will touch the parent ↵ | David Heinemeier Hansson | 2009-04-16 | 1 | -0/+2 | |
| | | | | record when the current record is saved or destroyed [DHH] | |||||
* | Ensure has_many :through works with changed primary keys [#736 state:resolved] | Jim Remsik and Tim Pope | 2009-03-09 | 1 | -0/+5 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Ensure validates_uniqueness_of considers limit on the field. [#1042 ↵ | Arthur Klepchukov | 2009-03-07 | 1 | -0/+4 | |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Add support for nested object forms to ActiveRecord and the helpers in ↵ | Eloy Duran | 2009-02-01 | 1 | -0/+11 | |
| | | | | | | | | ActionPack Signed-Off-By: Michael Koziarski <michael@koziarski.com> [#1202 state:committed] | |||||
* | Sqlite adapter's copy_table incorrectly attempts to recreate a primary key ↵ | Jacob Dunphy | 2009-01-29 | 1 | -0/+5 | |
| | | | | | | | | | id (:id => true in the create_table) if an :id column is present, even if it isn't a primary_key. This fix sets :id => false if there is an :id column, but it's not the primary_key. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1766 state:committed] | |||||
* | Fix dirty handling of nullable non-integer numeric columns [#1692 ↵ | Carlos Kozuszko | 2009-01-16 | 1 | -0/+1 | |
| | | | | | | state:resolved] Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com> | |||||
* | Preload uses exclusive scope [#643 state:resolved] | Frederick Cheung | 2008-12-26 | 1 | -2/+4 | |
| | | | | | | | | | With self referential associations, the scope for the the top level should not affect fetching of associations, for example when doing Person.male.find :all, :include => :friends we should load all of the friends for each male, not just the male friends. | |||||
* | Fix preloading of has_one :through associations on belongs_to [#1507 ↵ | Matt Jones | 2008-12-18 | 1 | -0/+5 | |
| | | | | | | state:resolved] Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com> | |||||
* | Remove SQL Server cases from tests for latest adapter work to pass rails ↵ | Ken Collins | 2008-11-19 | 1 | -5/+0 | |
| | | | | | | expected behavior. Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | fix assignment to has_one :through associations. | Matt Jones | 2008-11-15 | 1 | -0/+10 | |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Create mysql binary_fields table with latin1 character set as with utf8 all ↵ | Tarmo Tänav | 2008-08-26 | 1 | -2/+2 | |
| | | | | | | the limits would have to be divided by 3 to get the expected text types Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | coerce blank strings to nil values for boolean and integer fields | Josh Susser | 2008-08-22 | 1 | -1/+1 | |
| | | | | [#860 state:resolved] | |||||
* | update_counters should update nil values. | miloops | 2008-07-15 | 1 | -0/+1 | |
| | | | | | | This allows counter columns with default null instead of requiring default 0. [#493 state:resolved] | |||||
* | Add has_many :primary_key option to allow setting the primary key on a has ↵ | Andre Arko | 2008-07-06 | 1 | -0/+1 | |
| | | | | | | many association Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Always treat integer :limit as byte length. [#420 state:resolved] | Tarmo Tänav | 2008-06-22 | 1 | -0/+7 | |
| | ||||||
* | Fix validates_uniqueness_of for SQL keywords [#23 state:resolved] | Alex MacCaw | 2008-05-11 | 1 | -0/+4 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Fixed AssociationsPreload such that it doesnt require foreign keys to be ↵ | David Heinemeier Hansson | 2008-04-30 | 1 | -0/+5 | |
| | | | | integers (fcheung) [#33 state:resolved] | |||||
* | Fixed that pessimistic locking you reference the quoted table name (Josh ↵ | David Heinemeier Hansson | 2008-04-30 | 1 | -0/+1 | |
| | | | | Susser) [#67 state:resolved] | |||||
* | Ensure postgresql tests work when starting from scratch. | Frederick Cheung | 2008-04-30 | 1 | -1/+1 | |
| | ||||||
* | Ensure table names are quoted by the association preloading code. | Frederick Cheung | 2008-04-26 | 1 | -0/+11 | |
| | | | | | | [#45 state:resolved] Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Use schema.rb for all databases | Frederick Cheung | 2008-04-22 | 38 | -2873/+421 | |
| | | | | | | Move adapter specific schema into their own files Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Add support for interleaving migrations by storing which migrations have run ↵ | Rick Olson | 2008-04-09 | 1 | -1/+1 | |
| | | | | | | in the new schema_migrations table. Closes #11493 [jordi] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9244 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Fix schema.rb some more. sponsors.sponsorable_type should be a string. ↵ | Jeremy Kemper | 2008-03-21 | 1 | -1/+1 | |
| | | | | | | References #4756. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9073 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Fix schema.rb. Please to be testing on more than just MySQL! References #9067. | Jeremy Kemper | 2008-03-21 | 1 | -24/+24 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9072 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Add has_one :through support, finally. Closes #4756 [thechrisoshow] | Rick Olson | 2008-03-21 | 1 | -0/+21 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9067 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Make the mysql schema dumper roundtrip the limits of text/blob columns. ↵ | Michael Koziarski | 2008-03-02 | 1 | -0/+11 | |
| | | | | | | Closes #7424 [will.bryant] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8969 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | PostgreSQL: support server versions 7.4 through 8.0 and the ruby-pg driver. ↵ | Jeremy Kemper | 2008-02-22 | 1 | -1/+3 | |
| | | | | | | Closes #11127 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8922 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Move the eager load nested include tables into schema.rb and use delete_all ↵ | Michael Koziarski | 2008-02-20 | 1 | -0/+19 | |
| | | | | | | instead of drop table to reset the state. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8914 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Fix has_many :through a polymorphic has_many. Closes #10529 [Aleksey ↵ | Jeremy Kemper | 2008-02-02 | 1 | -0/+6 | |
| | | | | | | Kondratenko] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8776 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Fixed preloading belongs_to associations which reference a custom foreign ↵ | Jeremy Kemper | 2008-01-31 | 1 | -0/+9 | |
| | | | | | | key. References #9640. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8762 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Add posts.comments_count for other databases. Closes #10804. | Jeremy Kemper | 2008-01-28 | 1 | -0/+2 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8745 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Make sure that belongs_to counter decrements when assigning nil Closes ↵ | Michael Koziarski | 2008-01-26 | 1 | -0/+1 | |
| | | | | | | #10804 [jeanmartin] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8735 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | belongs_to supports :dependent => :destroy and :delete. Closes #10592. | Jeremy Kemper | 2008-01-19 | 1 | -1/+1 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8675 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | move schema | Jeremy Kemper | 2008-01-18 | 34 | -0/+2932 | |
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8659 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |