I’ve been joining this mailing list for two days and read some
I haven’t started out my RoR installation yet, so i don’t have any
tech-related questions or experiences. But I wonder if I can get some
inputs on RoR. I’ve been reading some posts over the internet, and I see
that some of them mention “don’t use RoR for something it does not meant
to be used”.
I can’t help but to question, exactly, what RoR meant to be used? And
what kind of job that RoR shouldn’t be used?
I’m going to build a web based system, something like hospital
information system, concerning patient health record and such, and
wonder if RoR is perfect for this job?
----- Original Message ----
From: Brian P. [email protected]
To: Ruby on Rails: Talk [email protected]
Sent: Thursday, February 25, 2010 5:00:22
Subject: [Rails] Yet another send_data :image question…
Guys & gals,
I’m also learning RoR (using v2.3.4). I’ve got a basic scaffold
working for image file creation, and - to a point - image file
The send_data function is working in my controller - no problem. The
model code is able to parse the uploaded file construct too.
@image = Image.find(params[:id])
send_data(@image.binary_data, :type =>
The issue with my output page, specifically “show”. All attempts to
render the page, result in only the image (.jpg, .png, … format
unimportant) being rendered. No other HTML makes it to the browser.
I’ve tried code variants with <% image_tag … %> to no avail.
Ideas? I’d like to keep the remainder of my hair over this one.
You received this message because you are subscribed to the Google
Groups “Ruby on Rails: Talk” group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
For more options, visit this group at
Get your new Email address!
Grab the Email name you’ve always wanted before someone else does!