Skip to main content
How to use Javascript via Webpacker in Rails 6 Discussion
General • Asked by Chris Oliver
Alternatively to the webpacker way of require the flatpicker css in the `packs/application.js` you can do someting like: ``` /* *= require flatpicker/dist/flatpicker */ ``` In your rail...
15
posts

HTML font-size: 62.5% is way larger than it should be
General • Asked by meklwin
Hello, I'm running into a problem where I want to use rems as a unit, so I set the html font-size to 62.5%, which I've seen as a common practice, which should give me 1rem = 10px (because the defau...
1
post

Expanding beyond a basic Rails CRUD site.
General • Asked by Konhaivo12
Hello everyone,,, So I've got a fairly basic CRUD style rails app, which has a list of Gins, Distilleries and and blog Posts. I'd like to expand it quite significantly in the following ways: ...
1
post

Free SSL for Rails and Nginx using Let's Encrypt Discussion
General • Asked by Chris Oliver
Hey Chris! looks like these instructions are no longer working with the latest versions of letsencrypt that use certbot.. do you know how to get it runing with the latest version? I Tried using cer...
5
posts


How do you figure out what and how to load the css/scss assets with Webpacker
Rails • Asked by Greg S
For Bootstrap you added to `application.scss `(I may have named my folder differently: ``` import "bootstrap" import 'bootstrap/dist/js/bootstrap' ``` and ``` @import '../css/bootstrap_cust...
1
post

Amazon Cloudfront CDN for Rails Asset Pipeline & Webpacker Discussion
General • Asked by Chris Oliver
Warning: when using a load-balanced production configuration, this configuration can result in intermittently broken assets. The problem occurs when traffic arrives during a reload that includes fr...
8
posts

Render a Rails resource with a React Component
Javascript • Asked by Simon Cooper
I'm going round in circles trying to work out, what I think must be a fairly common scenario, of tyring to render a rails resource through a React front end component. I'm seem to have got as fa...
2
posts

How to create a progress bar with vertical lines between elements
General • Asked by kelein marwin
I'm having a little trouble creating a css effect and don't even know what to Google to find code snippets. I have been tasked with creating a progress bar. The bar has 3 steps. Each step is repre...
2
posts

Receiving Webhooks in Development with Ngrok and Docusign Discussion
General • Asked by Chris Oliver
Would really appreciate the embed signature stuff if possible.
10
posts

Is it just me does anyone else feel that javascript world has gone crazy??
General • Asked by MerchanLobo
To begin with, there are so many js frameworks out there that's enough to intimidate a newbie who wants to learn "just javascript". Things in js world change so fast that we can barely keep up. I'm...
1
post

Why is github permission denied after adding deploy keys?
Rails Solved • Asked by Ethan Groat
I followed every single tutorial, and tried multiple different methods of authenticating my server's access to the github repo. All of it results in the same error, permission denied. Last few ...
1
post

Check CSS for Title Requirements
CSS • Asked by MatthewAiden
I think I figured out the CSS for what I'm looking for, but wanted someone to check it over. A subreddit I manage has a rule that post flaired "Advice/Career" must start with the posters country of...
1
post

How to run rails initialization code that relies on all classes being loaded?
Rails • Asked by Andrew Max
I have some crucial application setup code that I want to run once on application spinup that requires iterating through classes of a certain type and calling a gem specific initialize method on th...
1
post

Good guide for standing up a solid Ruby gem development environment in Visual Studio Code?
General • Asked by MenltonGomes
In my work, I have to split my time between working on a lot of different things, even sometimes different branches of the same things. I've wound up settling on Visual Studio Code as my primary de...
3
posts

Error installing gem pg on Mac with Postgress.app
Rails • Asked by John Petit
The pg gem will not install. Getting: ``` ERROR: Error installing pg: ERROR: Failed to build gem native extension. current directory: /Library/Ruby/Gems/2.3.0/gems/pg-1.1.4/ext /System...
1
post


How to save DOM elements in the database?
Rails • Asked by Magnus von Bromsen
Hi I'm working on my very first "real" Rails project, and it might be a bit to advanced for a newbie like me. But here we go (sorry for the long and confusing rumble). **Goal:** I want to save ...
3
posts

Best tutorial/blogs for Css
CSS • Asked by JohnMajor
I work with react and vue but everytime I do CSS, I hate my work the most. I hate doing css because everytime i copy some css like othe [SHAREit](https://shareit.onl/) r code it just doesn't works...
1
post

Ruby 3x3 Performance
General • Asked by KabirRaut
Noob question here. We all know that ruby 3 will have concurrency mechanisms. Ruby 3 will be released in 2020 Decemeber. With these https://pnrstatus.vip/ new concurrency models implemented in ruby...
2
posts

Subscribe to the newsletter

Join 27,623+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.