add picture
has_attahed_file :avatar,
  :path => ":rails_root/public/system/:attachment/:id/:style/:filename"
  :url => "/system/:attachment/:id/:style/:filename"