This repository has been archived by the owner on Aug 23, 2022. It is now read-only.
forked from Tho85/rails
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:lifo/docrails
Conflicts: railties/guides/source/getting_started.textile
- Loading branch information
Showing
6 changed files
with
706 additions
and
453 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -244,7 +244,7 @@ It is possible to send email to one or more recipients in one email (for e.g. in | |
|
||
<ruby> | ||
class AdminMailer < ActionMailer::Base | ||
default :to => Proc.new { Admin.all.map(&:email) }, | ||
default :to => Proc.new { Admin.pluck(:email) }, | ||
:from => "[email protected]" | ||
|
||
def new_registration(user) | ||
|
Oops, something went wrong.