Advertisement · 728 × 90

Posts by Étienne Barrié

😅

3 months ago 1 0 0 0
Preview
More explicitly recommend json · jhawthorn/rapidjson-ruby@9292377

@byroot.bsky.social @bihi.bsky.social Very happy to deprecate my library thanks to all your work on JSON 🎉 github.com/jhawthorn/ra...

1 year ago 26 5 2 0
bin/rails g Model Foo bar:string! (with an exclamation mark at the end of string) creates a migration where the bar column is set as null false.

bin/rails g Model Foo bar:string! (with an exclamation mark at the end of string) creates a migration where the bar column is set as null false.

TIL In #Rails generators you can add a bang(!) to the end of a column's type to set the column as `null: false` in the migration.

1 year ago 10 2 1 0