Loading development environment (Rails 3.2.5)
irb(main):001:0> UserMailer.test.deliver
ActiveModel::MassAssignmentSecurity::Error: Can't mass-assign protected attribut
es: mail, to, from
from D:/Ruby193/lib/ruby/gems/1.9.1/gems/activemodel-3.2.5/lib/active_mo
del/mass_assignment_security/sanitizer.rb:48:in `process_removed_attributes'
from D:/Ruby193/lib/ruby/gems/1.9.1/gems/activemodel-3.2.5/lib/active_mo
del/mass_assignment_security/sanitizer.rb:20:in `debug_protected_attribute_remov
al'
from D:/Ruby193/lib/ruby/gems/1.9.1/gems/activemodel-3.2.5/lib/active_mo
del/mass_assignment_security/sanitizer.rb:12:in `sanitize'
from D:/Ruby193/lib/ruby/gems/1.9.1/gems/activemodel-3.2.5/lib/active_mo
del/mass_assignment_security.rb:230:in `sanitize_for_mass_assignment'
from D:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.5/lib/active_r
ecord/attribute_assignment.rb:75:in `assign_attributes'
from D:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.5/lib/active_r
ecord/base.rb:498:in `initialize'
from D:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.5/lib/active_r
ecord/persistence.rb:44:in `new'
from D:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.5/lib/active_r
ecord/persistence.rb:44:in `create'
from D:/Ruby193/lib/ruby/gems/1.9.1/gems/ar_mailer_rails3-2.1.12/lib/ar_
mailer_rails3/active_record.rb:49:in `block in deliver!'
from D:/Ruby193/lib/ruby/gems/1.9.1/gems/ar_mailer_rails3-2.1.12/lib/ar_
mailer_rails3/active_record.rb:48:in `each'
from D:/Ruby193/lib/ruby/gems/1.9.1/gems/ar_mailer_rails3-2.1.12/lib/ar_
mailer_rails3/active_record.rb:48:in `deliver!'
from D:/Ruby193/lib/ruby/gems/1.9.1/gems/mail-2.4.4/lib/mail/message.rb:
2034:in `do_delivery'
from D:/Ruby193/lib/ruby/gems/1.9.1/gems/mail-2.4.4/lib/mail/message.rb:
229:in `block in deliver'
from D:/Ruby193/lib/ruby/gems/1.9.1/gems/actionmailer-3.2.5/lib/action_m
ailer/base.rb:415:in `block in deliver_mail'
from D:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.5/lib/active_
support/notifications.rb:123:in `block in instrument'
from D:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.5/lib/active_
support/notifications/instrumenter.rb:20:in `instrument'
from D:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.5/lib/active_
support/notifications.rb:123:in `instrument'
from D:/Ruby193/lib/ruby/gems/1.9.1/gems/actionmailer-3.2.5/lib/action_m
ailer/base.rb:413:in `deliver_mail'
from D:/Ruby193/lib/ruby/gems/1.9.1/gems/mail-2.4.4/lib/mail/message.rb:
229:in `deliver'
from (irb):1
from D:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.5/lib/rails/comman
ds/console.rb:47:in `start'
from D:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.5/lib/rails/comman
ds/console.rb:8:in `start'
from D:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.5/lib/rails/comman
ds.rb:41:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'