moeabdol moeabdol

Joined

50 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in Authorization with Pundit Discussion

Hey Chris, thanks for the awesome video; however, I wonder how would you still use Pundit's provided helpers in an Angular raw html view?

For example, as you've explained in the video, you can use:
<% if policy(MyClass).new? %>
Do you know how I can leverage Pundit's helpers in a non erb view?

Thanks

Recently twitter started to white-list applications to provide developers with more access to user data; such as, email. Check out this link https://dev.twitter.com/res... and fill the application to get white listed.

Posted in Deploy Ubuntu 14.04 Trusty Tahr Discussion

I believe there is a gem that does that for you; however, I find it much simpler just to export the environment variables I need into my shell's rc (.bashrc or .bash_profile if you're using bash) then just refer to them in my database.yml and secrets.yml. Hope this helps.

Posted in Deploy Ubuntu 14.04 Trusty Tahr Discussion

Try creating /home/deploy/deploy_test/shared/config/database.yml file on your VPS and fill it with you database configurations.

Posted in Deploy Ubuntu 14.04 Trusty Tahr Discussion

Its one of two things:
1- You have not specified your git repository correctly in capistrano's deploy.rb
2- You didn't add your VPS ssh public key to your github key chain for passwordless deployment https://help.github.com/art...

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

© 2024 GoRails, LLC. All rights reserved.