[Rails] Re: Is there any tool to convet ActiveRecord 2.3.5 statement to sql

2018-04-14 Thread snappa
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

[Rails] Re: Is there any tool to convet ActiveRecord 2.3.5 statement to sql

2018-04-14 Thread kaine wright
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