unit-record
unit-record copied to clipboard
Enables testing ActiveRecord classes without hitting the database.
We have had some changes sitting around for a while that we should have made a PR for earlier. We also just upgraded our app to Rails 3.2 and needed...
Hi Dan, I have made a small change to unit_record making it compatible with Rails 3.0. Would you accept the pull request and release a new version of the gem....
currently after : ``` require "unit_record" ActiveRecord::Base.disconnect! ``` one gets : uninitialized constant ActiveRecord::ConnectionAdapters::UnitRecordAdapter::Rails (NameError) cause of : unit_record-0.9.1/lib/active_record/connection_adapters/unit_record_adapter.rb:62
Hi. I am using postgresql. Now I wanted to use unit_record to speed up my tests. However I realise that it fails with NoMethodError: undefined method `indexes' for #ActiveRecord::ConnectionAdapters::UnitRecordAdapter:0x7fa18f27ba90 It...