How to use the Browser Geolocation API with Rails Discussion

3
General
Back to Rails: I would prefer Ruby/Rails screencasts over more and more Stimulus. Please don't become a Stimulus videocast.
Tworedkites replied

Failed to Run Localhost because of Run Time Error

0
Testing
I'm getting runtime error whenever I run the localhost. Redis was running but it only loaded the homepage. After about 10 seconds, the server stopped and gave us this error. ``` `__connect_nonblock...

Web Scraper UI Controllers & Actions Discussion

0
General

Storing Web Scraper Results in ActiveRecord models Discussion

0
General

Host PHP without breaking Hatchbox?

8
General
Hi, I have a couple of small PHP scripts I want to host on my Hatchbox / Vultr / Ubuntu server. Whats the best way to do that without screwing up Hatchbox? Thanks!
Chris Oliver replied

Devise, scoped models

0
Rails
My app accesses multiple databases and I want to scope the model folder. So I would have two users types, e.g. (DB1::User, and DB2::User). I added the routes as `devise_for 'db1/user` and devise_...
gmhawash posted

Anyone using Litestack + SQLite in Production

2
Databases
How's it going? Any gotcha's worth sharing? Any special configs to getting it set up with hatchbox?
Rich Smith replied

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

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

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

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

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...

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.