Ruby on Rails Saturday, April 14, 2018

On Sat, Apr 14, 2018 at 12:28 PM, Ralph Shnelvar <ralphs@dos32.com> wrote:

> I have a collection of Postgres tables I want my users to be able to access
> (share)but not modify on my Rails website . I want each of them to be able
> to extract data from the tables using whatever SQL they wish and for each
> user not to be able to interact with other users' extracted data.

I think the above requirement is somewhat orthogonal to the one
below, but...

> I have Devise working to give access to each separate user but now I
> need/want suggestions as to how to link a Devise authorized user with a
> correspondingly named Postgres user.

ActiveRecord::ConnectionHandling.establish_connection

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yDshOitT_yWNPoYR_M-5eJJt9jve1B4Ya0X2ZGVx3AqRA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment