
EleasticSearch and Indexing Empty Models
2
Gems / Libraries
I have added Elastic Search to my Rails app via the Searchkick gem. I have hit a snag - when I have a model with no records I get these errors:
Searchkick::InvalidQueryError: [400] {"error":{...
Dan Tappin replied
Solved

Friendly URL's question
2
Gems / Libraries
Hello,
I'm building a small forum for my website and its a very simple app with the schema looking a bit like:
Topic -> Forum -> Post
So, Topic can be 'Off-Topic' with a Forum called 'Intr...
Chris Oliver replied
Solved

Rails 6, Devise not allowing editing of user without password
2
Gems / Libraries
I've followed the instructions on the [devise wiki](https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-edit-their-account-without-providing-a-password/). I'd like a user to be able...
Matt Bjornson replied
Solved

Shrine Dynamic s3
1
Gems / Libraries
Hi Chris,
I have a question I hope it's not out of scope for gorails but I'm having a hard time figuring it out.
I have a multi tenant site, each of the tenants add their own s3 credentials there...
Chris Oliver replied

Problem installing pg-1.1.4 as part of Rails 6 install
1
Gems / Libraries
I'm following the instructions in the post on installing a rails development environment for MacOS Catalina. I'm able to follow the steps up to checking the rails version:
$ rails -v
Could not fin...
Dean Richardson replied

Service worker view patch does not working in cached
0
Gems / Libraries
I want to add a view file inside cached but it doesn't work.
How to call view Patch in cache?
//serviceworker.js.erb
ar CACHE_VERSION = 'v1';
var CACHE_NAME = CACHE_VERSION + ':sw-cache-';
functi...
abdul544 posted

Searchkick conversion settings help
0
Gems / Libraries
Im starting to integrate search features into my recipe app and looking to build a "Popular", "Trending", and "Just For You" query to display on the index screen. Ive got the searchkick and search...
Alex Deering posted

acts_as_shopping_cart documentation?
0
Gems / Libraries
Hello everyone, I'm trying to build a shopping cart for my new project and i decided to use the acts_as_shopping_cart gem, well didnt really decide to but really the only one i could find without g...
Darren Nickerson posted

How to solve the [GET] “/login” routing error while building shopify app using ruby on rails?
2
Gems / Libraries
I am getting a Routing error says " no routes matches [GET] "/login" " and also in ruby libraries. During running on a server it displays page not found and the logs for that error is Logs show [GE...
Gaurav Agarwal replied

Pass SQL database data to NoSQl through Mongify
0
Gems / Libraries
I am trying to pass the data from an SQL database to a non-SQl database with mongo DB and for this I use mongify 1.3.2, Ruby 2.7.6.2, Rails 5.2.3 and within gemfile I have
source "http://rubygems....
Arman posted

GEM dependencies for implementing Google Pay and Apple Pay in Ruby
2
Gems / Libraries
We have an ecommerce website using Stripe as the payment provider and want to implement Google Pay and Apple Pay. For background, we are running a lot of out of date GEMS and Ruby is currently at v...
Xst996 replied

How do I integrate Uppy.io or Dropzone.js into Rails with ActiveStorage?
12
Gems / Libraries
[Uppy](https://uppy.io/) and [Dropzone](https://www.dropzonejs.com/) and popular js libraries that provide rich user experience for file uploads. ActiveStorage supports the integration of such libr...
Ivan Raszl replied
Solved

How do I remove Devise::Trackable from my app?
1
Gems / Libraries
I'd like to remove the Trackable module of Devise.
Is it as simple as removing `:trackable` from the `devise` line in `User.rb` and then creating a migration to remove the columns created for the ...
Chris Oliver replied
Solved

How do I set the active tab on the tailwindcss-stimulus-components
2
Gems / Libraries
Hi Chris,
I am using the tailwindcss-stimulus-components on a project. The tabs work great, but I can't find how to set the active tab. The problem is that I have different links to forms in each t...
Edmundo Ramirez-Semprit replied

`simple_form` Date Selector
0
Gems / Libraries
I've been working with the `simple_form` gem to create the forms in my app and I would like to know if anyone have experience replacing the default `date` selector? Its functional but a completely ...
Nelson Casanova posted

[Administrate] Autocomplete on 'foo: Field::BelongsTo'
2
Gems / Libraries
Hello,
I'm currently doing some tests using Administrate to see if the functionality can be shaped in a way that is convenient for me... Some things have been quite easy and for the most part sati...
Nelson Casanova replied
Solved

Flagging Videos with Obscene Content
0
Gems / Libraries
Hey, all!
I'm trying to take the next logical step for my website.
So far I am using a language filter [gem](https://github.com/chrisvfritz/language_filter) to help catch explict **text** conten...
Steven Torrence posted

How to configure gem 'devise' and gem 'devise_token_auth' in same project
0
Gems / Libraries
Hi,
While creating a project, I need to configure gem 'devise' and gem 'dvise_token_auth' in same project and in same model.
Is it possible to implement this, if yes, then please guide me in implem...
Prachi Sharma posted

Doorkeeper and Authorization Code Flow
0
Gems / Libraries
Hi! I'm learning rails building an CRUD app with authorization. I want to autorizate http requests.
I can't generate the authoriation code, when send the url with client_id and callback url, the p...
brbernardo90 posted

Spree - What is the secret key of spree? Ask Question
2
Gems / Libraries
I am working on Ruby on Rails project, and I have already added the devise authentication,
and now I have added the spree in my project by following this Github/spree
I want to know that is the...
theshashiverma replied