Update helpers.rb

Added warning to unaccessible nested attribute