Skip to content
Beth Skurrie edited this page Sep 17, 2015 · 1 revision
  • Prefix JSON with ::JSON when using it inside a Reform::Form because otherwise it will pick up the Reform JSON module (also, possibly Hash).

  • When you are doing the funky "use class name as module name", require the model class at the top of the file first, otherwise ActiveRecord will get confused.