Skip to content

Instantly share code, notes, and snippets.

View alexdean's full-sized avatar
🍩

Alex Dean alexdean

🍩
View GitHub Profile
@alexdean
alexdean / 00_README.md
Last active November 26, 2022 04:41
changes in ActiveModel::Dirty tracking during ActiveRecord lifecycle callbacks in rails 5.2

This script reports on how the behavior of ActiveModel::Dirty methods have changed during various lifecycle callbacks in ActiveRecord instances.

The report shows the output of various ActiveModel::Dirty methods within a number of different callbacks, under different versions of ActiveRecord.

The script used to create this output is below, and can be used/modified to get information on other dirty-state methods.

fun stuff

this script was kinda fun to put together. i got to poke in a few areas of ruby I don't typically touch.

(a gist based on the old toolmantim article on setting up remote repos)

To collaborate in a distributed development process you’ll need to push code to remotely accessible repositories.

This is somewhat of a follow-up to the previous article setting up a new rails app with git.

For the impatient

Set up the new bare repo on the server: