[rspec-devel] Postgresql Warnings (was Re: Rpec with Locomo

aslak hellesoy aslak.hellesoy at gmail.com
Thu Oct 12 09:51:13 EDT 2006


Feel free to post a bug report with a description (attach some files)
about how to reproduce this behaviour.

Aslak

On 10/12/06, David Lee <david at davelee.com.au> wrote:
> It may be worth mentioning I get plenty of warnings with Postgresql and
> RSpec about transactions when i run my specs - this for each specify block:
>
> WARNING:  there is no transaction in progress
> .WARNING:  there is already a transaction in progress
> /opt/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/validations.rb:300:
> warning: Object#type is deprecated; use Object#class
> /opt/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/validations.rb:300:
> warning: Object#type is deprecated; use Object#class
> /opt/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/validations.rb:300:
> warning: Object#type is deprecated; use Object#class
> /opt/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/validations.rb:300:
> warning: Object#type is deprecated; use Object#class
> /opt/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/validations.rb:300:
> warning: Object#type is deprecated; use Object#class
> WARNING:  there is no transaction in progress
>
>
> cheers,
> David
>
>
> On 12/10/2006, at 9:27 PM, Bolo Michelin wrote:
> Hello
>
> I turn off transactional_fixture
> self.use_transactional_fixtures = false
>
> But when i tested rcpec have this error
>
>  pc-mq-dsi3:~/Documents/Coding-Dev/expay_corporate
> bmichelin$ spec spec/models/faq_spec.rb
>
> /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib/sqlite3/errors.rb:94:in
> `check': cannot rollback - no transaction is active (SQLite3::SQLException)
>
> thanks
>
> --
> Bolo Michelin
> web: http://www.independza.com
> _______________________________________________
> rspec-devel mailing list
> rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel
>
> _______________________________________________
> rspec-devel mailing list
> rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel
>
>


More information about the rspec-devel mailing list