17 Dec '13, 2am

@EMELECISTA_AZUL

class UsersController < ApplicationController # POST /users # POST /users.json def create @user = User.new(params[:user]) respond_to do |format| if @user.save # Tell the UserMailer to send a welcome Email after save UserMailer.welcome_email(@user).deliver format.html { redirect_to(@user, notice: 'User was successfully created.') } format.json { render json: @user, status: :created, location: @user } else format.html { render action: 'new' } format.json { render json: @user.errors, status: :unprocessable_entity } end end end end

Full article: http://guides.rubyonrails.org/action_mailer_basics.html#a...

Tweets

Action contre la Faim Campaign

Action contre la Faim Campaign

fubiz.net 16 Dec '13, 11am

TBWA a organisé une installation sur le quai du métro de la station Odéon à Paris racontant une histoire tragique, celle d...

Wrist action: The No. 1 killer of good putting

Wrist action: The No. 1 killer of good putting

golfwrx.com 16 Dec '13, 9pm

If the lead hand is in an overly strong or overly weak position, it will place the lead forearm in an over-rotated or unde...

Can't afford a Go Pro? Try this HD action sport...

jaycar.com.au 14 Dec '13, 8am

1080p HD Action Camera with Touchscreen and Waterproof Case Capture extreme outdoor action in glorious 1080p (1920x1080) a...

Rails 4.1.0 beta1 released

weblog.rubyonrails.org 18 Dec '13, 12am

Rails 4.1.0 beta1: Variants, Spring, mailer previews, JS CRSF, config/secrets.yml, Enums Posted by dhh , December 18, 2013...

UsbXlater for PS4 Keyboard And Mouse Action

UsbXlater for PS4 Keyboard And Mouse Action

hackaday.com 14 Dec '13, 7am

It’s not just a protocol thing; my understanding (which I’ve gleaned from the people who are trying to make boards that su...

Call to Action: Sea Shepherd Conservation Socie...

seashepherd.org 13 Dec '13, 1am

Call to Action: Sea Shepherd Conservation Society Legal Defense Fund Sea Shepherd USA Needs Your Help To Continue to Survi...

Call to Action: Sea Shepherd Conservation Socie...

seashepherd.org 13 Dec '13, 1am

Call to Action: Sea Shepherd Conservation Society Legal Defense Fund Sea Shepherd USA Needs Your Help To Continue to Survi...

Plan your ACTION travel over the Christmas holi...

action.act.gov.au 13 Dec '13, 12am

If you’re planning to travel by bus over the Christmas holidays then remember that there will be reduced services between ...

#military

capwiz.com 11 Dec '13, 9pm

The proposed Bipartisan Budget Act of 2013 aims to provide budget stability and help ease the harmful effects of sequestra...

Action! Making Memorable Marketing Videos for the Holidays

Action! Making Memorable Marketing Videos for t...

reelseo.com 09 Dec '13, 5pm

The very best videos demonstrate something in action that is difficult to convey with words. Bold images work best in vide...

BAIT x ASICS Gel Lyte III "BASICS Model-001 Van...

nicekicks.com 03 Dec '13, 4pm

Seen for the first time yesterday, we get a detailed look at the upcoming BAIT x ASICS Gel Lyte III “BASICS Model-001 Vanq...

Rails 4.1

edgeguides.rubyonrails.org 18 Dec '13, 2am

If you're upgrading an existing application, it's a great idea to have good test coverage before going in. You should also...

Release: Iraq & Afghanistan #Veterans Demand Ac...

iava.org 10 Dec '13, 8pm

Iraq & Afghanistan Veterans Demand Action from Congress Before Adjournment CONTACT: Carlisle Williams (212) 982-9699 or pr...

Six African Countries Win $330 Million to Bolster Private Investment in Climate Action

Six African Countries Win $330 Million to Bolst...

triplepundit.com 13 Dec '13, 10am

Projects designed to bolster private investment in effective climate solutions in six African countries have received $330...