Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: end config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { address: 'smtp.gmail.com', port: 587, domain: 'gmail.com', user_name: 'mygmail@gmail.com', password: 'password', authentication: 'plain', enable_starttls_auto: true } config.action_mailer.default_url_options = { :host => "localhost:3000" } end def create @contact = Contact.new(params[:message]) if @contact.valid? ContactMai Source: http://pastebin.com/raw.php?i=ffKMssxn
↧