1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

_at is better for Time.now than _on

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@988 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2005-03-23 14:16:46 +00:00
parent e7fe15fbac
commit 5f5f19b06d

View file

@ -1,12 +1,12 @@
class <%= class_name %> < ActionMailer::Base
<% for action in actions -%>
def <%= action %>(sent_on = Time.now)
def <%= action %>(sent_at = Time.now)
@subject = '<%= class_name %>#<%= action %>'
@body = {}
@recipients = ''
@from = ''
@sent_on = sent_on
@sent_on = sent_at
@headers = {}
end
<% end -%>