Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #too cool for create!
- @app_email_message = AppEmailMessage.create(
- :to_id => wpp.person.id,
- :from => Community.current.from_email_address,
- :subject => "Topic #{post.topic.title} has a new post",
- :body => post.event_description_full
- )
- if @app_email_message.new_record?
- raise @app_email_message.errors.full_messages.inspect
- end
Add Comment
Please, Sign In to add comment