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

What is the best way to handle omniauth

1
Gems / Libraries
Hi Chris, after couple of test run i figure out twitter is hard to work with other oauth2 providers, because twitter api doesn't allow to access other user email.. can you guide me about how to do ...
Chris Oliver replied

Stripe Subscription with Initial setup fee

3
Gems / Libraries
Hey Everyone, I'm building a relatively simple subscription based app using Stripe, Devise, Pundit and a few other resources. My only real hangup at the moment is that the subscription requires an...
Jake replied
Solved

How to use the Sentimental gem

8
Gems / Libraries
Hi there, I want to use the Sentimental gem to automatically check if an article is positive negative or neutral. This gem here: https://github.com/7compass/sentimental works fine in the Rails con...
Sascha M. replied
Solved

Advanced management (DEVISE) profiles.

1
Gems / Libraries
Hello Chris, I have the following problem, i can not separate the management of the profile to "devise" below will list how I would manage profiles: Edit User Profile (ex. http://localhost:300...
Alan Reid replied

best way to validate URL

3
Gems / Libraries
Hi Chris! I've been looking for a good URL validator for a while, but all the solutions I found are kinda weird, so I'm not even sure if I wanna use any. Here is my usecase: A user can create a p...
Chris Oliver replied
Solved

lazy high charts gem

1
Gems / Libraries
Hi there, I have been tinkering `lazy high gem` trying to get charts up and running, it works well with hard-coded data into the chart but when I try passing data dynamically i cant make some he...
Francisco Quinones replied

Single Devise User Model or Multiple Devise Models?

8
Gems / Libraries
Hi all, I am planning to create an application that will have several types of users with a couple shared fields and many unrelated fields. What would be my best option? After doing some research...
Francisco Quinones replied
Solved

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

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

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