Missing template with Stimulus-autocomplete

0
Rails
Hi, I am trying to use [Stimulus-autocomplete](https://github.com/afcapel/stimulus-autocomplete) following [this tutorial](https://itnext.io/search-autocomplete-stimulus-4e941df54d39) But I get thi...
Benjamin Joseph B. posted

How do I fork turbo and use it as my turbo version

1
Rails
How do I fork turbo and use it as my turbo version in a rails 6 app, I tried linking to the github of my forked turbo repo in package.json but it gave me an error couldnt find hotwire
Solved

Can anyone suggest me best Ruby on Rails 5 book?

8
Rails
I have watched few video tutorials of gorails and codeschools. I think it will be better if I read a book. Can anyone suggest me a ruby on rails 5 book which will helpful for beginner? 

Action cable - How to delete message in chatroom that belongs to current user?

0
Rails
I've tried to use if else statement, and display a link next to the message, when I submit a message, the link won't display, and I have to refresh the page. It seems like if else statement doesn't...

How to set correct host for action-text-attachment figure img src?

0
Rails
My rails 6 app is set up with amazon s3 with a react front-end. I serve the react front-end with json and in my json I have Post model with a rich content body. In the body I have added an image. W...

I want to use devise gem for normal authentication and api authentication with devise-jwt gem. Is it possible?

1
Rails
Hi huys! I have an problem with devise-jwt gem. I have an default rails application. I want to use devise gem for normal authentication and api authentication with devise-jwt gem. But they can no...
Carlos Vazquez replied
Solved

Anchors being ignored when added to redirect_to path in controller

2
Rails
I feel I am missing something fundamental, or maybe just silly, when it comes to this issue. I am utilizing linking to anchors in most places in an app I am building and all is working well with l...
Miri Lama replied
Solved

Displaying search results from an API

0
Rails
I am working on a small project where users can search through an API (https://github.com/games-directory/api-giantbomb) via a search bar. However, nothing is displaying on my index page with the r...
OnRice posted

Why would I be receiving a NoMethoError when I try to go to the trips edit form?

1
Rails
edit.erb Edit <%= @trip.location %> <%= button_to "Delete trip", trip_path(@trip), method: :delete %> <%= link_to "Cancel", trip_path(@trip) %> trips_controller.rb de...
Masafumi Okura replied

ERROR in chunk application [entry] js/[name]-[contenthash].js Cannot use [chunkhash] or [contenthash] for chunk in ....

4
Rails
Hello i pass one day to debug this .... I following step by step this tutorial, but when in launch bin/webpack-dev-server https://dev.to/davidteren/getting-started-with-rails-6-1-tailwindcss-jit-we...
Barlow Kasule replied

Search Filters/Report Generator

3
Rails
I am working on a project for a client that consists of a primary jobs model that has a number of forms (other models) within it. I am needing to build out search functionality that searches throu...
RJ McCollam replied
Solved

Searchkick Aggregations - Need to show Users only from Current.account

7
Rails
My App uses Current.account from ActiveSupport and i need to show only Users (for filtering) who belongs to the Current.account. The following Setup for Search Filters with Aggregations (searchkic...
Chris Oliver replied

Business page with cms

5
Rails
Hello, I'm a beginner rails developer. I wanna do a business page for my friend. The task is to have a business page with cms to management a content, but in this cms admin user should have been a...

How to build a wizard

7
Rails
Hi Chris Something I'd love to see a video on is on how to *build a wizard*. I find this not that simple and would love to see how you solve these kind of issues, like in an onboarding process (or...
Bryan Beshore replied

Newbie question trying to understand collection_check_boxes method

3
Rails
Hi, I am new to Rails, and I am trying to create checkboxes in a view. I came across this method: https://apidock.com/rails/v4.0.2/ActionView/Helpers/FormOptionsHelper/collection_check_boxes What ...
Pauline Velarde replied
Solved

Strava API auth please HELP

0
Rails
I am attempting to create a very simple rails API app. I need to be able to authenticate within my application in order to access my data. authentication is a four-part process, I have done this su...
chigreen posted

Checking webpacker is cause of for time sink

1
Rails
Working on a ruby on rails application. Let's say I make a small change to any class file and make a request to some page on my application. Then my response times are increased by anywhere from 2...

Problem installing Capistrano

4
Rails
I am following Chris's "Deploy Ruby on Rails on ubuntu 18.04 ..." But I am stuck at installing Capistrano! command "cap install STAGES=production" gives me the following error : ":$~ cap install S...

Command 'rails' not found but it used to work perfectly...

4
Rails
Hello everyone, I'm having some issue I really don't know why... It is the second time I get this but, after working on a Rails project without any problem, I try to get back to it and it tells me ...
DineshKumar replied
Solved

Using Docker with Rails on M1 Mac

2
Rails
I have an M1 Mac and I always get errors for either sprocket-rails or nokogiri. I am using Ruby 3 and Rails 7. Is anyone using Docker with an M1 Mac and Ruby 3/Rails 7 with success? If so, could yo...

Want to stay up-to-date with Ruby on Rails?

Join 92,170+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.