
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

How to Refresh the OmniAuth AuthHash Discussion
2
General
Nice tutorial
Freibuis 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

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

Syncing Repositories with Ruby Scripts - Part 1 Discussion
6
General
Nice tutorial. Why git fetch followed by git pull and not just a single git pull?
cjilbert504 replied

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