Not a huge deal, but is there a better way to handle timezone issues in
unit tests? in activerecord/test/base_test.rb, I'm finding that
2003-07-16t15:28:00.00+01:00
is presumed to be
2003-07-16 09:28:00
which it is, in Chicago. But out in sunny California, that's 7:28am, so
t
Does the latter also work ok for MySQL, etc?
I can confirm it works for mysql 4.1 and postgres, 8.1 and appears
fine on sqlite 2.
I can confirm it works for SQL Server 2000 as well.
--
Jakob Skjerning - http://mentalized.net
___
Rails-core mailing
Michael Koziarski wrote:
I can confirm it works for mysql 4.1 and postgres, 8.1 and appears
fine on sqlite 2.
Great. I've got a few patches for the Oracle adapter as well, would you
like it all bundled together, or 2 patches, one for assocations.rb, and
one for oracle_adapter.rb?
_
On 3/14/06, Michael Schoen <[EMAIL PROTECTED]> wrote:
> The changes to improve table aliasing in [3776] broke all sorts of
> associations for Oracle.
>
> The issue is that Oracle doesn't allow for table aliases using the AS
> keyword.
>
> ... LEFT OUTER JOIN authors AS authors ...
>
> is no
The changes to improve table aliasing in [3776] broke all sorts of
associations for Oracle.
The issue is that Oracle doesn't allow for table aliases using the AS
keyword.
... LEFT OUTER JOIN authors AS authors ...
is no good, but
... LEFT OUTER JOIN authors authors ...
is j
The tickets currently 'highlighted' for extra review by the core team
are in the following report:
http://dev.rubyonrails.org/report/19
If your favourite ticket isn't on that list, please add the
needs_review keyword so we can have a look. If one of the core team
removes the keyword, don't tak
I'd like one (1) moon, and at least three to four stars, depending on
density and luminosity. Oh, and a bagel.
-Kyle
___
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core
> The exception will be raised anytime Fixture#find is called. In my
> case, it happens during setup because it seems
> use_instantiated_fixtures is true ?! More on that in another E-Mail.
>
> Anyway, I properly configured TestCase, and now everything works with HEAD.
>
> Thanks !
> --
> François
2006/3/13, Rick Olson <[EMAIL PROTECTED]>:
> What are you trying to do? If this is a habtm, there is no join
Load the fixtures on setup.
> model, so you shouldn't be calling categories_screenshots(:foo). If
> it is a join model that's named differently, then you need to set the
> proper fixture
On 3/13/06, Francois Beausoleil <[EMAIL PROTECTED]> wrote:
> http://dev.rubyonrails.org/changeset/3804
>
> This test case fails in r3804 and later:
>
> class CategoriesControllerTest < Test::Unit::TestCase
> fixtures :categories_screenshots
>
> def test_update
> ...
> end
> end
>
> 11) E
Ticket #3692. Major bug with has_and_belongs_to_many relations.
Michael Koziarski wrote:
Hey guys,
We're now beginning to finalise rails 1.1, and we need to make sure
that we don't miss any heinous bugs. While we'll all be giving the
list a once over, we're only human and we're likely to mis
http://dev.rubyonrails.org/changeset/3804
This test case fails in r3804 and later:
class CategoriesControllerTest < Test::Unit::TestCase
fixtures :categories_screenshots
def test_update
...
end
end
11) Error:
test_update_accepts_screenshot(CategoriesControllerTest):
FixtureClassNotFo
On 2/26/06, Michael Koziarski <[EMAIL PROTECTED]> wrote:
> We're now beginning to finalise rails 1.1, and we need to make sure
> that we don't miss any heinous bugs. While we'll all be giving the
> list a once over, we're only human and we're likely to miss things.
>
> So, if you have any tickets
13 matches
Mail list logo