Posts (Page 5)
Speed up your tests and make them more replayable.
Sometimes you need to pass in some funky characters to your mail parameters, use Mail::Address to do it safely.
Update your config.filter_parameters to have sensible defaults, so logs don't have sensitive information in them.
Domain registrars is hard get right, here are the ones I like.
Active Storage is pretty cool, but it added new routes to my old rails apps.
Run migrations, clear caches and other things without downtime when deploying.
Avoid adding if/else logic inside view, instead use Decorators.
Don't hard code strings into your models, put them in your locales!
Ruby shouldn't be used to resize images, instead do it in the cloud.
How to nicely disable a form to let uploads finish before submitting to the server.