Hi, by switching to MySQL from SQLite, it fixed the problem. I ran
rdebug on it and it is trying to call
I ActiveRecord::Base.connection.begin_db_transaction. from
ActiveRecordSafetyListener.scenario_started. I don’t think SQLLite
likes transactions.
Ed
On Nov 15, 2007 10:56 AM, Ed Howland [email protected] wrote:
Scenario: add one plus one
from /usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/lib/sqlite3/resultset.rb:76:in
execute'
register_exit_hook’
Ed Howland
http://greenprogrammer.blogspot.com
“The information transmitted is intended only for the person or entity
to which it is addressed and may contain proprietary, confidential
and/or legally privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance
upon, this information by persons or entities other than the intended
recipient is prohibited. If you received this in error, please contact
the sender and delete the material from all computers.”
–
Ed Howland
“The information transmitted is intended only for the person or entity
to which it is addressed and may contain proprietary, confidential
and/or legally privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance
upon, this information by persons or entities other than the intended
recipient is prohibited. If you received this in error, please contact
the sender and delete the material from all computers.”
On Nov 15, 2007 11:58 AM, Ed Howland [email protected] wrote:
Hi, by switching to MySQL from SQLite, it fixed the problem. I ran
rdebug on it and it is trying to call
I ActiveRecord::Base.connection.begin_db_transaction. from
ActiveRecordSafetyListener.scenario_started. I don’t think SQLLite
likes transactions.
Why is this example engaging any sort of database? It shouldn’t need to.
On Nov 15, 2007 12:22 PM, David C. [email protected] wrote:
On Nov 15, 2007 11:58 AM, Ed Howland [email protected] wrote:
Hi, by switching to MySQL from SQLite, it fixed the problem. I ran
rdebug on it and it is trying to call
I ActiveRecord::Base.connection.begin_db_transaction. from
ActiveRecordSafetyListener.scenario_started. I don’t think SQLLite
likes transactions.
Why is this example engaging any sort of database? It shouldn’t need to.
No db is used. I don’t know why ActiveRecordSafetyListener is
registered.
Story: simple addition
When the addends are added (PENDING)
`initialize’
… 13 levels…
and/or legally privileged material. Any review, retransmission,
http://greenprogrammer.blogspot.com
http://rubyforge.org/mailman/listinfo/rspec-users
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users
–
Ed Howland
“The information transmitted is intended only for the person or entity
to which it is addressed and may contain proprietary, confidential
and/or legally privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance
upon, this information by persons or entities other than the intended
recipient is prohibited. If you received this in error, please contact
the sender and delete the material from all computers.”