25 May '12, 6am

@wbotelhos

There are several ways to do this, some people create Rails Observers to fire off emails, others do it inside of the User Model. However, in Rails 3, mailers are really just another way to render a view. Instead of rendering a view and sending out the HTTP protocol, they are just sending it out through the Email protocols instead. Due to this, it makes sense to just have your controller tell the mailer to send an email when a user is successfully created.

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

Tweets

Four SEO Basics that Helped Double Organic Traffic and Sales Overnight

Four SEO Basics that Helped Double Organic Traf...

seomoz.org 25 May '12, 5am

It’s no secret that the world of SEO is moving towards the social arena. Google’s latest round of algorithm updates in Mar...

via @wordpressdotcom

greenbuildingadvisor.com 27 May '12, 9pm

The Envelope Leakage Ratio (aka the >Minneapolis Leakage Ratio, apparently) seems like the most solid way of those listed ...

クックパッドのエンジニアがRoombaをRubyでWifi経由で動かすデモをした時のNews ...

ruby5.envylabs.com 29 May '12, 8am

A whole squad of Ruby5 hosts reports from RailsConf 2012 in Austin. We discuss the DHH keynote, Rails on Roombas, the fact...

No Coal Exports Action Camp in Wyoming’s Powder River Basin; Aug 2-10: Coal exports is a preventable human and e...

No Coal Exports Action Camp in Wyoming’s Powder...

itsgettinghotinhere.org 26 May '12, 4pm

The extraction of more than an estimated 400 million tons of coal a year from Powder River Basin mines for coal industry p...

Rails初期化処理の解説、これ読んどいたら後々役に立ちそう! てかこのサイトすごく役に立ちそ...

guides.rubyonrails.org 30 May '12, 1pm

when 'server' # Change to the application's path if there is no config.ru file in current dir. # This allows us to run scr...

Legal action against Bersih sparks renewed scru...

blog.limkitsiang.com 24 May '12, 7am

By Shannon Teoh The Malaysian Insider May 24, 2012 KUALA LUMPUR, May 24 — The use of the Peaceful Assembly Act (PAA) to cl...

Just blogged: Four action sports gTLDs fall off...

domainincite.com 23 May '12, 11am

Although we are not filing applications for the remaining four TLD’s in this application window we will investigate bringi...

60,000 Californians Urge CPUC Action on Net Met...

renewableenergyworld.com 23 May '12, 2pm

So why is the spotlight on net metering? Commonly known for its ability to send meters spinning backwards and reduce utili...

'Star Wars' turns 35, reminds us how much it made us need action figures ...: On this day — May 25, 1977, the We...

'Star Wars' turns 35, reminds us how much it ma...

sfluxe.com 27 May '12, 1am

On this day — May 25, 1977, the Wednesday before the Memorial Day weekend — “Star Wars ” opened in theaters and changed th...