This may help
http://guides.rubyonrails.org/v2.3.11/active_record_querying.html
what is it you are trying to convert. Do you mean you wish to add a column
to your database to store information if so you would use your model and
migrations
--
You received this message because you are subscri
On Fri, Apr 13, 2018 at 10:13 PM, nyt1972 wrote:
> I want to ask Is there any tool to convet ActiveRecord 2.3.5 statement to
> sql?
If it's a one-time or occasional thing, just execute the statement
and grab the query SQL from your logs.
There are also `to_sql()` methods in ActiveRecord::Relati
Should be able to see the SQL in the debug log if you have it enabled.
On Saturday, April 14, 2018 at 2:22:46 AM UTC-4, nyt1972 wrote:
>
> Hello,
>
> I want to ask Is there any tool to convet ActiveRecord 2.3.5 statement to
> sql?
>
--
You received this message because you are subscribed to the
Title: Rails & Postgres sandbox
Ruby,
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
Look at https://github.com/jeremyevans/sequel
On Saturday, April 14, 2018 at 9:29:03 PM UTC+2, Ralph Shnelvar wrote:
>
> Ruby,
>
> 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 extrac
On Sat, Apr 14, 2018 at 12:28 PM, Ralph Shnelvar 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 no
Title: Re: [Rails] Rails & Postgres sandbox
Hassan,
Why is it orthogonal?
And, yes, I understand what orthogonal means in this context.
And thank you for pointing out ActiveRecord::ConnectionHandling.establish_connection.
Ralph
Saturday, April 14, 2018, 8:15:13 PM, you wrote:
HS> On Sat, Ap
7 matches
Mail list logo