$ rails g model User
belongs_to
has_one
| <html> | |
| <script> | |
| alert("hello"); | |
| </script> | |
| </html> |
| # 1) Create your private key (any password will do, we remove it below) | |
| $ cd ~/.ssh | |
| $ openssl genrsa -des3 -out server.orig.key 2048 | |
| # 2) Remove the password | |
| $ openssl rsa -in server.orig.key -out server.key |
| # lib/omniauth/facebook.rb | |
| require 'httparty' | |
| module Omniauth | |
| class Facebook | |
| include HTTParty | |
| # The base uri for facebook graph API | |
| base_uri 'https://graph.facebook.com/v2.3' |