Wrapping up our Web Scraper in Rails Discussion
How to use Mission Control Jobs in Rails Discussion
Yes, it's fixed. https://github.com/basecamp/mission_control-jobs/pull/47
Chris Oliver repliedSend Notifications in Rails with Noticed gem v2 Discussion
I'm a big fan of Noticed for building multi-channel notifications in Rails apps, so I wrote up this tutorial on building in-app notifications with Noticed and making them real-time with Turbo Strea...
irohanz128 repliedHost PHP without breaking Hatchbox?
You can add your own sites in /etc/nginx/sites-enabled/mysite. Just don't use a name that matches an app name in Hatchbox. Hatchbox doesn't really make any adjustments to the NGINX config other th...
Chris Oliver repliedDevise, scoped models
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 postedAnyone using Litestack + SQLite in Production
Thanks for that Chris! Have you looked into the Litestack Gem at all? Seems pretty neat!
Rich Smith repliedHow to Refresh the OmniAuth AuthHash Discussion
This is a service that I wrote to decouple from the models into a service. this will only work with OAuth-derived strategies. just call `OmniAuthService.refresh!(user_omniauth_provider_record)` f...
Freibuis repliedStripe subscription - set a minimum time before cancel and stop billing
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 postedUsing Deprecation Warnings in Rails Discussion
Setup MacOS 11.0 Big Sur Discussion
For Mac OS Big Sur, the command to install the headers is slightly different. Here's the correct command: ```shell sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_header...
anniesteuber repliedAudited vs papertrail gem for auditing table changes?
Both PaperTrail and Audited are popular gems for auditing changes in a Rails application. While they serve a similar purpose, there are some differences between them that you can consider: 1. Func...
anniesteuber repliedFind By Short Code Discussion
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 postedI am receiving this error "BlogPostsController#index is missing a template for request formats: text/html"
in the video, he has views and layouts separated. How can I do the same?
Roman Vetter repliedYour First Ruby Gem Discussion
Thanks Collin! That was awesome! Yes please! on continuing the project! 🥳
Eric Halverson repliedSetup Searchkick with Minitest
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 postedGET http://127.0.0.1:3000/assets/stimulus-loading.js net::ERR_ABORTED 404 (Not Found)
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 postedSyncing Repositories with Ruby Scripts - Part 1 Discussion
This made my day to hear. Thanks, Mitch! I'm super glad you learned a bunch and hope you enjoy part 2!!!
cjilbert504 repliedWhat is the best configuration for VScode for Rails Development alongside JS
Hey Guys, So I'm actually trying to properly setup VS code for rails, But I am not able to make it as perfect as I set it up for JS or other languages. Currently, I am using rubocop, selenium, rub...
Surya Teja Reddy posted