Permalink
Browse files

removed debugger line

  • Loading branch information...
1 parent e2aec04 commit 28abe468a375e36661310915ee1d54f744190a1b @markgandolfo committed Aug 16, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/associated_with.rb
View
@@ -2,6 +2,8 @@ module AssociatedWith
def associated_with? object
class_name = object.class.to_s.downcase
+ a = self.class.reflect_on_association(class_name.to_sym)
+
if self.respond_to?(class_name.pluralize)
association = class_name.pluralize
return self.__send__(association).include?(object)

0 comments on commit 28abe46

Please sign in to comment.