Search Results for "should-or-should-not-listen-to-music-while-programming"
Lessons
Forum Threads

Using Webhooks with Stripe Discussion
46
General
Hey Chris,Another great episode!How would you handle a monthly recurring cost without having the user create an account? For example, a donation site?
Adrien Nhem replied

Links not working on production server
9
Servers
I'm at a loss. After finally successfully deploying using Capistrano, and finally figuring out why my assets were missing, I have another issue. I have a link that point to static pages (contact)...
Chris Oliver 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

Introduction to Stimulus Reflex Discussion
43
General
woooooo... this is sooooo cooool. Thanks Chris for all the good content you giving us 👏.
You making likes Rails every days. Respect 🙏
Jason Eastwood replied

Properly adding Turbolinks 5 event handling
0
General
Here's what I understand:
* Turbolinks preserves the `window` and `document` from request to request
* As a result, I should add click/change listeners to the window/document once when the js is f...

Populate dropdowns based on selection
4
Javascript
I'd like to get people's thoughts on the best approach.
I'd like to have a search ability where once a selection if made, the next dropdown box populates with only the available options from the d...
Chris Oliver replied

Adding Stripe update card form, Cancel, and Resubscribe Discussion
30
General
Hello Chris! Thx for a great episode! So i noticed in this video that you updated some field on the current user to save the last 4 etc on the card. I was thinking that i could use that function to...
Neba Funwi-gabga replied

Heroku deployment failing
0
Rails
I am trying to deploy this app to heroku. i get this error with the precompiling asset pipeline. I tried removing jquery from my Gem file but the error persists. log:
...
remote: Installing...
Hassanelashram posted

0 Using VueJS with Rails: Using VueJS for Nested Forms in Rails: Part 2
29
General
I particularly like avoiding the extra complexity of a full-blown router-based SPA, especially when enhancing an existing Rails app. Thanks for the clear and concise walkthrough! It'll help me avoi...
Aleksandr Shelestov replied

jQuery UJS and AJAX Discussion
27
General
Thanks Chris, nice one
Someone replied

Getting a 403 on Ubuntu + Nginx
3
Servers
My error log outputs the following,
[ 2014-11-02 04:18:12.0511 23504/7f64e6a36780 agents/Watchdog/Main.cpp:538 ]: Options: { 'analytics_log_user' => 'nobody', 'default_group' => 'nogroup', ...
Neeraj Kumar replied

Setup Windows 10 Discussion
236
General
Hi,I got all the way through this so thanks for the walk through! I run "rails server -b 0.0.0.0" and the server boots fine but when I go to localhost:3000 in the browser, the browser icon spins bu...

How to add Notifications to Rails with Noticed Discussion
35
General
Awesome gem, I had been thinking on how to integrate all types of notification from rails app, from web notification, emails and Push Notifications. I guess Push Notification is just an API call (f...
Alan Kirk replied

Hosting static images in subdirectories of Public on nginx
11
Servers
Hey Chris (and others),
Switched to nginx from Apache and following the deploy guide for Ubuntu 14.04. My app (which is 3.2.X and Ruby 1.9.3) no longer serves the static images I store in public f...
shakycode replied

SEEKING FREELANCER - Javascript configuration
17
Javascript
I have been trying for 4 years and 3 months to try to setup a basic rails app.
I have bought 10+ books, subscribed to this and several ohter subscription services to try to learn the basics of rai...
Melanie replied
Solved

How to use Sweet Alert to replace standard confirm dialog
9
General
I'm trying to use Sweet Alert to replace the standard Rails confirm dialog. I can get it working in a plain new Rails app but not in my production app.
I'm using the *sweet-alert-confirm* gem here...
Sbstn replied

Dynamic view based on associations
5
Rails
I'm trying to add some view logic functionality to one of my apps. I have a "run" view that lists all runs and splits them up in a partial between active and pending. Each run also `belongs_to :r...
Chris Oliver replied

Deploy Ubuntu 18.04 Bionic Beaver Discussion
77
General
Thanks btihen! I'll get the tutorial updated for its changes shortly!

Handle multiple binding when using CoffeeScript & Turbolinks
11
Javascript
Hi,
After watching the screencast about extracting JS code to CS classes, I tried to follow the same pattern.
The problem I am facing is that the page loads new items through AJAX and in order for ...
Chris Oliver replied

Group Chat with ActionCable: Part 4 Discussion
69
General
As for message relay jobs matter for this particular subject of this ActionCable example, do you recommend putting down for its current_user's id or name in these kind of scenarios when it comes to...