Re: [Rails] ActionMailer: end of file reached (EOFError)

2018-05-11 Thread 'krfg' via Ruby on Rails: Talk
Solved at Stackoverflow https://stackoverflow.com/q/50201093/507 > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@goo

Re: [Rails] ActionMailer: end of file reached (EOFError)

2018-05-08 Thread 'krfg' via Ruby on Rails: Talk
On Monday, May 7, 2018 at 10:37:36 AM UTC+2, David Merrick wrote: > > EOF usually mean you reached the end of the file or are to read past it. > > So why my code produces this error message? I checked all the required ends: there are two, one for class Emailer and one for method test_email --

Re: [Rails] ActionMailer: end of file reached (EOFError)

2018-05-07 Thread David Merrick
EOF usually mean you reached the end of the file or are to read past it. On Mon, May 7, 2018 at 7:19 PM, 'krfg' via Ruby on Rails: Talk < rubyonrails-talk@googlegroups.com> wrote: > I am studying Peter Cooper's book Beginning Ruby. > According to the author ActionMailer can be used independently

[Rails] ActionMailer: end of file reached (EOFError)

2018-05-07 Thread 'krfg' via Ruby on Rails: Talk
I am studying Peter Cooper's book Beginning Ruby. According to the author ActionMailer can be used independently of Rails. So I installed the ActionMailer gem in a dedicated gemset and wrote the code below which is an extract from the book: require 'action_mailer' ActionMailer::Base.smtp_set