I hereby claim:
- I am andrewmcodes on github.
- I am andrewmcodes (https://keybase.io/andrewmcodes) on keybase.
- I have a public key ASCULYBeXnW4WnfAmyTxt-5G2WowZm9PBJdA4zhEvkcV8wo
To claim this, I am signing this object:
<%# | |
This is a page or partial in my Rails app. | |
While this is not how I typically use them, | |
I think it was a perfect example and exactly | |
why I reached for it today. | |
Here is a page with a simple component: | |
%> | |
<%= render FieldComponent.new(type: "email", name: "email_address", label: "Email Address") %> |
# Note: You must restart bin/webpack-dev-server for changes to take effect | |
default: &default | |
source_path: app/javascript | |
source_entry_path: packs | |
public_root_path: public | |
public_output_path: packs | |
cache_path: tmp/cache/webpacker | |
check_yarn_integrity: false | |
webpack_compile_output: true |
🔥 = [] | |
#=> [] | |
🔥 << "digging" << "deeper" << "holes!" << "💎" | |
#=> ["digging", "deeper", "holes!", "💎"] | |
🔥.join(" ") | |
#=> "digging deeper holes! 💎" |
# stripe-ruby gem class example | |
# https://github.com/stripe/stripe-ruby/blob/master/lib/stripe/resources/checkout/session.rb | |
# Top level module - typically the gem name | |
# Reference: https://github.com/stripe/stripe-ruby/blob/master/lib/stripe.rb | |
# This file will either be directly required there or one of the other files | |
# it requires will require this. | |
module Stripe | |
# Stripes API is so large they had enough of a reason | |
# to separate the resource concern further. Typically |
I hereby claim:
To claim this, I am signing this object:
{"lastUpload":"2020-10-08T01:11:30.450Z","extensionVersion":"v3.4.3"} |
# Generated with https://github.com/ivantsepp/annotate_gem/ | |
ruby '2.7.1' | |
# Full-stack web application framework. (https://rubyonrails.org) | |
gem 'rails', github: 'rails/rails' | |
# Timezone Data for TZInfo (https://tzinfo.github.io) | |
gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data | |
# ==== Action Text ==== |
require "test_helper" | |
class ApplicationSystemTestCase < ActionDispatch::SystemTestCase | |
# Watch tests execute in the browser with `WATCH=true` in your environment | |
# ex: WATCH=true bin/rails test:system | |
driven_by :selenium, using: ENV["WATCH"] == "true" ? :chrome : :headless_chrome | |
end |
# Going to refactor this with some knowledge i gained about our test suite | |
# | |
version: 2 | |
jobs: | |
build: | |
docker: | |
# specify the version you desire here | |
- image: circleci/ruby:2.6.5-node-browsers | |
environment: | |
PG_HOST: localhost |