Ruby on Rails Wednesday, December 19, 2012

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>:
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. 

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/CF9zzqlQLvQJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment