Select table names from SQL Server from a Mac via ActiveRecord and TinyTDS driver
Your /usr/local/etc/freetds.conf file should look something like this:
Change host in freetds.conf to your host name of the I.P. address of the host.
Here’s a simple test:
Also, change :database, :username, and :password in ss_ar_tinytds_test.rb accordingly.
Create Ruby apps using SQL Server on macOS