General Ruby on Rails Forum
Bizarre cache issue
0
General
How do I force the browser to always refresh parts or all of the content?
I have a bizzare issue where the browser is caching parts of the site. For example I have a 'History' for a model row in ...
Dan Tappin posted
Expanding beyond a basic Rails CRUD site.
0
General
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:
Add ...
Konhaivo12 posted
Can someone help with some CSS please
2
General
I am working on a website and i'm trying to change the vertical height of the header of one of my pages. I only want the header of this page to change and not all of the headers across the whole we...
Hans Petter Lie-Nielsen replied
Best resources/way for learning Ruby for a complete newbie?
0
General
I just got an internship and I am going to be programming in Ruby on Rails. I am going to be learning Ruby on the job but want to learn it on the side and accelerate my learning so I can start cont...
wolf kinara posted
Is it just me does anyone else feel that javascript world has gone crazy??
0
General
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...
MerchanLobo posted
Is it necessary to overengineer Java programme??
0
General
Previously I have been using Laravel to develop RESTful API for my work. But I decided to expand my programming horizon by learning additional language, and seems like a strict type language can he...
MerchanLobo posted
Handling large-ish Excel files with Apache POI
0
General
Hi,
I'm working on an application which takes Excel files as inputs. These files may have some tens of columns and several hundred thousand rows. They reach 50-60mb in size on the disk. [hotmail.c...
Tonnystark posted
Force client browser to clear cache after tenant switch
0
General
I have a Rail app where the user can switch tenants (activerecord_acts_as_tenant). The issue is that in production the browser is caching the old client HTML etc.
I came across this:
https://sta...
Dan Tappin posted
Ruby 3x3 Performance
1
General
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...
Chris Oliver replied
Aplaying flexbox to the body element.
0
General
Hello everybody. I have a html document with https://vshare.onl/ nothing but a 200x200 px div. When I try to center it with flexbox it centers horizontally without a problem, but vertically it does...
SheldonMenez posted
Is it necessary to overengineer Java programme?
0
General
Recently I've been studying Spring Boot and Spring Framework to develop a RESTful API application.
Previously I have been using Laravel to develop RESTful API for my work. But I decided to expand ...
Jonesmartinze posted
How do I get avatar.variant(resize: “200x200”) on Rails 5 to work using aws on production?
3
General
I can't get user.avatar.variant(resize: "200x200") to work while using a cloud provider in production because it uses my website path instead of aws.
```
<%= image_tag user.avatar.variant(resiz...
Chris Oliver replied
Solved
How to create a progress bar with vertical lines between elements
0
General
I'm having a little trouble creating a css effect and don't even know what to Google to find code snippets. https://birthdaywishes.onl/
I have been tasked with creating a progress bar. The bar has...
MarvinToran posted
How do I store users’ API keys for 3rd party services
2
General
So I am working on a multitenancy app that needs to store users' API keys for 3rd party services, but given that these are rather sensitive information, I imagine I should have some form of securit...
Yi Mei Wang replied
Solved
Can't duplicate photoshop gradient overlay in CSS - anyone encountered that?
0
General
So im trying to duplicate a button style from photoshop to CSS.
i tried to do it manually but fail miserably, so i tried websites that export css code from uploaded images, the issue is i still en...
ShedenSmith posted
Is it necessary to overengineer Java programme?
0
General
Previously I have been using Laravel to develop RESTful API for my work. But I decided to expand my programming horizon by learning additional language, and seems like a strict type language can he...
AmbrusFernas posted
How do I upload an image from the clipboard just by pasting an already copied image?
1
General
I built a site with RoR to upload memes but the uploading method it's through the default upload button where the user have to search for the image in his local device. This It's very tedious and n...
Chris Oliver replied
Good/Interesting/Fun examples of Ruby DSL
0
General
I've been hearing that coding in Ruby is a real pleasure and namely the fact that one writes a DSL for the problem he's solving. Could anyone provide some fun, interesting or j https://vlc.onl/ ust...
RichardSmith posted
RSCSS. Styling CSS without losing your sanity
0
General
This is a small article where we touch on RSCSS adding snippets.
Thinking of a beautiful and grammatically [tweakbox](https://tweakbox.mobi/) correct CSS code over and over again but still wiped o...
ThomasAnderson posted
Welp. They just let me go.!!
0
General
I started with a company 7 weeks ago and they just let me go. They had no training material whatsoever. They interviewed me as an engineer. The moment I started, they started treating me like a man...
Charlesmartin posted