Displaying 2 results from an estimated 2 matches for "cmaform".
2006 May 01
0
Same .rhtml and partial in mailer and non-mailer contexts
I have an ActionMailer template that properly generates HTML email. It
contains a partial.
The mail action was called via the following in my controller:
def cmasend
@cmaform = Cmaform.find(params[:id])
Mailer.deliver_cma(@cmaform)
flash[:notice] = ''CMA Sent.''
redirect_to :action => ''list''
end
Then, in order to allow a "preview" of the message in a browser, I found
that if I called Mailer.create_cma(obj...
2006 Jul 25
0
Errors logged but not returned to browser, WEBrick hangs
...,
users
WHERE users.id = 4
AND users.id = users_roles.user_id
AND users_roles.role_id = roles.id
AND roles.id = permissions_roles.role_id
AND permissions_roles.permission_id = permissions.id
AND permissions.controller = ''admin''
AND permissions.action = ''edit''
Cmaform Load (0.000000) SELECT * FROM cmaforms WHERE (cmaforms.id =
''11'') LIMIT 1
NoMethodError (undefined method `for_this_agent'' for
#<AdminController:0x55dbec8>):
/app/controllers/admin_controller.rb:106:in `edit''
/vendor/rails/actionpack/lib/actio...