Activity
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... 😜
If I remember right, you call sign_in
instead of success!
.
I can cover that in a follow-up episode. 👍
@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.
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.
Just gonna drop this here. I built a series using Rails and React Native iOS. https://gorails.com/series/oauth-api-authentication
Check the 3rd line there:
Access to admin panel is forbidden due to Doorkeeper.configure.admin_authenticator being unconfigured.
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
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. 👍
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).
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.