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

Using Rails ActiveStorage causes Integrity Error when trying to analyse

1
Rails
I have a lot of files already on Backblaze B2 (S3 compatible) that I wish to use with ActiveStorage. The problem is, the majority of my sites data gets populated and updated by wiping it all out an...
namanh-dot replied

How do i create a QR code lead authentication strategy

0
Rails
Hi all, please visit the popular challenger bank https://web.tide.co/login/ for an example. Their auth strategy is to present the user with a QR code that changes every 30 seconds (I'm sure this i...
Dearg OBartuin posted

How to Upload Files Directly To S3 Using Paperclip And Dropzone.js

4
Rails
[How to Upload Files Directly To S3 Using Paperclip And Dropzone.js](https://www.railscarma.com/blog/technical-articles/upload-files-directly-s3-using-paperclip-dropzone-js/)

How can I convert this code to raw SQL and use in rails?

2
Rails
How can I convert this code to raw sql and use in rails? Because When I deploy this code in Heroku, there is a request timeout error. I think this will be faster if I use raw sql. @payments = Paym...
William Kennedy replied

How do I create a filterer with checkboxs that dynamically search for results?

1
Rails
Hey everyone, I am attempting to build a checkbox filter with Rails 7. I would like to render a list of businesses on a page and have a side panel with a bunch of checkboxes. This side panel woul...
jackjohnsonpo replied

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

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

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