How to Deploy Rails to Fly.io Discussion
did you try deploying using sqlite?
Stéphane Paquet replieddid you try deploying using sqlite?
Stéphane Paquet repliedAlso going to add that I had issues with the tooltips triggering after I left the page and came back so to help with any conflicts with Turbolinks I changed addEventLstener to: document.addEventL...
bradley repliedI had to add partial and it worked. Cheers, <%= render partial: 'card', locals: { gym: gym, index: index } %>
Brian Gilbank replied • SolvedChris does not cover this in the video but I thought it was neat. If you want to see your video attachments actually play and not just have an image preview, you just need to modify a couple of fi...
Jason R. Kretzer repliedJust in case anyone finds this helpful, here's how I solved this with Stimulus. If you see any improvements let me know! ``` # _form.html.erb ... <%= form.label "spectrum" %> <%=...
Daniel Weaver replied • SolvedFinally figured it out. The connection was there, just `rails db:setup` was failing, but `rails db:schema:load` did work. Thanks again for all your help and quick responses
Alex Deering repliedI exactly followed the example, but it doesn't work for me. The form is submitted but the button is not disabled and the text is not changing. Do I miss some JS magic? Any ideas?
Robert Reiz repliedYou are trying to deploy to a linux system, when your app was built using a windows based system? Make sure you are targeting all platforms `gem "tzinfo-data", platforms: %i[ mingw mswin x64_ming...
Alan Reid repliedI am using windows I cannot run the chmod command so it always shows permission denied when deploying to render
Emmaotiki5 repliedThe error is for this portion of code: $(".selectize").selectize({ create: function(input, callback) { selectizeCallback = callback; $(".tag-modal").modal(); ...
Rafal Siepak repliedUse the `bin/dev` command to start your server as noted in video 12 (Adding TailwindCSS to Rails). Otherwise the site does not get all the tailwindcss built in.
Jason R. Kretzer repliedNot sure what changed - as I type turbo is updating the results and then the search field loses focus as I type and I lose the odd key stroke.
Dan Tappin repliedYeah, I'm messing with this and running TailwindCSS/SASS in parallel with the Rails Asset Pipeline/Bootstrap.As mentioned, that's what's so powerful about Webpack (as I've recently discovered and l...
Ryan Martin replied • SolvedI just upgraded an enterprise Rails 6 sprockets 3 app to rails 7, that used webpacker 4 built css and renders react components occasionally. It's about 8 years old so it was the craziest upgrade. I...
Aaron repliedJust posting for those trying to use Bootstrap 5. Your connect function will work after you import Bootstrap and will look like so. Hope this helps: ``` new bootstrap.Toast(this.element).show(); ```
Chuck repliedHello everybody, I have the following issues. While trying to install the code as provided, I get an error: Uncaught TypeError: $(...).modal is not a function at Selectize.create (post.js:34)...
Rafal Siepak repliedI am trying to implement this on a rails 7 project (using jsbundling-rails for my javascript). When I manually setup the data in the console and invoke autoComplete on the form - it works. However ...
Thomas Keller repliedYou can see my question also on StackOverflow: https://stackoverflow.com/questions/66940456/searching-through-multiple-models-searchkick
Owen replied