Frederick Cheung wrote:
> On Feb 4, 9:11�pm, Philip Hallstrom wrote:
>
>> > <%=h @notification.message %>
>>
>> Don't escape it. �h is an alias for html_escape which (for 2.3.2) does �
>> this on the argument:
>
>
> To be quite precise, only use h (that is, html_escape) if the output
> is html.
I am having problems with the formatting of my email.
This is what my code looks like
-
email =
NotifyMailer.create_send_notifications(@notification,@test)
email.set_content_type("text/plain")
NotifyMailer.deliver(email)
---
and my send_notifications.rhtml looks like thi
This is an example.
I tried this below code but it blocks mongrel until the whole file is
read which is over 500 MB.
def download
send_data(open('http://mirrors.gigenet.com/ubuntu/intrepid/ubuntu-8.10-desktop-i386.iso').read,
:filename => 'ubuntu-8.10-desktop-i386.iso' ,
:type =>
Thanks for the reply.
The exe file is on another server.
Thanks!
Frederick Cheung wrote:
> On Mar 25, 6:54�pm, Jay Dev wrote:
>> Hi Folks,
>>
>> I'm new to Rails and working on a project where after the user logs in
>> they can click on a link to download a
Hi Folks,
I'm new to Rails and working on a project where after the user logs in
they can click on a link to download an exe file ( say for example the
file is at http://test.com/test.exe). I want to keep the link to the exe
file hidden. What are the best ways to implement this step.
I was think
5 matches
Mail list logo