app/models/user.rb
# The user may be author of question/questionnaire

The user may be author of question/questionnaire
The user may be author of question / questionnaire
def update_user_list
    self.email     = self.email.strip.downcase
    u_l            = UserList.where(:email => self.email).first
    self.user_list = u_l
  end
def update_user_list self . email = self . email . strip . downcase u_l = UserList . where ( :email => self . email ) . first self . user_list = u_l end
The user may be author of question/questionnaire
The user may be author of question / questionnaire