Ruby on Rails Community Forum

Spree commerce vs custom solution from scratch

5
General
Hey Chris, like most people already mentioned, awesome content on GoRails.com. I love how you give additional explanation to how things work and not just a step by step tutorial how to make somethi...
William Gillett replied

Episode Suggestion: Normalization

0
Site Feedback
I've identified a tendency in myself that I feel like, if overcome, would make me a considerably better developer and produce better software. Here I'll try to characterize/analyze it: **Descripti...
Chris Zempel posted

[GET] Errors and Locales?

0
General
So I'm dealing with an interesting but probably simple issue. Working on some Rails 2 stuff that was written by someone who has long been out of reach so I've been dusting it off on my own. Someo...
Ja Ku posted

3rd party integration best practices/problems

0
Site Feedback
Hey Chris! I was wondering about the differences of the implementations of complex 3rd party integrations. For instance on the one hand there is segment.io or intercom.io. For these to work you ne...
Sean M posted

Screencast Request: iOS / Android Adapter Example

9
Site Feedback
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...
Mark Radford replied

Add a coment in a post ( how can I do)?

0
General
I'm coding my personal website , I have a backoffice where I can write blog_post ( title , content , category and date ). I would like to make user comment my blog post without being logged in . ...
Federico Calarco posted

If-clause not working

0
General
I've created a little tool which pulls a price from another table according to what was sold. This works perfectly fine. However I need to include a discount logic into that. There should be 3 ways...
Sascha M. posted

Updating a genre in a nested association

2
General
I've been asking a few question on scraping and nested association. Im running into another issue which is updating genres to each anime. I'm getting a list of genres, for example "Action, Romance,...
Wes replied

Screencast Request: Authorization with ActionCable

5
Site Feedback
A cast about how to do authorization with ActionCable. Example is a Chat with multiple chat rooms and messages should only be sent to rooms / people who have access to the given chat room.
Chris Oliver replied

refactoring polymorphic actions

0
General
Hi Chris! I implemented the notification system based on your video with the partials. Works perfectly. I've got some problem though when user wanna check out the notification. When he/she clicks ...
Sean M posted

How to build REST APIs?

14
General
Hi Chris Yesterday I was just wondering that how can I build an app which follows REST principles. I searched on many articles and they are in too much nitty-gritty with less examples of how to cr...
Sean M replied

Getting googlemaps javascript and turbo links working together

5
Javascript
Hey Chris - been struggling with this off and on for a bit now. Just trying to add basic google maps using the javascript API (not the gems) to a rails 4.2 app and am having all of the various is...
Greg Blass replied

How do I use Let's Encrypt to get and automate SSL on ubuntu, nginx server

7
General
I was thinking maybe this could be a tutorial/guide request? I always use the GoRails guides to setup my ubuntu, nginx, passenger servers(thanks!) I am having trouble figuring out how to use Le...
Chris Oliver replied

Dynamically Defined has_many with odd behavior

4
General
Here's a quirk that's confounding me: Data Model: ```ruby class Athlete < ApplicationRecord has_many :stats end class Stat < ApplicationRecord belongs_to :athlete belongs_to :posit...
Chris Zempel replied

dymanic data filter with jquery

0
Javascript
Hi Chris I want to replace the create action of my app with dynamic jQuery data pulling so that user has a chance to see the data pulled from the DB before the actual create happens , so currently...
JM posted

Save external data in rails db, data structures

0
General
Hello, I need some help/advise on how to save third data in my database, also I'm interested in any tutorial or info about these topic. I'm struggling to save data from third party api. I get the...
Catalin B posted

Opinion: Namespacing Areas of the Application

1
General
I'm working on an application related to a specific sport. A large deal of the value of the application revolves around being able to track different stats by player by position by season. There a...
Ian Gray replied

Error: uninitialized constant HTML::Pipeline::SyntaxHighlightFilter::Pygments when installing html-pipeline

5
General
I am getting an error: `uninitialized constant HTML::Pipeline::SyntaxHighlightFilter::Pygments`. my Gemfile shows: ``` ruby # markdown in comments gem 'html-pipeline', '~> 1.11.0' gem 'github-...
Lauro replied

Managed hosting

4
Servers
Hi there, I am curious what others a doing for large scale managed hosting. Currently we managing our own AWS and I would like to hand those duties over to a 3rd party. I am looking at Heroku but ...
Beau O'Hara replied

Opinion: Destroy or not destroy

3
General
I am working on an app and I have already added the paper trail gem (https://github.com/airblade/paper_trail) to track revisions. Now I am thinking that I want to add Paranoia (https://github.com/...
Chris Oliver replied

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.