
Stripe subscription - set a minimum time before cancel and stop billing
0
General
Hi,
I'm asked to make Stripe plans where the user can chose between three plans where pricing depends of the duration:
* per month (15$/mo)
* per trimester (12$/mo)
* per year (10$/mo)
For all thi...
Nathan Chalot posted

Using Deprecation Warnings in Rails Discussion
0
General

Setup MacOS 11.0 Big Sur Discussion
29
General
When installing the headers:
'sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target / '
Got this error:
' installer: Error - the package pa...
anniesteuber replied

Find By Short Code Discussion
0
General
Doesn't this still use the `set_link` code path at the end of the episode? We should be getting rid of that and adding
```
@link = Link.find(params[:id])
```
under the `show` method?
Gaurav Keswani posted

I am receiving this error "BlogPostsController#index is missing a template for request formats: text/html"
3
Rails
What I need help with is this - my file path seems correct, however, my views/layouts are not separate. My file path is: app> views> layouts> blog_posts> index.html.erb
What I am wond...
Roman Vetter replied

Setup Searchkick with Minitest
0
Testing
Hi everyone,
Just followed the searchkick official's docs to setup the tests, so that I can test my search controller:
Let's assume I have the following model:
```
class User < ApplicationR...
Patrício posted

GET http://127.0.0.1:3000/assets/stimulus-loading.js net::ERR_ABORTED 404 (Not Found)
0
Javascript
Hi all! Sorry to inform that after some manipulations with my js part of the rails 7.1.2 project I am constantly getting an error :
`GET http://127.0.0.1:3000/assets/stimulus-loading.js net::ERR_AB...
Tetyana Goncharenko posted

How do I have 2 users associated with a model
0
Databases
I have a model that I want 2 users to have an association with. So this model would have a proposer (user) and a challenger (a different user). I am getting a bit tied up in spaghetti around whethe...
dwedigital posted

Freelance advice
3
General
Hello 👋
I got into freelance recently, I thought I'd reach out to the veteran freelancers in the community to seek advice, things I'm curious about, are:
* What is(are) the most important step(...
Alan Reid replied

Styling The Password Manager with TailwindCSS Discussion
3
General
I noticed nothing happened to the delete button when you go to edit a password.
Fatih replied

Realtime Nested Comments: Part 3 Discussion
32
General
Very cool. I imagine a real-time comment feed like this will make a website feel come alive.
One issue I’d love to see addressed in a follow up video is the page kinda moving around as you’re rea...
OuttaSpaceTime replied

Rails for Beginners Part 20: Forgot Your Password Discussion
11
General
Hi Chris, is there a particular reason the create a different controller for each route action?
Foliwe Fossung replied

Google Maps and Google Places Autocomplete API with Rails, Turbolinks, and Stimulus.js Discussion
12
General
Thanks Chris, great video.
I have tried to work with Google Maps Places API in the past, but I have faced an issue with their API Policies. According to their policy you cannot save details like t...
alangosh replied

Best way to create a belongs_to object from a has_many
19
General
Sorry for the vague title but I cant think of a better explanation! Let's say I have a list of Users and an admin could click a button/link that would create a site for them from the existing ...
alangosh replied
Solved

Responsive Navigation with Turbo Discussion
10
General
Chris! The video is se to private!
alangosh replied

how should I start this?
1
General
I just wanna ask, how to take start on this course?
I am new here, tell me where to start?
DaveWill11 replied

Markdown and Emoji with the html-pipeline gem Discussion
25
General
Awesome episode! I've used https://rubygems.org/gems/p... but html-pipeline looks like a great alternative. Loving the emojis !!
Colin Ambler replied

Best strategy for downloading multiple files from S3
7
General
Im working on a rails app where Users can create a “project”. Project, has many datafiles.
Users upload multiple files direct to Amazon S3 (im using carrierwave).
I'd like Users to have the abilil...

fields_for and accepts_nested_attributes_for in rails
0
Rails
I have noticed something strange. For I have a rails app which has user model.
User has one lab
Lab belongs to user.
User has two attributes , username and age.
Username is mandatory on creatio...
Muhammad Ans posted