Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Use immutable relation objects to generate queries. | Emilio Tagua | 2009-08-18 | 1 | -1/+1 | |
| | | ||||||
* | | Use finder options as relation method names to provide more familiar | Emilio Tagua | 2009-08-18 | 1 | -1/+1 | |
| | | | | | | | | | | naming. Use bang methods convention in methods that alter the relation. | |||||
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-08-17 | 1 | -10/+8 | |
|\| | ||||||
| * | Remove support for SQLite 2. | Pratik Naik | 2009-08-17 | 1 | -10/+8 | |
| | | | | | | | | If you're still using it, please install the plugin from git://github.com/rails/sqlite2_adapter.git | |||||
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-08-10 | 1 | -1/+46 | |
|\| | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/calculations.rb activerecord/lib/active_record/connection_adapters/mysql_adapter.rb activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | |||||
| * | With multiparameter date attributes, the behaviour when empty fields are ↵ | Hugo Peixoto | 2009-08-09 | 1 | -1/+46 | |
| | | | | | | | | | | | | | | | | present is now coherent with the one described in the date_select documentation. [#1715 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-08-08 | 1 | -0/+17 | |
|\| | | | | | | | | | | | Conflicts: activerecord/test/cases/adapter_test.rb activerecord/test/cases/method_scoping_test.rb | |||||
| * | Add destroyed? to ActiveRecord, include tests for polymorphic urls for ↵ | José Valim | 2009-08-07 | 1 | -0/+17 | |
| | | | | | | | | destroyed objects and refactor mime responds tests and documentation. | |||||
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-08-05 | 1 | -0/+69 | |
|\| | ||||||
| * | quoted_date converts time-like objects to ↵ | Geoff Buesing | 2009-08-03 | 1 | -0/+69 | |
| | | | | | | | | ActiveRecord::Base.default_timezone before serialization. This allows you to use Time.now in find conditions and have it correctly be serialized as the current time in UTC when default_timezone == :utc [#2946 state:resolved] | |||||
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-07-31 | 1 | -5/+0 | |
|\| | | | | | | | | | Conflicts: activerecord/lib/active_record/associations.rb | |||||
| * | Undefine id and let it automatically be generated | Joshua Peek | 2009-07-30 | 1 | -5/+0 | |
| | | ||||||
* | | Introduced ActiveRecord::Relation, a layer between an ARel relation and an ↵ | Emilio Tagua | 2009-07-21 | 1 | -1/+1 | |
|/ | | | | AR relation | |||||
* | Add primary_key option to belongs_to association | Szymon Nowak | 2009-07-15 | 1 | -1/+1 | |
| | | | | | | [#765 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Added AR:B#dup method for duplicationg object without frozen attributes ↵ | Yehuda Katz + Carl Lerche | 2009-07-01 | 1 | -0/+4 | |
| | | | | | [#2859 state:resolved] Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | |||||
* | Revert "Revert "Generate proper :counter_sql from :finder_sql when there is ↵ | Pratik Naik | 2009-07-01 | 1 | -3/+3 | |
| | | | | | | | | | a newline character immediately following 'SELECT' [#2118 state:resolved]"" This reverts commit 80f1f863cd0f9cba89079511282de5710a2e1832. The feature doesn't work on Postgres, so don't test it on Postgres. Also, Postgres compatibility is irrelevant to the ticket/patch in question. | |||||
* | Revert "Generate proper :counter_sql from :finder_sql when there is a ↵ | Yehuda Katz + Carl Lerche | 2009-06-22 | 1 | -3/+3 | |
| | | | | | | | | newline character immediately following 'SELECT' [#2118 state:resolved]" This reverts commit 4851ca9e13a4317342df02ae25b1929340523f7a. The tests do not pass for postgresql. | |||||
* | Generate proper :counter_sql from :finder_sql when there is a newline ↵ | Patrick Joyce | 2009-06-21 | 1 | -3/+3 | |
| | | | | | | character immediately following 'SELECT' [#2118 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | disabled base_test.rb tests that were not Oracle compatible (TIME datatype ↵ | Raimonds Simanovskis | 2009-06-09 | 1 | -30/+41 | |
| | | | | | | is not supported on Oracle, UPDATE does not support ORDER BY) _before_type_cast on Oracle returns Time and not String added Oracle specific schema definition that was missing for test_default_values test Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Cherry-pick core extensions | Jeremy Kemper | 2009-05-13 | 1 | -0/+1 | |
| | ||||||
* | Fix models load order to be able to run unit tests. | Emilio Tagua | 2009-04-23 | 1 | -3/+3 | |
| | | | | | | [#2550 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Add microsecond support for sqlite adapter [#1982 state:resolved] | Alex Pooley | 2009-04-21 | 1 | -1/+1 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Specify :group with the table name for it to work on sqlite3 | Pratik Naik | 2009-04-21 | 1 | -1/+1 | |
| | ||||||
* | Allow find(:last) :order be a symbol [#2024 state:resolved] | Rob Anderton | 2009-03-09 | 1 | -0/+5 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Ruby 1.9 compat: rename deprecated assert_raises to assert_raise. | Jeremy Kemper | 2009-03-08 | 1 | -9/+9 | |
| | | | | [#1617 state:resolved] | |||||
* | DRY with_kcode in Active Record tests | Pratik Naik | 2009-03-07 | 1 | -14/+0 | |
| | ||||||
* | Fix that scoped find with :group and :having [#2006 state:resolved] | Mike Gunderloy | 2009-02-28 | 1 | -0/+7 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Add array id support to Model.update_counters. [#1254 state:resolved] ↵ | Pratik Naik | 2009-01-28 | 1 | -0/+7 | |
| | | | | [Carlos Júnior] | |||||
* | ActiveRecord::Base#new_record? now returns false for existing records (was ↵ | Yaroslav Markin | 2008-12-27 | 1 | -0/+5 | |
| | | | | | | nil) [#1219 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | |||||
* | Ensure of Model#create support custom updated_at and updated_on attributes ↵ | Luis Hurtado | 2008-12-22 | 1 | -0/+10 | |
| | | | | | | [#1612 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | 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] |