
Rails 5.0 - How to implement in-place editing without using best_in_place gem
1
Rails
I'm building an Events site using RoR which I've just upgraded to v5.0.1 (not moving to 5.1 just yet). My events show page has a comments section at the foot of the page which, so far, only has a c...
Humusk1 replied

Guide to installing/configuring Rails 7 on MacOS Monterey 12.01
0
Rails
Any idea where I can find an installation/configuration guide for Rails 7 on my MacOS Monterey? I have seen some tutorials on GoRails for specific Rails 7 issues, but no tutorial on how to install ...
Joseph posted

Regarding 2 imports when running `rails hotwire:install`
1
Rails
Hi,
When running `rails hotwire:install`, it shows 2 warnings:
```
You must import "./controllers" in your JavaScript entrypoint
You must import @hotwired/turbo-rails in your JavaScript entrypoint ...
Askar replied

(Active Storage) How to check for an existing blob in another AWS bucket?
1
Rails
Hi there,
I'm trying to do something quite simple, which is:
- A user uploads a video to a chat (a message can have many attachments)
- The video uploaded automatically gets transcoded with Elast...
Chris Oliver replied

Rails for Beginners Part 24
1
Rails
A great tutorial. I'm a little stumped and looking for a little guidance. I followed along with the tutorial and added on ```<%= button_to "Connect Twitter", "/auth/twitter", method: :post, clas...
Jeremy Lincoln replied

FTX.com REST API POST Authentication FAILS with Ruby on Rails and net/https
0
Rails
Hoping for some help as this one has me baffled...
I created a user account and API credentials at FTX.com.
They have an interesting Auth setup which is detailed here: xhxtxtxpxsx://docs.ftx.com/...
Joergen posted

How Do I send a "Turbo Hotwire Broadcast" only when a record with a specific name value is created or updated, and for a specific partial?
0
Rails
Hello, you have a great community in Gorails. I have a Rails View with 3 numerical integer indicators: speed, temperature and pressure.
These values are stored in SavedObject model as serialized ...
Luis Cuevas posted

Question on getting started tutorial
1
Rails
Hi,
I've been following allow with your awesome series, thanks really well done. At about lesson 20 when it comes to setting up token for user password reset email I've tried using user.signed_id a...
Immase replied

Trello Clone with VueJS and Rails
0
Rails
Wondering if anyone could shed any light on how to only return cards for the logged in user?
So basically when a user goes into that board, he would only see the cards he has created.
Alan Reid posted

Pagination with Stimulus
3
Rails
I'm trying to migrate to Stimulus and I thought a good place to start would be to move all my UJS style partials that are using jQuery to Stimulus. It would be great to use one Stimulus controller ...
Cory Johnson replied

eager loading with custom joins
0
Rails
problem statement:
Can I write a custom join for the included association?
e.g. Course.includes(:course_details).joins(left outer join course_details on course_details.......)
I want to add more ...
Daud Sadiq posted

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

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

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...

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

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

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

Validation Errors Not Showing in Views
1
Rails
I have an app where I got the CRUD functionality working and I added some AJAX to learn how to use it. I changed a class to use AJAX for the delete, edit and show views from the index view. That ...
Drew replied

how do I properly set up rails project on my machine
0
Rails
I am not able to set up rails project on my machine. It's giving me following errors when I try to run bundle install P.S: This is my very first time on ruby
error: mingw32: key "5F944B027F7FE20919...
Mustafa Rasheed posted