search for: createemailcontroller

Displaying 1 result from an estimated 1 matches for "createemailcontroller".

2006 Jan 23
1
learning how models, controllers, and views pass data
...Rails and web development in general, I think I still need a broader understanding of how Views, Controllers, and Models pass information and variables to each other. I''m creating a site that allows for email campaigns. I have a ''create_email_controller'': class Admin::CreateEmailController < Admin::BaseController layout ''admin'' def index write render :action => ''write'' end def write @email = Email.new end def email_list email = Email.find(:all) email.each { |address| MailList::deliver_send_email(address) } re...