First open source contribution to turbo-rails
Ahh thanks! That explains it 🙏
computer_smile
replied
•
Solved
5
Rails
Architecture Question - Connecting google books API and voting on favorite book
Joel Tennant
replied
5
Rails
How do I resolve Rails 5.2.4.2 routing error: No route matches [GET] "/pages_about_path"?
Alfred Montalvo Jr
replied
•
Solved
5
Rails
uninitialized constant ActiveStorage::AttachmentDashboard administrate gem
Yes, probably there is something like this:
```
logo_attachment: Field::HasOne,
logo_blob: Field::HasOne,
```
You have to make it an `Field::ActiveStorage` like this:
```
logo: Field::ActiveStor...
Konstantin Filtschew
replied
2
Rails
Enable turbo_frame: modal tag conditionally
I have a link for creating a new item
<%= link_to "List an item", new_item_path, data: { turbo_frame: 'modal' } %>
This opens a item form in a turbo_frame_tag modal <%= turbo_f...
Ahmed Nadar
posted
1
Rails
Generate ActiveStorage image variants after upload
Hey Mitja, this post is a bit old now but maybe I can help the next person looking for this information :)
The way I've dealt with this exact same situation was with a job (ActiveJob or Sidekiq or...
Alex F
replied
2
Rails
Rails 7 with esbuild application production deploy failed
To help you debug faster, you can pretend that you are Capistrano, so SSH into the server, and run every command that Capistrano would run, in the correct order.
Your latest error suggests you are...
Viktor Smári
replied
6
Rails
How to solve a status 308 with Action Mailbox?
It was because I was using http instead of https in my Sendgrid's url
Helena
replied
•
Solved
2
Rails
Devise and Hotwire
I'm having the same issue and still looking for a solution - did you solve the problem?
Jeppe
replied
2
Rails
Rails Association Question
I think there are multiple asks here.
Let's tackle your wish to return c.manufacturer, c.model, c.sub_model.
For only that perspective, the naive implementation is to have fields in the car tab...
Chim Kan
replied
2
Rails
Hotwire Not Working Inside of Namespace
This seems like an easy fix, but I am not sure why its not working. I have an admin dashboard using Hotwire, but I can't seem to create records for my gym model (There are no errors, and it will wo...
Brian Gilbank
posted
1
Rails
How do I use Rails.ajax() method
My web console is giving an error message that "Rails.ajax is not a function". I'm following the tutorial on Drag and Drop Sortable lists at https://gorails.com/episodes/rails-drag-and-drop-sortabl...
Owen Millward
posted
1
Rails
How to implement signup page for devise for two types of users?
Hi there,
I would like to implement STI for devise which will have two types of users. The first type of user is allowed to signup and I have called this as "PublicUser" and the second type of user...
Ponciano Vieira
posted
1
Rails
How do I make Paper trail log onto a different database engine rather that the main database ?
I have a project that has an established database connection and I am trying to separate the versioning of paper_trail onto another database.
Abdelfattah Hezema
posted
1
Rails
Finding records using Delegated Types
Hi,
I have a Delegated Types association set up like below and I need to find a particular Collection but the flickr_id is stored in the GalleryItem table. It's failing to return anything. How...
Neil Tonge
posted
1
Rails
Active Storage Rails 6 API unable to insert to active_storage_attachments table
Using Active Storage in Rails 6, Active Storage has been merged into Rails! You can find the latest version of the source code inside the Rails repository, ...
garxu21
replied
2
Rails
How do you create and save an Active Record instance that has a reference to itself?
`Files` is an Active Record model that has a reference to its parent of the same type:
```ruby
class Files < ActiveRecord::Base
belongs_to :parent, class_name: "Files"
end
```
I want to creat...
Perry Smith
posted
1
Rails