#RubyOnRails - 31 March 2019
« Back 1 day Forward 1 day »
[02:16:01] |RicharD|: I want create an invite system and I want that the user can add multiple invite/fields
[02:16:30] |RicharD|: What convention I should use for the name of the input ? I cannot get it working :(
[12:45:28] beingjohnm: some comments on Hacker News yesterday made me want to give turbolinks a try. Definitely seems to speed up the page loags but can't submit a form without a page load.
[12:46:37] beingjohnm: I can see that there is option to turn off the turbolink loading of pages at the link level but that isn't ideal. Any other ideas?
[19:22:48] dionysus70: achtung, achtung! zeitwerk (1.4.3) introduces a killer bug, that rails project just fails to reload any code changes in any ruby file, introducing weirder errors.
[19:40:48] dionysus70: morning, night for me I guess :) going to sleep, I opened up an issue on zeitwerk github page but not sure if it is fault of rails integration specific or the gem itself
[19:46:45] dionysus70: turns out: zeitwerk 1.4.3 changelog, `Faster reload. If you're using bootsnap, requires at least version 1.4.2.` I had bootsnap 1.4.1
[23:34:15] bevvin: Hello. I would like to offer some of the same functionality in my browser app to users through api calls from their own webapps. Is there a conventional way to achieve this? Perhaps by wrapping the core functionality in a helper and having both a regular and api controller call into it with the correct params?