I have a Postgres database on my server. This db has a bunch of tables, but the logic of everything is built up in functions on this same database; I have a website in php that calls these functions and these functions make all the validation of fields..
My Question is:
How do I get to do the same thing in Ruby on Rails, I wanted to create a project where I can instead of working directly with the tables in the DB I wanted to call the function in the database that works with these tables?
Passing values from ruby on rails to the functions in the server for them to do the validation.