Chris Oliver

Joined

292,890 Experience
93 Lessons Completed
295 Questions Solved

Activity

Posted in Stripe payments course getting out of date

Yep, I'm working on a whole new version. Also going to include a shopping cart example!

I've been waiting a little bit to make sure that I cover any new API changes that they are making. I'm going to start recording the new version this week so it should be out shortly.

If only APIs didn't change... 😜

Posted in JSON Web Tokens with Devise & Warden Discussion

If I remember right, you call sign_in instead of success!.

Posted in Nested Comment Threads in Rails - Part 1 Discussion

I can cover that in a follow-up episode. 👍

Posted in How do I query a model with a value less than

@jacob 👍

That would make sense since you use ORDER to sort in SQL.

I guess you could modify the code to be the following to specify the column and clarify it for the db that you're not using the ORDER keyword.

Lesson.where("lessons.order < ?" , 8)

I'd much rather rename the column though.

Posted in Anyone here built an iOS app with ROR backends.

Depends on what you know more. React Native let's you build with React, HTML, and CSS for any native features. Turbolinks will require you to write a lot of Swift or Java to do anything native.

Posted in Anyone here built an iOS app with ROR backends.

Just gonna drop this here. I built a series using Rails and React Native iOS. https://gorails.com/series/oauth-api-authentication

Posted in API Authentication with an OAuth Provider Discussion

Check the 3rd line there:

Access to admin panel is forbidden due to Doorkeeper.configure.admin_authenticator being unconfigured.

Posted in API Authentication with an OAuth Provider Discussion

That route comes from the doorkeeper gem, so if it's blank, then your installation may not be done right.

This is the episode on the Rails template: https://gorails.com/episodes/rails-application-templates

Posted in API Authentication with an OAuth Provider Discussion

Hey Jeremy,

Like I mentioned at the beginning, we're using the Jumpstart template that I made. https://github.com/excid3/jumpstart

I'm not gonna waste your time installing Devise and Bootstrap every episode, so I made the Rails Jumpstart template for that. 👍

Posted in Nested Comment Threads in Rails - Part 1 Discussion

Yep, pretty much.

Posted in Repost / Retweet / Reblog Discussion

Retweets is simply a count the number of associated tweets.

@tweet.tweets.count

Posted in In-App Navbar Notifications Discussion

No, it says you tried to call the "post" method on a Post object. It's not a Comment, it's a Post.

Posted in In-App Navbar Notifications Discussion

If it works commented out, then you're probably throwing an error on that line. Read the logs to debug it. :)

Posted in RAILS SIDEKIQ SCHEDULER

I would suggest creating a worker that checks the status, and if the status is not completed, it schedules a copy of itself to run 5.seconds.from_now. That way it can continuously keep checking and spawning new workers as needed until it's complete, or you've hit a timeout length or something.

Don't know when it's automatic, but yes it is a % payout for life (of the subscription).

Posted in Group Chat with ActionCable: Part 5 Discussion

10k ActionCable connections.

Posted in Team tracking?

Absolutely. I haven't had time to work on improving the team functionality a whole lot, but that's something I should do soon. Not enough time in the day!

Yep, you'd have to configure an SMTP server to send real emails.

Posted in Error when running in Test Env

So it says it can't authenticate:

SSHKit::Runner::ExecuteError: Exception while executing as test01@13.76.1.66: Au thentication failed for user test01@13.76.1.66

You'll want to make sure that your username, IP, and password / ssh key are correct. Sometimes you have to run "ssh-add -K" on a mac to add your ssh keys to the agent so that it uses the right key without having to manually specify it.

Whatever the issue is, it's just a misconfigured authentication somewhere.

My personal favorite was Metaprogramming Ruby. It explains how metaprogramming works which is ActiveRecords generates methods based upon the columns that are in each table in the database. That is the "magic" that most people don't understand in Rails. It's just standard Ruby, applied in smart ways.