How would you set up these plans in Stripe?

2
Gems / Libraries
We bill our customers on monthly subscriptions, based on their resource usage in the app. They are private music schools and we charge by the number of students they have.The ranges are as follows:...

I must utilize stimulants.

0
General
How can I update an input in a simple form for as I enter a value, and the input already has the dollar sign ($) by default? For instance, if I enter the number 1000000, the comma will be added eve...
LloydWeimann posted

How can I whitelist an heroku app for external api?

2
General
I have a situation where I would need a static ip for my app in order to get whitelisted from a third party api, but heroku doesn’t support this. Has anyone got managed to find a fix around this an...

Where can I get started?

5
General
Hello! I am new here, interested to learn Ruby on Rails but the website seems to have LOTS of videos, so: 1. Is there a track I can follow or any playlist to watch so that I don't go randomly? 2. ...

Looking for advice on how to pick up rails quickly

0
General
I am a programmer with almost two years of experience writing software in mostly Go and Python (backend). I need to learn rails in about 3 weeks time before starting my new internship at hackerrank...

Trying to do an input in a form where it will change while I am introducing characters

0
General
How can I do that an input in a simple_form_for changes while I am introducing a value, and the input comes with the $ by default, for example, I have the number 1000000, and while I am introducing...

Best Online SSC Coaching in Delhi?

0
General
Excel SSC is the Best SSC Coaching in Delhi. We use the most innovative and friendly way to guide our students. join us today if you want clear government exam. Visit website - http://www.excelssc.com

Where do I start?

3
General
I'm here the first time in Go Rails and don't understand where do I start. Please recommend me a course or is there any learning path like other sites?

Open Source Vlog - Where Do We Even Start? Discussion

0
General
Testing the new comments...
Kentastic posted

Using Webpack in Rails with the Webpacker Gem Discussion

17
General
I wish our front end guys took 20 minutes to set up webpack on a project!

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

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.

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

"export 'default' (imported as 'Vue') was not found in 'vue'

1
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 replied

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

Want to stay up-to-date with Ruby on Rails?

Join 91,035+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.