Re: [Rails] sql select rolls back trying to figure out why

2017-05-04 Thread fugee ohu
On Thursday, May 4, 2017 at 4:03:03 PM UTC-4, Jason FB wrote: > > > > No, no, fuge...@gmail.com , you'll need to debug your own > app yourself. > > From the log entries you sent, I can see that you did not follow my > explicit advice to set the lines setting to more than 5. > > You'll want t

Re: [Rails] sql select rolls back trying to figure out why

2017-05-04 Thread Jason Fleetwood-Boldt
No, no, fugee...@gmail.com, you'll need to debug your own app yourself. >From the log entries you sent, I can see that you did not follow my explicit >advice to set the lines setting to more than 5. You'll want to set the lines setting to show you the entire stacktrace, because with 5 lines

Re: [Rails] sql select rolls back trying to figure out why

2017-05-04 Thread fugee ohu
On Thursday, May 4, 2017 at 12:00:06 PM UTC-4, Jason FB wrote: > > Try ActiveRecord Query Trace > > see... > > https://github.com/ruckus/active-record-query-trace > > > I would suggest setting the *level* to :full or :rails like so, in case > the bug comes from a Gem or Rails itself. > > > Acti

Re: [Rails] sql select rolls back trying to figure out why

2017-05-04 Thread Jason Fleetwood-Boldt
Try ActiveRecord Query Trace see... https://github.com/ruckus/active-record-query-trace I would suggest setting the level to :full or :rails like so, in case the bug comes from a Gem or Rails itself. ActiveRecordQueryTrace.level = :full or ActiveRecordQueryTrace.level = :rails (which is

[Rails] ActionView::Helpers::FormBuilder attribute parent_builder disappeared in rails 4.2?

2017-05-04 Thread João Bordalo
Hi there, I'm trying to update a ruby on rails app from 4.2 to 5.0 version. I noticed that in rails previous versions the attribute parent_builder existed in the api ( http://www.rubydoc.info/docs/rails/3.2.8/ActionView/Helpers/FormBuilder). However in more recent rails versions it no longer ex

Re: [Rails] sql select rolls back trying to figure out why

2017-05-04 Thread fugee ohu
On Wednesday, May 3, 2017 at 9:44:06 PM UTC-4, Walter Lee Davis wrote: > > > > On May 3, 2017, at 9:07 PM, fugee ohu > > wrote: > > > > > > > > On Wednesday, May 3, 2017 at 8:04:29 PM UTC-4, Edsil Basadre wrote: > > Sorry! Your question is quite vague. What did you do? You manually run a >

[Rails] Delayed job not entering into the main jobs queue while using Resque-scheduler and redis

2017-05-04 Thread Mike
I don't understand what you mean by 'bringing it back to the main queue' You are explicitly putting it in a queue, but it sounds like you do not have a worker running to process that queue, if so the job will never execute You need to have a worker running for each queue name, can you check that