bin/console
#!/usr/bin/env ruby
require "bundler/setup"
require "active_record-virtual_attributes"
# any helper that is not rspec specific
Dir['./spec/support/**/*.rb'].sort.select { |f| !File.read(f).include?("RSpec") }.each { |f| require f }
# models for local testing
Database.new.setup.migrate
# data for local testing
Author.create_with_books(3)
Author.create_with_books(4)
Author.create_with_books(2)
require "irb"
IRB.start(__FILE__)