Hi,
Is it possible to implement callbacks(like
before_deliver :some_methodes, after_deliver :other_methods) with
ActionMailer in Rails3?

Please somebody help me or give me an idea :)
Already I saw http://railscasts.com/episodes/206-action-mailer-in-rails-3
but it I like to do it as callbacks

--
Best Regards
Abdul Barek
Senior Software Engineer

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Search Discussions

  • Evgeniy K. at May 15, 2013 at 1:19 pm
    I wrote a simple gem for this couple of years ago and branch 2.0
    supports rails3.

    you can check it out here:
    https://github.com/kelyar/mailer_callbacks/tree/2.0

    or wait for rails4 they will have it builtin.

    --
    Posted via http://www.ruby-forum.com/.

    --
    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+unsubscribe@googlegroups.com.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedDec 2, '11 at 1:27p
activeMay 15, '13 at 1:19p
posts2
users2
websiterubyonrails.org
irc#RubyOnRails

2 users in discussion

Evgeniy K.: 1 post Barek: 1 post

People

Translate

site design / logo © 2021 Grokbase