SQL Console to View

Hi, I have one request… is there any way, how can I display SQL console
results in view? I mean, for example I have PostgreSQL server, and a
simple form, where user can put any SQL command, which will be executed
via ActiveRecord::Base.connection.execute(sql) and the actual response
(if possible) will be returned to view… just like sql comman line
utility or something…

Thanks for any advice…

Lubomir Herko

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs