Skip to content

Commit

Permalink
_at is better for Time.now than _on
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@988 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed Mar 23, 2005
1 parent e7fe15f commit 5f5f19b
Showing 1 changed file with 2 additions and 2 deletions.
@@ -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 -%>
Expand Down

0 comments on commit 5f5f19b

Please sign in to comment.