
Untitled
By: a guest on
May 5th, 2012 | syntax:
None | size: 0.72 KB | hits: 11 | expires: Never
Index: lib/entity.rb
===================================================================
--- lib/entity.rb (revision 4448)
+++ lib/entity.rb (working copy)
@@ -50,11 +50,7 @@
# Create methods that determine whether entity is on named search engine
SearchEngine.ALL.each do | se |
send :define_method, "on_#{se.short_name.downcase}?" do
- # This is the last time I fix this. If one more person comes in here and
- # changes it to something that can't handle new records, I'm going to kill
- # their entire fucking family.
-#adding a try to work around nil engine that keeps coming up for new records
- self.engine.try(:SeId) == se.id
+ self.engine == se
end
end