Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | removing many unused variables | Aaron Patterson | 2010-11-16 | 1 | -1/+1 |
| | |||||
* | mysql tests are mostly passing | Aaron Patterson | 2010-10-26 | 1 | -3/+3 |
| | |||||
* | Fewer object allocations | Jeremy Kemper | 2010-09-09 | 1 | -3/+3 |
| | |||||
* | Cache unserialized attributes | Jeremy Kemper | 2010-09-09 | 1 | -9/+12 |
| | |||||
* | Do not use time zone in test_read_attributes_before_type_cast_on_datetime ↵ | Raimonds Simanovskis | 2010-08-22 | 1 | -3/+3 |
| | | | | | | for Oracle database As currently string_to_time method is not doing time zone conversion to database time zone | ||||
* | Both tests are using the same model, move the model to another file and add ↵ | Santiago Pastorino | 2010-08-14 | 1 | -1/+2 |
| | | | | the missing require | ||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -4/+4 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | ignore this test for mysql2 | Brian Lopez | 2010-08-09 | 1 | -13/+15 |
| | |||||
* | Making Active Record base_test.rb thinner by moving tests | Neeraj Singh | 2010-08-03 | 1 | -2/+276 |
| | | | | | | | | | | | | to relevant files. Number of assertions before refactoring: 2391 tests, 7579 assertions, 0 failures, 0 errors Number of assertions after refactoring: 2391 tests, 7579 assertions, 0 failures, 0 errors Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Use better assertion methods for testing | Neeraj Singh | 2010-05-19 | 1 | -1/+1 |
| | | | | | | [#4645 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | 1=2 is invalid expression in Oracle SELECT | Raimonds Simanovskis | 2009-08-06 | 1 | -2/+12 |
| | |||||
* | Extract generic attribute method generation to AMo | Joshua Peek | 2009-08-04 | 1 | -47/+0 |
| | |||||
* | Modified ActiveRecord::AttributeMethods to allow classes to specify ↵ | Paul Gillard | 2009-08-04 | 1 | -15/+79 |
| | | | | | | attribute method prefixes and/or suffixes. Previously only suffixes were allowed. Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Undefine id and let it automatically be generated | Joshua Peek | 2009-07-30 | 1 | -4/+0 |
| | |||||
* | Restore DangerousAttributeError | Joshua Peek | 2009-07-30 | 1 | -0/+14 |
| | |||||
* | Generate methods for all suffixes | Joshua Peek | 2009-07-30 | 1 | -14/+0 |
| | |||||
* | Make it so AR attributes which conflict with object-private methods (e.g. ↵ | Sam Goldstein | 2009-07-09 | 1 | -0/+16 |
| | | | | | | | | | system) don't 'randomly' cause NoMethodErrors Previously if you called this attribute before others, you'd get exceptions. But if it was the second-or-subsequent attribute you retrieved you'd get the correct behaviour. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2808 state:committed] | ||||
* | Ruby 1.9 compat: rename deprecated assert_raises to assert_raise. | Jeremy Kemper | 2009-03-08 | 1 | -1/+1 |
| | | | | [#1617 state:resolved] | ||||
* | Support true/false in query_attribute for calculated columns | Max Lapshin | 2009-02-06 | 1 | -0/+12 |
| | | | | | Signed-off-by: Tarmo Tänav <tarmo@itech.ee> Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | "raise NoMethodError" raises NoMethodError. Raise it with NoMethodError.new ↵ | Mike Gunderloy | 2008-10-25 | 1 | -4/+7 |
| | | | | | | instead. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Changed ActiveRecord attributes to respect access control. | Adam Milligan | 2008-09-24 | 1 | -4/+47 |
| | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1084 state:committed] | ||||
* | Base.skip_time_zone_conversion_for_attributes uses ↵ | miloops | 2008-09-14 | 1 | -0/+9 |
| | | | | class_inheritable_accessor, so that subclasses don't overwrite Base [#346 state:resolved] | ||||
* | Fix file permissions | Tarmo Tänav | 2008-07-31 | 1 | -0/+0 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Namespace Inflector, Dependencies, OrderedOptions, and TimeZone under ↵ | Joshua Peek | 2008-06-03 | 1 | -10/+10 |
| | | | | ActiveSupport [#238 state:resolved] | ||||
* | ActiveRecord time zone aware attributes: blank string is treated as nil when ↵ | gbuesing | 2008-05-08 | 1 | -0/+8 |
| | | | | assigned to writer | ||||
* | Fix Time.zone.parse from stripping time zone information and make Time aware ↵ | Scott Fleckenstein | 2008-05-08 | 1 | -0/+27 |
| | | | | attribute methods use Time.zone.parse instead of to_time | ||||
* | Removing unnecessary uses_tzinfo helper from tests, given that TZInfo is now ↵ | Geoff Buesing | 2008-03-30 | 1 | -39/+37 |
| | | | | | | bundled git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9150 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Time, DateTime and TimeWithZone #in_time_zone defaults to Time.zone. ↵ | Geoff Buesing | 2008-03-17 | 1 | -1/+1 |
| | | | | | | Removing now unneeded #in_current_time_zone. ActiveRecord time zone aware attributes updated to use #in_time_zone git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9047 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 | -40/+42 |
| | | | | | | 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 | -2/+59 |
| | | | | | | 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 | ||||
* | 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 | -1/+1 |
| | | | | 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/+146 |
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |