
How to deposit, withdraw, transfer coins...
0
Rails
Hi Chris,I want to create an app where I can keep track of my cryptocurrencies.This is what I have right now:Coins (can have many wallets)namesymbolWallets (belongs_to coin)(has_many transactions)c...

How can you allow users (companies) in your app to select their own currency?
3
General
We use i18n and we have our app in ~5 languages, but we want the companies to be able to select which currency to use.
Mainly to choose the correct symbol to show on their invoices to their custom...
Viktor Smári replied

Flash Messages and Toasts with Hotwire & Turbo.js Discussion
25
General
Nice! I've been playing with Turbo and that comes on perfect timing, thanks!
But didn't you think that feels wrong?
We used to have the controller do all of that for us with the redirects and fla...
Chuck replied

Rails for Beginners Part 15: Login with Session Cookies Discussion
1
General
I would also like to learn about the inner workings of that session. For example how is that user_id attached to the session cookie? When we do `session.inspect` we can see everything as a hash but...
Dennis Njogu replied

Your First Ruby Gem Part 2 Discussion
1
General
Hey Collin
Great ep: thank you!
Really enjoyed the Github actions intro. We use a 3rd party CI (Semaphore) which is really good, but it was useful to see "the Github way"
A suggestion: might be ...
cjilbert504 replied

Datatables From Scratch Using Hotwire Discussion
31
General
fantastic thanks
Dan Tappin replied

capistrano deployment fails node and yarn is installed in the server
0
Rails
00: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 posted

Rails for Beginners Part 17: Login Form Discussion
8
General
It would be great to show how to do login with both username and email as well.

Extend Sprockets to bundle mustache templates
3
Rails
I'm trying to include some Mustache templates into the main JS bundle. The idea is to take `/app/templates/*.mustache` files, generate a JSON object, and set a window-level variable, like this:
``...
Solved

Turboframes not replacing when placed in another partial
2
Rails
I am trying to create a modal or a drawer which allows me to edit a form.
When I place the `turbo_frame_tag` in the same file like so. The form shows up properly when I click the link.
**admin/pe...
HP replied

I joined GitHub Education
5
Tips
I joined GitHub Education. How can I validate the account in Gorails to take advantage of the benefit?
Juan Mark replied
Solved

"export 'default' (imported as 'Vue') was not found in 'vue'
0
Javascript
I'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 posted

Rails for Beginners Part 18: Accessing the Current User Discussion
1
General
Hi chris, thanks for the tutorial so far.
I got this error when implementing this module:
ActionView::Template::Error (undefined method `user' for #):
<% if C...
Kolawole Ezekiel replied

Global User for Multi-Tenancy with Local Tenant Users
2
Rails
I'm watching the rails tutorial on the apartment gem and am curious how to manage my Users, which I've already created through Devise and implemented User Roles.
Essentially, I want one Super U...
neiladdams replied

Rails for Beginners Part 5: Routes and Route Types Discussion
13
General
great content.
Vishva replied

Build Multitenancy App in a different way
10
General
I have seen many questions and topics in gorails about multitenancy but I am a bit undecided about which way to go. I would like my app not to carry the subdomain name in the url. Indeed, I wo...
BKSpurgeon replied

Structure Guidance - Multi Tenancy Authentication / Authorization
19
Rails
I while back I was playing around building an app where you had multiple tenants (Company Model) and a single login (User Model). I then created roles (Role Model) to link the users to the tenants....
BKSpurgeon replied

How do I add an node express proxy server to rails app deployed on DigitalOcean via Classic Hatchbox using an nginx config file?
0
Servers
I’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 posted

How to use Uppy with ActiveStorage Discussion
37
General
Thanks for this!
Brian Carpenter replied

Rails Application Templates Discussion
38
General
Hello,Im gettingCould not find "Procfile" in any of your source paths. Your current source paths are:
/Users/my_user/Documents/dev/my_app/https:/raw.githubusercontent.com/excid3/jumpstart/masterUsi...
Mpumelelo replied