class Exhibit
Public Class Methods
# File activerecord/examples/performance.rb, line 44 def self.feel(exhibits) exhibits.each(&:feel) end
# File activerecord/examples/performance.rb, line 43 def self.look(exhibits) exhibits.each(&:look) end
# File activerecord/examples/performance.rb, line 35 def self.with_name where("name IS NOT NULL") end
# File activerecord/examples/performance.rb, line 39 def self.with_notes where("notes IS NOT NULL") end
Public Instance Methods
# File activerecord/examples/performance.rb, line 33 def feel; look; user.name end
# File activerecord/examples/performance.rb, line 32 def look; attributes end