Displaying 1 result from an estimated 1 matches for "cached_version".
2007 Apr 04
1
pontential bug in rspec_on_rails and ActiveRecord transactions
...ntact into database but after the exception has been raised, the Rails
will make a rollback on transaction.
Running in console:
Url.create!(:url => ''http://example.com'')
Will yield following SQL (taken from the log)
BEGIN
INSERT INTO urls (`icon_url`, `domain`, `url`, `cached_version`,
`description`, `created_at`) VALUES(NULL, NULL,
''http://www.example.com/'', 0, NULL, ''2007-04-04 15:36:08'')
INSERT INTO contacts (`internal_id`, `name`, `updated_at`,
`primary_email`, `notes`, `user_id`, `created_at`) VALUES(NULL, NULL,
''2007-04-0...