simple_record 2.1.11 → 2.1.12
Sign up to get free protection for your applications and to get access to all the features.
- 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}']")
|