lib/galleries.rb
#Gets the name of artist objects
Gets the name of artist objects
Gets the name of artist objects
def artist_name
        self.artists.collect do |artist|
            artist.name
        end
    end
def artist_name self . artists . collect do | artist | artist . name end end
Gets the name of artist objects
Gets the name of artist objects