Carrierwave file extension issue

4
Gems / Libraries
Carrierwave is converting and uploading image files with proper extensions to S3, but storing all in db as .png extension when accessing the `.url` method for versions. The file name and secure to...
Chris Oliver replied

Help configuring Vuetify/stylus on Webpacker

1
Gems / Libraries
Hi, does anyone know how to configure Vuetify with a rails app? I have webpacker working for basic a vue.js/rails app but I would like to configure it so stylus files compile to css so I can use Vu...
davidlbean replied

What is wrong with my stripe configuration?

6
Gems / Libraries
Stripe isn't working anymore. When trying to create a new charge returns `the server responded with status 401` I followed stripes checkout docs to set up stripe. [Stripe checkout](http://stripe...
Zanger02 replied

Knock error response in login

0
Gems / Libraries
Hiyas i want to response if user dont send `auth[email]` or `auth[password]` give the status 400 and return some json give that fields are required or the feedback the user or password is bad i fol...
Oscar Miguel Amezcua Estrella posted

ElasticSearch connection refused

3
Gems / Libraries
I am going through the ElasticSearch with searchkick video and I have installed ElasticSearch on my ubuntu box as well as installed searckick and added searckick to my model. Everytime I try to re...
RJ McCollam replied
Solved

Shrine vs. Carrierwave

0
Gems / Libraries
I noticed in the screencasts that the first one is on Carrierwave , but later on they're on all Shrine. I really like https://github.com/diogob/carrierwave-postgresql (not sure if it supports Shrin...

Recommended Gems - share them here :)

0
Gems / Libraries
Most of my recommendations are performance oritented but I'll be happy to hear about Gems that can help in other domains. 1. PGHero https://github.com/ankane/pghero , great to keep track of your d...
Ohad Dahan posted

Integrating Turbolinks into rails 5 app

0
Gems / Libraries
Turbolinks has been giving me a world of trouble and there is a lot of randomness with it depending on where I put it in the application.js file. Right now I have this: ``` //= require jquery3 //...
Alex Deering posted

How do I integrate the local_time gem without using the asset pipeline?

1
Gems / Libraries
How do I add the local_time gem to my project without using the asset pipeline as shown in one of the tutorial videos on building a user forum (https://gorails.com/episodes/forum-time-zones-with-lo...
Chris Oliver replied

Working with FullCalendar in Rails

0
Gems / Libraries
Hello Cris, Excuse my English. I want to know how (rails v-5) work with FullCalendar and simulate an example ?. I have seen several URLs and GitHub, but they all work differently ... Thank you
Mauricio Duran posted

Are there any up to date tutorials for jquery-sortable?

8
Gems / Libraries
I've built a todo list that consists of lists and tasks. I am looking to use sortable to allow someone to move items around and between lists. Can anyone recommend any resources on how to do this? ...
Ohad Dahan replied
Solved

Chartkick doesn't load on Heroku?

1
Gems / Libraries
I setup a few charts in my app using Chartkick, which work fine in development but not in production. I have the same "Chartkick is not defined" issue as this guy https://github.com/ankane/chartkic...
Adrian DeGus replied

[Hatch Deployment] - Cannot bundle commonmarker due to cmake

2
Gems / Libraries
Im using commonmarker for the HTML::Pipeline::MarkdownFilter. And when trying to deploy my app, I get this exception: ``` Gem::Ext::BuildError: ERROR: Failed to build gem native extension. curre...
Lauro replied
Solved

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

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.