Ruby on Rails Community Forum
Is it possible to manually mark as watched an episode?
1
General
Hi Chris.
Would it be possible to add a feature on GoRails in order to manually "mark as watched" an episode?
When I randomly select an episode to watch, I would like to list only those that I have...
Chris Oliver 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
How to subscribe to multiple chat rooms in a chat using Action Cable
4
General
All examples i can find are subscribing to one single room by pasing a room as a param when creating the channel but what if i have Room A, B and C an i (as a user) am in all of them.
This is an e...
Chris Oliver replied
Episode Suggestion:
1
Site Feedback
Hey Chris. Is it possible to do an episode on recurrence, recurring events? I'm looking at ice cube gem and recurring select but not that easy for me to fully understand everything! it would be gre...
Chris Oliver replied
Better Errors ignore 404 errors
3
Rails
I'm using better_errors gem to track errors better. Any idea how to make it ignore 404 or ActiveRecord::RecordNotFound exceptions? I want to test to make sure my 404 page is working correctly and I...
Chris Oliver replied
Solved
How does searchkick work with Friendly Id for scoped objects?
0
General
I've developing an app where posts are nested under locations and are also scoped by location. Through Search, I am able to locate these posts under the location/:id/posts, but not under the locati...
Satchit Shenoy posted
Cloning nested fields by JS/coffeescript
0
Javascript
SImple app has a two models and does the function to add nested model fields dynamically through JavaScript. But this stuff does not working with the Turbolinks 5. How to refactoring this code by J...
Dmitrii Amelchenko posted
How to link the liked posts by each user?
3
General
I just finished with the [Liking Posts](https://gorails.com/episodes/liking-posts?autoplay=1) screencast. All good. I managed to create a User Profile. And now I'm trying to display the liked post...
Chris Oliver replied
Solved
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
Setting up “Next post” and “Previous post”
2
General
In my blog application I want to have a **"Previous post"** link and a **"Next post"** link in the bottom of my show view. But I'm having a hard time getting it to work. What am I missing?
**This...
Chris Oliver replied
Solved
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
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
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
Calling function from handling click event issue
8
General
Hi Everyone
Using the UJS approach Chis showed in the NavBar notifications screencasts, I'm trying to implement something similar, and having very strange issue that I can't even imagine what's th...
Michael Derzhavets replied
Solved
How to I use Refile as Upload in a polymorphic way? I have managed to use it that way but i am struggling on destroy image after uploading
1
General
Here is the Schema for Uploads
```ruby
create_table "uploads", force: :cascade do |t|
t.string "file"
t.string "file_id"
t.string "file_filename"
t.integer "file_size"
...
Chris Oliver replied
Solved
rails + DB dependent destroy vs cascade delete
3
General
Hi,
I wanna make sure that child objects also gets deleted when deleting parent.
I'd like to use both `dependent: :destroy` (rails side) and `on_delete: :cascaade` (db side). Is this a good prac...
Chris Oliver replied
Solved