lib/get_table.rb in active_finite-0.1.5 vs lib/get_table.rb in active_finite-0.2.0
- old
+ new
@@ -1,5 +1,6 @@
-require 'active_record'
+require 'external_includes'
+require_relative 'as_class_name.rb'
def get_table sym, *args
class_name = as_class_name sym
class_not_defined = not(Object.const_defined? class_name)
should_force = args.any? {|x| x == :force}