Added helper method to attributes.rb file