Trying to sign up on a brand new wagn generated application, I receive the error
error self is unrecognized type Card::Content NilClass
Rendered /home/ricardo/.rvm/gems/ruby-2.1.2/gems/wagn-1.13.0/lib/card/mailer/confirmation_email.html.erb (1.9ms)
Sent mail to ricardo.baumann@zenvia.com.br (9.5ms)
exception = Errno::ECONNREFUSED: Connection refused - connect(2) for "localhost" port 25
/home/ricardo/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/net/smtp.rb:541:in `initialize'
/home/ricardo/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/net/smtp.rb:541:in `open'
/home/ricardo/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/net/smtp.rb:541:in `tcp_socket'
/home/ricardo/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/net/smtp.rb:551:in `block in do_start'
/home/ricardo/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/timeout.rb:91:in `block in timeout'
/home/ricardo/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/timeout.rb:101:in `call'
/home/ricardo/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/timeout.rb:101:in `timeout'
Looks like a mail configuration issue. You might look into the rails configuration options and try turning off perform_deliveries (or at least raise_delivery_errors) first to confirm that this is the problem (and then exploring more options to actually get it working).