app/mailers/digest_mailer.rb
# TODO: change mail to: @user.email when it's production ready
change mail to: @user.email when it's production ready
change mail to : @user . email when it ' s production ready
def daily_email(user)
    @user = user
    @recommended = Post.latest(4).published
    mail to: @user.email, subject: "#{t('application.name')} - dagens läsning"
  end
def daily_email ( user ) @user = user @recommended = Post . latest ( 4 ) . published mail to : @user . email , subject : "#{t('application.name')} - dagens läsning" end
TODO: change mail to: @user.email when it's production ready
TODO : change mail to : @user . email when it ' s production ready
user
<not_specific>