
When to setup associations in Rails db?
0
Databases
I've always wondered if there is a better way to help database query performance in rails by breaking up tables with lots of columns? Any recommendations would be appreciated.Does it make more sens...
Javid Freeman posted

Tuning Ruby for development
1
Ruby
What are you guys using these days to tune your Ruby MRI 2.5 at dev time? I've been using a mix of environment variables for a while and I'm not even sure if they're still valid, or deprecated.Basi...
Carl Mercier replied

Audited vs papertrail gem for auditing table changes?
4
Rails
I'm currently looking to use either one of these two for auditing changes made by specific user roles on a rails 6 ecommerce app using mysql. They both seem similar and I'm currently leaning toward...
anniesteuber replied

GoRails Screencast to setup Algolia ?
3
General
Hi,
Is there any screencast or project with Algolia ?
I think it would be great !!
Srinivasa Varma D replied

How to create a minitest fixture for a non database model?
1
Testing
Hi!
Is there a way to create a fixture for a model that is not in the database? I built my app a few years back following a guide in which the Plans were loaded from a YML file and instantiated as...
Simon Moro replied
Solved

How do i deploy NGINX with passenger without installing rails?
3
Servers
I am using NGINX as a reverse proxy is there a simpler way to get installed besides for this tutorial?
https://gorails.com/deploy/ubuntu/18.04
Chris Oliver replied

ActionCable in JumpStart project
1
Rails
Hi!
Is there anything special I need to consider when using ActionCable in a project created with the JumpStart template?
I've followed several tutorials (e.g. ["Action Cable ‘Hello World’ with R...
Chris Oliver replied

Manipulate photos already on S3 or Spaces
2
Rails
Scenerio: User uploads a huge file to S3 or Spaces.
Question: How can I set up a job or worker to go into S3 or Spaces and resize that file at a later time, or even batch all of the days uploaded ...
Ryan Carter replied
Solved

Subdomains Email reset with Devise
1
Gems / Libraries
Hi Chris so im trying to work with subdomain and maindomain email reset password
I use the code on devise and for subdomain work like a charm but for the main domain I get this erro because they do...
Chris Oliver replied

OCR
7
General
I am not a programmer!! But I create specifications for them.
We are looking to add smart OCR to our ROR app. By smart, I mean that can read, pair, and export tabular data from a scanned/exported...

Pass variable to Flash object
2
General
I'm trying to pass a variable to flash messages object. I want to autohide flash messages(not each message) after 5 seconds in Stimulus controller. So I want to be able to set data-flash-autohide-v...
Chris Oliver replied

Custom Turbo Stream Actions Discussion
7
General
Great episode! Is there any convention or recommendation for managing the JS code instead of throwing it all in the `application.js`? Something like `app/javascript/stream_actions/console_log.js`, ...
Samuel Couillard replied

No Client-side Encryption of Passwords
1
Rails
There are no client-side encryption of passwords when they are sent to the web server. In mitigation, the passwords are already protected by SSL/TLS during transit. An example of the POST request ...
Chong Hwi replied

How do I send a javascript array to my controller?
0
Rails
Hello everyone, is there any way I can send a javascript array straight to my rails controller?
Thx!
Eduardo Trintin posted

How to version model validations for an API?
1
Rails
Why is API versioning necessary at all? It is required for when we want to make some breaking changes to an API endpoint, like stop accepting certain parameters or if we remove some part of the res...
Chris Oliver replied

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

Deleting Comments In Nested Threads Discussion
4
General
How about taking an OO approach i.e. changing the type to DeletedComment, e.g. using STI? This eliminates the code smell of conditionals in a partial.
Alain Pilon replied

Team tracking?
1
Site Feedback
Hi Chris,
Is there or will there be a way to see which videos my team have watched, and how many, and what their XP scores are, etc, all on the team page? And see whether they actually watched, o...
Chris Oliver replied
Solved

Integrating Turbolinks into rails 5 app
0
Gems / Libraries
Turbolinks has been giving me a world of trouble and there is a lot of randomness with it depending on where I put it in the application.js file. Right now I have this:
```
//= require jquery3
//...
Alex Deering posted

openproject developer
1
General
Is there any openproject developer who can help me with the editing of the work packages