Adding headers to spans question
Having a problem with the FAQ section of my website. I want the glyph icons to not drop onto a new line by themselves. Have tried using after the question mark but that doesn't work. Have tr...
jamesdon repliedRouting Inbound Emails with Actionmailbox Discussion
Hey if anyone is trying this on rails 7 and getting the issue when creating an inbound email around 11:40 in this video, see here for a fix: https://github.com/rails/rails/issues/43928#issuecomment...
Chris King repliedUsing Ruby Service Objects To Refactor Your Rails Code Discussion
this is great, but it misses a very important thing which is: a proper way for error handling while performing these operations(create/update etc).
hamza-itu repliedrake assets:precompile - JSON::ParserError
Hey I had a very similar error, followed most of the same debugging steps. What actually turned out to be throwing the error was an overlooked "" in one of the views wrapping an erb tag in a javasc...
Weston Ellis repliedMissing template with Stimulus-autocomplete
Hi, I am trying to use [Stimulus-autocomplete](https://github.com/afcapel/stimulus-autocomplete) following [this tutorial](https://itnext.io/search-autocomplete-stimulus-4e941df54d39) But I get thi...
Benjamin Joseph B. postedShould I be able to master JavaScript in less than two months?
How do I learn to write dry code?
Sharing on social network
Setup Ubuntu 21.04 Hirsute Hippo Discussion
Great guide as always! However, I believe that postgresql is now at version 12 and that 'sudo apt install postgresql-11' will return an unable to locate package error, I would suggest using 'sudo a...
Devon Kiss repliedSetting up Customer Support models with Hotwire Discussion
Hi Chris. When styling you probably want a message to appear different to the sender vs the receiver. Normally this would be done by using `current_user` in the partial, but DHH confirmed that par...
magico repliedHow To Create A Gem For Frontend Javascript And CSS Libraries Discussion
How to use Uppy with ActiveStorage Discussion
I built a stimulus controller for this but ran into some issues getting the uppy stylesheets to load. I spent a lot of time trying to figure it out. Putting details here so I don't lose them or pe...
Brian Carpenter repliedProperly adding Turbolinks 5 event handling
How can I test sortableJs ? (RSpec)
I made a drag and drop to-do-list with SortableJs and i'm trying to test the drag-n-drop with RSpec/Selenium/Capybara if the request is sent onEnd. I'm able to do the drag n drop using selenium `dr...
paul lahana postedHow to create Custom Elements with Web Components Discussion
Hey Chris, I'm working with this right now and i've gone quite deep down the road to implement this. Glad you added the turbo stream logic there. I was still puzzling on how that one worked :). H...
Danny Oosthoek repliedlearning ruby
Create a User Profile after saving a Devise User
Hi @pedro these methods are automatically generated by Rails when you set up an association like the `belongs_to` so you do not need to create it on any model to make it work with this example. You...
Alex Ventura repliedHow to deploy Rails to a Staging Environment Discussion
Thanks for the episode. Why didn't you have to add the secret env variable when deploying to Heroku. Does Heroku know to look the staging master key because you set the RAILS_ENV to stagging?
Eitán repliedContrasting Colors with YIQ and Helper Tests in Rails Discussion
Thank you for visiting here.
jivizza12 replied