Laura Ann Williams (law)Amazon Cognito: CreateAdminUserA quick reminder for next time I use CreateAdminUser:Jul 10, 2017Jul 10, 2017
Laura Ann Williams (law)Nifty Trick: Pattern Match on Struct ModuleI found a nifty trick while perusing the Absinthe Ecto repo.Jul 2, 2017Jul 2, 2017
Laura Ann Williams (law)Regex Gotcha: ~r/[A-z]/ != ~r/[a-z]/iI tend not to use the case insensitive operator on my regexes. After all, A-z seems more obvious, and then you don’t have to scan to the…Jun 16, 2017Jun 16, 2017
Laura Ann Williams (law)Assert EquivalentA habit I’ve gotten into in my crud tests is to make an assert_equivalent function for each schema.Jun 14, 2017Jun 14, 2017
Laura Ann Williams (law)Empty Strings instead of Null in Unique ConstraintsThe technique of using empty strings instead of null values to trigger unique constraint validations works for all non-foreign-key fields.Jun 8, 2017Jun 8, 2017
Laura Ann Williams (law)You don’t have to use :put_assoc or :cast_assocBeing a newcomer to Phoenix/Elixir/Ecto, I somehow got the idea that the only way to handle relationships was with Ecto’s put_assoc and…Jun 7, 20173Jun 7, 20173