Re: [rspec-users] rspec rake tasks fail inside active record

2010-07-08 Thread andreyr
Hi David, it would be difficult to do as I would need to post something like 15 files that are used in the spec file, otherwise the code would make no sense. However, I have solved the problem. While trying to make a meaningful example for you, I narrowed the problem down to the single line of c

Re: [rspec-users] rspec rake tasks fail inside active record

2010-07-06 Thread David Chelimsky
On Jul 6, 2010, at 6:49 AM, andreyr wrote: > Hi, > > i have a problem that any of my rspec rake tasks fail with the following > error: > rake -f unittests.rake spec > ** Invoke spec (first_time) > ** Execute spec > C:/Ruby18/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/l

[rspec-users] rspec rake tasks fail inside active record

2010-07-06 Thread andreyr
Hi, i have a problem that any of my rspec rake tasks fail with the following error: rake -f unittests.rake spec ** Invoke spec (first_time) ** Execute spec C:/Ruby18/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/logger.rb:53: undefined method `datetime_format=' for class