On Thursday, July 6, 2017 at 3:10:21 AM UTC-7, Aryk Grosz wrote: > > Hi Jeremy, > > I was just curious why you nil out the row_proc when calling "record.this"? > > I ask because if are on the model and returning something with all the > fields from the model, wouldn't the user want the actual model object back? > > Maybe I don't understand the original intention of "this". >
Model#this has always returned a dataset without a row_proc. It's used for refreshing the dataset, which should return a plain hash merged into model instance's current values, as well as a few other things. Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
