7 Matching Annotations
- Sep 2022
-
stackoverflow.com stackoverflow.com
-
If we ever moved a file to a different location or renamed it, all its previous history is lost in git log, unless we specifically use git log --follow. I think usually, the expected behavior is that we'd like to see the past history too, not "cut off" after the rename or move, so is there a reason why git log doesn't default to using the --follow flag?
-
- Mar 2021
-
gitlab.gnome.org gitlab.gnome.org
-
deskbar should probably detect their extension and execute the relevant command as opposed to opening the file for editing.
-
-
github.com github.com
-
I totally understand that there may be a majority still considering this a bad practice and thus keeping it disabled by default in production seem ok. But there could at least be an option to enable it for people who want to, no?
-
- Feb 2021
-
github.com github.com
-
Record filters allow you to require an instance of a particular class (or one of its subclasses) or a value that can be used to locate an instance of the object. If the value does not match, it will call find on the class of the record. This is particularly useful when working with ActiveRecord objects.
-
- Jun 2020
-
makandracards.com makandracards.com
-
However, a ActiveRecord::Rollback within the nested transaction will be caught by the block of the nested transaction, but will be ignored by the outer transaction, and not cause a roll back! To avoid this unexpected behaviour, you have to explicitly tell rails for each transaction to indeed use proper nesting: CopyActiveRecord::Base.transaction(joinable: false, requires_new: true) do # inner code end This is a safer default for working with custom transactions.
-
- Apr 2020
-
psyarxiv.com psyarxiv.com
-
Stadler, M., Niepel, C., Botes, E., Dörendahl, J., Krieger, F., & Greiff, S. (2020). Individual Psychological Responses to the SARS-CoV-2 Pandemic: Different Clusters and Their Relation to Risk-Reducing Behavior [Preprint]. PsyArXiv. https://doi.org/10.31234/osf.io/k8unc
-
-
psyarxiv.com psyarxiv.com
-
Sailer, M., Stadler, M., Botes, E., Fischer, F., & Greiff, S. (2020, April 9). Science knowledge and trust in medicine affect individuals’ behavior in pandemic crises. https://doi.org/10.31234/osf.io/tmu8f
-