Skip to content

History / Code Conventions

Revisions

  • Remove outdated Capybara `have_no` recommendation (now enforced by rubocop in https://github.com/openfoodfoundation/openfoodnetwork/pull/12224)

    @dacook dacook committed Mar 4, 2024
  • Remove outdated viewport-units restriction (it's been supported for over 10 years now)

    @dacook dacook committed Mar 4, 2024
  • Add note about query services (https://github.com/openfoodfoundation/openfoodnetwork/pull/12203)

    @dacook dacook committed Mar 3, 2024
  • Remove redundant note about public_send (It's already verified by rubocop)

    @dacook dacook committed Mar 3, 2024
  • Add introduction

    @dacook dacook committed Mar 3, 2024
  • Explain I18n.t in spec convention because it has been divisive

    @mkllnk mkllnk committed Feb 1, 2023
  • Invert convention on using I18n in specs

    @mkllnk mkllnk committed Feb 1, 2023
  • Updated Code Conventions (markdown)

    @luisramos0 luisramos0 committed Sep 19, 2019
  • Move Test > Gotchas section to new page /Automated-Testing-Gotchas (HEAD 5b34302)

    @kristinalim kristinalim committed Feb 7, 2019
  • Add section for designing tests to pass regardless of time of execution

    @kristinalim kristinalim committed Feb 7, 2019
  • Add section for testing gotcha related to multiple consecutive spaces in HTML

    @kristinalim kristinalim committed Feb 7, 2019
  • Updated Code Conventions (markdown)

    @luisramos0 luisramos0 committed Nov 26, 2018
  • Updated Code Conventions (markdown)

    @luisramos0 luisramos0 committed Sep 21, 2018
  • Updated Code Conventions (markdown)

    @luisramos0 luisramos0 committed Sep 17, 2018
  • Add section about using escape_javascript when inserting Ruby strings into JS or Angular expressions

    @kristinalim kristinalim committed Sep 13, 2018
  • Updated Code Conventions (markdown)

    @sauloperez sauloperez committed Aug 30, 2018
  • Updated Code Conventions (markdown)

    @luisramos0 luisramos0 committed Aug 23, 2018
  • Updated Code Conventions (markdown)

    @luisramos0 luisramos0 committed Aug 19, 2018
  • Created Code Conventions (markdown)

    @luisramos0 luisramos0 committed Aug 19, 2018