8 Matching Annotations
  1. Nov 2023
    1. lib is meant for things that are kind of tangential to the application core. What's in there feels better located in lib than under app, for me.
  2. Jun 2023
  3. Feb 2021
  4. Jan 2021
    1. There is seldom any good reason to use this option. Mixing ERB into your controllers defeats the MVC orientation of Rails and will make it harder for other developers to follow the logic of your project. Use a separate erb view instead.
  5. Apr 2020
    1. If you force people to frequently change their passwords, they will use bad passwords.
    2. Stop forcing users to change their passwords every 30, 60, or 90 days, and stop forcing users to include a mixture of uppercase, lowercase, and special charactersForcing users to change their passwords should only happen if there is reason to believe an organization has been breached, or if a new third-party data breach affects employees or users.
    1. Once common practice, websites emailing you your password is now severely frowned upon. You'd often see this happen if you'd forgotten your password: you go to the "forgot password page", plug in your email address and get it delivered to your inbox. In fact, this is such a bad practice that there's even a website dedicated to shaming others that do this.