Displaying 8 results from an estimated 8 matches for "from_nam".
Did you mean:
from_name
2006 Jul 14
7
Form validation - keepin correct fields displayed on refresh
All,
I''m finally doing my first real form in Rails - the model object that
I''m entering information for has 8 validations so far.
If I type in good values for all the fields but one, I get the pretty
validation, and the nice field highlighting, but all of the fields are
cleared, forcing me to retype all of that info. That is a big drag.
Is there a standard way to get the
2006 Jul 12
1
validate method not getting called?
Here''s a snippet of my model:
validates_presence_of :from_name, :from_email, :reply_name,
:reply_email, :eSubject
protected
def validate
puts "Calling: #{target_list_ids}"
errors.add_to_base("You must choose at least one target list for
this job") if self.target_list_ids.nil?
end
It appears that the validates_presence_of...
2006 May 05
1
ActionMailer with attachments, body is blank
...t doesn''t recognize "@mycontent" (the variable
holding the text of my mailer). However, if @ma is empty, it sees
@mycontent just fine. Suggestions?
Here is my mailer class:
class MarketingMailer < ActionMailer::Base
def standard_mailer
(_firstname,recipient,_subject,from_name,from_email,_content,_mailer_id,
_recipient_id,sent_at = Time.now)
@mailer = Mailer.find(_mailer_id)
@ma = @mailer.mailerattachments
@subject = _subject
@recipients = recipient
@from = from_name + " <" + from_email + ">"
@sent_on = sent_at...
2006 Mar 09
1
ActionMailer Question -- can''t find email templates
...'nola@devasap.com''
@subject = ''Thank you for your request''
@recipients = ''''
@from = ''webserver@illinoisatplay.com''
@sent_on = sent_at
@headers = {}
@body[''name''] = formparms[:from_name]
end
end
---
The error I get is this:
ActionView::ActionViewError in Page#send_request
No rhtml, rxml, or delegate template found for sendrequest.rhtml
I REALLY DO have a a rhtml file at views/info_mailer/sendrequest.rhtml
it contains the following:
---
Dear <%=@from_name %>,
Than...
2020 Jun 19
2
SegFault when using TunnelServer=yes
...\205UUU\000\000`\020\205UUU\000\000@\306\377\377\377\177\000\000i\341VUUU\000\000\000\000\000\000\377\177\000\000\000\000\000\000\000\000\000\000"...
#1 0x000055555556e169 in req_key_h (c=0x555555851be0,
request=0x555555854bb7 "15 Office Lukav_Beast") at protocol_key.c:304
from_name = "Office\000\061\071.130", '\000' <repeats 1003
times>...
to_name = "Lukav_Beast", '\000' <repeats 366 times>...
from = 0x555555851060
to = <optimized out>
reqno = 0
#2 0x000055555556a083 in receive_reques...
2020 Jul 27
3
SegFault when using TunnelServer=yes
...`\020\205UUU\000\000@\306\377\377\377\177\000\000i\341VUUU\000\000\000\000\000\000\377\177\000\000\000\000\000\000\000\000\000\000"...
> #1 0x000055555556e169 in req_key_h (c=0x555555851be0,
> request=0x555555854bb7 "15 Office Lukav_Beast") at protocol_key.c:304
> from_name = "Office\000\061\071.130", '\000' <repeats 1003
> times>...
> to_name = "Lukav_Beast", '\000' <repeats 366 times>...
> from = 0x555555851060
> to = <optimized out>
> reqno = 0
> #2 0x0...
2020 Jul 27
0
SegFault when using TunnelServer=yes
...\205UUU\000\000`\020\205UUU\000\000@\306\377\377\377\177\000\000i\341VUUU\000\000\000\000\000\000\377\177\000\000\000\000\000\000\000\000\000\000"...
#1 0x000055555556e169 in req_key_h (c=0x555555851be0,
request=0x555555854bb7 "15 Office Lukav_Beast") at protocol_key.c:304
from_name = "Office\000\061\071.130", '\000' <repeats 1003
times>...
to_name = "Lukav_Beast", '\000' <repeats 366 times>...
from = 0x555555851060
to = <optimized out>
reqno = 0
#2 0x000055555556a083 in receive_reques...
2020 Jul 28
0
SegFault when using TunnelServer=yes
...`\020\205UUU\000\000@\306\377\377\377\177\000\000i\341VUUU\000\000\000\000\000\000\377\177\000\000\000\000\000\000\000\000\000\000"...
> #1 0x000055555556e169 in req_key_h (c=0x555555851be0,
> request=0x555555854bb7 "15 Office Lukav_Beast") at protocol_key.c:304
> from_name = "Office\000\061\071.130", '\000' <repeats 1003
> times>...
> to_name = "Lukav_Beast", '\000' <repeats 366 times>...
> from = 0x555555851060
> to = <optimized out>
> reqno = 0
> #2 0x0...