can we use plsql logic in ruby on rail

hi i am using oracle database,i am writing the plsql logic in my oracle
db.is possible to integrate with rails,as what we are doing with java &
asp.net