Storing Web Scraper Results in ActiveRecord models Discussion
@mentions for Users with ActionText in Rails 6 Discussion
Migrating From jQuery to Vanilla Javascript Discussion
@Chris, I know this episode is a little old, but this is still something I'm dealing with today. I understand the rationale behind the move to get rid of jQuery in web apps: jQuery was from a time...
Dan LeGrand repliedDeploying the Web Scraper Rails app to Production & Setting Up Cron Jobs Discussion
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 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 posted