Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove SQL Server cases from tests for latest adapter work to pass rails ↵ | Ken Collins | 2008-11-19 | 1 | -8/+5 |
| | | | | | | expected behavior. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Fixed that serialized strings should never be type-casted (i.e. turning ↵ | David Heinemeier Hansson | 2008-10-27 | 1 | -0/+6 |
| | | | | "Yes" to a boolean)(Andreas Korth) [#857 state:committed] | ||||
* | Merge branch 'patches' into multibyte | Michael Koziarski | 2008-09-22 | 1 | -0/+26 |
|\ | |||||
| * | Add Model#delete instance method, similar to Model.delete class method. ↵ | Hongli Lai (Phusion | 2008-09-21 | 1 | -0/+26 |
| | | | | | | | | | | | | [#1086 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | | Fix a test that assumes .mb_chars to always return an instance of the ↵ | Manfred Stienstra | 2008-09-21 | 1 | -7/+23 |
| | | | | | | | | proxy_class. | ||||
* | | Change all calls to String#chars to String#mb_chars. Remove a exception for ↵ | Manfred Stienstra | 2008-09-21 | 1 | -2/+2 |
|/ | | | | Ruby <= 1.9. | ||||
* | Multiparameter attributes skip time zone conversion for time-only columns ↵ | gbuesing | 2008-09-14 | 1 | -0/+18 |
| | | | | [#1030 state:resolved] | ||||
* | Support :limit on update_all so that has_many with :limit can be safely updated | Tarmo Tänav | 2008-09-10 | 1 | -4/+15 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Revert "Revert "Raise UnknownAttributeError when unknown attributes are ↵ | Jeremy Kemper | 2008-09-08 | 1 | -0/+8 |
| | | | | | | supplied via mass assignment"" This reverts commit 41efd73887c00ffd228b05d9346ec47a1f3759b9. | ||||
* | Revert "Raise UnknownAttributeError when unknown attributes are supplied via ↵ | Jeremy Kemper | 2008-09-06 | 1 | -8/+0 |
| | | | | | | mass assignment" This reverts commit 108db00aa90fe266564483ab301cf0669cae600f. | ||||
* | Deprecate verification_timeout and verify before reset | Nick Sieger | 2008-09-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Deprecate allow_concurrency and make it have no effect | Nick Sieger | 2008-08-29 | 1 | -1/+1 |
| | |||||
* | fix another ordering failure | Jeremy Kemper | 2008-08-26 | 1 | -1/+1 |
| | |||||
* | coerce blank strings to nil values for boolean and integer fields | Josh Susser | 2008-08-22 | 1 | -1/+9 |
| | | | | [#860 state:resolved] | ||||
* | Fixed Time/Date object serialization | Tarmo Tänav | 2008-08-12 | 1 | -0/+6 |
| | | | | | Time/Date objects used to be converted to_s instead of to_uaml which made them unserializable. | ||||
* | Added missing fixtures for tests which fail to run independently if run ↵ | Tarmo Tänav | 2008-08-04 | 1 | -1/+1 |
| | | | | | | after schema reset Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Fix file permissions | Tarmo Tänav | 2008-07-31 | 1 | -0/+0 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Raise UnknownAttributeError when unknown attributes are supplied via mass ↵ | Pratik Naik | 2008-07-31 | 1 | -0/+8 |
| | | | | assignment | ||||
* | update_counters should update nil values. | miloops | 2008-07-15 | 1 | -2/+19 |
| | | | | | | This allows counter columns with default null instead of requiring default 0. [#493 state:resolved] | ||||
* | Namespace Inflector, Dependencies, OrderedOptions, and TimeZone under ↵ | Joshua Peek | 2008-06-03 | 1 | -14/+14 |
| | | | | ActiveSupport [#238 state:resolved] | ||||
* | Added block-setting of attributes for Base.create like Base.new already has ↵ | David Heinemeier Hansson | 2008-04-30 | 1 | -0/+21 |
| | | | | (Adam Meehan) [#39 state:resolved] | ||||
* | Let Base.all use conditions etc like first/last | David Heinemeier Hansson | 2008-04-28 | 1 | -0/+4 |
| | |||||
* | Use schema.rb for all databases | Frederick Cheung | 2008-04-22 | 1 | -1/+1 |
| | | | | | | Move adapter specific schema into their own files Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Partial updates include only unsaved attributes. Off by default; set ↵ | Jeremy Kemper | 2008-03-31 | 1 | -0/+1 |
| | | | | | | YourClass.partial_updates = true to enable. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9157 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Removing unnecessary uses_tzinfo helper from tests, given that TZInfo is now ↵ | Geoff Buesing | 2008-03-30 | 1 | -19/+17 |
| | | | | | | bundled git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9150 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix some mistaken dependencies among AR unit tests. Closes #11425 ↵ | Jeremy Kemper | 2008-03-28 | 1 | -2/+2 |
| | | | | | | [thechrisoshow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9118 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Make sure ActiveRecord tests can run individually. Closes #11425 ↵ | Pratik Naik | 2008-03-28 | 1 | -1/+4 |
| | | | | | | [thechrisoshow, h-lame] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9109 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added ActiveRecord#Base.all/first/last as aliases for ↵ | David Heinemeier Hansson | 2008-03-24 | 1 | -0/+4 |
| | | | | | | find(:all/:first/:last) (closes #11413) [nkallen, thechrisoshow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9085 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Merge the has_finder gem, renamed as 'named_scope'. Closes #11404 [nkallen] | Rick Olson | 2008-03-24 | 1 | -18/+22 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9084 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added ActiveRecord::Base.find(:last) (closes #11338) [miloops] | David Heinemeier Hansson | 2008-03-12 | 1 | -0/+27 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9012 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Revert to previous mysql-specific assertion, and only run the test on mysql. | Michael Koziarski | 2008-02-20 | 1 | -3/+5 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8913 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | remove implicit assumption about mysql in the assertion | Michael Koziarski | 2008-02-20 | 1 | -2/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8912 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Correct typo in before_type_cast code. Closes #11165 [amishyn] | Michael Koziarski | 2008-02-19 | 1 | -1/+17 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8898 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | ActiveRecord::Base#instantiate_time_object only uses Time.zone when ↵ | Geoff Buesing | 2008-02-16 | 1 | -0/+15 |
| | | | | | | Base.time_zone_aware_attributes is true; leverages Time#time_with_datetime_fallback for readability git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8882 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Remove options from the attributes method, tidy up the implementation. ↵ | Michael Koziarski | 2008-02-13 | 1 | -17/+0 |
| | | | | | | Closes #11093 [juanjo.bazan, Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8863 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Multiparameter attributes for time columns fail over to DateTime when out of ↵ | Geoff Buesing | 2008-02-10 | 1 | -0/+11 |
| | | | | | | range of Time git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8855 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add uses_tzinfo to active record tests to prevent breaking the cc.rb build ↵ | Michael Koziarski | 2008-02-06 | 1 | -18/+20 |
| | | | | | | etc. Closes #11034 [mpalmer] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8808 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add Time Zone support to ActiveRecord, and config.time_zone property for ↵ | Rick Olson | 2008-02-06 | 1 | -0/+52 |
| | | | | | | specifying a default Time Zone. Closes #10982 [Geoff Buesing, rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8806 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Make sure that belongs_to counter decrements when assigning nil Closes ↵ | Michael Koziarski | 2008-01-26 | 1 | -1/+1 |
| | | | | | | #10804 [jeanmartin] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8735 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Merge branch 'ar-test-cleanup' of git://git.geeksomnia.com/rails | Jeremy Kemper | 2008-01-21 | 1 | -2/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8681 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix paths | Jeremy Kemper | 2008-01-18 | 1 | -14/+14 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8661 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Move tests to cases | Jeremy Kemper | 2008-01-18 | 1 | -0/+1831 |
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |