code update in section.rb to prep for gened constriants