Skip to Content Skip to Search
Methods
F
L
W

Class Public methods

feel(exhibits)

# File rails/activerecord/examples/performance.rb, line 44
def self.feel(exhibits) exhibits.each(&:feel) end

look(exhibits)

# File rails/activerecord/examples/performance.rb, line 43
def self.look(exhibits) exhibits.each(&:look) end

with_name()

# File rails/activerecord/examples/performance.rb, line 35
def self.with_name
  where("name IS NOT NULL")
end

with_notes()

# File rails/activerecord/examples/performance.rb, line 39
def self.with_notes
  where("notes IS NOT NULL")
end

Instance Public methods

feel()

# File rails/activerecord/examples/performance.rb, line 33
def feel; look; user.name end

look()

# File rails/activerecord/examples/performance.rb, line 32
def look; attributes end