This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/activerecord_base_without_table/lib/active_record/base_without_table.rb b/activerecord_base_without_table/lib/active_record/base_without_table.rb | |
index da6cdc8..429d121 100644 | |
--- a/activerecord_base_without_table/lib/active_record/base_without_table.rb | |
+++ b/activerecord_base_without_table/lib/active_record/base_without_table.rb | |
@@ -6,6 +6,9 @@ module ActiveRecord | |
errors.empty? | |
end | |
+ # Prevent AR from associating to this record by ID; we should be serialized instead. | |
+ private :quoted_id |
NewerOlder