Skip to main content

Community

Subscribe to GoRails to join the conversation. Ask questions about your code, get help adding a new feature, and discuss implementation details with other members.

1 post Gravatar

Uploading a file from remote url using shrine?

Gems / Libraries • Asked by Roy Zinn

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


19 posts Gravatar

How to display multi-day events in SimpleCalendar?

Gems / Libraries • Asked by Alan Kirk

Hi there, Not sure if i've missed something, but i'm not able to get multi-day events to show over the date range using SimpleCalendar. From what I've read on the Gem homepage, I've passed in...


6 posts Gravatar

rails5 + heroku + cloudfront + fonts

Gems / Libraries • Asked by Szilard Magyar

I tried to configure a rails5 app (deployed on heroku) with cloudfront for assets and fonts. I could make it work for the assets, then I tried to add the config for the fonts as well, but I just sc...


8 posts Gravatar

Devise - logging on with something other than email

Gems / Libraries • Asked by RJ McCollam

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


2 posts Gravatar

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

Gems / Libraries • Asked by Drilon Buzuku

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


4 posts Gravatar

SimpleMDE & RedCarpet

Gems / Libraries • Asked by Matt Taylor

So i have set up my forum with simpleMDE and i'm using RedCarpet to parse the markdown. Everything works great except when it parses the markdown, it adds extra set of `<p>` tags before and after m...


1 post Gravatar

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

Gems / Libraries • Asked by Larry Qu

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


6 posts Gravatar

Multi tenant best strategy

Gems / Libraries • Asked by Giancarlo Corzo

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


3 posts Gravatar

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

Gems / Libraries • Asked by Larry Qu

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


3 posts Gravatar

Search all models gem

Gems / Libraries • Asked by Ali Rizvi

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