
Sorting Images using Active Storage
25
Rails
I'm experimenting with Active Storage to manage images. I got the multiple uploads working, but I want to use acts_as_list position with jQuery sortable to manage their order using ajax, like in [t...
Tony Serkis replied

Root route bypassing before_action
0
Rails
we have a posts_controller which takes a slug to render the correct page.
posts_controller inherits from application_controller which has a couple of before_actions
routes.rb has the following roo...
Solved

Issues with filter with searchkick elastic rails
0
Rails
I am currently on the part where you add
<% if params[:price]==bucket["key"].to_s%>
<%= link_to bucket["key"], request.params.except(:price)%>
<% else %>
<%= link_to bu...

How to use background job with ActiveAdmin to generate csv
0
Rails
With ActiveAdmin not able to generate CSV file with more records
Mahantesh posted

Implementing Hotwire
1
Rails
Hello good people.
I was watching DHH's video on hotwire and @Chris video on on this site demonstrating hotwire.
Do we still need stimulus js in case we want to implement that on the group chat ...
Suleiman Nassor replied
Solved

Stripe - Save Card and Reuse at checkout
0
Rails
I managed to create a customer with cards, but when I create a checkout session, I couldn't manage to bring the card to the form.
Victor Morelli posted

Using Pundit and ActiveAdmin
0
Rails
Hello, I'm using pundit with active admin and getting this error message
Pundit::NotDefinedError at /admin
unable to find scope `Admin::AdminUserPolicy::Scope` for `[:admin, AdminUser(id: integer,...
Maksk89 posted

Why is github permission denied after adding deploy keys?
1
Rails
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 li...
Jamie Crone replied
Solved

Ruby on Rails with Postgresql database
0
Rails
I am new to ROR & Postgresql database. I am trying to create a ROR API Application with Using Existing Database for my development. i want to know how to achieve the same. I referred many sites...
balaganesh posted

How do I search through associations with searchkick (elastic search) together aggregations
0
Rails
Hello folks,
I’m trying to do a search query through an association. Here’s what I have.
I have Property model which has_many :characteristics, as: characteristicable on one side. On the other si...
Owen posted

delete not working after using webpack
0
Rails
I have a rails 5.2 app, which run in a good way. After I followed the lesson about real-time group chat and used web pack, all the delete methods in my app are not working now. What are the possibl...
yy00809 posted

Stripe connect issues
4
Rails
I am currently working on integrating stripe connect to my app but it isn't working. I don't get any errors when I run it and it asks me to create an account and redirects back to the website but w...
Fatumata Jalloh replied
Solved

How to just receive emails through action mailbox?
0
Rails
Hi, I am currently testing and setting up an email service system.
**I just need to be able to receive emails , but no need to send email.**
1. my dns `mail.xxx.com` is ping successful, it can g...
Sylor-huang posted

I need help
0
Rails
Hello, the server that I hired made an update from Ubuntu 26-04 to 20.04 and since then I can no longer upload my project, I get the following errors:
2021/04/17 03:33:26 [error] 69263#69263: *5 "...
Miguel posted

How Do Determine If Is By Same User
0
Rails
Hello,
I am building a app with comments. I want to implement the feature where you don't show the avatar as long as the previous comment is by the same user. Like how Skype does it.
How can I achi...
Suleiman Nassor posted

When clicking on "update" on edit profile page, rails deletes the user instead of updating data to database
1
Rails
Hi, I am new to Rails.
Can anyone help me with this issue?
karatepicke replied

Rails repeats Webpacker packages if I go backwards (OwlCarousel, DataTables)
2
Rails
Hello there.
I've got a Rails app that repeats packages if I go back to the page that's supposed to render them.
For instance, my OwlCarousel with two images will multiply and have the carousel n...
cratag replied
Solved

gem administrate
0
Rails
ActionView::Template::Error (uninitialized constant ActiveStorage::AttachmentDashboard):
17:
18: <% if field.linkable? %>
19: <%= link_to(
20: field.display_associat...
chedi posted

Create Customer Url
2
Rails
Hello @chris and fellow members. I am new to rails and I was seeking help on how to create a url like "mydomain.com/5047315/projects/21789643 where is *5047315* the user account number ?
Regards,
...
karatepicke replied
Solved

How do i make a Courses - Chapter - Lesson Nesting!?
0
Rails
Hi all,
im new to Ruby on Rails and new to GoRails. I try to connect 3 tables.
My Models:
**Course.rb:**
class Course < ApplicationRecord
has_many :chapters
has_many :lessons, through...
Corlett Nils posted