Changing access to DataBase


i am kind of new to ror,

i have rails connected to a remote DB in Postgres,i am trying to remake the connection instead of accessing directly through query to table start using the views available,

any help/hint on the best way to do this would be appreciated.

my first thought is to make a new model and replace the one i have… if i find out how this works :slight_smile: