On September 14, 2011 11:24:38 AM Donald R. Ziesig wrote: > Hi Everyone! > > I have my Real Estate website setup to automatically send emails to > agents. * It works great! * Just a regular mail-sending daemon. > > I was working on internationalization so I went to edit application.rb > and I noticed the line following show_translation_keys: > > * > * > config.hobo.show_translation_keys = false > *config.action_mailer.perform_deliveries = false* > * > * > > These lines are not a part of any expression that would have them > deactivated for any reason and changing show_translation_keys to true > causes the keys to be rendered as expected. So why are e-mails being > delivered? > > Ideas anyone? >
It probably is being overridden by the same line in one of the files in the config/envrironments/ directory (production.rb maybe?). Henry > Don Z. > > P.S. The perform_deliveries line caused me no end of grief while I was > developing the original RoR Real Estate website. I had all of the code > correct (except for that line) and I took almost a week before I caught > on - :-[ - and got the emails to be sent. -- Henry Baragar Instantiated Software -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
