Forum: Ruby on Rails php in ruby on rails project

Posted by Tdiddy (Guest)
on 2012-12-19 10:33
(Received via mailing list)
I have a problem that I have not been able to find the answer and I have
been looking for days.

I have a new Ruby on Rails site. Everything is perfect with the site. 
There
is an area on the site where people may submit their email address to
obtain more information. The submit button is a php file.

My Question...

How can I combine php and the rails framework? Using the rails server
WebBricks I attempt to view the php page I get all the php code. So the 
php
code is not visible inside of rails.
Posted by Norbert Melzer (Guest)
on 2012-12-19 10:36
(Received via mailing list)
The button is not PHP, it is HTML, why not change the receiving action 
to
be ruby? Storing an email address in DB and send an email is a trivial
task...
Am 19.12.2012 10:32 schrieb "Tdiddy" <etdunson@gmail.com>:
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.