eRuby and HTML

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NewGuy
    New Member
    • Nov 2006
    • 14

    eRuby and HTML

    I am using eRuby on a Linux server. I have my Web pages on the server and can access them.

    1. I want to query my PostgreSQL DB.

    2. Parse the data into an Array

    3. Use eRuby to update my Web pages with the Array.

    Does any body out there have code I could have to get me started?

    Thanks in advance.
  • jfranks214
    New Member
    • Apr 2007
    • 2

    #2
    Rails can do all of this for you..... but if you prefer to roll your own, check out Ruby/DBI http://rubyforge.org/projects/ruby-dbi

    Comment

    Working...