app/models/semistatic/page.rb
def part(name)
      parts.select {|p| p.name.downcase == name.to_s.downcase }.first
    end
def part(name)
      parts.select {|p| p.name.downcase == name.to_s.downcase }.first
    end
get part by its name
 param
 @return Part