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

2018-04-19 Thread tonypm
For ActiveRecord in Rails 2.3, you can use .construct_finder_sql({}) tonypm On Saturday, 14 April 2018 15:13:15 UTC+1, Hassan Schroeder wrote: > > 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

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

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

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

2018-04-14 Thread nyt1972
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 Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to