About ActiveRecord#locking_column

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

About ActiveRecord#locking_column

UG Aimerald
I doubt that the model that inherited ActiveRecord will return lock_version even if it does not have locking_column (lock_version etc.).
Please let me know if anyone knows why such an implementation is in place.
If there is no reason I will make a PR to fix

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/724c526b-66c4-43b9-b4ea-9aad13d9f2dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.