Activity
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.
Been planning on doing that soon. Thinking about doing this in a series where we create an embeddable Javascript comment system like Disqus.
My friend at Airbnb is hiring as well. His team is working specific on accessibility. Here's a generic job description for anyone interested: https://www.airbnb.com/careers/departments/position/2192
Posted in Why Wistia?
Hey James,
I think it should be really easy. The APIs you only need if you need to get a list of videos that are hosted or something.
You can hack something really easy together by just taking an embed code for a video and just simply replacing the video ID with an attribute stored on your model.
A pseudocode example of embedding Vimeo in Rails dynamically:
<iframe src="http://vimeo.com/embed/<%= @video.vimeo_id %>"></iframe>
This is how I do it with Wistia. I just set the ID in my admin area for a new episode. The only time I use the Wistia API is to make that easier. I upload the video, then use the API to populate a select dropdown with the videos that are uploaded so I can search and find the ID quicker.
In the screencast, I just commented out the before_action so I could show the JSON it renders. You won't be able to access the URL directly unless you make the request with your token. You can use Postman to try it out, or just uncomment the doorkeeper before_action like I did.