simple_record 2.1.11 → 2.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/simple_record/attributes.rb +2 -2
- metadata +1 -1
@@ -243,9 +243,9 @@ module SimpleRecord
|
|
243
243
|
end
|
244
244
|
|
245
245
|
def handle_virtuals(attrs)
|
246
|
-
puts 'handle_virtuals'
|
246
|
+
#puts 'handle_virtuals'
|
247
247
|
self.class.virtuals.each do |virtual|
|
248
|
-
|
248
|
+
# puts 'virtual=' + virtual.inspect
|
249
249
|
#we first copy the information for the virtual to an instance variable of the same name
|
250
250
|
send("#{virtual}=", attrs[virtual])
|
251
251
|
#eval("@#{virtual}=attrs['#{virtual}']")
|