On Tue, Jan 26, 2010 at 10:29 PM, Olek <[email protected]> wrote:
> On the other hand, I think replacing methods like #body, #subject,
> etc. with a hash is a missed idea, it's harder to write and read, and
> less clear to grasp, especially when you notice that ActiveRecord API
> changes in exactly the opposite direction (from :conditions =>
> conditions to #where(conditions), etc.).
>
> Are there any more improvements planned on this or is that the final
> version?

You don't have to pass body as a hash, you pass the body in through
the template in 99% of the cases.

Think of the mail method as being analogous to the respond_to method
in Action Controller.

There are more changes coming, not big, but intelligent ones. Watch
this space :)

-- 
http://lindsaar.net/

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to