Skip to content

Commit

Permalink
Gardening
Browse files Browse the repository at this point in the history
  • Loading branch information
fesplugas committed Mar 27, 2012
1 parent 4c5787a commit 0e78aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/typus/orm/base/class_methods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def custom_attribute?(field)
end

def virtual_fields
instance_methods.map(&:to_s) - model_fields.keys.map(&:to_s)
(instance_methods - model_fields.keys).map(&:to_s)
end

end
Expand Down

0 comments on commit 0e78aec

Please sign in to comment.