How does Searchkick/ElasticSearch impact how I should structure my database indexes?

1
Gems / Libraries
I have a couple of questions about implementing Searchkick and ElasticSearch in general. * Let's say I'm using ElasticSearch to search for products like so: ``` # usage Product.search "apples", fi...
Mark Doerr replied

Eager loading with Gem Mailboxer

0
Gems / Libraries
Hello everyone, I have a User model which act_as_messageable using the Mailboxer gem. In my users#index view, I would like to add a link for each user to the first user conversation Right now, I ...
Thomas M posted

Recurring Select Accepts "Null" As a Valid Rule

2
Gems / Libraries
I followed the Chris' excellent tutorial on [Recurring events with the ice_cube gem](https://gorails.com/episodes/recurring-events?autoplay=1). However, I was running into an issue when the value ...
Francisco Quinones replied

Question BEST_IN_PLACE

1
Gems / Libraries
In Rails 5 versions is it recommended to use the gem Best_in_place? What other alternative is there?
Tabish Iqbal replied

Uploading a file from remote url using shrine?

3
Gems / Libraries
Hi, I need to upload a remote file to my S3 bucket (e.g., I get a link to a pdf e-ticket and I need to upload it from its location). In addition (as a bonus) what's the best way to allow users to d...
Roy Zinn replied
Solved

Devise - logging on with something other than email

7
Gems / Libraries
I have followed the instructions on this page https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-sign-in-with-something-other-than-their-email-address to allow signing in with some...
Chris Oliver replied
Solved

Why do you choose ams (active model serializer) over jbuilder or the other way around? (Rails API)

2
Gems / Libraries
Hey Guys, I'm interested in knowing, why some developers choose ams over jbuilder and some prefer jbuilder over ams, to build Rails based API's. Cheers, Drilon
Dave Woodall. replied
Solved

when use carrierwave to upload mutiple images in one product , the active_admin edit one product page error.

0
Gems / Libraries
I want to add or upload multiple images in one product, but after I implement this , the active_admin edit product page error. in products_controller.rb, permit the images , which type is json `...
Larry Qu posted

Multi tenant best strategy

5
Gems / Libraries
Hi, I'm creating a multi tenant application using the apartment gem based on the video about multitenant here in gorails. The model I choose was the Account instead of Users so I can have several...
Giancarlo Corzo replied
Solved

After adding the activeadmin gem, my previous style changed, How can avoid this?

2
Gems / Libraries
After adding the activeadmin gem, my previous style changed , How can avoid this? Previous style is : ![previous style](http://calmops.com:83/down/previous-style.png) After adding the activea...
Larry Qu replied
Solved

Search all models gem

2
Gems / Libraries
I have seen this done in other rails application where you can search for a term and it would search across multiple models and return results from each. What is the best gem to use for this purpos...
Chris Oliver replied

Whats the gem I can use for Tokenize Field?

1
Gems / Libraries
It would have been great to receive a tutorial on Tokenize inputs. Thanks.
Mirza Selim Reza replied

Remove omniauth and convert existing users

4
Gems / Libraries
Hi everyone I have LinkedIn omniauth sign in up and working on my Rails 5 app in accordance with the Devise guide: https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview I have some acti...
Nino Rosella replied
Solved

Facebook Profile Image & Data using Devise in Rails

1
Gems / Libraries
I'm just starting to learn Rails so please forgive the dumb question. In my web app, I was able to set up devise successfully and then link it Facebook using Omni-auth gem. However, two things occu...
Chris Oliver replied
Solved

Any one help in pointing to a resource or webcast which explains how to interact with Google Drive API

3
Gems / Libraries
I am very new to rails and trying to build an app which can interact with Google DRIVE Api V3. I have scaffolded a Rails 5 App and used Devise Gem along with Google OmniAuth2 to authenticate and re...
Chris Oliver replied

[HELP] How configure "pundit" to display items belonging to a parent bond

1
Gems / Libraries
I lost hours to solve it, but I know, I am a newbie =X. My use case is, if the user have role `:agency`, he can see clients. But I have to use the link between the client's agency to verify this. ...
Bruno Wego replied

How do I build a beta invite system?

5
Gems / Libraries
Hi! I'm getting ready to release a beta for my rails app and I was wondering if there is an easy way(perhaps a gem?) to build an invite system, so that only users that receive an invite through ema...
Joe Guerra replied
Solved

How do I use carrierwave and a custom process to upload an unzipped folder to s3

4
Gems / Libraries
## Goal - I take accept a zip file containing some config files as well as 2 folders filled with images - Unzip the folder - run a method to standardize the sub folder and image names as well as re...
Thomas Bush replied
Solved

Searchkick search_data not working

4
Gems / Libraries
I'm playing around with elasticsearch and searchkick, but I can't seem to get search_data working. Searchkick seems to ignore it all together. If I only put one attribute in, it still searches on ...
Chris Oliver replied

Devise redirects to /users when there is an error editing profile

6
Gems / Libraries
I would like to know how i can change the redirect path so that when my editing a user fails it redirects back to `users/edit` and not to `/users`. To replicate this i am entering a duplicate emai...
Alan Reid replied
Solved