29 Matching Annotations
  1. Last 7 days
  2. Sep 2020
    1. The dynamic routes are a great way to keep the routing.rb DRY and avoid unneeded dependencies between the routing and the controller files That is exactly the problem: I've already defined the (white)list of actions in the controller; I just want to make them all available via routes. I shouldn't have to repeat myself in the routes file.
  3. Aug 2020
  4. Jul 2020
  5. Jun 2020
  6. May 2020
    1. Updated to add .join. Also looked like the 2nd example was missing result.save so added that too. Haven't tested the code, so hopefully it is correct...
  7. Apr 2020
  8. Mar 2020
  9. Feb 2020
  10. Jan 2020
  11. Dec 2019
  12. Nov 2019
  13. Oct 2019
    1. The comment length is limited to 600. But sometimes I want to post a link to some code on typescriptlang.org/play whose URL is ~ 650 chars long.