How can you allow users (companies) in your app to select their own currency?
1. How do you generate your list of currencies? Do you use the money gem? 2. How do you display the currency format, which helper do you use, if any?
Viktor Smári replied1. How do you generate your list of currencies? Do you use the money gem? 2. How do you display the currency format, which helper do you use, if any?
Viktor Smári 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 repliedi have noticed that my notice after redirecting to root is not being displayed
Dennis Njogu repliedHey Terry - Thanks for the kind words here! And yes, that is a great idea, thank you for sharing that one!
cjilbert504 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 replied00:29 bundler:install The Gemfile's dependencies are satisfied, skipping installation 00:30 deploy:assets:precompile 01 $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile ...
Tahir Ahmad postedTime for an updated version? for rails new template -j esbuild -css bootstrap projects. Maybe use a more complex template and go a bit further. (you almost sounded bored in the old one.)
Roger repliedIt looks like you need to replace the drawer code in your index.html.erb with something like render "admin/shared/drawer" and replace the contents of the drawer partial in your example with the d...
HP repliedGitHub Education helps students, teachers, and schools access the tools and events they need to shape the future of software. https://accessprep.org/
Juan Mark replied • SolvedI'm following Chris' tutorial "Embeddable Javascript Comments Widget Models - Part 1" and I'm getting that error, any pointers on how to fix it? I'm running Rails 6.1.7.2 and my package.json looks...
Esteban Utz postedProblem solved by stopping the program and ran `rails db:migrate`
Kolawole Ezekiel repliedYour blog is not only helpful, but it is also very creative. Thank you for being willing to share what you know with us. We'll always be grateful for what you've done here because I know you care a...
neiladdams repliedHi, I'm getting following error when i open http://localhost:3000/about AboutController#index is missing a template for request formats: text/html Please let me know how to resolve this issue.
Vishva repliedSo presumably the foreign_key on all your records would be `organization_id` as per Chris Seelus's method?
BKSpurgeon replied> You can set the session[:company_id] to a default when they login, or allow them to use the site under a "Personal" account without a company. Hi folks, appreciate the commentary, it's extra ...
BKSpurgeon repliedI’ve added an node express proxy server to an Ubuntu Digitalocean server that is used by my rails app and is deployed via Classic Hatchbox app that utilizes an nginx configuration file. The node e...
Alfred Montalvo Jr postedHi 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 repliedHi Chris, in video at 4:00 in tweet model. You use self.publish_at in after_initialize but only tweet_id? in published? Why is one with self and other is not with self?
Jaroslav Horák replied