Displaying 2 results from an estimated 2 matches for "render_body".
2005 Mar 29
0
ActionMailer tmail/quoting.rb problem
...this incompatibility? ;)
* fixtures/notifications/signup:
_foo
@expected.body = read_fixture(''signup'')
p @expected.body
#=> " foo\n"
# because text.gsub(/_/," ")
If you enhance TMail::Mail#body like this,
I want you to convert mail.body code in render_body.
My mailer code now:
# topic is a ActiveRecord instance. topic attrs encoding is Shift_JIS.
mail = Notifications.create_invoice(sent_on, {"topic"=>topic})
# convert from Shift_JIS to ISO-2022-JP
# mail.body is incompatible between 1.7.1 and 1.8.0 in ActionMailer...
mail.body...
2005 Jul 18
1
scripts/create_db
...ed through to where I want the create the db tables. Instead, I get
script/create_db
-bash: script/create_db: Permission denied
[root@astarcc html]# ruby script/create_db
./script/../config/../lib/localization.rb:82:in
`module_eval'':(eval):3:in `module_eval'': undefined method `render_body''
for class `Class'' (NameError)
from ./script/../config/../lib/localization.rb:82:in `module_eval''
from ./script/../config/../lib/localization.rb:82
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require__''...