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.

4 posts Gravatar

Anyone with experience using Quilljs?

Javascript • Asked by Stéphane Paquet

Hi, I'm lloking forward using http://quilljs.com in a project and wonder if anyone can share his/her experience with such text editor. Related gems are looking pretty outdated (I'm using Rail...


2 posts Gravatar

Mention

Rails • Asked by Aime Ngongang

hi Chris Oliver on the @mentions episode can you share the css you use to show both user name and profile picture? Thanks


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


1 post Gravatar

cancel actioncable connection for unauthorized users?

Rails • Asked by Matt Taylor

Followed the series on action cable notifications and setup the meta tag so that action would not try to connect if the meta tag was present. Here is my code. ``` $(document).on("turbolinks:loa...


4 posts Gravatar

Freelance advice

General • Asked by Karim Tarek

Hello 👋 I got into freelance recently, I thought I'd reach out to the veteran freelancers in the community to seek advice, things I'm curious about, are: * What is(are) the most important s...


15 posts Gravatar

Why after I switch controller and switch back again , the form submit button Failure?

General • Asked by Larry Qu

after I switch the controller, and switch back, the form submit button Failure, if I refresh the page , it can works again. the console and network no error log.


4 posts Gravatar

How to setup the model associations for a simple e-marketplace?

Rails • Asked by Robert Paul

Hey GoRails devs, I am in the middle of setting up a marketplace (with stripe) and could use some help in conceptually thinking about the model associations. In the marketplace: a user can sell ...


10 posts Gravatar

Screencast Request: iOS / Android Adapter Example

Site Feedback • Asked by Patrick Berarducci

Hey Chris -- Thanks for all the great content. I've been enjoying it for quite awhile; you do a great job, really. I'd love to see a short tutorial on how to take a rails app or a portion of a ra...


4 posts Gravatar

How do I create two buttons that generate CSV files with different attributes?

Rails • Asked by Stephen Strange

Hello, I have two questions: 1) I would like to create a button that can generate a CSV file with one set of attributes, and another button that will be able to generate a different set of attr...


1 post Gravatar

Mailboxer: How to attach a file when starting a new conversation

Rails • Asked by Mehdi Mehrtash

I am using the Mailboxer gem. When creating a new conversation, the message that is created at that point is does not attach the file I am uploading. new.html.haml = form_tag conversations_path...


11 posts Gravatar

Ecommerce multi-step checkout with guest accounts

Rails • Asked by Sean Murphy

Hello, I've been thinking about the best approach for implementing a checkout scenario in a custom ecommerce site I've been developing and wanted to see if anyone here had advice to share. We're...


1 post Gravatar

How do I add multiple attachments to Mailboxer?

Rails • Asked by Mehdi Mehrtash

I am using the Mailboxer gem. I have enabled multiple file uploads for the attachment field. What is the best way to set up my controller so it saves all the attachments? Would making a new model c...


3 posts Gravatar

Proper location for null objects

Ruby • Asked by Alex Musayev

I've recently watched couple of screencasts on using Null Object Pattern: https://www.rubytapas.com/2017/01/31/two-screencasts-two-ways-eradicate-ruby-nil-values It was a good reminder about a ques...


5 posts Gravatar

Cookies vs token for authentication

General • Asked by Masud Hossain

You can keep a users session logged in by putting their cookies into the browser . But what about if youre using token based authentication instead and the users browser doesn't allow cookies ? ...


1 post Gravatar

Is Actioncable + Redis compatible with APN's?

Rails • Asked by Masud Hossain

I built my chat app using rails actioncable and than was able to make an ios app that pulls the conversation and messages. Everything works fine. My question is, is it possible to set up apple...


4 posts Gravatar

User Badges Features

Rails • Asked by Menj Villalobos

![](http://117.imagebam.com/download/eXSFSJSayQIw0zfeN6KwIg/51997/519965161/Screen%20Shot%202016-12-13%20at%2012.21.32%20AM.png) Hi @chris! Is it possible for you to create a screencast with t...


19 posts Gravatar

Solutions for high memory usage in rails development or production(heroku)

Servers • Asked by Masud Hossain

So i built my web app that allows users to chat with eachother, see who's online, and send notifications all using actioncable and it's using up A LOT of memory it seems. Correct me if i'm wrong, b...


3 posts Gravatar

Which native app technology to pair with Rails

General • Asked by Aaron Mills

We are currently developing a rails application for a new startup and we are trying to determine which front end and native app technology we should combine with it. We are looking at React JS ...


7 posts Gravatar

why my rails server logs show rendering a page two times, it that normal or there is something wrong with my code? Should it be only single time?

Rails • Asked by naveen kumar

Processing by Users::HomesController#welcome as HTML Processing by Users::HomesController#welcome as HTML Rendering users/homes/welcome.html.erb within layouts/application Rendering users/ho...


12 posts Gravatar

connection.rb in actioncable chatroom series, if not using Devise for authentication?

Rails • Asked by Masud Hossain

I'm watching https://gorails.com/series/realtime-group-chat-with-actioncable and i noticed that in channels/application_cable/connection.rb , chris put this code to find verified users. ``` ...