Ruby on Rails Community Forum
Executing javascript code that's returned within a Stimulus Reflex morph
1
Gems / Libraries
I've got Stimulus Reflex up and running well, but was wondering if there's a way to have it execute javascript commands sent back in script tags within HTML rendered partials when they're added to ...
Tom Iwaniec replied
Solved
nested resources n your API Wrapper Rubygems series?
0
General
Forgive me for not knowing vultr and using a generic example but.
lets say we use a service where customers have multiple products, and to access the products for a customer the endpoint is someth...
Warden and System Tests are driving me insane.
2
Testing
Im using Warden for authentication and are now trying to write system test. But when I run a system test I get the following error:
Failure/Error: if current_user.admin?
NoMethodError:
...
Niklas Nson replied
Solved
Contact form that sends email directly from the page
3
Rails
Hello. I'm currently building my web dev portfolio using Rails. I just graduated coding bootcamp and it's all still pretty new, now that I'm doing it on my own. On my contact page, I just want to h...
Bri replied
Solved
Searchkick/ElasticSearch not accepting Rails/Ruby booleans?
0
General
Hey everyone! I'm trying to get elastic search to work with a checkbox, but as they return a 0 or 1 as booleans, elastic search doesn't accept these params. Does anyone know how to get elastic sear...
Cory Johnson posted
Customers duplication with stripe
0
General
Good morning, I'd like some help to avoid the duplication of customers with stripe subscriptions. I did the verification code and it matches with the datas at faunaDB, but the customers keep appear...
Finding video
2
General
Hi, I am looking for part 2 and 3 of the series "Realtime with Hotwire and ActionMailbox" that are only available as preview on Youtube - am I missing something? Thank you very much
Hanamo replied
How do I set up webpacker for production environment?
0
Rails
Im running my project first on my local machine using Production environment before deploying to production to make sure all is running fine.
im using docker with Rails version 5.2 and webpacker ve...
Dev posted
error in rake db:create command
2
Ruby
Hi everyone
I'm getting this error when I try to create db (I've guided me with https://gorails.com/setup/windows/10). Using WSL.
All step go well, till this command: rake db:create
```
could not ...
Francisco Morales Sánchez replied
What is the best way to host video platform in a cost efficient way and good streaming quality while still keeping it extensible
0
Servers
Hey,
I am planing a little page where we want to post zoom sessions and give the opportunity to watch them afterwards.
In the beginning we might 5-20 people watching and long term plans are to bu...
OuttaSpaceTime posted
Plan limits
0
Rails
I'm currently building a sass product that has three plans beginner, intermediate and advanced. This is then linked to a stripe subscription product.
Each plan has limits eg. the number of team me...
Where Should I Start To Master Ruby on rails?
3
General
I know ruby and wants to learns ruby on rails. Where should I start? Can you give me a playlist?
Fatih Durmuş replied
Solved
Creating Custom QR Codes like SnapCodes or Messenger Codes?
1
General
I'm wondering how I could create something similar to SnapCodes or Facebook's Messenger Codes. They're the same concept as QRCodes just a bit more aesthetically pleasing.
I've been searching for a ...
Kelri Mrein replied
ROR version to have a fine database management
0
Rails
Hi
I use a very old ROR (2.0.2) and ruby 1.8.6.
I would like a fine database management. What is the ROR recommended version for you? Of course the last, but if possible, i don't want to make a big...
jean posted
Nesting resources & controllers best practice
3
General
Hi all,
I'm relatively new to rails so apologies if this is a very basic concept / been asked before, I've had a look around and can't really find any best practices for when to use nested control...
Chris Oliver replied
Solved
Using form_with produces odd results for nested namespaced resources.
0
Rails
I'm having an issue with sharing a the `new` and `edit` form for a shallow nested resource in a module/namespace.
Most everything works as expected. The issue I'm running into is using `form_with`...
Chris Born posted
Unsafe-inline
2
Rails
My apps need the following settings to get working:
script-src 'self' 'unsafe-inline'
style-src 'self' 'unsafe-inline'
unfortunately this doesn't pass the pen-test and they requested to remove the...
RyanJeff replied
Jumpstart throwing error after install
0
General
Hello, I created a new app using the jumpstart template but I am getting this error when I start my server "Sprockets::FileNotFound in Home#index" "couldn't find file 'trix/dist/trix' with type 'te...
oomis posted
Correction for guide installing rails + mysql on ubuntu
0
Site Feedback
I believe this part of guide is longer correct
sudo apt-get install mysql-server mysql-client libmysqlclient-dev
should be
default-mysql-client default-libmysqlclient-dev
Jeppe B. Svendsen posted
docker mysql
1
Rails
Hey guys i was wondering if you ever get to connect a rails app in local host without dockerizing it and be able to use a docker image of mysql with it.i already got the mysql image running in dock...
KevinNafziger replied