forceps 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -57,17 +57,17 @@ module Forceps
57
57
 
58
58
  if Rails::VERSION::MAJOR >= 4
59
59
  def self.instantiate(record, column_types = {})
60
- __prepare_sti_column_for_forceps(record)
60
+ __make_sti_column_point_to_forceps_remote_class(record)
61
61
  super
62
62
  end
63
63
  else
64
64
  def self.instantiate(record)
65
- __prepare_sti_column_for_forceps(record)
65
+ __make_sti_column_point_to_forceps_remote_class(record)
66
66
  super
67
67
  end
68
68
  end
69
69
 
70
- def self.__prepare_sti_column_for_forceps(record)
70
+ def self.__make_sti_column_point_to_forceps_remote_class(record)
71
71
  if record[inheritance_column].present?
72
72
  record[inheritance_column] = "Forceps::Remote::#{record[inheritance_column]}"
73
73
  end
@@ -1,3 +1,3 @@
1
1
  module Forceps
2
- VERSION = "0.6.1"
2
+ VERSION = "0.6.2"
3
3
  end
Binary file
Binary file