Re: [Rails] help me debug this model

2018-03-27 Thread fugee ohu
On Tuesday, March 27, 2018 at 2:12:27 PM UTC-4, Walter Lee Davis wrote: > > Read the docs I linked you to, and if that doesn't explain it, then ask > the author of the code you're extending. It's possible that it is passing a > reference to a proc or lambda, but I have not seen that exact code

Re: [Rails] help me debug this model

2018-03-27 Thread Walter Lee Davis
Read the docs I linked you to, and if that doesn't explain it, then ask the author of the code you're extending. It's possible that it is passing a reference to a proc or lambda, but I have not seen that exact code before, so I can only guess. Walter > On Mar 27, 2018, at 2:04 PM, fugee ohu

Re: [Rails] help me debug this model

2018-03-27 Thread fugee ohu
On Tuesday, March 27, 2018 at 11:44:54 AM UTC-4, Walter Lee Davis wrote: > > > > On Mar 27, 2018, at 9:20 AM, fugee ohu > wrote: > > > > Actually the first thing is see when I visit that link is the use of > validate without the s > > The validate method is used along

Re: [Rails] help me debug this model

2018-03-27 Thread Walter Lee Davis
> On Mar 27, 2018, at 9:20 AM, fugee ohu wrote: > > Actually the first thing is see when I visit that link is the use of validate > without the s The validate method is used along with a custom validator method. The validates method is "built in" and uses a DSL to specify

Re: [Rails] help me debug this model

2018-03-27 Thread Mugurel Chirica
What have you tried so far in debugging this? Have you used any debugger like pry to see what happens when you rune the code? -- 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