On 08/04/2008, Booking Heaven <[EMAIL PROTECTED]> wrote:
> #never get finish of looping here.
> for member in users
> Notifier.deliver_letternews(member, letter)
> end
sorry i haven't looked at your codes thoroughly, but from what i
glanced here :( how come you did iterate those emails and not just add
those emails into that deliver_letternews params instead so that it'll
be faster .
> newsletter.update_attribute('sent', true)
> @form_display = true
> @action = 'update'
> @success = 'Newsletter is already sent to your members successfully.'
I'm honestly curious of those 3 lines of codes -_- But I can't say
more than this cos I don't see its related files yet
> Please help me with your suggestion.
try my suggestion above first, if you still come up with this problem,
then you might use one of peepcode articles suggestions / i forgot the
one that mentioned hendy's name there, or probably you can find that
article from www.rubyinside.com
HTH
--
blog: http://tinyurl.com/2bjgvn,
ruby: http://www.ruby-lang.org/id/about
"Developer Time is expensive...
Servers are cheap...", Ezra Zygmuntowicz - Merb