diff --git a/Rodolfo_Valdivieso/controllers/basic_models/app/views/users/edit.html.erb b/Rodolfo_Valdivieso/controllers/basic_models/app/views/users/edit.html.erb
deleted file mode 100644
index e922944..0000000
--- a/Rodolfo_Valdivieso/controllers/basic_models/app/views/users/edit.html.erb
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
- Edit User
-
-
-
-
-
\ No newline at end of file
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/app/views/users/index.html.erb b/Rodolfo_Valdivieso/controllers/basic_models/app/views/users/index.html.erb
deleted file mode 100644
index 5682579..0000000
--- a/Rodolfo_Valdivieso/controllers/basic_models/app/views/users/index.html.erb
+++ /dev/null
@@ -1 +0,0 @@
-cccccccccccccccccc
\ No newline at end of file
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/app/views/users/new.html.erb b/Rodolfo_Valdivieso/controllers/basic_models/app/views/users/new.html.erb
deleted file mode 100644
index 5deec9a..0000000
--- a/Rodolfo_Valdivieso/controllers/basic_models/app/views/users/new.html.erb
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
- New User
-
-
-
-
-
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/app/views/users/show.html.erb b/Rodolfo_Valdivieso/controllers/basic_models/app/views/users/show.html.erb
deleted file mode 100644
index 2dac318..0000000
--- a/Rodolfo_Valdivieso/controllers/basic_models/app/views/users/show.html.erb
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
- Show
-
-
-
Show User Information
-
User Name: <%= @user.name %>
-
-
\ No newline at end of file
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/app/views/users/update.html.erb b/Rodolfo_Valdivieso/controllers/basic_models/app/views/users/update.html.erb
deleted file mode 100644
index cabbde1..0000000
--- a/Rodolfo_Valdivieso/controllers/basic_models/app/views/users/update.html.erb
+++ /dev/null
@@ -1,2 +0,0 @@
-
Users#update
-
Find me in app/views/users/update.html.erb
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/app/views/users/userall.html.erb b/Rodolfo_Valdivieso/controllers/basic_models/app/views/users/userall.html.erb
deleted file mode 100644
index 015b78d..0000000
--- a/Rodolfo_Valdivieso/controllers/basic_models/app/views/users/userall.html.erb
+++ /dev/null
@@ -1 +0,0 @@
-slkdjsakldjsadkljkalsdjaklsdjkl
\ No newline at end of file
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/app/views/users/view.html.erb b/Rodolfo_Valdivieso/controllers/basic_models/app/views/users/view.html.erb
deleted file mode 100644
index 7c3165c..0000000
--- a/Rodolfo_Valdivieso/controllers/basic_models/app/views/users/view.html.erb
+++ /dev/null
@@ -1,2 +0,0 @@
-
Users#view
-
Find me in app/views/users/view.html.erb
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/bin/rails b/Rodolfo_Valdivieso/controllers/basic_models/bin/rails
deleted file mode 100644
index 0138d79..0000000
--- a/Rodolfo_Valdivieso/controllers/basic_models/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/bin/setup b/Rodolfo_Valdivieso/controllers/basic_models/bin/setup
deleted file mode 100644
index acdb2c1..0000000
--- a/Rodolfo_Valdivieso/controllers/basic_models/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/config.ru b/Rodolfo_Valdivieso/controllers/basic_models/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Rodolfo_Valdivieso/controllers/basic_models/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/config/application.rb b/Rodolfo_Valdivieso/controllers/basic_models/config/application.rb
deleted file mode 100644
index 9cab718..0000000
--- a/Rodolfo_Valdivieso/controllers/basic_models/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module BasicModels
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/config/boot.rb b/Rodolfo_Valdivieso/controllers/basic_models/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Rodolfo_Valdivieso/controllers/basic_models/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/config/environment.rb b/Rodolfo_Valdivieso/controllers/basic_models/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Rodolfo_Valdivieso/controllers/basic_models/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/config/environments/development.rb b/Rodolfo_Valdivieso/controllers/basic_models/config/environments/development.rb
deleted file mode 100644
index 9e2ecb0..0000000
--- a/Rodolfo_Valdivieso/controllers/basic_models/config/environments/development.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
- config.log_level = :warn
- config.reload_classes_only_on_change = false
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/config/environments/production.rb b/Rodolfo_Valdivieso/controllers/basic_models/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Rodolfo_Valdivieso/controllers/basic_models/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/config/environments/test.rb b/Rodolfo_Valdivieso/controllers/basic_models/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Rodolfo_Valdivieso/controllers/basic_models/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/config/initializers/cookies_serializer.rb b/Rodolfo_Valdivieso/controllers/basic_models/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Rodolfo_Valdivieso/controllers/basic_models/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/config/initializers/session_store.rb b/Rodolfo_Valdivieso/controllers/basic_models/config/initializers/session_store.rb
deleted file mode 100644
index 4e5849a..0000000
--- a/Rodolfo_Valdivieso/controllers/basic_models/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_basic_models_session'
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/config/initializers/wrap_parameters.rb b/Rodolfo_Valdivieso/controllers/basic_models/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Rodolfo_Valdivieso/controllers/basic_models/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/config/routes.rb b/Rodolfo_Valdivieso/controllers/basic_models/config/routes.rb
deleted file mode 100644
index c424bb8..0000000
--- a/Rodolfo_Valdivieso/controllers/basic_models/config/routes.rb
+++ /dev/null
@@ -1,67 +0,0 @@
-Rails.application.routes.draw do
-
-
- get 'users' => 'users#userAll'
- get 'users/new' => 'users#new'
- get 'users/total' => 'users#total'
- get 'users/:id' => 'users#show'
- get 'users/:id/edit' => 'users#edit'
- post 'users' => 'users#create'
-
-
-
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/config/secrets.yml b/Rodolfo_Valdivieso/controllers/basic_models/config/secrets.yml
deleted file mode 100644
index 445e861..0000000
--- a/Rodolfo_Valdivieso/controllers/basic_models/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: da07c94a15bafc01789e388627b4d42a7fdbc4150aa4fd009a1520ee76a0baa561b543324169087bbdd308ff06fb268dd3cfeb4c77042427b2a97c576d58df2f
-
-test:
- secret_key_base: c16cb46737a3d74210d46996d9457e352b34f8cd0aacff5d87bea037ecb89444ecbe3fc41840d59ee01839941363dc99b8108b1ee8c2086a8246bc69f5152499
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/db/migrate/20171201193241_create_users.rb b/Rodolfo_Valdivieso/controllers/basic_models/db/migrate/20171201193241_create_users.rb
deleted file mode 100644
index 5494756..0000000
--- a/Rodolfo_Valdivieso/controllers/basic_models/db/migrate/20171201193241_create_users.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class CreateUsers < ActiveRecord::Migration
- def change
- create_table :users do |t|
- t.string :name
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/db/schema.rb b/Rodolfo_Valdivieso/controllers/basic_models/db/schema.rb
deleted file mode 100644
index 5fd0508..0000000
--- a/Rodolfo_Valdivieso/controllers/basic_models/db/schema.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171201193241) do
-
- create_table "users", force: :cascade do |t|
- t.string "name"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/db/seeds.rb b/Rodolfo_Valdivieso/controllers/basic_models/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/Rodolfo_Valdivieso/controllers/basic_models/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/test/controllers/users_controller_test.rb b/Rodolfo_Valdivieso/controllers/basic_models/test/controllers/users_controller_test.rb
deleted file mode 100644
index f1faa40..0000000
--- a/Rodolfo_Valdivieso/controllers/basic_models/test/controllers/users_controller_test.rb
+++ /dev/null
@@ -1,39 +0,0 @@
-require 'test_helper'
-
-class UsersControllerTest < ActionController::TestCase
- test "should get view" do
- get :view
- assert_response :success
- end
-
- test "should get new" do
- get :new
- assert_response :success
- end
-
- test "should get create" do
- get :create
- assert_response :success
- end
-
- test "should get show" do
- get :show
- assert_response :success
- end
-
- test "should get edit" do
- get :edit
- assert_response :success
- end
-
- test "should get update" do
- get :update
- assert_response :success
- end
-
- test "should get destroy" do
- get :destroy
- assert_response :success
- end
-
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/.gitignore b/Rodolfo_Valdivieso/controllers/dashboard/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/Gemfile b/Rodolfo_Valdivieso/controllers/dashboard/Gemfile
deleted file mode 100644
index 83c52af..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/Gemfile
+++ /dev/null
@@ -1,48 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-gem 'rails-footnotes', '>= 4.0.0', '<5'
-gem 'hirb'
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/Gemfile.lock b/Rodolfo_Valdivieso/controllers/dashboard/Gemfile.lock
deleted file mode 100644
index 6d3faf5..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/Gemfile.lock
+++ /dev/null
@@ -1,175 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-footnotes (4.1.8)
- rails (>= 3.2)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (4.0.1)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- rails-footnotes (>= 4.0.0, < 5)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/README.rdoc b/Rodolfo_Valdivieso/controllers/dashboard/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/Rakefile b/Rodolfo_Valdivieso/controllers/dashboard/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/app/assets/javascripts/application.js b/Rodolfo_Valdivieso/controllers/dashboard/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/app/assets/stylesheets/application.css b/Rodolfo_Valdivieso/controllers/dashboard/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/app/controllers/application_controller.rb b/Rodolfo_Valdivieso/controllers/dashboard/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/app/controllers/dojos_controller.rb b/Rodolfo_Valdivieso/controllers/dashboard/app/controllers/dojos_controller.rb
deleted file mode 100644
index 7dd7050..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/app/controllers/dojos_controller.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class DojosController < ApplicationController
- def index
-
- @total = Dojo.count
- @dojo = Dojo.all
- return render 'index'
- end
-
- def view
- end
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/app/models/dojo.rb b/Rodolfo_Valdivieso/controllers/dashboard/app/models/dojo.rb
deleted file mode 100644
index a708445..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/app/models/dojo.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-class Dojo < ActiveRecord::Base
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/app/views/dojos/index.html.erb b/Rodolfo_Valdivieso/controllers/dashboard/app/views/dojos/index.html.erb
deleted file mode 100644
index 0a99db7..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/app/views/dojos/index.html.erb
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
- Dojos
-
-
-
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/app/views/layouts/application.html.erb b/Rodolfo_Valdivieso/controllers/dashboard/app/views/layouts/application.html.erb
deleted file mode 100644
index b0588e1..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- Dashboard
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/bin/rails b/Rodolfo_Valdivieso/controllers/dashboard/bin/rails
deleted file mode 100644
index 0138d79..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/bin/setup b/Rodolfo_Valdivieso/controllers/dashboard/bin/setup
deleted file mode 100644
index acdb2c1..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/config.ru b/Rodolfo_Valdivieso/controllers/dashboard/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/config/application.rb b/Rodolfo_Valdivieso/controllers/dashboard/config/application.rb
deleted file mode 100644
index a52167e..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module Dashboard
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/config/boot.rb b/Rodolfo_Valdivieso/controllers/dashboard/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/config/environment.rb b/Rodolfo_Valdivieso/controllers/dashboard/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/config/environments/development.rb b/Rodolfo_Valdivieso/controllers/dashboard/config/environments/development.rb
deleted file mode 100644
index efe6b4d..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/config/environments/development.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
- config.log_level = :warn
- config.reload_classes_only_on_change = false
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/config/environments/production.rb b/Rodolfo_Valdivieso/controllers/dashboard/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/config/environments/test.rb b/Rodolfo_Valdivieso/controllers/dashboard/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/config/initializers/cookies_serializer.rb b/Rodolfo_Valdivieso/controllers/dashboard/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/config/initializers/rails_footnotes.rb b/Rodolfo_Valdivieso/controllers/dashboard/config/initializers/rails_footnotes.rb
deleted file mode 100644
index 9a15363..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/config/initializers/rails_footnotes.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-defined?(Footnotes) && Footnotes.setup do |f|
- # Whether or not to enable footnotes
- f.enabled = Rails.env.development?
- # You can also use a lambda / proc to conditionally toggle footnotes
- # Example :
- # f.enabled = -> { User.current.admin? }
- # Beware of thread-safety though, Footnotes.enabled is NOT thread safe
- # and should not be modified anywhere else.
-
- # Only toggle some notes :
- # f.notes = [:session, :cookies, :params, :filters, :routes, :env, :queries, :log]
-
- # Change the prefix :
- # f.prefix = 'mvim://open?url=file://%s&line=%d&column=%d'
-
- # Disable style :
- # f.no_style = true
-
- # Lock notes to top right :
- # f.lock_top_right = true
-
- # Change font size :
- # f.font_size = '11px'
-
- # Allow to open multiple notes :
- # f.multiple_notes = true
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/config/initializers/session_store.rb b/Rodolfo_Valdivieso/controllers/dashboard/config/initializers/session_store.rb
deleted file mode 100644
index 7e6ab86..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_dashboard_session'
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/config/initializers/wrap_parameters.rb b/Rodolfo_Valdivieso/controllers/dashboard/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/config/routes.rb b/Rodolfo_Valdivieso/controllers/dashboard/config/routes.rb
deleted file mode 100644
index c8397ce..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/config/routes.rb
+++ /dev/null
@@ -1,59 +0,0 @@
-Rails.application.routes.draw do
- get '' => 'dojos#index'
-
-
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/config/secrets.yml b/Rodolfo_Valdivieso/controllers/dashboard/config/secrets.yml
deleted file mode 100644
index 054fe63..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: c0cf57d11557540485b1fe346e6bdcbddccd04510e89bcfebbbfee2b8062d07f02aa7ff5e8e155d27ea6ea7023dcb77a3495a9eb0e3467c5f7adbd7d69a551de
-
-test:
- secret_key_base: f18e2c3a3d1cc12429a1f6892b3348f4b7de0f1917e76114a69d32d849913648bea057ec53987b52b2e3b4169bebc9e6f4dbbbe65afdcf4b3b26e2140903736b
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/db/migrate/20171203230719_create_dojos.rb b/Rodolfo_Valdivieso/controllers/dashboard/db/migrate/20171203230719_create_dojos.rb
deleted file mode 100644
index 0df8b3d..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/db/migrate/20171203230719_create_dojos.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-class CreateDojos < ActiveRecord::Migration
- def change
- create_table :dojos do |t|
- t.string :branch
- t.string :street
- t.string :city
- t.string :state
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/db/schema.rb b/Rodolfo_Valdivieso/controllers/dashboard/db/schema.rb
deleted file mode 100644
index 35d8ae7..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/db/schema.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171203230719) do
-
- create_table "dojos", force: :cascade do |t|
- t.string "branch"
- t.string "street"
- t.string "city"
- t.string "state"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/db/seeds.rb b/Rodolfo_Valdivieso/controllers/dashboard/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/public/404.html b/Rodolfo_Valdivieso/controllers/dashboard/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/public/422.html b/Rodolfo_Valdivieso/controllers/dashboard/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
- Add New
-
-
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/app/views/dojos/new.html.erb b/Rodolfo_Valdivieso/controllers/dashboard2/app/views/dojos/new.html.erb
deleted file mode 100644
index d4919cc..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard2/app/views/dojos/new.html.erb
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
- New Dojo
-
-
- <% if flash[:failed] %>
- <% flash[:failed].each do |value| %>
-
<%= value %>
- <% end %>
- <% end %>
-
-
- Goback
-
-
\ No newline at end of file
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/app/views/dojos/show.html.erb b/Rodolfo_Valdivieso/controllers/dashboard2/app/views/dojos/show.html.erb
deleted file mode 100644
index 84385bf..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard2/app/views/dojos/show.html.erb
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
- Show Dojo
-
-
-
-
Show Dojo
-
-
-
Branch:
-
<%= @dojo.branch %>
-
-
-
Street:
-
<%= @dojo.street %>
-
-
-
City:
-
<%= @dojo.city %>
-
-
-
State:
-
<%= @dojo.state %>
-
-
-
- Goback
-
-
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/app/views/layouts/application.html.erb b/Rodolfo_Valdivieso/controllers/dashboard2/app/views/layouts/application.html.erb
deleted file mode 100644
index b0588e1..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard2/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- Dashboard
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/bin/rails b/Rodolfo_Valdivieso/controllers/dashboard2/bin/rails
deleted file mode 100644
index 0138d79..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard2/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/bin/setup b/Rodolfo_Valdivieso/controllers/dashboard2/bin/setup
deleted file mode 100644
index acdb2c1..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard2/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/config.ru b/Rodolfo_Valdivieso/controllers/dashboard2/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard2/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/config/application.rb b/Rodolfo_Valdivieso/controllers/dashboard2/config/application.rb
deleted file mode 100644
index a52167e..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard2/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module Dashboard
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/config/boot.rb b/Rodolfo_Valdivieso/controllers/dashboard2/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard2/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/config/environment.rb b/Rodolfo_Valdivieso/controllers/dashboard2/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard2/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/config/environments/development.rb b/Rodolfo_Valdivieso/controllers/dashboard2/config/environments/development.rb
deleted file mode 100644
index efe6b4d..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard2/config/environments/development.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
- config.log_level = :warn
- config.reload_classes_only_on_change = false
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/config/environments/production.rb b/Rodolfo_Valdivieso/controllers/dashboard2/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard2/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/config/environments/test.rb b/Rodolfo_Valdivieso/controllers/dashboard2/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard2/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/config/initializers/cookies_serializer.rb b/Rodolfo_Valdivieso/controllers/dashboard2/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard2/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/config/initializers/rails_footnotes.rb b/Rodolfo_Valdivieso/controllers/dashboard2/config/initializers/rails_footnotes.rb
deleted file mode 100644
index 9a15363..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard2/config/initializers/rails_footnotes.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-defined?(Footnotes) && Footnotes.setup do |f|
- # Whether or not to enable footnotes
- f.enabled = Rails.env.development?
- # You can also use a lambda / proc to conditionally toggle footnotes
- # Example :
- # f.enabled = -> { User.current.admin? }
- # Beware of thread-safety though, Footnotes.enabled is NOT thread safe
- # and should not be modified anywhere else.
-
- # Only toggle some notes :
- # f.notes = [:session, :cookies, :params, :filters, :routes, :env, :queries, :log]
-
- # Change the prefix :
- # f.prefix = 'mvim://open?url=file://%s&line=%d&column=%d'
-
- # Disable style :
- # f.no_style = true
-
- # Lock notes to top right :
- # f.lock_top_right = true
-
- # Change font size :
- # f.font_size = '11px'
-
- # Allow to open multiple notes :
- # f.multiple_notes = true
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/config/initializers/session_store.rb b/Rodolfo_Valdivieso/controllers/dashboard2/config/initializers/session_store.rb
deleted file mode 100644
index 7e6ab86..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard2/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_dashboard_session'
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/config/initializers/wrap_parameters.rb b/Rodolfo_Valdivieso/controllers/dashboard2/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard2/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/config/routes.rb b/Rodolfo_Valdivieso/controllers/dashboard2/config/routes.rb
deleted file mode 100644
index 286be5c..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard2/config/routes.rb
+++ /dev/null
@@ -1,66 +0,0 @@
-Rails.application.routes.draw do
- get '' => 'dojos#index'
- get 'dojos/new' => 'dojos#new'
- post 'dojos/create' => 'dojos#create'
- get 'dojos/:id/show' => 'dojos#show'
- get 'dojos/:id/edit' => 'dojos#edit'
- post 'dojos/:id/update' => 'dojos#update'
- post 'dojos/:id/destroy' => 'dojos#destroy'
- get 'goback' => 'dojos#goback'
-
-
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/config/secrets.yml b/Rodolfo_Valdivieso/controllers/dashboard2/config/secrets.yml
deleted file mode 100644
index 054fe63..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard2/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: c0cf57d11557540485b1fe346e6bdcbddccd04510e89bcfebbbfee2b8062d07f02aa7ff5e8e155d27ea6ea7023dcb77a3495a9eb0e3467c5f7adbd7d69a551de
-
-test:
- secret_key_base: f18e2c3a3d1cc12429a1f6892b3348f4b7de0f1917e76114a69d32d849913648bea057ec53987b52b2e3b4169bebc9e6f4dbbbe65afdcf4b3b26e2140903736b
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/db/migrate/20171203230719_create_dojos.rb b/Rodolfo_Valdivieso/controllers/dashboard2/db/migrate/20171203230719_create_dojos.rb
deleted file mode 100644
index 0df8b3d..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard2/db/migrate/20171203230719_create_dojos.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-class CreateDojos < ActiveRecord::Migration
- def change
- create_table :dojos do |t|
- t.string :branch
- t.string :street
- t.string :city
- t.string :state
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/db/schema.rb b/Rodolfo_Valdivieso/controllers/dashboard2/db/schema.rb
deleted file mode 100644
index 35d8ae7..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard2/db/schema.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171203230719) do
-
- create_table "dojos", force: :cascade do |t|
- t.string "branch"
- t.string "street"
- t.string "city"
- t.string "state"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/db/seeds.rb b/Rodolfo_Valdivieso/controllers/dashboard2/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard2/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/public/404.html b/Rodolfo_Valdivieso/controllers/dashboard2/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard2/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/public/422.html b/Rodolfo_Valdivieso/controllers/dashboard2/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard2/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
- New Dojo
-
-
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/app/views/dojos/new.html.erb b/Rodolfo_Valdivieso/controllers/dashboard3/app/views/dojos/new.html.erb
deleted file mode 100644
index 3eab4b1..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard3/app/views/dojos/new.html.erb
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
- New Dojo
-
-
- <% if flash[:failed] %>
- <% flash[:failed].each do |value| %>
-
<%= value %>
- <% end %>
- <% end %>
-
-
- Home
-
-
\ No newline at end of file
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/app/views/dojos/show.html.erb b/Rodolfo_Valdivieso/controllers/dashboard3/app/views/dojos/show.html.erb
deleted file mode 100644
index 4cd2a6b..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard3/app/views/dojos/show.html.erb
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
- Show Dojo
-
-
-
-
Show Dojo
-
-
-
Branch:
-
<%= @dojo.branch %>
-
-
-
Street:
-
<%= @dojo.street %>
-
-
-
City:
-
<%= @dojo.city %>
-
-
-
State:
-
<%= @dojo.state %>
-
-
-
- Home
- Edit
-
-
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/app/views/layouts/application.html.erb b/Rodolfo_Valdivieso/controllers/dashboard3/app/views/layouts/application.html.erb
deleted file mode 100644
index b0588e1..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard3/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- Dashboard
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/bin/rails b/Rodolfo_Valdivieso/controllers/dashboard3/bin/rails
deleted file mode 100644
index 0138d79..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard3/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/bin/setup b/Rodolfo_Valdivieso/controllers/dashboard3/bin/setup
deleted file mode 100644
index acdb2c1..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard3/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/config.ru b/Rodolfo_Valdivieso/controllers/dashboard3/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard3/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/config/application.rb b/Rodolfo_Valdivieso/controllers/dashboard3/config/application.rb
deleted file mode 100644
index a52167e..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard3/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module Dashboard
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/config/boot.rb b/Rodolfo_Valdivieso/controllers/dashboard3/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard3/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/config/environment.rb b/Rodolfo_Valdivieso/controllers/dashboard3/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard3/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/config/environments/development.rb b/Rodolfo_Valdivieso/controllers/dashboard3/config/environments/development.rb
deleted file mode 100644
index efe6b4d..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard3/config/environments/development.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
- config.log_level = :warn
- config.reload_classes_only_on_change = false
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/config/environments/production.rb b/Rodolfo_Valdivieso/controllers/dashboard3/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard3/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/config/environments/test.rb b/Rodolfo_Valdivieso/controllers/dashboard3/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard3/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/config/initializers/cookies_serializer.rb b/Rodolfo_Valdivieso/controllers/dashboard3/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard3/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/config/initializers/rails_footnotes.rb b/Rodolfo_Valdivieso/controllers/dashboard3/config/initializers/rails_footnotes.rb
deleted file mode 100644
index 9a15363..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard3/config/initializers/rails_footnotes.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-defined?(Footnotes) && Footnotes.setup do |f|
- # Whether or not to enable footnotes
- f.enabled = Rails.env.development?
- # You can also use a lambda / proc to conditionally toggle footnotes
- # Example :
- # f.enabled = -> { User.current.admin? }
- # Beware of thread-safety though, Footnotes.enabled is NOT thread safe
- # and should not be modified anywhere else.
-
- # Only toggle some notes :
- # f.notes = [:session, :cookies, :params, :filters, :routes, :env, :queries, :log]
-
- # Change the prefix :
- # f.prefix = 'mvim://open?url=file://%s&line=%d&column=%d'
-
- # Disable style :
- # f.no_style = true
-
- # Lock notes to top right :
- # f.lock_top_right = true
-
- # Change font size :
- # f.font_size = '11px'
-
- # Allow to open multiple notes :
- # f.multiple_notes = true
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/config/initializers/session_store.rb b/Rodolfo_Valdivieso/controllers/dashboard3/config/initializers/session_store.rb
deleted file mode 100644
index 7e6ab86..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard3/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_dashboard_session'
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/config/initializers/wrap_parameters.rb b/Rodolfo_Valdivieso/controllers/dashboard3/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard3/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/config/routes.rb b/Rodolfo_Valdivieso/controllers/dashboard3/config/routes.rb
deleted file mode 100644
index 71b8313..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard3/config/routes.rb
+++ /dev/null
@@ -1,69 +0,0 @@
-Rails.application.routes.draw do
- get '' => 'dojos#index'
- get 'dojos/new' => 'dojos#new'
- post 'dojos' => 'dojos#create'
-
- patch 'dojos/:id' => 'dojos#update'
-
- get 'dojos/:id' => 'dojos#show'
- get 'dojos/:id/edit' => 'dojos#edit'
-
- delete 'dojos/:id' => 'dojos#destroy'
- get 'goback' => 'dojos#goback'
-
-
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/config/secrets.yml b/Rodolfo_Valdivieso/controllers/dashboard3/config/secrets.yml
deleted file mode 100644
index 054fe63..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard3/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: c0cf57d11557540485b1fe346e6bdcbddccd04510e89bcfebbbfee2b8062d07f02aa7ff5e8e155d27ea6ea7023dcb77a3495a9eb0e3467c5f7adbd7d69a551de
-
-test:
- secret_key_base: f18e2c3a3d1cc12429a1f6892b3348f4b7de0f1917e76114a69d32d849913648bea057ec53987b52b2e3b4169bebc9e6f4dbbbe65afdcf4b3b26e2140903736b
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/db/migrate/20171203230719_create_dojos.rb b/Rodolfo_Valdivieso/controllers/dashboard3/db/migrate/20171203230719_create_dojos.rb
deleted file mode 100644
index 0df8b3d..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard3/db/migrate/20171203230719_create_dojos.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-class CreateDojos < ActiveRecord::Migration
- def change
- create_table :dojos do |t|
- t.string :branch
- t.string :street
- t.string :city
- t.string :state
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/db/schema.rb b/Rodolfo_Valdivieso/controllers/dashboard3/db/schema.rb
deleted file mode 100644
index 35d8ae7..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard3/db/schema.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171203230719) do
-
- create_table "dojos", force: :cascade do |t|
- t.string "branch"
- t.string "street"
- t.string "city"
- t.string "state"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/db/seeds.rb b/Rodolfo_Valdivieso/controllers/dashboard3/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard3/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/public/404.html b/Rodolfo_Valdivieso/controllers/dashboard3/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard3/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/public/422.html b/Rodolfo_Valdivieso/controllers/dashboard3/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/Rodolfo_Valdivieso/controllers/dashboard3/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
-
-
-
\ No newline at end of file
diff --git a/Rodolfo_Valdivieso/controllers/ninjaGold/bin/rails b/Rodolfo_Valdivieso/controllers/ninjaGold/bin/rails
deleted file mode 100644
index 0138d79..0000000
--- a/Rodolfo_Valdivieso/controllers/ninjaGold/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Rodolfo_Valdivieso/controllers/ninjaGold/bin/setup b/Rodolfo_Valdivieso/controllers/ninjaGold/bin/setup
deleted file mode 100644
index acdb2c1..0000000
--- a/Rodolfo_Valdivieso/controllers/ninjaGold/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Rodolfo_Valdivieso/controllers/ninjaGold/config.ru b/Rodolfo_Valdivieso/controllers/ninjaGold/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Rodolfo_Valdivieso/controllers/ninjaGold/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Rodolfo_Valdivieso/controllers/ninjaGold/config/application.rb b/Rodolfo_Valdivieso/controllers/ninjaGold/config/application.rb
deleted file mode 100644
index 6d31756..0000000
--- a/Rodolfo_Valdivieso/controllers/ninjaGold/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module NinjaGold
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Rodolfo_Valdivieso/controllers/ninjaGold/config/boot.rb b/Rodolfo_Valdivieso/controllers/ninjaGold/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Rodolfo_Valdivieso/controllers/ninjaGold/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Rodolfo_Valdivieso/controllers/ninjaGold/config/environment.rb b/Rodolfo_Valdivieso/controllers/ninjaGold/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Rodolfo_Valdivieso/controllers/ninjaGold/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Rodolfo_Valdivieso/controllers/ninjaGold/config/environments/development.rb b/Rodolfo_Valdivieso/controllers/ninjaGold/config/environments/development.rb
deleted file mode 100644
index efe6b4d..0000000
--- a/Rodolfo_Valdivieso/controllers/ninjaGold/config/environments/development.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
- config.log_level = :warn
- config.reload_classes_only_on_change = false
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Rodolfo_Valdivieso/controllers/ninjaGold/config/environments/production.rb b/Rodolfo_Valdivieso/controllers/ninjaGold/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Rodolfo_Valdivieso/controllers/ninjaGold/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Rodolfo_Valdivieso/controllers/ninjaGold/config/environments/test.rb b/Rodolfo_Valdivieso/controllers/ninjaGold/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Rodolfo_Valdivieso/controllers/ninjaGold/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Rodolfo_Valdivieso/controllers/ninjaGold/config/initializers/assets.rb b/Rodolfo_Valdivieso/controllers/ninjaGold/config/initializers/assets.rb
deleted file mode 100644
index 0c79200..0000000
--- a/Rodolfo_Valdivieso/controllers/ninjaGold/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-Rails.application.config.assets.precompile += %w( style.css )
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/Rodolfo_Valdivieso/controllers/ninjaGold/config/initializers/cookies_serializer.rb b/Rodolfo_Valdivieso/controllers/ninjaGold/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Rodolfo_Valdivieso/controllers/ninjaGold/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Rodolfo_Valdivieso/controllers/ninjaGold/config/initializers/rails_footnotes.rb b/Rodolfo_Valdivieso/controllers/ninjaGold/config/initializers/rails_footnotes.rb
deleted file mode 100644
index 9a15363..0000000
--- a/Rodolfo_Valdivieso/controllers/ninjaGold/config/initializers/rails_footnotes.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-defined?(Footnotes) && Footnotes.setup do |f|
- # Whether or not to enable footnotes
- f.enabled = Rails.env.development?
- # You can also use a lambda / proc to conditionally toggle footnotes
- # Example :
- # f.enabled = -> { User.current.admin? }
- # Beware of thread-safety though, Footnotes.enabled is NOT thread safe
- # and should not be modified anywhere else.
-
- # Only toggle some notes :
- # f.notes = [:session, :cookies, :params, :filters, :routes, :env, :queries, :log]
-
- # Change the prefix :
- # f.prefix = 'mvim://open?url=file://%s&line=%d&column=%d'
-
- # Disable style :
- # f.no_style = true
-
- # Lock notes to top right :
- # f.lock_top_right = true
-
- # Change font size :
- # f.font_size = '11px'
-
- # Allow to open multiple notes :
- # f.multiple_notes = true
-end
diff --git a/Rodolfo_Valdivieso/controllers/ninjaGold/config/initializers/session_store.rb b/Rodolfo_Valdivieso/controllers/ninjaGold/config/initializers/session_store.rb
deleted file mode 100644
index 0426ec4..0000000
--- a/Rodolfo_Valdivieso/controllers/ninjaGold/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_ninjaGold_session'
diff --git a/Rodolfo_Valdivieso/controllers/ninjaGold/config/initializers/wrap_parameters.rb b/Rodolfo_Valdivieso/controllers/ninjaGold/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Rodolfo_Valdivieso/controllers/ninjaGold/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Rodolfo_Valdivieso/controllers/ninjaGold/config/routes.rb b/Rodolfo_Valdivieso/controllers/ninjaGold/config/routes.rb
deleted file mode 100644
index 9530d4a..0000000
--- a/Rodolfo_Valdivieso/controllers/ninjaGold/config/routes.rb
+++ /dev/null
@@ -1,63 +0,0 @@
-Rails.application.routes.draw do
- post 'farm' => 'rpg#farm'
- post 'cave' => 'rpg#cave'
- post 'casino' => 'rpg#casino'
- post 'house' => 'rpg#house'
- get '' => 'rpg#index'
- post 'reset' => 'rpg#reset'
-
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/Rodolfo_Valdivieso/controllers/ninjaGold/config/secrets.yml b/Rodolfo_Valdivieso/controllers/ninjaGold/config/secrets.yml
deleted file mode 100644
index 5da2ce6..0000000
--- a/Rodolfo_Valdivieso/controllers/ninjaGold/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 1ca5b101379764f23f37db4430bda1f6b17e3c032808560cfb969c4a6e1d703dad13460cbd22faba5105fa40dd7b77877b083fd72ee4b799b2aa1de139c1a978
-
-test:
- secret_key_base: 52b79b5a38cd6ac7c81e1d64c56f3c41fc36865dcb0958a41ce8c3abfdbbe36b9c24b2f553487ac759cec936631f12fe3b5a65efafdc3464a2832fe44927497b
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Rodolfo_Valdivieso/controllers/ninjaGold/db/seeds.rb b/Rodolfo_Valdivieso/controllers/ninjaGold/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/Rodolfo_Valdivieso/controllers/ninjaGold/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/Rodolfo_Valdivieso/controllers/ninjaGold/public/404.html b/Rodolfo_Valdivieso/controllers/ninjaGold/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/Rodolfo_Valdivieso/controllers/ninjaGold/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Rodolfo_Valdivieso/controllers/ninjaGold/public/422.html b/Rodolfo_Valdivieso/controllers/ninjaGold/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/Rodolfo_Valdivieso/controllers/ninjaGold/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
diff --git a/Rodolfo_Valdivieso/controllers/routes/bin/rails b/Rodolfo_Valdivieso/controllers/routes/bin/rails
deleted file mode 100644
index 0138d79..0000000
--- a/Rodolfo_Valdivieso/controllers/routes/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Rodolfo_Valdivieso/controllers/routes/bin/setup b/Rodolfo_Valdivieso/controllers/routes/bin/setup
deleted file mode 100644
index acdb2c1..0000000
--- a/Rodolfo_Valdivieso/controllers/routes/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Rodolfo_Valdivieso/controllers/routes/config.ru b/Rodolfo_Valdivieso/controllers/routes/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Rodolfo_Valdivieso/controllers/routes/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Rodolfo_Valdivieso/controllers/routes/config/application.rb b/Rodolfo_Valdivieso/controllers/routes/config/application.rb
deleted file mode 100644
index cb1a49d..0000000
--- a/Rodolfo_Valdivieso/controllers/routes/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module Routes
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Rodolfo_Valdivieso/controllers/routes/config/boot.rb b/Rodolfo_Valdivieso/controllers/routes/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Rodolfo_Valdivieso/controllers/routes/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Rodolfo_Valdivieso/controllers/routes/config/environment.rb b/Rodolfo_Valdivieso/controllers/routes/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Rodolfo_Valdivieso/controllers/routes/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Rodolfo_Valdivieso/controllers/routes/config/environments/development.rb b/Rodolfo_Valdivieso/controllers/routes/config/environments/development.rb
deleted file mode 100644
index dff533f..0000000
--- a/Rodolfo_Valdivieso/controllers/routes/config/environments/development.rb
+++ /dev/null
@@ -1,43 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
-
- config.log_level = :warn
- config.cache_classes = false
- config.reload_classes_only_on_change = false
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Rodolfo_Valdivieso/controllers/routes/config/environments/production.rb b/Rodolfo_Valdivieso/controllers/routes/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Rodolfo_Valdivieso/controllers/routes/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Rodolfo_Valdivieso/controllers/routes/config/environments/test.rb b/Rodolfo_Valdivieso/controllers/routes/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Rodolfo_Valdivieso/controllers/routes/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Rodolfo_Valdivieso/controllers/routes/config/initializers/cookies_serializer.rb b/Rodolfo_Valdivieso/controllers/routes/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Rodolfo_Valdivieso/controllers/routes/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Rodolfo_Valdivieso/controllers/routes/config/initializers/rails_footnotes.rb b/Rodolfo_Valdivieso/controllers/routes/config/initializers/rails_footnotes.rb
deleted file mode 100644
index 9a15363..0000000
--- a/Rodolfo_Valdivieso/controllers/routes/config/initializers/rails_footnotes.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-defined?(Footnotes) && Footnotes.setup do |f|
- # Whether or not to enable footnotes
- f.enabled = Rails.env.development?
- # You can also use a lambda / proc to conditionally toggle footnotes
- # Example :
- # f.enabled = -> { User.current.admin? }
- # Beware of thread-safety though, Footnotes.enabled is NOT thread safe
- # and should not be modified anywhere else.
-
- # Only toggle some notes :
- # f.notes = [:session, :cookies, :params, :filters, :routes, :env, :queries, :log]
-
- # Change the prefix :
- # f.prefix = 'mvim://open?url=file://%s&line=%d&column=%d'
-
- # Disable style :
- # f.no_style = true
-
- # Lock notes to top right :
- # f.lock_top_right = true
-
- # Change font size :
- # f.font_size = '11px'
-
- # Allow to open multiple notes :
- # f.multiple_notes = true
-end
diff --git a/Rodolfo_Valdivieso/controllers/routes/config/initializers/session_store.rb b/Rodolfo_Valdivieso/controllers/routes/config/initializers/session_store.rb
deleted file mode 100644
index 98f9ece..0000000
--- a/Rodolfo_Valdivieso/controllers/routes/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_routes_session'
diff --git a/Rodolfo_Valdivieso/controllers/routes/config/initializers/wrap_parameters.rb b/Rodolfo_Valdivieso/controllers/routes/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Rodolfo_Valdivieso/controllers/routes/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Rodolfo_Valdivieso/controllers/routes/config/routes.rb b/Rodolfo_Valdivieso/controllers/routes/config/routes.rb
deleted file mode 100644
index c0ed43c..0000000
--- a/Rodolfo_Valdivieso/controllers/routes/config/routes.rb
+++ /dev/null
@@ -1,67 +0,0 @@
-Rails.application.routes.draw do
-
- get '' => 'products#index'
- get 'times' => 'products#times'
- get 'times/restart' => 'products#timesRestart'
- get 'hello' => 'products#hello'
- get 'say/hello' => 'products#sayHello'
- get 'say/hello/:name' => 'products#sayHelloName'
-
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-
- #resource :tests
-
-end
diff --git a/Rodolfo_Valdivieso/controllers/routes/config/secrets.yml b/Rodolfo_Valdivieso/controllers/routes/config/secrets.yml
deleted file mode 100644
index bb1de63..0000000
--- a/Rodolfo_Valdivieso/controllers/routes/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 964e168bd215439b8ee168f1ed81f0822e74651eba42344a30b75b898dcac4cf818af430a42f87d7da11c8fa1e576e6f24c410511210f5ce957852a6e772b582
-
-test:
- secret_key_base: 7a7a3f0d5e30505aa18ea1cfb1c5e67bcac477f4f5f927a209a49273d349a5390a3b83f3d3ff782d5c4a0e31d3c9a4648f2f6c7257d658f46feb7d2bd836c22b
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Rodolfo_Valdivieso/controllers/routes/db/seeds.rb b/Rodolfo_Valdivieso/controllers/routes/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/Rodolfo_Valdivieso/controllers/routes/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/Rodolfo_Valdivieso/controllers/routes/public/404.html b/Rodolfo_Valdivieso/controllers/routes/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/Rodolfo_Valdivieso/controllers/routes/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Rodolfo_Valdivieso/controllers/routes/public/422.html b/Rodolfo_Valdivieso/controllers/routes/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/Rodolfo_Valdivieso/controllers/routes/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Rodolfo_Valdivieso/controllers/routes/test/controllers/products_controller_test.rb b/Rodolfo_Valdivieso/controllers/routes/test/controllers/products_controller_test.rb
deleted file mode 100644
index d97d2ba..0000000
--- a/Rodolfo_Valdivieso/controllers/routes/test/controllers/products_controller_test.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-require 'test_helper'
-
-class ProductsControllerTest < ActionController::TestCase
- test "should get index" do
- get :index
- assert_response :success
- end
-
- test "should get new" do
- get :new
- assert_response :success
- end
-
-end
diff --git a/Rodolfo_Valdivieso/controllers/routes/test/controllers/test_controller_test.rb b/Rodolfo_Valdivieso/controllers/routes/test/controllers/test_controller_test.rb
deleted file mode 100644
index 35c36f8..0000000
--- a/Rodolfo_Valdivieso/controllers/routes/test/controllers/test_controller_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class TestControllerTest < ActionController::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/.gitignore b/Rodolfo_Valdivieso/controllers/survey_form/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/Gemfile b/Rodolfo_Valdivieso/controllers/survey_form/Gemfile
deleted file mode 100644
index a153448..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/Gemfile
+++ /dev/null
@@ -1,48 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-gem 'hirb'
-gem 'rails-footnotes', '>= 4.0.0', '<5'
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/Gemfile.lock b/Rodolfo_Valdivieso/controllers/survey_form/Gemfile.lock
deleted file mode 100644
index eefb285..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/Gemfile.lock
+++ /dev/null
@@ -1,175 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-footnotes (4.1.8)
- rails (>= 3.2)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- rails-footnotes (>= 4.0.0, < 5)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/README.rdoc b/Rodolfo_Valdivieso/controllers/survey_form/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/Rakefile b/Rodolfo_Valdivieso/controllers/survey_form/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/app/assets/javascripts/application.js b/Rodolfo_Valdivieso/controllers/survey_form/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/app/assets/stylesheets/application.css b/Rodolfo_Valdivieso/controllers/survey_form/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/app/assets/stylesheets/surveys.scss b/Rodolfo_Valdivieso/controllers/survey_form/app/assets/stylesheets/surveys.scss
deleted file mode 100644
index 9570e08..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/app/assets/stylesheets/surveys.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-// Place all the styles related to the Surveys controller here.
-// They will automatically be included in application.css.
-// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/app/controllers/application_controller.rb b/Rodolfo_Valdivieso/controllers/survey_form/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/app/controllers/surveys_controller.rb b/Rodolfo_Valdivieso/controllers/survey_form/app/controllers/surveys_controller.rb
deleted file mode 100644
index 94cd8f4..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/app/controllers/surveys_controller.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-class SurveysController < ApplicationController
- def index
- return render 'index'
- end
-
- def create
- #Data from the form
- @name = params[:name]
- @location = params[:location]
- @language = params[:language]
- @comment = params[:comment]
-
- session[:name] = @name
- session[:location] = @location
- session[:language] = @language
- session[:comment] = @comment
-
- flash[:success] = "You have Successfully submitted your form!!!"
-
- #session
- return redirect_to '/surveys/result'
- end
-
- def result
- return render 'result'
- end
-
- def goback
- session[:name] = nil
- session[:location] = nil
- session[:language] = nil
- session[:comment] = nil
- return redirect_to '/surveys/create'
- end
-end
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/app/helpers/surveys_helper.rb b/Rodolfo_Valdivieso/controllers/survey_form/app/helpers/surveys_helper.rb
deleted file mode 100644
index 84524bb..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/app/helpers/surveys_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module SurveysHelper
-end
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/app/views/layouts/application.html.erb b/Rodolfo_Valdivieso/controllers/survey_form/app/views/layouts/application.html.erb
deleted file mode 100644
index 7247c82..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- SurveyForm
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/app/views/layouts/index.html.erb b/Rodolfo_Valdivieso/controllers/survey_form/app/views/layouts/index.html.erb
deleted file mode 100644
index ec64d0a..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/app/views/layouts/index.html.erb
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
- Index
-
-
-
Index
-
-
\ No newline at end of file
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/app/views/surveys/index.html.erb b/Rodolfo_Valdivieso/controllers/survey_form/app/views/surveys/index.html.erb
deleted file mode 100644
index 63dfcc4..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/app/views/surveys/index.html.erb
+++ /dev/null
@@ -1,46 +0,0 @@
-
-
-
-
- Index
-
-
-
Index
-
-
-
\ No newline at end of file
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/app/views/surveys/result.html.erb b/Rodolfo_Valdivieso/controllers/survey_form/app/views/surveys/result.html.erb
deleted file mode 100644
index 45eb478..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/app/views/surveys/result.html.erb
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
-
- Document
-
-
-
- <% flash.each do |key, value| %>
-
<%= value %>
- <% end %>
-
-
Submitted Form
-
-
-
Name:
-
<%= session[:name] %>
-
-
-
Location:
-
<%= session[:location] %>
-
-
-
Language:
-
<%= session[:language] %>
-
-
-
Comment:
-
<%= session[:comment] %>
-
-
- Go Back
-
-
-
-
-
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/bin/rails b/Rodolfo_Valdivieso/controllers/survey_form/bin/rails
deleted file mode 100644
index 0138d79..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/bin/setup b/Rodolfo_Valdivieso/controllers/survey_form/bin/setup
deleted file mode 100644
index acdb2c1..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/config.ru b/Rodolfo_Valdivieso/controllers/survey_form/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/config/application.rb b/Rodolfo_Valdivieso/controllers/survey_form/config/application.rb
deleted file mode 100644
index d948a28..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module SurveyForm
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/config/boot.rb b/Rodolfo_Valdivieso/controllers/survey_form/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/config/environment.rb b/Rodolfo_Valdivieso/controllers/survey_form/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/config/environments/development.rb b/Rodolfo_Valdivieso/controllers/survey_form/config/environments/development.rb
deleted file mode 100644
index 5659b0d..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/config/environments/development.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
- config.log_level = :warn
- config.reload_classes_only_on_change = false
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/config/environments/production.rb b/Rodolfo_Valdivieso/controllers/survey_form/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/config/environments/test.rb b/Rodolfo_Valdivieso/controllers/survey_form/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/config/initializers/cookies_serializer.rb b/Rodolfo_Valdivieso/controllers/survey_form/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/config/initializers/rails_footnotes.rb b/Rodolfo_Valdivieso/controllers/survey_form/config/initializers/rails_footnotes.rb
deleted file mode 100644
index 9a15363..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/config/initializers/rails_footnotes.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-defined?(Footnotes) && Footnotes.setup do |f|
- # Whether or not to enable footnotes
- f.enabled = Rails.env.development?
- # You can also use a lambda / proc to conditionally toggle footnotes
- # Example :
- # f.enabled = -> { User.current.admin? }
- # Beware of thread-safety though, Footnotes.enabled is NOT thread safe
- # and should not be modified anywhere else.
-
- # Only toggle some notes :
- # f.notes = [:session, :cookies, :params, :filters, :routes, :env, :queries, :log]
-
- # Change the prefix :
- # f.prefix = 'mvim://open?url=file://%s&line=%d&column=%d'
-
- # Disable style :
- # f.no_style = true
-
- # Lock notes to top right :
- # f.lock_top_right = true
-
- # Change font size :
- # f.font_size = '11px'
-
- # Allow to open multiple notes :
- # f.multiple_notes = true
-end
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/config/initializers/session_store.rb b/Rodolfo_Valdivieso/controllers/survey_form/config/initializers/session_store.rb
deleted file mode 100644
index 3085d72..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_survey_form_session'
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/config/initializers/wrap_parameters.rb b/Rodolfo_Valdivieso/controllers/survey_form/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/config/routes.rb b/Rodolfo_Valdivieso/controllers/survey_form/config/routes.rb
deleted file mode 100644
index 94c1578..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/config/routes.rb
+++ /dev/null
@@ -1,60 +0,0 @@
-Rails.application.routes.draw do
- get 'surveys/result' => 'surveys#result'
- get '' => 'surveys#index'
- post 'surveys/create' => 'surveys#create'
- get 'goback' => 'surveys#goback'
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/config/secrets.yml b/Rodolfo_Valdivieso/controllers/survey_form/config/secrets.yml
deleted file mode 100644
index 3b8c4dc..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: e6b654ffaf8b7d7d2a1045499483f970328cf4245058a90e43767873d0786ee19cf4ebdabf12f035b0d472e940becdf7830044204798d91774b2fb6913acbb83
-
-test:
- secret_key_base: 7277aea251c4307246c1c255e66e2d0ef332f4504b502c622cedbb45b6694a3d48d576161bebfe1b172ca92dd97e16fb3f4d37270585907a83669906ed83b524
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/db/seeds.rb b/Rodolfo_Valdivieso/controllers/survey_form/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/public/404.html b/Rodolfo_Valdivieso/controllers/survey_form/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/public/422.html b/Rodolfo_Valdivieso/controllers/survey_form/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/test/controllers/surveys_controller_test.rb b/Rodolfo_Valdivieso/controllers/survey_form/test/controllers/surveys_controller_test.rb
deleted file mode 100644
index 1cc6e89..0000000
--- a/Rodolfo_Valdivieso/controllers/survey_form/test/controllers/surveys_controller_test.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-require 'test_helper'
-
-class SurveysControllerTest < ActionController::TestCase
- test "should get result" do
- get :result
- assert_response :success
- end
-
-end
diff --git a/Rodolfo_Valdivieso/controllers/time_display/.gitignore b/Rodolfo_Valdivieso/controllers/time_display/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/Rodolfo_Valdivieso/controllers/time_display/Gemfile b/Rodolfo_Valdivieso/controllers/time_display/Gemfile
deleted file mode 100644
index 27c2112..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/Gemfile
+++ /dev/null
@@ -1,49 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-gem 'hirb'
-gem 'rails-footnotes', '>= 4.0.0', '<5'
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
diff --git a/Rodolfo_Valdivieso/controllers/time_display/Gemfile.lock b/Rodolfo_Valdivieso/controllers/time_display/Gemfile.lock
deleted file mode 100644
index eefb285..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/Gemfile.lock
+++ /dev/null
@@ -1,175 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-footnotes (4.1.8)
- rails (>= 3.2)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- rails-footnotes (>= 4.0.0, < 5)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/Rodolfo_Valdivieso/controllers/time_display/README.rdoc b/Rodolfo_Valdivieso/controllers/time_display/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/Rodolfo_Valdivieso/controllers/time_display/Rakefile b/Rodolfo_Valdivieso/controllers/time_display/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/Rodolfo_Valdivieso/controllers/time_display/app/assets/javascripts/application.js b/Rodolfo_Valdivieso/controllers/time_display/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/Rodolfo_Valdivieso/controllers/time_display/app/assets/stylesheets/application.css b/Rodolfo_Valdivieso/controllers/time_display/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/Rodolfo_Valdivieso/controllers/time_display/app/controllers/application_controller.rb b/Rodolfo_Valdivieso/controllers/time_display/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/Rodolfo_Valdivieso/controllers/time_display/app/controllers/times_controller.rb b/Rodolfo_Valdivieso/controllers/time_display/app/controllers/times_controller.rb
deleted file mode 100644
index 5195716..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/app/controllers/times_controller.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-class TimesController < ApplicationController
- def main
-
- @time = Time.now.strftime("%H:%M:%S")
- @date = Date.today.to_s
- return render 'main'
- end
-end
diff --git a/Rodolfo_Valdivieso/controllers/time_display/app/views/layouts/application.html.erb b/Rodolfo_Valdivieso/controllers/time_display/app/views/layouts/application.html.erb
deleted file mode 100644
index 8b25576..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- TimeDisplay
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/Rodolfo_Valdivieso/controllers/time_display/app/views/times/main.html.erb b/Rodolfo_Valdivieso/controllers/time_display/app/views/times/main.html.erb
deleted file mode 100644
index 25ee263..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/app/views/times/main.html.erb
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
- The current Time and Date
-
-
-
-
The current Time and Date
-
-
-
Date: <%= @date %>
-
Time: <%= @time %>
-
-
-
-
\ No newline at end of file
diff --git a/Rodolfo_Valdivieso/controllers/time_display/bin/rails b/Rodolfo_Valdivieso/controllers/time_display/bin/rails
deleted file mode 100644
index 0138d79..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Rodolfo_Valdivieso/controllers/time_display/bin/setup b/Rodolfo_Valdivieso/controllers/time_display/bin/setup
deleted file mode 100644
index acdb2c1..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Rodolfo_Valdivieso/controllers/time_display/config.ru b/Rodolfo_Valdivieso/controllers/time_display/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Rodolfo_Valdivieso/controllers/time_display/config/application.rb b/Rodolfo_Valdivieso/controllers/time_display/config/application.rb
deleted file mode 100644
index 94c66d8..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module TimeDisplay
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Rodolfo_Valdivieso/controllers/time_display/config/boot.rb b/Rodolfo_Valdivieso/controllers/time_display/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Rodolfo_Valdivieso/controllers/time_display/config/environment.rb b/Rodolfo_Valdivieso/controllers/time_display/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Rodolfo_Valdivieso/controllers/time_display/config/environments/development.rb b/Rodolfo_Valdivieso/controllers/time_display/config/environments/development.rb
deleted file mode 100644
index 3e8bd81..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/config/environments/development.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
- config.log_level = :warn
- config.reload_classes_only_on_change = false
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Rodolfo_Valdivieso/controllers/time_display/config/environments/production.rb b/Rodolfo_Valdivieso/controllers/time_display/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Rodolfo_Valdivieso/controllers/time_display/config/environments/test.rb b/Rodolfo_Valdivieso/controllers/time_display/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Rodolfo_Valdivieso/controllers/time_display/config/initializers/cookies_serializer.rb b/Rodolfo_Valdivieso/controllers/time_display/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Rodolfo_Valdivieso/controllers/time_display/config/initializers/rails_footnotes.rb b/Rodolfo_Valdivieso/controllers/time_display/config/initializers/rails_footnotes.rb
deleted file mode 100644
index 9a15363..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/config/initializers/rails_footnotes.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-defined?(Footnotes) && Footnotes.setup do |f|
- # Whether or not to enable footnotes
- f.enabled = Rails.env.development?
- # You can also use a lambda / proc to conditionally toggle footnotes
- # Example :
- # f.enabled = -> { User.current.admin? }
- # Beware of thread-safety though, Footnotes.enabled is NOT thread safe
- # and should not be modified anywhere else.
-
- # Only toggle some notes :
- # f.notes = [:session, :cookies, :params, :filters, :routes, :env, :queries, :log]
-
- # Change the prefix :
- # f.prefix = 'mvim://open?url=file://%s&line=%d&column=%d'
-
- # Disable style :
- # f.no_style = true
-
- # Lock notes to top right :
- # f.lock_top_right = true
-
- # Change font size :
- # f.font_size = '11px'
-
- # Allow to open multiple notes :
- # f.multiple_notes = true
-end
diff --git a/Rodolfo_Valdivieso/controllers/time_display/config/initializers/session_store.rb b/Rodolfo_Valdivieso/controllers/time_display/config/initializers/session_store.rb
deleted file mode 100644
index 4e9d3a5..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_time_display_session'
diff --git a/Rodolfo_Valdivieso/controllers/time_display/config/initializers/wrap_parameters.rb b/Rodolfo_Valdivieso/controllers/time_display/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Rodolfo_Valdivieso/controllers/time_display/config/routes.rb b/Rodolfo_Valdivieso/controllers/time_display/config/routes.rb
deleted file mode 100644
index 5f744de..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/config/routes.rb
+++ /dev/null
@@ -1,58 +0,0 @@
-Rails.application.routes.draw do
- get 'main' => 'times#main'
-
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/Rodolfo_Valdivieso/controllers/time_display/config/secrets.yml b/Rodolfo_Valdivieso/controllers/time_display/config/secrets.yml
deleted file mode 100644
index 4e85507..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: c616af5feee265915ea83b5558a9811c59da9efec029cd3c55ce775e678ec8083004902ef6cf29deee36800e9d25b6a36743ec411b12c26e5be23d0b4b072a0f
-
-test:
- secret_key_base: c4b284efd696f36572c9e5590dc3356cd659945b477cef493f41e3be810f33189f0e6f1877aa4463bcd054ca9e5e9253f99ed2294529b349d2f873af993f2cdc
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Rodolfo_Valdivieso/controllers/time_display/db/seeds.rb b/Rodolfo_Valdivieso/controllers/time_display/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/Rodolfo_Valdivieso/controllers/time_display/public/404.html b/Rodolfo_Valdivieso/controllers/time_display/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Rodolfo_Valdivieso/controllers/time_display/public/422.html b/Rodolfo_Valdivieso/controllers/time_display/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Rodolfo_Valdivieso/controllers/time_display/test/controllers/times_controller_test.rb b/Rodolfo_Valdivieso/controllers/time_display/test/controllers/times_controller_test.rb
deleted file mode 100644
index 649dafa..0000000
--- a/Rodolfo_Valdivieso/controllers/time_display/test/controllers/times_controller_test.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-require 'test_helper'
-
-class TimesControllerTest < ActionController::TestCase
- test "should get main" do
- get :main
- assert_response :success
- end
-
-end
diff --git a/Rodolfo_Valdivieso/fundamentals/arrays/arrays.rb b/Rodolfo_Valdivieso/fundamentals/arrays/arrays.rb
deleted file mode 100644
index 1c2b608..0000000
--- a/Rodolfo_Valdivieso/fundamentals/arrays/arrays.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# Assignment 2 Arrays.
-
-a = [5, 6, 7, 8, 9, 10, 0]
-b = ["Hello", "Coding", "Dojo", "Ruby"]
-c = ["Yes"]
-puts a[0]
-puts b[2]
-puts a+b
-
-b.insert(b.length, "test")
-print "Length: "
-print b.length
-puts ""
-puts b
-puts b.reverse
-puts b.sort
-puts b.slice(0,3)
-puts b.join("*")
-puts a.shuffle
-b.delete("Hello")
-puts b.at(3)
-puts a.values_at(0,5)
\ No newline at end of file
diff --git a/Rodolfo_Valdivieso/fundamentals/basic13/basic13.rb b/Rodolfo_Valdivieso/fundamentals/basic13/basic13.rb
deleted file mode 100644
index c559cc6..0000000
--- a/Rodolfo_Valdivieso/fundamentals/basic13/basic13.rb
+++ /dev/null
@@ -1,140 +0,0 @@
-#Assignment 4 Basic 13.
-#Print 1-255
-1.upto(255) { |i| print i, " " } # => 5 6 7 8 9 10
-
-
-#Print odd numbers between 1-255
-#Version 1
-def test(number)
- if !(number.even?)
- print number, " "
- end
-end
-1.upto(255) { |i| test(i) }
-#Version 2
-1.upto(255) { |i| if !(i.even?) then print i , " " end }
-#Version 3
-#1.upto(255) { |i| !(i.even?) ? (print "true") : (print "false") }
-1.upto(255) { |i| !(i.even?) ? (print i.to_s + " ") : () }
-
-
-# Print sum
-# 1.upto(255) { |i| puts "New number: " + i.to_s + " Sum: " + (1.upto(i) { |z| puts i + }) }
-count = 0
-for i in 1..255
- count = count + i
- puts "New number i: " + i.to_s + " Sum: " + count.to_s
-end
-
-#1.upto(255) { |i| puts "New number: " + i.to_s + " Sum: " + (1.upto(i) { |z| puts count=count+z }) }
-
-#Iterating through an array
-array = [-1,-3,-5,-7,-9,-13]
-array.each { |x| puts "Value: " + x.to_s }
-
-#Find Max
-max = array[0]
-for i in array
- if i > max
- max = i
- end
-end
-puts "Max Value: " + max.to_s
-
-# Get Average
-b = [2, 10, 3]
-count = 0
-for i in b
- count = count + i
-end
-puts "Average: " + (count/b.length).to_s
-
-
-#Array with Odd Numbers
-odd = []
-1.upto(255) { |i| if !(i.even?) then odd.push(i) end }
-puts "Arrya of Odds"
-p odd
-
-
-#Greater Than Y
-def greaterThan(arr, y)
- temp = []
- for i in arr
- if i > y
- temp.push(i)
- end
- end
- return temp
-end
-b = [1, 8, 9, 2, 0, -10, 1000]
-p greaterThan(b, 5)
-
-#Square the values
-def square(arr)
- for i in 0...arr.length
- arr[i] = arr[i]*arr[i]
- end
- return arr
-end
-p square(b)
-
-#Eliminate Negative Numbers
-def negatives(arr)
- for i in 0...arr.length
- if arr[i] < 0
- arr[i] = 0
- end
- end
- return arr
-end
-p negatives([1, 8, 9, 2, 0, -10, 1000])
-
-
-#Max min an avg
-def maxMin(arr)
- max = arr[0]
- min = arr[0]
- avg = 0
-
- for i in arr
- if i > max
- max = i
- end
- if i < min
- min = i
- end
- avg = avg + i
- end
- avg = avg / arr.length
- return {"Max":max, "Min":min, "Average":avg}
-end
-
-p maxMin([1, 8, 9, 2, 0, -10, 1000])
-
-#Shifting the values
-def shifting(arr)
- for i in 0...arr.length
- if i<(arr.length-1)
- arr[i]=arr[i+1]
- else
- arr[i]=0
- end
- end
- return arr
-end
-p shifting([1, 8, 9, 2, 0, -10, 1000])
-
-#Number to String
-x = [-1, -3, 2]
-
-def number(arr)
- for i in 0...arr.length
- if arr[i] < 0
- arr[i] = "Dojo"
- end
- end
- return arr
-end
-
-p number(x)
\ No newline at end of file
diff --git a/Rodolfo_Valdivieso/fundamentals/guessTheNumber/guessTheNumber.rb b/Rodolfo_Valdivieso/fundamentals/guessTheNumber/guessTheNumber.rb
deleted file mode 100644
index 9335e90..0000000
--- a/Rodolfo_Valdivieso/fundamentals/guessTheNumber/guessTheNumber.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-#Assignment 1 Guess the Number
-
-def guess_number guess
- number = 25
- if guess == number
- puts "You got it!"
- elsif guess > number
- puts "Guess was too high!"
- else
- puts "Guess was too low!"
- end
-end
-
-#Version 2 Using unless
-def guess_number2 guess
- number = 25
- unless guess == number
- unless guess > number
- puts "Guess was too low!"
- else
- puts "Guess was too high!"
- end
- else
- puts "You got it!"
- end
-end
-
-guess_number2(10)
-guess_number2(30)
-guess_number2(25)
\ No newline at end of file
diff --git a/Rodolfo_Valdivieso/fundamentals/hashes/hashes.rb b/Rodolfo_Valdivieso/fundamentals/hashes/hashes.rb
deleted file mode 100644
index 75185bf..0000000
--- a/Rodolfo_Valdivieso/fundamentals/hashes/hashes.rb
+++ /dev/null
@@ -1,31 +0,0 @@
-#Hashes Assignment
-#Symbols
-y = {:first_name => "Coding" , :last_name => "Dojo"}
-
-puts "Y is " , y
-puts y[:first_name] , y[:last_name]
-
-puts "Deleting first_name"
-y.delete(:first_name)
-puts "Y is " , y
-
-if y.has_key?(:first_name)
- puts "Key first_name exist"
-else
- puts "Key first_name not exist"
-end
-
-if y.has_value?("Dojo")
- puts "Dojo exist"
-else
- puts "Dojo not exist"
-end
-
-puts y.empty?
-
-def new_user greeting="Welcome", first_name: "first", last_name: "last"
- puts "#{greeting}, #{first_name} #{last_name}"
-end
-our_user = {first_name: "Oscar", last_name: "Vazquez"}
-new_user # => Welcome, first last
-new_user "Hello", our_user # => Hello, Oscar Vazquez
diff --git a/Rodolfo_Valdivieso/fundamentals/myEnumerable/my_enumerable.rb b/Rodolfo_Valdivieso/fundamentals/myEnumerable/my_enumerable.rb
deleted file mode 100644
index ad548c7..0000000
--- a/Rodolfo_Valdivieso/fundamentals/myEnumerable/my_enumerable.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-#Creating our own module.
-#In this example, I'm calling the method that I created once,
-# but I have a for loop inside and because I'm using Yield,
-# it will return to the block every time that I yield. Nice!!!
-
-module MyEnumerable
- def my_each
- for x in self
- yield x
- end
- end
-end
-
-class Array
- include MyEnumerable
-end
-
-[1,2,3,4].my_each { |i| puts i } # => 1 2 3 4
-[1,2,3,4].my_each { |i| puts i * 10 } # => 10 20 30 40
\ No newline at end of file
diff --git a/Rodolfo_Valdivieso/fundamentals/names/names.rb b/Rodolfo_Valdivieso/fundamentals/names/names.rb
deleted file mode 100644
index 46c0b1a..0000000
--- a/Rodolfo_Valdivieso/fundamentals/names/names.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# Assignment Names
-
-a = {first_name: "Michael", last_name: "Choi"}
-b = {first_name: "John", last_name: "Doe"}
-c = {first_name: "Jane", last_name: "Doe"}
-d = {first_name: "James", last_name: "Smith"}
-e = {first_name: "Jennifer", last_name: "Smith"}
-names = [a, b, c, d, e]
-
-def namesF(arr)
- puts "You have " + arr.length.to_s + " names in the names array"
- for i in arr
- puts "The name is " + i[:first_name] + " " + i[:last_name]
- end
-end
-
-namesF(names)
\ No newline at end of file
diff --git a/Rodolfo_Valdivieso/fundamentals/range/range.rb b/Rodolfo_Valdivieso/fundamentals/range/range.rb
deleted file mode 100644
index f23c553..0000000
--- a/Rodolfo_Valdivieso/fundamentals/range/range.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-#Assignment 3 Range
-
-x = (1..20)
-
-puts "The maximun value of the array is: " + x.max.to_s
-puts "The minimun value of the array is: " + x.min.to_s
-puts "The last value of the array is: " + x.last.to_s
-puts x.include?(5)
-puts x.include?(30)
-
-c = ("A".."Z")
-puts c.to_a.shuffle.to_s
diff --git a/Rodolfo_Valdivieso/fundamentals/rubyPuzzles/rubyPuzzles.rb b/Rodolfo_Valdivieso/fundamentals/rubyPuzzles/rubyPuzzles.rb
deleted file mode 100644
index ab23d48..0000000
--- a/Rodolfo_Valdivieso/fundamentals/rubyPuzzles/rubyPuzzles.rb
+++ /dev/null
@@ -1,76 +0,0 @@
-# Assignment Ruby Puzlles.
-
-# 1)
-
-a = [3,5,1,2,7,9,8,13,25,32]
-
-def function1(arr)
- sum = 0
- arr2 = []
- for i in arr
- sum = sum + i
- if i > 10
- arr2.push(i)
- end
- end
- return arr2
-end
-
-p function1(a)
-
-#Version2
-puts "New array containing numbers greater than 10: "
-p a.reject { |i| i < 10 }
-puts " Total sum of elements inside the array: "
-sum = 0
-a.each { |i| sum+= i}
-p sum
-
-
-
-#Verison 3
-p a.inject(0, :+)
-
-
-#Excercise 2
-b = ["John", "KB", "Oliver", "Cory", "Matthew", "Christopher"]
-
-def printer(i, newArr)
- puts i
- if i.length > 5
- newArr.push(i)
- end
- return newArr
-end
-
-newArr = []
-b.shuffle.each {|i| printer(i, newArr) }
-p newArr
-
-#Excercise3
-
-arr3 = [*('a'..'z')].shuffle
-p arr3.first
-p arr3.last
-p "The first letter of this arr is a vowel: " + arr3.first.to_s if ["a", "e", "i", "o", "u"].include? arr3.first
-
-
-#Exercise 4
-p (55..100).to_a.shuffle
-
-#Excercise 5
-arr = (55..100).to_a.shuffle.sort
-p arr
-p arr.min
-p arr.max
-
-#Excercise 6
-p (1..5).map { (65 + rand(26)).chr }.join
-
-#Excercise 7
-arr =[]
-for i in 1..10
- arr.push((1..5).map { (65 + rand(26)).chr }.join)
-end
-p arr
-
diff --git a/Rodolfo_Valdivieso/models/assignmentPoly/Polymorphism Assignment.txt b/Rodolfo_Valdivieso/models/assignmentPoly/Polymorphism Assignment.txt
deleted file mode 100644
index 9070722..0000000
--- a/Rodolfo_Valdivieso/models/assignmentPoly/Polymorphism Assignment.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-
-#Ran this into the console
-rails g model Comment content:text imageable:references{polymorphic}
-#Added this to Models User, Blog, Post and Message.
-has_many :comments, as: :imageable
-
-#Testing the application:
-
-Comment.create(content:"Contenttttt", imageable:User.first)
-Comment.create(content:"Contenttttt", imageable:Blog.first)
-Comment.create(content:"Contenttttt", imageable:Post.first)
-Comment.create(content:"Contenttttt", imageable:Message.first)
-
-User.first.comments
-Blog.first.comments
-Post.first.comments
-Message.first.comments
-
-Comment.all
-
-c = Comment.first
-c.content = "UPDATING"
-c.save
-
-Comment.last.destroy
-
-
diff --git a/Rodolfo_Valdivieso/models/blogs/.gitignore b/Rodolfo_Valdivieso/models/blogs/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/Rodolfo_Valdivieso/models/blogs/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/Rodolfo_Valdivieso/models/blogs/Gemfile b/Rodolfo_Valdivieso/models/blogs/Gemfile
deleted file mode 100644
index 7415088..0000000
--- a/Rodolfo_Valdivieso/models/blogs/Gemfile
+++ /dev/null
@@ -1,48 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- gem 'hirb'
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
diff --git a/Rodolfo_Valdivieso/models/blogs/Gemfile.lock b/Rodolfo_Valdivieso/models/blogs/Gemfile.lock
deleted file mode 100644
index 73114af..0000000
--- a/Rodolfo_Valdivieso/models/blogs/Gemfile.lock
+++ /dev/null
@@ -1,172 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/Rodolfo_Valdivieso/models/blogs/README.rdoc b/Rodolfo_Valdivieso/models/blogs/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/Rodolfo_Valdivieso/models/blogs/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/Rodolfo_Valdivieso/models/blogs/Rakefile b/Rodolfo_Valdivieso/models/blogs/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/Rodolfo_Valdivieso/models/blogs/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/Rodolfo_Valdivieso/models/blogs/app/assets/javascripts/application.js b/Rodolfo_Valdivieso/models/blogs/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/Rodolfo_Valdivieso/models/blogs/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/Rodolfo_Valdivieso/models/blogs/app/assets/stylesheets/application.css b/Rodolfo_Valdivieso/models/blogs/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/Rodolfo_Valdivieso/models/blogs/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/Rodolfo_Valdivieso/models/blogs/app/controllers/application_controller.rb b/Rodolfo_Valdivieso/models/blogs/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/Rodolfo_Valdivieso/models/blogs/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/Rodolfo_Valdivieso/models/blogs/app/models/blog.rb b/Rodolfo_Valdivieso/models/blogs/app/models/blog.rb
deleted file mode 100644
index c35b17b..0000000
--- a/Rodolfo_Valdivieso/models/blogs/app/models/blog.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-class Blog < ActiveRecord::Base
- has_many :posts, dependent: :destroy
-
- validates :name, :description, presence: true
-
-end
diff --git a/Rodolfo_Valdivieso/models/blogs/app/models/message.rb b/Rodolfo_Valdivieso/models/blogs/app/models/message.rb
deleted file mode 100644
index 4d4e272..0000000
--- a/Rodolfo_Valdivieso/models/blogs/app/models/message.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-class Message < ActiveRecord::Base
- belongs_to :post
-
- validates :author, :message, presence: true
- validates :message , length: { minimum: 15 }
-
-end
diff --git a/Rodolfo_Valdivieso/models/blogs/app/models/post.rb b/Rodolfo_Valdivieso/models/blogs/app/models/post.rb
deleted file mode 100644
index f758b87..0000000
--- a/Rodolfo_Valdivieso/models/blogs/app/models/post.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-class Post < ActiveRecord::Base
- belongs_to :blog
- has_many :messages, dependent: :destroy
-
- validates :title, :content, presence: true, length: { minimum: 7 }
-end
diff --git a/Rodolfo_Valdivieso/models/blogs/app/views/layouts/application.html.erb b/Rodolfo_Valdivieso/models/blogs/app/views/layouts/application.html.erb
deleted file mode 100644
index 5cd984b..0000000
--- a/Rodolfo_Valdivieso/models/blogs/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- Blogs
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/Rodolfo_Valdivieso/models/blogs/bin/rails b/Rodolfo_Valdivieso/models/blogs/bin/rails
deleted file mode 100644
index 0138d79..0000000
--- a/Rodolfo_Valdivieso/models/blogs/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Rodolfo_Valdivieso/models/blogs/bin/setup b/Rodolfo_Valdivieso/models/blogs/bin/setup
deleted file mode 100644
index acdb2c1..0000000
--- a/Rodolfo_Valdivieso/models/blogs/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Rodolfo_Valdivieso/models/blogs/config.ru b/Rodolfo_Valdivieso/models/blogs/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Rodolfo_Valdivieso/models/blogs/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Rodolfo_Valdivieso/models/blogs/config/application.rb b/Rodolfo_Valdivieso/models/blogs/config/application.rb
deleted file mode 100644
index c39e324..0000000
--- a/Rodolfo_Valdivieso/models/blogs/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module Blogs
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Rodolfo_Valdivieso/models/blogs/config/boot.rb b/Rodolfo_Valdivieso/models/blogs/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Rodolfo_Valdivieso/models/blogs/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Rodolfo_Valdivieso/models/blogs/config/environment.rb b/Rodolfo_Valdivieso/models/blogs/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Rodolfo_Valdivieso/models/blogs/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Rodolfo_Valdivieso/models/blogs/config/environments/development.rb b/Rodolfo_Valdivieso/models/blogs/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/Rodolfo_Valdivieso/models/blogs/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Rodolfo_Valdivieso/models/blogs/config/environments/production.rb b/Rodolfo_Valdivieso/models/blogs/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Rodolfo_Valdivieso/models/blogs/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Rodolfo_Valdivieso/models/blogs/config/environments/test.rb b/Rodolfo_Valdivieso/models/blogs/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Rodolfo_Valdivieso/models/blogs/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Rodolfo_Valdivieso/models/blogs/config/initializers/cookies_serializer.rb b/Rodolfo_Valdivieso/models/blogs/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Rodolfo_Valdivieso/models/blogs/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Rodolfo_Valdivieso/models/blogs/config/initializers/session_store.rb b/Rodolfo_Valdivieso/models/blogs/config/initializers/session_store.rb
deleted file mode 100644
index ef84247..0000000
--- a/Rodolfo_Valdivieso/models/blogs/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_blogs_session'
diff --git a/Rodolfo_Valdivieso/models/blogs/config/initializers/wrap_parameters.rb b/Rodolfo_Valdivieso/models/blogs/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Rodolfo_Valdivieso/models/blogs/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Rodolfo_Valdivieso/models/blogs/config/routes.rb b/Rodolfo_Valdivieso/models/blogs/config/routes.rb
deleted file mode 100644
index 3f66539..0000000
--- a/Rodolfo_Valdivieso/models/blogs/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/Rodolfo_Valdivieso/models/blogs/config/secrets.yml b/Rodolfo_Valdivieso/models/blogs/config/secrets.yml
deleted file mode 100644
index aaf24b5..0000000
--- a/Rodolfo_Valdivieso/models/blogs/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 13fd521c274a4fccd60e4c2bdea76b4471ea30d99f306a9c34c0bb29d991a16456397415043a53a2b6df311160c4ba532019e1860594d4702ec10d70ca8b114d
-
-test:
- secret_key_base: f9897b290e700bf37f237f8e20c8cac07baac4c90f2ec1809a02dc4432a4a5e5dcb4d4763eb280a73a6e27a0b708e4c6c63df37163c7eb14bb5417851d2edab0
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Rodolfo_Valdivieso/models/blogs/db/migrate/20171129203950_create_blogs.rb b/Rodolfo_Valdivieso/models/blogs/db/migrate/20171129203950_create_blogs.rb
deleted file mode 100644
index 87471d4..0000000
--- a/Rodolfo_Valdivieso/models/blogs/db/migrate/20171129203950_create_blogs.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class CreateBlogs < ActiveRecord::Migration
- def change
- create_table :blogs do |t|
- t.string :name
- t.text :description
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Rodolfo_Valdivieso/models/blogs/db/migrate/20171129204040_create_posts.rb b/Rodolfo_Valdivieso/models/blogs/db/migrate/20171129204040_create_posts.rb
deleted file mode 100644
index 90e2db8..0000000
--- a/Rodolfo_Valdivieso/models/blogs/db/migrate/20171129204040_create_posts.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreatePosts < ActiveRecord::Migration
- def change
- create_table :posts do |t|
- t.string :title
- t.text :content
- t.references :blog, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Rodolfo_Valdivieso/models/blogs/db/migrate/20171129204134_create_messages.rb b/Rodolfo_Valdivieso/models/blogs/db/migrate/20171129204134_create_messages.rb
deleted file mode 100644
index cf927e7..0000000
--- a/Rodolfo_Valdivieso/models/blogs/db/migrate/20171129204134_create_messages.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreateMessages < ActiveRecord::Migration
- def change
- create_table :messages do |t|
- t.string :author
- t.text :message
- t.references :post, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Rodolfo_Valdivieso/models/blogs/db/schema.rb b/Rodolfo_Valdivieso/models/blogs/db/schema.rb
deleted file mode 100644
index dee7839..0000000
--- a/Rodolfo_Valdivieso/models/blogs/db/schema.rb
+++ /dev/null
@@ -1,43 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171129204134) do
-
- create_table "blogs", force: :cascade do |t|
- t.string "name"
- t.text "description"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- create_table "messages", force: :cascade do |t|
- t.string "author"
- t.text "message"
- t.integer "post_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "messages", ["post_id"], name: "index_messages_on_post_id"
-
- create_table "posts", force: :cascade do |t|
- t.string "title"
- t.text "content"
- t.integer "blog_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "posts", ["blog_id"], name: "index_posts_on_blog_id"
-
-end
diff --git a/Rodolfo_Valdivieso/models/blogs/db/seeds.rb b/Rodolfo_Valdivieso/models/blogs/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/Rodolfo_Valdivieso/models/blogs/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/Rodolfo_Valdivieso/models/blogs/public/404.html b/Rodolfo_Valdivieso/models/blogs/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/Rodolfo_Valdivieso/models/blogs/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Rodolfo_Valdivieso/models/blogs/public/422.html b/Rodolfo_Valdivieso/models/blogs/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/Rodolfo_Valdivieso/models/blogs/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Rodolfo_Valdivieso/models/blogs2/test/fixtures/blogs.yml b/Rodolfo_Valdivieso/models/blogs2/test/fixtures/blogs.yml
deleted file mode 100644
index 2ff75a8..0000000
--- a/Rodolfo_Valdivieso/models/blogs2/test/fixtures/blogs.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- name: MyString
- description: MyText
-
-two:
- name: MyString
- description: MyText
diff --git a/Rodolfo_Valdivieso/models/blogs2/test/fixtures/messages.yml b/Rodolfo_Valdivieso/models/blogs2/test/fixtures/messages.yml
deleted file mode 100644
index f17dfa4..0000000
--- a/Rodolfo_Valdivieso/models/blogs2/test/fixtures/messages.yml
+++ /dev/null
@@ -1,13 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- author: MyString
- message: MyText
- user_id:
- post_id:
-
-two:
- author: MyString
- message: MyText
- user_id:
- post_id:
diff --git a/Rodolfo_Valdivieso/models/blogs2/test/fixtures/owners.yml b/Rodolfo_Valdivieso/models/blogs2/test/fixtures/owners.yml
deleted file mode 100644
index 99a91f2..0000000
--- a/Rodolfo_Valdivieso/models/blogs2/test/fixtures/owners.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- user_id:
- blog_id:
-
-two:
- user_id:
- blog_id:
diff --git a/Rodolfo_Valdivieso/models/blogs2/test/fixtures/posts.yml b/Rodolfo_Valdivieso/models/blogs2/test/fixtures/posts.yml
deleted file mode 100644
index de7c3d7..0000000
--- a/Rodolfo_Valdivieso/models/blogs2/test/fixtures/posts.yml
+++ /dev/null
@@ -1,13 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- title: MyString
- content: MyText
- user_id:
- blog_id:
-
-two:
- title: MyString
- content: MyText
- user_id:
- blog_id:
diff --git a/Rodolfo_Valdivieso/models/blogs2/test/fixtures/users.yml b/Rodolfo_Valdivieso/models/blogs2/test/fixtures/users.yml
deleted file mode 100644
index ef04625..0000000
--- a/Rodolfo_Valdivieso/models/blogs2/test/fixtures/users.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- first_name: MyString
- last_name: MyString
- email: MyString
-
-two:
- first_name: MyString
- last_name: MyString
- email: MyString
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/.gitignore b/Rodolfo_Valdivieso/models/dojo_ninjas/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/Gemfile b/Rodolfo_Valdivieso/models/dojo_ninjas/Gemfile
deleted file mode 100644
index 7415088..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/Gemfile
+++ /dev/null
@@ -1,48 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- gem 'hirb'
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/Gemfile.lock b/Rodolfo_Valdivieso/models/dojo_ninjas/Gemfile.lock
deleted file mode 100644
index 73114af..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/Gemfile.lock
+++ /dev/null
@@ -1,172 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/README.rdoc b/Rodolfo_Valdivieso/models/dojo_ninjas/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/Rakefile b/Rodolfo_Valdivieso/models/dojo_ninjas/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/app/assets/javascripts/application.js b/Rodolfo_Valdivieso/models/dojo_ninjas/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/app/assets/stylesheets/application.css b/Rodolfo_Valdivieso/models/dojo_ninjas/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/app/controllers/application_controller.rb b/Rodolfo_Valdivieso/models/dojo_ninjas/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/app/models/dojo.rb b/Rodolfo_Valdivieso/models/dojo_ninjas/app/models/dojo.rb
deleted file mode 100644
index 50cd307..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/app/models/dojo.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-class Dojo < ActiveRecord::Base
- has_many :ninjas, dependent: :destroy
-
- validates :name, :city, presence: true, length: { in: 2..50 }
- validates :state, presence: true, length: { in: 2..2 }
-
- # before_destroy :destroy_ninjas
- # private
- # def destroy_ninjas
- # self.ninjas.destroy_all
- # end
-
-
-end
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/app/models/ninja.rb b/Rodolfo_Valdivieso/models/dojo_ninjas/app/models/ninja.rb
deleted file mode 100644
index 35ca741..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/app/models/ninja.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class Ninja < ActiveRecord::Base
- belongs_to :dojo
-
- validates :first_name, :last_name, presence: true, length: { in: 2..255 }
-end
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/app/views/layouts/application.html.erb b/Rodolfo_Valdivieso/models/dojo_ninjas/app/views/layouts/application.html.erb
deleted file mode 100644
index 40d7e51..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- DojoNinjas
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/bin/rails b/Rodolfo_Valdivieso/models/dojo_ninjas/bin/rails
deleted file mode 100644
index 0138d79..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/bin/setup b/Rodolfo_Valdivieso/models/dojo_ninjas/bin/setup
deleted file mode 100644
index acdb2c1..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/config.ru b/Rodolfo_Valdivieso/models/dojo_ninjas/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/config/application.rb b/Rodolfo_Valdivieso/models/dojo_ninjas/config/application.rb
deleted file mode 100644
index 156a9d5..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module DojoNinjas
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/config/boot.rb b/Rodolfo_Valdivieso/models/dojo_ninjas/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/config/environment.rb b/Rodolfo_Valdivieso/models/dojo_ninjas/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/config/environments/development.rb b/Rodolfo_Valdivieso/models/dojo_ninjas/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/config/environments/production.rb b/Rodolfo_Valdivieso/models/dojo_ninjas/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/config/environments/test.rb b/Rodolfo_Valdivieso/models/dojo_ninjas/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/config/initializers/cookies_serializer.rb b/Rodolfo_Valdivieso/models/dojo_ninjas/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/config/initializers/wrap_parameters.rb b/Rodolfo_Valdivieso/models/dojo_ninjas/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/config/routes.rb b/Rodolfo_Valdivieso/models/dojo_ninjas/config/routes.rb
deleted file mode 100644
index 3f66539..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/config/secrets.yml b/Rodolfo_Valdivieso/models/dojo_ninjas/config/secrets.yml
deleted file mode 100644
index 5a78ba2..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 7474aada698de3db0a43a730d81eef3a895fb474fb95e34b4b3173b69f438d876f0504c3c57885adf05c06a7615f3c558bb650e6757899787d37dd73ba60d226
-
-test:
- secret_key_base: ca932c97ba09be93843163a214f3c6e3527b9fee12a257b989a6e207e6239b357afb479ed40a68d2080abe63bc1d3c0305673437f5e0956b6898d677330840f2
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/db/migrate/20171129190549_create_dojos.rb b/Rodolfo_Valdivieso/models/dojo_ninjas/db/migrate/20171129190549_create_dojos.rb
deleted file mode 100644
index ece0705..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/db/migrate/20171129190549_create_dojos.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreateDojos < ActiveRecord::Migration
- def change
- create_table :dojos do |t|
- t.string :name
- t.string :city
- t.string :state
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/db/migrate/20171129190755_create_ninjas.rb b/Rodolfo_Valdivieso/models/dojo_ninjas/db/migrate/20171129190755_create_ninjas.rb
deleted file mode 100644
index 8334127..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/db/migrate/20171129190755_create_ninjas.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreateNinjas < ActiveRecord::Migration
- def change
- create_table :ninjas do |t|
- t.string :first_name
- t.string :last_name
- t.references :dojo, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/db/schema.rb b/Rodolfo_Valdivieso/models/dojo_ninjas/db/schema.rb
deleted file mode 100644
index a757905..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/db/schema.rb
+++ /dev/null
@@ -1,34 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171129190755) do
-
- create_table "dojos", force: :cascade do |t|
- t.string "name"
- t.string "city"
- t.string "state"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- create_table "ninjas", force: :cascade do |t|
- t.string "first_name"
- t.string "last_name"
- t.integer "dojo_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "ninjas", ["dojo_id"], name: "index_ninjas_on_dojo_id"
-
-end
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/db/seeds.rb b/Rodolfo_Valdivieso/models/dojo_ninjas/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/public/404.html b/Rodolfo_Valdivieso/models/dojo_ninjas/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/public/422.html b/Rodolfo_Valdivieso/models/dojo_ninjas/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/test/fixtures/ninjas.yml b/Rodolfo_Valdivieso/models/dojo_ninjas/test/fixtures/ninjas.yml
deleted file mode 100644
index ddd337f..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/test/fixtures/ninjas.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- first_name: MyString
- last_name: MyString
- dojo_id:
-
-two:
- first_name: MyString
- last_name: MyString
- dojo_id:
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/test/models/dojo_test.rb b/Rodolfo_Valdivieso/models/dojo_ninjas/test/models/dojo_test.rb
deleted file mode 100644
index a078f30..0000000
--- a/Rodolfo_Valdivieso/models/dojo_ninjas/test/models/dojo_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class DojoTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/Rodolfo_Valdivieso/models/optimize/.gitignore b/Rodolfo_Valdivieso/models/optimize/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/Rodolfo_Valdivieso/models/optimize/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/Rodolfo_Valdivieso/models/optimize/Gemfile b/Rodolfo_Valdivieso/models/optimize/Gemfile
deleted file mode 100644
index 27ef59a..0000000
--- a/Rodolfo_Valdivieso/models/optimize/Gemfile
+++ /dev/null
@@ -1,48 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- gem 'hirb'
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
diff --git a/Rodolfo_Valdivieso/models/optimize/Gemfile.lock b/Rodolfo_Valdivieso/models/optimize/Gemfile.lock
deleted file mode 100644
index 73114af..0000000
--- a/Rodolfo_Valdivieso/models/optimize/Gemfile.lock
+++ /dev/null
@@ -1,172 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/Rodolfo_Valdivieso/models/optimize/README.rdoc b/Rodolfo_Valdivieso/models/optimize/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/Rodolfo_Valdivieso/models/optimize/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/Rodolfo_Valdivieso/models/optimize/Rakefile b/Rodolfo_Valdivieso/models/optimize/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/Rodolfo_Valdivieso/models/optimize/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/Rodolfo_Valdivieso/models/optimize/app/assets/javascripts/application.js b/Rodolfo_Valdivieso/models/optimize/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/Rodolfo_Valdivieso/models/optimize/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/Rodolfo_Valdivieso/models/optimize/app/assets/stylesheets/application.css b/Rodolfo_Valdivieso/models/optimize/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/Rodolfo_Valdivieso/models/optimize/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/Rodolfo_Valdivieso/models/optimize/app/controllers/application_controller.rb b/Rodolfo_Valdivieso/models/optimize/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/Rodolfo_Valdivieso/models/optimize/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/Rodolfo_Valdivieso/models/optimize/app/models/player.rb b/Rodolfo_Valdivieso/models/optimize/app/models/player.rb
deleted file mode 100644
index 8c9596e..0000000
--- a/Rodolfo_Valdivieso/models/optimize/app/models/player.rb
+++ /dev/null
@@ -1,46 +0,0 @@
-class Player < ActiveRecord::Base
- belongs_to :team
-end
-
-
-# Not optimize
-# players = Player.limit(10).order("RANDOM()")
-# players.each do |player|
-# puts player.team.stadium
-# end
-
-# Optimized
-# players = Player.includes(:team).limit(10).order("RANDOM()")
-# players.each do |player|
-# puts player.team.stadium
-# end
-
-# Left Join
-# Player.includes(:team).where("teams.name = 'Los Angeles Lakers'").references(:team)
-
-# Join
-# Player.joins(:team).where("teams.name = 'Los Angeles Lakers'")
-
-#Retrieve all players, then write a program that will loop through each player and display their team name, mascot and stadium. How many queries have we done?
-# players = Player.all
-# players.each do |player|
-# print "Name: " + player.name + " Team: " +player.team.name + " Mascot: " +player.team.mascot + " Stadium: " +player.team.stadium +"\n"
-# end
-
-#Retrieve all players and write a program to loop through each player and their team name, mascot and stadium using .includes. How many queries have we done now?
-# players = Player.includes(:team).all
-# players.each do |player|
-# print "Name: " + player.name + " Team: " +player.team.name + " Mascot: " +player.team.mascot + " Stadium: " +player.team.stadium + "\n"
-# end
-
-#Retrieve all players from the 'Chicago Bulls' by using .includes
-# players = Player.includes(:team).where("team_id = ?",Team.where(name:"Chicago Bulls").first.id)
-# players.each do |p|
-# print "Name: " + p.name #+ " Team: " +player.team.name + " Mascot: " +player.team.mascot + " Stadium: " +player.team.stadium + "\n"
-# end
-
-#Retrieve all players along with the team name that play at the 'Staples Center'
-#Player.joins(:team).where("teams.stadium = 'Staples Center'")
-
-#Retrieve all teams that have any player that start their name with the letter 'Z' by using .includes and .joins
-#Player.includes(:team).joins(:team).where("players.name like ? " , "#{'Z'}%")
diff --git a/Rodolfo_Valdivieso/models/optimize/app/models/team.rb b/Rodolfo_Valdivieso/models/optimize/app/models/team.rb
deleted file mode 100644
index f5b01c9..0000000
--- a/Rodolfo_Valdivieso/models/optimize/app/models/team.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-class Team < ActiveRecord::Base
- has_many :players
-end
diff --git a/Rodolfo_Valdivieso/models/optimize/app/views/layouts/application.html.erb b/Rodolfo_Valdivieso/models/optimize/app/views/layouts/application.html.erb
deleted file mode 100644
index 7fc9d5f..0000000
--- a/Rodolfo_Valdivieso/models/optimize/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- Optimize
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/Rodolfo_Valdivieso/models/optimize/bin/rails b/Rodolfo_Valdivieso/models/optimize/bin/rails
deleted file mode 100644
index 0138d79..0000000
--- a/Rodolfo_Valdivieso/models/optimize/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Rodolfo_Valdivieso/models/optimize/bin/setup b/Rodolfo_Valdivieso/models/optimize/bin/setup
deleted file mode 100644
index acdb2c1..0000000
--- a/Rodolfo_Valdivieso/models/optimize/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Rodolfo_Valdivieso/models/optimize/config.ru b/Rodolfo_Valdivieso/models/optimize/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Rodolfo_Valdivieso/models/optimize/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Rodolfo_Valdivieso/models/optimize/config/application.rb b/Rodolfo_Valdivieso/models/optimize/config/application.rb
deleted file mode 100644
index 82f8fb1..0000000
--- a/Rodolfo_Valdivieso/models/optimize/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module Optimize
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Rodolfo_Valdivieso/models/optimize/config/boot.rb b/Rodolfo_Valdivieso/models/optimize/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Rodolfo_Valdivieso/models/optimize/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Rodolfo_Valdivieso/models/optimize/config/environment.rb b/Rodolfo_Valdivieso/models/optimize/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Rodolfo_Valdivieso/models/optimize/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Rodolfo_Valdivieso/models/optimize/config/environments/development.rb b/Rodolfo_Valdivieso/models/optimize/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/Rodolfo_Valdivieso/models/optimize/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Rodolfo_Valdivieso/models/optimize/config/environments/production.rb b/Rodolfo_Valdivieso/models/optimize/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Rodolfo_Valdivieso/models/optimize/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Rodolfo_Valdivieso/models/optimize/config/environments/test.rb b/Rodolfo_Valdivieso/models/optimize/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Rodolfo_Valdivieso/models/optimize/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Rodolfo_Valdivieso/models/optimize/config/initializers/cookies_serializer.rb b/Rodolfo_Valdivieso/models/optimize/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Rodolfo_Valdivieso/models/optimize/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Rodolfo_Valdivieso/models/optimize/config/initializers/wrap_parameters.rb b/Rodolfo_Valdivieso/models/optimize/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Rodolfo_Valdivieso/models/optimize/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Rodolfo_Valdivieso/models/optimize/config/routes.rb b/Rodolfo_Valdivieso/models/optimize/config/routes.rb
deleted file mode 100644
index 3f66539..0000000
--- a/Rodolfo_Valdivieso/models/optimize/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/Rodolfo_Valdivieso/models/optimize/config/secrets.yml b/Rodolfo_Valdivieso/models/optimize/config/secrets.yml
deleted file mode 100644
index 7efd056..0000000
--- a/Rodolfo_Valdivieso/models/optimize/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 8f118cd2498185f0421c1140f5c8af0261b8e94cd0822eb211275a7e540f62aeb5d86ef3719a6aa4daaf2b82cf7282d425e87b2074037d0e988361e35f179f1f
-
-test:
- secret_key_base: a2530db12a7d52049977dd0724ef2f2bbfbb66ae61fdc6ba39716abe5ed4adcceda78efe4ba89caece0e2b27ed6e91bfc28a78387f0b422ca455943ce7bf4bd2
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Rodolfo_Valdivieso/models/optimize/db/migrate/20171130022208_create_teams.rb b/Rodolfo_Valdivieso/models/optimize/db/migrate/20171130022208_create_teams.rb
deleted file mode 100644
index 5f7137c..0000000
--- a/Rodolfo_Valdivieso/models/optimize/db/migrate/20171130022208_create_teams.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreateTeams < ActiveRecord::Migration
- def change
- create_table :teams do |t|
- t.string :name
- t.string :mascot
- t.string :stadium
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Rodolfo_Valdivieso/models/optimize/db/migrate/20171130022231_create_players.rb b/Rodolfo_Valdivieso/models/optimize/db/migrate/20171130022231_create_players.rb
deleted file mode 100644
index 9949aad..0000000
--- a/Rodolfo_Valdivieso/models/optimize/db/migrate/20171130022231_create_players.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class CreatePlayers < ActiveRecord::Migration
- def change
- create_table :players do |t|
- t.string :name
- t.references :team, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Rodolfo_Valdivieso/models/optimize/db/schema.rb b/Rodolfo_Valdivieso/models/optimize/db/schema.rb
deleted file mode 100644
index 46d825e..0000000
--- a/Rodolfo_Valdivieso/models/optimize/db/schema.rb
+++ /dev/null
@@ -1,33 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171130022231) do
-
- create_table "players", force: :cascade do |t|
- t.string "name"
- t.integer "team_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "players", ["team_id"], name: "index_players_on_team_id"
-
- create_table "teams", force: :cascade do |t|
- t.string "name"
- t.string "mascot"
- t.string "stadium"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/Rodolfo_Valdivieso/models/optimize/db/seeds.rb b/Rodolfo_Valdivieso/models/optimize/db/seeds.rb
deleted file mode 100644
index ef67a95..0000000
--- a/Rodolfo_Valdivieso/models/optimize/db/seeds.rb
+++ /dev/null
@@ -1,113 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
-
-# we require 'open-uri' to request the html files
-require 'open-uri'
-teams = [
- ["Atlanta Hawks", "Skyhawk", "Philips Arena"],
- ["Boston Celtics", "Lucky the Leprechaun", "TD Garden"],
- ["Brooklyn Nets", "BrooklyKnight", "Barclays Center"],
- ["Charlotte Hornets", "Hugo the Hornet", "Spectrum Center"],
- ["Chicago Bulls", "Benny the Bull", "United Center"],
- ["Cleveland Cavaliers", "Moondog", "Quicken Loans Arena"],
- ["Dallas Mavericks", "Champ", "American Airlines Center"],
- ["Denver Nuggets", "Rocky the Mountain Lion", "Pepsi Center"],
- ["Detroit Pistons", "Hooper", "The Palace of Auburn Hills"],
- ["Golden State Warriors", "Thunder", "Oracle Arena"],
- ["Houston Rockets", "Clutch", "Toyota Center"],
- ["Indiana Pacers", "Boomer the Panther", "Bankers Life Fieldhouse"],
- ["Los Angeles Clippers", "Chuck", "Staples Center"],
- ["Los Angeles Lakers", "Jack Nicholson", "Staples Center"],
- ["Memphis Grizzlies", "Griz", "FedExForum"],
- ["Miami Heat", "Burnie", "American Airlines Arena"],
- ["Milwaukee Bucks", "Bango", "BMO Harris Bradley Center"],
- ["Minnesota Timberwolves", "Crunch the Wolf", "Target Center"],
- ["New Orleans Pelicans", "Pierre the Pelican", "Smoothie King Center"],
- ["New York Knicks", "Spike Lee", "Madison Square Garden"],
- ["Oklahoma City Thunder", "Rumble the Bison", "Chesapeake Energy Arena"],
- ["Orlando Magic", "Stuff the Magic Dragon", "Amway Center"],
- ["Philadelphia 76ers", "Franklin the Dog", "Wells Fargo Center Philadelphia"],
- ["Phoenix Suns", "The Suns Gorilla", "Talking Stick Resort Arena"],
- ["Portland Trail Blazers", "Blaze the Trail Cat", "Moda Center"],
- ["Sacramento Kings", "Slamson the Lion", "Golden 1 Center"],
- ["San Antonio Spurs", "The Coyote", "AT&T Center"],
- ["Toronto Raptors", "Raptor", "Air Canada Centre"],
- ["Utah Jazz", "Jazz Bear", "Vivint Smart Home Arena"],
- ["Washington Wizards", "G. Wiz", "Verizon Center"]
-]
-# Here, we are using the Nokogiri gem (already comes with Rails), to scrape the ESPN website for the list of players.
-# For more information on Nokogiri, you can go to their documentation or visit http://www.nokogiri.org/
-atlanta_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/atl/atlanta-hawks")).css("td.sortcell")
-boston_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/bos/boston-celtics")).css("td.sortcell")
-brooklyn_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/bkn/brooklyn-nets")).css("td.sortcell")
-charlotte_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/cha/charlotte-hornets")).css("td.sortcell")
-chicago_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/chi/chicago-bulls")).css("td.sortcell")
-cleveland_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/cle/cleveland-cavaliers")).css("td.sortcell")
-dallas_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/dal/dallas-mavericks")).css("td.sortcell")
-denver_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/den/denver-nuggets")).css("td.sortcell")
-detroit_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/det/detroit-pistons")).css("td.sortcell")
-warriors_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/gs/golden-state-warriors")).css("td.sortcell")
-houston_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/hou/houston-rockets")).css("td.sortcell")
-indiana_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/ind/indiana-pacers")).css("td.sortcell")
-clippers_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/lac/la-clippers")).css("td.sortcell")
-lakers_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/lal/los-angeles-lakers")).css("td.sortcell")
-memphis_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/mem/memphis-grizzlies")).css("td.sortcell")
-miami_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/mia/miami-heat")).css("td.sortcell")
-milwaukee_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/mil/milwaukee-bucks")).css("td.sortcell")
-minnesota_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/min/minnesota-timberwolves")).css("td.sortcell")
-nola_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/no/new-orleans-pelicans")).css("td.sortcell")
-knicks_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/ny/new-york-knicks")).css("td.sortcell")
-okc_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/okc/oklahoma-city-thunder")).css("td.sortcell")
-orlando_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/orl/orlando-magic")).css("td.sortcell")
-phili_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/phi/philadelphia-76ers")).css("td.sortcell")
-phoenix_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/phx/phoenix-suns")).css("td.sortcell")
-portland_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/por/portland-trail-blazers")).css("td.sortcell")
-sacramento_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/sac/sacramento-kings")).css("td.sortcell")
-spurs_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/sa/san-antonio-spurs")).css("td.sortcell")
-toronto_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/tor/toronto-raptors")).css("td.sortcell")
-utah_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/utah/utah-jazz")).css("td.sortcell")
-washington_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/wsh/washington-wizards")).css("td.sortcell")
-players = [
- atlanta_players,
- boston_players,
- brooklyn_players,
- charlotte_players,
- chicago_players,
- cleveland_players,
- dallas_players,
- denver_players,
- detroit_players,
- warriors_players,
- houston_players,
- indiana_players,
- clippers_players,
- lakers_players,
- memphis_players,
- miami_players,
- milwaukee_players,
- minnesota_players,
- nola_players,
- knicks_players,
- okc_players,
- orlando_players,
- phili_players,
- phoenix_players,
- portland_players,
- sacramento_players,
- spurs_players,
- toronto_players,
- utah_players,
- washington_players
-]
-players.each_with_index do |roster, index|
- Team.create(name: teams[index][0], mascot: teams[index][1], stadium: teams[index][2])
- roster.each do |player|
- Team.last.players.create(name: player.text)
- end
-end
-
diff --git a/Rodolfo_Valdivieso/models/optimize/public/404.html b/Rodolfo_Valdivieso/models/optimize/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/Rodolfo_Valdivieso/models/optimize/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Rodolfo_Valdivieso/models/optimize/public/422.html b/Rodolfo_Valdivieso/models/optimize/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/Rodolfo_Valdivieso/models/optimize/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Rodolfo_Valdivieso/models/optimize/test/fixtures/players.yml b/Rodolfo_Valdivieso/models/optimize/test/fixtures/players.yml
deleted file mode 100644
index 56a4719..0000000
--- a/Rodolfo_Valdivieso/models/optimize/test/fixtures/players.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- name: MyString
- team_id:
-
-two:
- name: MyString
- team_id:
diff --git a/Rodolfo_Valdivieso/models/self_join/.gitignore b/Rodolfo_Valdivieso/models/self_join/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/Rodolfo_Valdivieso/models/self_join/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/Rodolfo_Valdivieso/models/self_join/Gemfile b/Rodolfo_Valdivieso/models/self_join/Gemfile
deleted file mode 100644
index 27ef59a..0000000
--- a/Rodolfo_Valdivieso/models/self_join/Gemfile
+++ /dev/null
@@ -1,48 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- gem 'hirb'
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
diff --git a/Rodolfo_Valdivieso/models/self_join/Gemfile.lock b/Rodolfo_Valdivieso/models/self_join/Gemfile.lock
deleted file mode 100644
index 73114af..0000000
--- a/Rodolfo_Valdivieso/models/self_join/Gemfile.lock
+++ /dev/null
@@ -1,172 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/Rodolfo_Valdivieso/models/self_join/README.rdoc b/Rodolfo_Valdivieso/models/self_join/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/Rodolfo_Valdivieso/models/self_join/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/Rodolfo_Valdivieso/models/self_join/Rakefile b/Rodolfo_Valdivieso/models/self_join/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/Rodolfo_Valdivieso/models/self_join/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/Rodolfo_Valdivieso/models/self_join/app/assets/javascripts/application.js b/Rodolfo_Valdivieso/models/self_join/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/Rodolfo_Valdivieso/models/self_join/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/Rodolfo_Valdivieso/models/self_join/app/assets/stylesheets/application.css b/Rodolfo_Valdivieso/models/self_join/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/Rodolfo_Valdivieso/models/self_join/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/Rodolfo_Valdivieso/models/self_join/app/controllers/application_controller.rb b/Rodolfo_Valdivieso/models/self_join/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/Rodolfo_Valdivieso/models/self_join/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/Rodolfo_Valdivieso/models/self_join/app/models/friendship.rb b/Rodolfo_Valdivieso/models/self_join/app/models/friendship.rb
deleted file mode 100644
index 90e1a9e..0000000
--- a/Rodolfo_Valdivieso/models/self_join/app/models/friendship.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-class Friendship < ActiveRecord::Base
- belongs_to :user
- belongs_to :friend, foreign_key: 'friend_id' ,class_name: 'User'
-end
diff --git a/Rodolfo_Valdivieso/models/self_join/app/models/user.rb b/Rodolfo_Valdivieso/models/self_join/app/models/user.rb
deleted file mode 100644
index 0eb5396..0000000
--- a/Rodolfo_Valdivieso/models/self_join/app/models/user.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-class User < ActiveRecord::Base
- has_many :friendships, foreign_key: 'user_id'
- has_many :friends, through: :friendships, source: :friend
-
- has_many :received_friendships, class_name: 'Friendship' , foreign_key: 'friend_id'
- has_many :friended_by, through: :received_friendships, source: :user
-end
diff --git a/Rodolfo_Valdivieso/models/self_join/app/views/layouts/application.html.erb b/Rodolfo_Valdivieso/models/self_join/app/views/layouts/application.html.erb
deleted file mode 100644
index 4d6a89a..0000000
--- a/Rodolfo_Valdivieso/models/self_join/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- SelfJoin
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/Rodolfo_Valdivieso/models/self_join/bin/rails b/Rodolfo_Valdivieso/models/self_join/bin/rails
deleted file mode 100644
index 0138d79..0000000
--- a/Rodolfo_Valdivieso/models/self_join/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Rodolfo_Valdivieso/models/self_join/bin/setup b/Rodolfo_Valdivieso/models/self_join/bin/setup
deleted file mode 100644
index acdb2c1..0000000
--- a/Rodolfo_Valdivieso/models/self_join/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Rodolfo_Valdivieso/models/self_join/config.ru b/Rodolfo_Valdivieso/models/self_join/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Rodolfo_Valdivieso/models/self_join/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Rodolfo_Valdivieso/models/self_join/config/application.rb b/Rodolfo_Valdivieso/models/self_join/config/application.rb
deleted file mode 100644
index 8e15195..0000000
--- a/Rodolfo_Valdivieso/models/self_join/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module SelfJoin
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Rodolfo_Valdivieso/models/self_join/config/boot.rb b/Rodolfo_Valdivieso/models/self_join/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Rodolfo_Valdivieso/models/self_join/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Rodolfo_Valdivieso/models/self_join/config/database.yml b/Rodolfo_Valdivieso/models/self_join/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/Rodolfo_Valdivieso/models/self_join/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/Rodolfo_Valdivieso/models/self_join/config/environment.rb b/Rodolfo_Valdivieso/models/self_join/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Rodolfo_Valdivieso/models/self_join/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Rodolfo_Valdivieso/models/self_join/config/environments/development.rb b/Rodolfo_Valdivieso/models/self_join/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/Rodolfo_Valdivieso/models/self_join/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Rodolfo_Valdivieso/models/self_join/config/environments/production.rb b/Rodolfo_Valdivieso/models/self_join/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Rodolfo_Valdivieso/models/self_join/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Rodolfo_Valdivieso/models/self_join/config/environments/test.rb b/Rodolfo_Valdivieso/models/self_join/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Rodolfo_Valdivieso/models/self_join/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Rodolfo_Valdivieso/models/self_join/config/initializers/cookies_serializer.rb b/Rodolfo_Valdivieso/models/self_join/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Rodolfo_Valdivieso/models/self_join/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Rodolfo_Valdivieso/models/self_join/config/initializers/session_store.rb b/Rodolfo_Valdivieso/models/self_join/config/initializers/session_store.rb
deleted file mode 100644
index 3523f54..0000000
--- a/Rodolfo_Valdivieso/models/self_join/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_self_join_session'
diff --git a/Rodolfo_Valdivieso/models/self_join/config/initializers/wrap_parameters.rb b/Rodolfo_Valdivieso/models/self_join/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Rodolfo_Valdivieso/models/self_join/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Rodolfo_Valdivieso/models/self_join/config/routes.rb b/Rodolfo_Valdivieso/models/self_join/config/routes.rb
deleted file mode 100644
index 3f66539..0000000
--- a/Rodolfo_Valdivieso/models/self_join/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/Rodolfo_Valdivieso/models/self_join/config/secrets.yml b/Rodolfo_Valdivieso/models/self_join/config/secrets.yml
deleted file mode 100644
index df5fed8..0000000
--- a/Rodolfo_Valdivieso/models/self_join/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 328fe4c4480c4b907d58f9a9ae1fe59d005d97c5853457a4574a71c36428a78b57eff50ee89cab8e0362fba3e5d37a7b9c70d42ea5a3289f92b57a2b85394e6d
-
-test:
- secret_key_base: b5aeb746650254695024b7608d920985337e9ee0faec179121398b3b07512e05b266c52c347f59b5da2fb5a8540cce396dc51bc478a2b5dc76d5080ca66786c4
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Rodolfo_Valdivieso/models/self_join/db/migrate/20171130210447_create_users.rb b/Rodolfo_Valdivieso/models/self_join/db/migrate/20171130210447_create_users.rb
deleted file mode 100644
index 36d0b1b..0000000
--- a/Rodolfo_Valdivieso/models/self_join/db/migrate/20171130210447_create_users.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class CreateUsers < ActiveRecord::Migration
- def change
- create_table :users do |t|
- t.string :first_name
- t.string :last_name
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Rodolfo_Valdivieso/models/self_join/db/migrate/20171130210908_create_friendships.rb b/Rodolfo_Valdivieso/models/self_join/db/migrate/20171130210908_create_friendships.rb
deleted file mode 100644
index 7991f8d..0000000
--- a/Rodolfo_Valdivieso/models/self_join/db/migrate/20171130210908_create_friendships.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class CreateFriendships < ActiveRecord::Migration
- def change
- create_table :friendships do |t|
- t.references :user, index: true, foreign_key: true
- t.references :friend, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Rodolfo_Valdivieso/models/self_join/db/schema.rb b/Rodolfo_Valdivieso/models/self_join/db/schema.rb
deleted file mode 100644
index eee21fd..0000000
--- a/Rodolfo_Valdivieso/models/self_join/db/schema.rb
+++ /dev/null
@@ -1,33 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171130210908) do
-
- create_table "friendships", force: :cascade do |t|
- t.integer "user_id"
- t.integer "friend_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "friendships", ["friend_id"], name: "index_friendships_on_friend_id"
- add_index "friendships", ["user_id"], name: "index_friendships_on_user_id"
-
- create_table "users", force: :cascade do |t|
- t.string "first_name"
- t.string "last_name"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/Rodolfo_Valdivieso/models/self_join/db/seeds.rb b/Rodolfo_Valdivieso/models/self_join/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/Rodolfo_Valdivieso/models/self_join/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/Rodolfo_Valdivieso/models/self_join/public/404.html b/Rodolfo_Valdivieso/models/self_join/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/Rodolfo_Valdivieso/models/self_join/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Rodolfo_Valdivieso/models/self_join/public/422.html b/Rodolfo_Valdivieso/models/self_join/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/Rodolfo_Valdivieso/models/self_join/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Rodolfo_Valdivieso/models/self_join/test/fixtures/friendships.yml b/Rodolfo_Valdivieso/models/self_join/test/fixtures/friendships.yml
deleted file mode 100644
index bad5d7d..0000000
--- a/Rodolfo_Valdivieso/models/self_join/test/fixtures/friendships.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- user_id:
- friend_id:
-
-two:
- user_id:
- friend_id:
diff --git a/Rodolfo_Valdivieso/models/self_join/test/fixtures/users.yml b/Rodolfo_Valdivieso/models/self_join/test/fixtures/users.yml
deleted file mode 100644
index afdaa6a..0000000
--- a/Rodolfo_Valdivieso/models/self_join/test/fixtures/users.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- first_name: MyString
- last_name: MyString
-
-two:
- first_name: MyString
- last_name: MyString
diff --git a/Rodolfo_Valdivieso/models/self_join/test/models/friendship_test.rb b/Rodolfo_Valdivieso/models/self_join/test/models/friendship_test.rb
deleted file mode 100644
index aa27b3f..0000000
--- a/Rodolfo_Valdivieso/models/self_join/test/models/friendship_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class FriendshipTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/Rodolfo_Valdivieso/models/user_login_project/.gitignore b/Rodolfo_Valdivieso/models/user_login_project/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/Rodolfo_Valdivieso/models/user_login_project/Gemfile b/Rodolfo_Valdivieso/models/user_login_project/Gemfile
deleted file mode 100644
index 27ef59a..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/Gemfile
+++ /dev/null
@@ -1,48 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- gem 'hirb'
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
diff --git a/Rodolfo_Valdivieso/models/user_login_project/Gemfile.lock b/Rodolfo_Valdivieso/models/user_login_project/Gemfile.lock
deleted file mode 100644
index 73114af..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/Gemfile.lock
+++ /dev/null
@@ -1,172 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/Rodolfo_Valdivieso/models/user_login_project/README.rdoc b/Rodolfo_Valdivieso/models/user_login_project/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/Rodolfo_Valdivieso/models/user_login_project/Rakefile b/Rodolfo_Valdivieso/models/user_login_project/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/Rodolfo_Valdivieso/models/user_login_project/app/assets/javascripts/application.js b/Rodolfo_Valdivieso/models/user_login_project/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/Rodolfo_Valdivieso/models/user_login_project/app/assets/stylesheets/application.css b/Rodolfo_Valdivieso/models/user_login_project/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/Rodolfo_Valdivieso/models/user_login_project/app/controllers/application_controller.rb b/Rodolfo_Valdivieso/models/user_login_project/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/Rodolfo_Valdivieso/models/user_login_project/app/models/user.rb b/Rodolfo_Valdivieso/models/user_login_project/app/models/user.rb
deleted file mode 100644
index aeea05d..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/app/models/user.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-class User < ActiveRecord::Base
- EMAIL_REGEX = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]+)\z/i
- validates :first_name, :last_name, presence: true, length: { in: 2..255 }
- validates :age, presence: true, numericality: { only_integer: true }
- validates_numericality_of :age, greater_than: 10
- validates_numericality_of :age, less_than: 150
- validates :email, presence: true, uniqueness: { case_sensitive: false }, format: { with: EMAIL_REGEX }
-end
diff --git a/Rodolfo_Valdivieso/models/user_login_project/app/views/layouts/application.html.erb b/Rodolfo_Valdivieso/models/user_login_project/app/views/layouts/application.html.erb
deleted file mode 100644
index 03b8954..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- UserLoginProject
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/Rodolfo_Valdivieso/models/user_login_project/bin/rails b/Rodolfo_Valdivieso/models/user_login_project/bin/rails
deleted file mode 100644
index 0138d79..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Rodolfo_Valdivieso/models/user_login_project/bin/setup b/Rodolfo_Valdivieso/models/user_login_project/bin/setup
deleted file mode 100644
index acdb2c1..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Rodolfo_Valdivieso/models/user_login_project/config.ru b/Rodolfo_Valdivieso/models/user_login_project/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Rodolfo_Valdivieso/models/user_login_project/config/application.rb b/Rodolfo_Valdivieso/models/user_login_project/config/application.rb
deleted file mode 100644
index 49c5e84..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module UserLoginProject
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Rodolfo_Valdivieso/models/user_login_project/config/boot.rb b/Rodolfo_Valdivieso/models/user_login_project/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Rodolfo_Valdivieso/models/user_login_project/config/database.yml b/Rodolfo_Valdivieso/models/user_login_project/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/Rodolfo_Valdivieso/models/user_login_project/config/environment.rb b/Rodolfo_Valdivieso/models/user_login_project/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Rodolfo_Valdivieso/models/user_login_project/config/environments/development.rb b/Rodolfo_Valdivieso/models/user_login_project/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Rodolfo_Valdivieso/models/user_login_project/config/environments/production.rb b/Rodolfo_Valdivieso/models/user_login_project/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Rodolfo_Valdivieso/models/user_login_project/config/environments/test.rb b/Rodolfo_Valdivieso/models/user_login_project/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Rodolfo_Valdivieso/models/user_login_project/config/initializers/cookies_serializer.rb b/Rodolfo_Valdivieso/models/user_login_project/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Rodolfo_Valdivieso/models/user_login_project/config/initializers/session_store.rb b/Rodolfo_Valdivieso/models/user_login_project/config/initializers/session_store.rb
deleted file mode 100644
index d692eec..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_user_login_project_session'
diff --git a/Rodolfo_Valdivieso/models/user_login_project/config/initializers/wrap_parameters.rb b/Rodolfo_Valdivieso/models/user_login_project/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Rodolfo_Valdivieso/models/user_login_project/config/routes.rb b/Rodolfo_Valdivieso/models/user_login_project/config/routes.rb
deleted file mode 100644
index 3f66539..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/Rodolfo_Valdivieso/models/user_login_project/config/secrets.yml b/Rodolfo_Valdivieso/models/user_login_project/config/secrets.yml
deleted file mode 100644
index c9db769..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: f5ef3fbed35d905f4366d0e7ee86b95f513b192b4b6dfbfcc0e6de247e6fb3c5ace04dd3c392fd26745ff3a76acaeba136a6a0f92c679c7411a3835b9014eeb8
-
-test:
- secret_key_base: e2d7e802baec4783b4e51fda705ce5fad935a7a28b0a9ef65ec5af24e8134a00cadc7ab604beb3ad4957834ab7f92cc92e8e9a8287a58d4199d99ecf22f79902
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Rodolfo_Valdivieso/models/user_login_project/db/migrate/20171129150335_create_users.rb b/Rodolfo_Valdivieso/models/user_login_project/db/migrate/20171129150335_create_users.rb
deleted file mode 100644
index 648f540..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/db/migrate/20171129150335_create_users.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-class CreateUsers < ActiveRecord::Migration
- def change
- create_table :users do |t|
- t.string :first_name
- t.string :last_name
- t.string :email
- t.integer :age
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Rodolfo_Valdivieso/models/user_login_project/db/schema.rb b/Rodolfo_Valdivieso/models/user_login_project/db/schema.rb
deleted file mode 100644
index e64da14..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/db/schema.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171129150335) do
-
- create_table "users", force: :cascade do |t|
- t.string "first_name"
- t.string "last_name"
- t.string "email"
- t.integer "age"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/Rodolfo_Valdivieso/models/user_login_project/db/seeds.rb b/Rodolfo_Valdivieso/models/user_login_project/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/Rodolfo_Valdivieso/models/user_login_project/public/404.html b/Rodolfo_Valdivieso/models/user_login_project/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Rodolfo_Valdivieso/models/user_login_project/public/422.html b/Rodolfo_Valdivieso/models/user_login_project/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Rodolfo_Valdivieso/models/user_login_project/test/fixtures/users.yml b/Rodolfo_Valdivieso/models/user_login_project/test/fixtures/users.yml
deleted file mode 100644
index 3c40872..0000000
--- a/Rodolfo_Valdivieso/models/user_login_project/test/fixtures/users.yml
+++ /dev/null
@@ -1,13 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- first_name: MyString
- last_name: MyString
- email: MyString
- age:
-
-two:
- first_name: MyString
- last_name: MyString
- email: MyString
- age:
diff --git a/Rodolfo_Valdivieso/objects/bankAccount/bankAccount.rb b/Rodolfo_Valdivieso/objects/bankAccount/bankAccount.rb
deleted file mode 100644
index bd8e0f0..0000000
--- a/Rodolfo_Valdivieso/objects/bankAccount/bankAccount.rb
+++ /dev/null
@@ -1,106 +0,0 @@
-class BankAccount
-
- @@total_accounts = 0
-
- private
- @interest
- attr_writer :number, :checking_balance, :savings_balance, :total
-
- public
- attr_reader :number, :checking_balance, :savings_balance, :total
-
-
- def total_accounts
- return @@total_accounts
- end
-
- def initialize(checking_balance, savings_balance)
- create_account()
- @checking_balance = checking_balance
- @savings_balance = savings_balance
- @total = savings_balance + checking_balance
- @@total_accounts += 1
- @interest = 0.01
- return self
- end
-
- def check_balance
- puts "Your Checking Acct Balance is: " + self.checking_balance.to_s
- return self
- end
-
- def save_balance
- puts "Your Savings Acct Balance is: " + self.savings_balance.to_s
- return self
- end
-
- def deposit_checking(amount)
- self.checking_balance += amount
- return self
- end
-
- def deposit_saving(amount)
- self.savings_balance += amount
- return self
- end
-
- def withdraw_checking(amount)
- if amount > self.checking_balance
- puts "Insufficient Funds!!!! SORRY, Go Back to WORK"
- else
- self.checking_balance -= amount
- puts "Succesfully Withdraw from Savings"
- end
- return self
- end
-
- def withdraw_saving(amount)
- if amount > self.savings_balance
- puts "Insufficient Funds!!!! SORRY, Go Back to WORK"
- else
- self.savings_balance -= amount
- puts "Succesfully Withdraw from Savings"
- end
- return self
- end
-
- def check_total
- puts "Your total Balance is: " + (savings_balance+checking_balance).to_s
- return self
- end
-
- def account_information
- puts "Your acct# is: " + self.number.to_s
- puts "Your Check bal is: " + self.checking_balance.to_s
- puts "Your Savin bal is: " + self.savings_balance.to_s
- puts "Your Total is: " + (self.savings_balance + self.checking_balance).to_s
- puts "Your Interest Rate is: " + getInterest().to_s
- end
-
- private
- def getInterest
- return @interest
- end
-
- def create_account
- @number = Random.rand(10000...90000)
- return self
- end
-
-end
-
-acc1 = BankAccount.new(70000, 50000)
-
-acc1.check_balance.save_balance
-
-acc1.deposit_checking(35454).check_balance
-
-acc1.withdraw_saving(55555555555)
-
-acc1.check_total
-
-p acc1.total_accounts
-
-acc1.account_information
-
-p acc1.number
\ No newline at end of file
diff --git a/Rodolfo_Valdivieso/objects/dog/dog.rb b/Rodolfo_Valdivieso/objects/dog/dog.rb
deleted file mode 100644
index 51fbe3e..0000000
--- a/Rodolfo_Valdivieso/objects/dog/dog.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-
-require_relative 'mammal'
-
-class Dog < Mammal
-
- def pet
- self.health = self.health + 5
- self
- end
-
- def walk
- self.health = self.health - 1
- self
- end
-
- def run
- self.health = self.health - 10
- self
- end
-end
-
-
-dog1 = Dog.new.display_health
-dog1.walk.walk.walk.run.run.pet.display_health
\ No newline at end of file
diff --git a/Rodolfo_Valdivieso/objects/dog/mammal.rb b/Rodolfo_Valdivieso/objects/dog/mammal.rb
deleted file mode 100644
index 9b49b77..0000000
--- a/Rodolfo_Valdivieso/objects/dog/mammal.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-class Mammal
-
- attr_accessor :health, :type
- def initialize
- @health = 150
- @type = ""
- end
-
- def display_health
- puts "My Current Health is: " + self.health.to_s
- self
- end
-end
-
-
-
-
diff --git a/Rodolfo_Valdivieso/objects/human/human.rb b/Rodolfo_Valdivieso/objects/human/human.rb
deleted file mode 100644
index b72d945..0000000
--- a/Rodolfo_Valdivieso/objects/human/human.rb
+++ /dev/null
@@ -1,33 +0,0 @@
-#Assignment Human
-class Human
- attr_accessor :strength, :intelligence, :stealth, :health
-
- def initialize
- @strength = 3
- @intelligence = 3
- @stealth = 3
- @health = 100
- self
- end
-
- def attack(object)
- #p object.class
- #p object.class.ancestors
- if object.kind_of?(Human)
- object.health -= 5
- puts "Human attacked current health: " + object.health.to_s
- else
- puts "What you are trying to attack is not a HUMAN!!!!"
- end
- self
- end
-end
-
-
-human1 = Human.new
-human2 = Human.new
-
-human1.attack(human2).attack(human2).attack(human2).attack(human2)
-human1.attack(1)
-
-human1.attack("DOG")
\ No newline at end of file
diff --git a/Rodolfo_Valdivieso/objects/lion/dog.rb b/Rodolfo_Valdivieso/objects/lion/dog.rb
deleted file mode 100644
index 2815ab8..0000000
--- a/Rodolfo_Valdivieso/objects/lion/dog.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-
-require_relative 'mammal'
-
-class Dog < Mammal
-
- def pet
- self.health = self.health + 5
- self
- end
-
- def walk
- self.health = self.health - 1
- self
- end
-
- def run
- self.health = self.health - 10
- self
- end
-end
diff --git a/Rodolfo_Valdivieso/objects/lion/lion.rb b/Rodolfo_Valdivieso/objects/lion/lion.rb
deleted file mode 100644
index 8b3f0f5..0000000
--- a/Rodolfo_Valdivieso/objects/lion/lion.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-
-require_relative 'mammal'
-
-class Lion < Mammal
-
- def initialize
- self.health = 170
- end
-
- def fly
- self.health = self.health - 10
- self
- end
-
- def attack_town
- self.health = self.health - 50
- self
- end
-
- def eat_humans
- self.health = self.health + 20
- self
- end
-
-
- def display_health
- super
- puts "I'm a LIONNNNNNN....."
- end
-
-end
-
-lion1 = Lion.new
-lion1.display_health
-lion1.attack_town.attack_town.attack_town.eat_humans.eat_humans.fly.fly.display_health
diff --git a/Rodolfo_Valdivieso/objects/lion/mammal.rb b/Rodolfo_Valdivieso/objects/lion/mammal.rb
deleted file mode 100644
index 142b77c..0000000
--- a/Rodolfo_Valdivieso/objects/lion/mammal.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-class Mammal
- attr_accessor :health
-
- def initialize
- self.health = 150
- end
-
- def display_health
- puts "My Current Health is: " + self.health.to_s
- self
- end
-end
diff --git a/Rodolfo_Valdivieso/objects/mathDojo/mathDojo.rb b/Rodolfo_Valdivieso/objects/mathDojo/mathDojo.rb
deleted file mode 100644
index fc796c4..0000000
--- a/Rodolfo_Valdivieso/objects/mathDojo/mathDojo.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-#Assignment Ruby OOP. MathDojo
-
-class MathDojo
- # your code here
- attr_accessor :number
- def initialize
- @number = 0
- end
-
- def add(*args)
- @number += args.flatten.reduce(0, :+)
- self
- end
-
- def subtract(*args)
- @number -= args.flatten.reduce(0, :+)
- self
- end
-
- def result
- puts @number
- return self
- end
-end
-
-challenge1 = MathDojo.new.add(2).add(2, 5).subtract(3, 2).result # => 4
-challenge2 = MathDojo.new.add(1).add([3, 5, 7, 8], [2, 4.3, 1.25]).subtract([2,3], [1.1, 2.3]).result # => 23.15
\ No newline at end of file
diff --git a/Rodolfo_Valdivieso/objects/project/project.rb b/Rodolfo_Valdivieso/objects/project/project.rb
deleted file mode 100644
index 017b404..0000000
--- a/Rodolfo_Valdivieso/objects/project/project.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-#Assignment Project Ruby OOP
-
-class Project
- # your code here
- attr_accessor :name, :desc
-
- def initialize(name2, desc)
- @name = name2
- @desc = desc
- end
-
- def elevator_pitch
- print @name , ", " ,@desc , "\n"
- end
-end
-project1 = Project.new("Project 1", "Description 1")
-puts project1.name # => "Project 1"
-project1.elevator_pitch # => "Project 1, Description 1"
\ No newline at end of file
diff --git a/Rodolfo_Valdivieso/objects/wizard/human.rb b/Rodolfo_Valdivieso/objects/wizard/human.rb
deleted file mode 100644
index aff0494..0000000
--- a/Rodolfo_Valdivieso/objects/wizard/human.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-#Assignment Human
-class Human
- attr_accessor :strength, :intelligence, :stealth, :health
-
- def initialize
- @strength = 3
- @intelligence = 3
- @stealth = 3
- @health = 100
- self
- end
-
- def attack(object)
- #p object.class
- #p object.class.ancestors
- if object.kind_of?(Human)
- object.health -= 5
- puts "Human attacked current health: " + object.health.to_s
- else
- puts "What you are trying to attack is not a HUMAN!!!!"
- end
- self
- end
-end
-require_relative 'ninja'
-require_relative 'samurai'
-require_relative 'wizard'
-
-human1 = Human.new
-ninja1 = Ninja.new
-wizard1 = Wizard.new
-samurai1 = Samurai.new
-samurai2 = Samurai.new
-
-p ninja1.steal(human1).health
-p human1.health
-samurai1.death_blow(human1)
-wizard1.fireball(samurai1)
-p samurai1.health
-p human1.health
-
-samurai1.how_many
diff --git a/Rodolfo_Valdivieso/objects/wizard/ninja.rb b/Rodolfo_Valdivieso/objects/wizard/ninja.rb
deleted file mode 100644
index b318e64..0000000
--- a/Rodolfo_Valdivieso/objects/wizard/ninja.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-
-# require_relative 'human'
-
-class Ninja < Human
- def initialize
- super
- self.stealth = 175
- self
- end
-
- def steal(object)
- self.health += 10
- object.health -= 10
- self
- end
-
- def get_away
- self.health -= 15
- self
- end
-end
\ No newline at end of file
diff --git a/Rodolfo_Valdivieso/objects/wizard/samurai.rb b/Rodolfo_Valdivieso/objects/wizard/samurai.rb
deleted file mode 100644
index eb89272..0000000
--- a/Rodolfo_Valdivieso/objects/wizard/samurai.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-
-#require_relative 'human'
-
-class Samurai < Human
-
- @@count = 0
- def initialize
- super
- self.health = 200
- @@count += 1
- self
- end
-
- def death_blow(object)
- object.health = 0
- self
- end
-
- def meditate
- self.health = 200
- self
- end
-
- def how_many
- puts "There are: " + @@count.to_s + " Samurais out there"
- end
-
-end
\ No newline at end of file
diff --git a/Rodolfo_Valdivieso/objects/wizard/wizard.rb b/Rodolfo_Valdivieso/objects/wizard/wizard.rb
deleted file mode 100644
index 7f53f14..0000000
--- a/Rodolfo_Valdivieso/objects/wizard/wizard.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-
-# require_relative 'human'
-
-class Wizard < Human
- def initialize
- super
- self.intelligence = 25
- self.health = 50
- self
- end
-
- def heal
- self.health += 10
- self
- end
-
- def fireball(object)
- object.health -= 20
- self
- end
-
-end
\ No newline at end of file
diff --git a/Staci_Rodriquez/fundamentals/arrays.rb b/Staci_Rodriquez/fundamentals/arrays.rb
deleted file mode 100644
index 5323018..0000000
--- a/Staci_Rodriquez/fundamentals/arrays.rb
+++ /dev/null
@@ -1,31 +0,0 @@
-a = ["Staci", "Aladin", "Izabella", "Jenna", "Grandma"]
-b = [24, 32, 6, 0, 60]
-c = ["Staci", 24]
-
-# returns the first value or the 0th index of the array
-puts a[0]
-
-# adds the two arrays into one array then takes out the things in the new array that match what is in the c array
-x = (a+b)-c
-puts x.to_s
-
-puts a.at 2
-
-puts b.fetch 4
-
-puts a.delete("Grandma")
-puts a
-
-puts b.reverse
-
-puts c.length
-
-puts a.sort
-
-puts a.slice 3
-
-puts b.shuffle.join('-')
-
-puts a.insert(2, "Leia")
-
-puts a.values_at(1,2,3)
\ No newline at end of file
diff --git a/Staci_Rodriquez/fundamentals/basic_13.rb b/Staci_Rodriquez/fundamentals/basic_13.rb
deleted file mode 100644
index fbeb625..0000000
--- a/Staci_Rodriquez/fundamentals/basic_13.rb
+++ /dev/null
@@ -1,73 +0,0 @@
-##Print 1-255
-(1..255).each { |i| puts i }
-
-##Print odd numbers between 1-255
-p (1..255).find_all { |i| i % 2 == 1 }
-
-## Print Sum
-sum = 0
-for i in 0..255
- puts "New number: #{i} Sum: #{sum += i}"
-end
-
-## Iterating through an array
-x = [1,3,5,7,9,13]
-x.each {|num| print num, ', '}
-puts ' '
-
-##Find Max
-x = [2,8,3,-4,-1,0]
-p x.max.to_s
-
-##Get Average
-arr = [2,10,3]
-sum = 0
-len = arr.length.to_i
-for i in arr
- sum += i
-end
-avg = sum / len
-p avg
-
-##Array with Odd Numbers
-x = []
-(1..255).each { |i| x << i if i.odd? }
-p x
-
-## Greater Than Y ##
-def greater(arr, y)
- arr.count { |i| i > y }
-end
-p greater([1,3,5,7], 3)
-
-## Square the values ##
-x = [1,5,10,-4]
-x.map! { |i| i*i }
-p x
-
-## Eliminate Negative Numbers ##
-x = [1,5,10,-2]
-x.each_index { |i| x[i] = 0 if x[i] < 0 }
-p x
-
-## Max, Min, and Average ##
-x =[1,5,10,-2]
-sum = 0
-len = x.length.to_i
-for i in x
- sum += i
-end
-avg = sum / len
-puts 'max = ' + x.max.to_s+ ', min = ' + x.min.to_s+ ', average = ' + avg.to_s
-
-## Shifting the Values in the Array ##
-x = [1, 5, 10, 7, -2]
-x.shift
-x.push(0)
-p x
-
-## Number to String ##
-# Write a program that takes an array of numbers and replaces any negative number with the string 'Dojo'. For example, if array x is initially [-1, -3, 2] after your program is done that array should be ['Dojo', 'Dojo', 2]
-x = [1,5,10,-2]
-x.each_index { |i| x[i] = 'dojo' if x[i] < 0 }
-p x
diff --git a/Staci_Rodriquez/fundamentals/guess_the_number.rb b/Staci_Rodriquez/fundamentals/guess_the_number.rb
deleted file mode 100644
index 6f8f299..0000000
--- a/Staci_Rodriquez/fundamentals/guess_the_number.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-
-def guess_number guess
- number = 25
- if guess == number
- puts "You got it!"
- elsif guess > number
- puts "Guess was too high!"
- else
- puts "Guess was too low!"
- end
-end
-
-puts guess_number 25
-puts guess_number 30
-puts guess_number 20
\ No newline at end of file
diff --git a/Staci_Rodriquez/fundamentals/hashes.rb b/Staci_Rodriquez/fundamentals/hashes.rb
deleted file mode 100644
index abe3a12..0000000
--- a/Staci_Rodriquez/fundamentals/hashes.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# .delete(key) => deletes and returns a value associated with the key
-hash = {:first_name => "Coding", :last_name => "Dojo"}
-hash.delete(:last_name)
-p hash
-
-# .empty? => returns true if hash contains no key-value pairs
-p hash.empty?
-
-# .has_key?(key) => true or false
-p hash.has_key?(:last_name)
-
-# .has_value?(value) => true or false
-p hash.has_value?('Coding')
\ No newline at end of file
diff --git a/Staci_Rodriquez/fundamentals/myEnumerable.rb b/Staci_Rodriquez/fundamentals/myEnumerable.rb
deleted file mode 100644
index c939933..0000000
--- a/Staci_Rodriquez/fundamentals/myEnumerable.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-module MyEnumerable
- def my_each
- for i in 0...self.length
- puts self[i]
- end
- end
- end
-
-class Array
- include MyEnumerable
-end
-
-p [1,2,3,4].my_each { |i| puts i } # => 1 2 3 4
-p [1,2,3,4].my_each { |i| puts i * 10 } # => 10 20 30 40
diff --git a/Staci_Rodriquez/fundamentals/names.rb b/Staci_Rodriquez/fundamentals/names.rb
deleted file mode 100644
index e04c6ea..0000000
--- a/Staci_Rodriquez/fundamentals/names.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-a = {first_name: "Michael", last_name: "Choi"}
-b = {first_name: "John", last_name: "Doe"}
-c = {first_name: "Jane", last_name: "Doe"}
-d = {first_name: "James", last_name: "Smith"}
-e = {first_name: "Jennifer", last_name: "Smith"}
-names = [a, b, c, d, e]
-
-
-puts "You have " + names.length.to_s + " names in the 'names' array"
-for i in names
- puts 'The name is ' + i[:first_name]+' '+i[:last_name]
-end
\ No newline at end of file
diff --git a/Staci_Rodriquez/fundamentals/range.rb b/Staci_Rodriquez/fundamentals/range.rb
deleted file mode 100644
index 1fa3ff3..0000000
--- a/Staci_Rodriquez/fundamentals/range.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-#Ranges
-
-a = (1..10)
-
-puts "Class Name: #{a.class}"
-
-puts "It does include 7!" if a.include? 7
-
-puts "The last number in the range is " + a.last.to_s
-
-puts "The max number in the range is " + a.max.to_s
-
-puts "The min number in the range is " + a.min.to_s
\ No newline at end of file
diff --git a/Staci_Rodriquez/fundamentals/ruby_puzzles.rb b/Staci_Rodriquez/fundamentals/ruby_puzzles.rb
deleted file mode 100644
index 13307e4..0000000
--- a/Staci_Rodriquez/fundamentals/ruby_puzzles.rb
+++ /dev/null
@@ -1,80 +0,0 @@
-##Create an array with the following values: 3,5,1,2,7,9,8,13,25,32. Print the sum of all numbers in the array. Also have the function return an array that only include numbers that are greater than 10 (e.g. when you pass the array above, it should return an array with the values of 13,25,32 - hint: use reject or find_all method)
-
-# x = [3,5,1,2,7,9,8,13,25,32]
-# sum = 0
-# for i in x
-# sum =+ i
-# end
-# p sum
-# p x.reject { |i| i < 10 }
-
-
-
-#Create an array with the following values: John, KB, Oliver, Cory, Matthew, Christopher. Shuffle the array and print the name of each person. Have the program also return an array with names that are longer than 5 characters.
-
-# x = ['John', 'KB', 'Oliver', 'Cory', 'Matthew', 'Christopher']
-# p x.shuffle
-# p x.find_all { |i| i.length > 5 }
-
-
-
-# Create an array that contains all 26 letters in the alphabet (this array must have 26 values). Shuffle the array and display the last letter of the array. Have it also display the first letter of the array. If the first letter in the array is a vowel, have it display a message.
-
-# y = ('a'..'z').to_a
-# p y.shuffle!
-# p y.last
-# p y.first
-# d =['a', 'e', 'i', 'o', 'u']
-# for i in d
-# if y.first == i
-# puts 'Oh it is vowel!'
-# end
-# end
-
-
-
-# Generate an array with 10 random numbers between 55-100.
-
-# rnum = Random.new
-# arr = []
-# for i in (0...10)
-# arr.push(rnum.rand(55..100))
-# end
-# p arr
-
-
-
-# Generate an array with 10 random numbers between 55-100 and have it be sorted (showing the smallest number in the beginning). Display all the numbers in the array. Next, display the minimum value in the array as well as the maximum value
-
-# rnum = Random.new
-# arr = []
-# for i in (0...10)
-# arr.push(rnum.rand(55..100))
-# end
-# p arr.sort
-# p arr.min
-# p arr.max
-
-
-
-# Create a random string that is 5 characters long (hint: (65+rand(26)).chr returns a random character)
-
-# x = ''
-# for i in (0...5)
-# x << (65+rand(26)).chr
-# end
-# p x
-
-
-
-# Generate an array with 10 random strings that are each 5 characters long
-
-x = []
-for i in (0...10)
- y = ''
- for i in (0...5)
- y << (65+rand(26)).chr
- end
- x.push(y)
-end
-p x
\ No newline at end of file
diff --git a/Staci_Rodriquez/oop/MathDojo.rb b/Staci_Rodriquez/oop/MathDojo.rb
deleted file mode 100644
index 72ad062..0000000
--- a/Staci_Rodriquez/oop/MathDojo.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-class MathDojo
- attr_reader :result
- def initialize
- @result=0
- self
- end
- def add * values
- @result += values.flatten.reduce(:+)
- self
- end
- def subtract * values
- @result -= values.flatten.reduce(:+)
- self
- end
- def display
- p @result
- end
-end
-challenge1 = MathDojo.new.add(2).add(2, 5).subtract(3, 2).display # => 4
-challenge2 = MathDojo.new.add(1).add([3, 5, 7, 8], [2, 4.3, 1.25]).subtract([2,3], [1.1, 2.3]).display # => 23.15
\ No newline at end of file
diff --git a/Staci_Rodriquez/oop/dog.rb b/Staci_Rodriquez/oop/dog.rb
deleted file mode 100644
index a97869d..0000000
--- a/Staci_Rodriquez/oop/dog.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-require_relative 'mammal'
-class Dog < Mammal
-
- def pet
- @health += 5
- self
- end
-
- def walk
- @health -= 1
- self
- end
-
- def run
- @health -= 10
- self
- end
-end
-dog1 = Dog.new.walk.walk.walk.run.run.pet.display_health
\ No newline at end of file
diff --git a/Staci_Rodriquez/oop/mammal.rb b/Staci_Rodriquez/oop/mammal.rb
deleted file mode 100644
index ea70d9c..0000000
--- a/Staci_Rodriquez/oop/mammal.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-class Mammal
- attr_reader :health
-
- def initialize
- @health = 150
- self
- end
-
- def display_health
- puts @health
- end
-end
\ No newline at end of file
diff --git a/Staci_Rodriquez/oop/project.rb b/Staci_Rodriquez/oop/project.rb
deleted file mode 100644
index 2c359f4..0000000
--- a/Staci_Rodriquez/oop/project.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-class Project
- attr_reader :name, :description
-
- def initialize(name, description)
- @name = name
- @description = description
- end
-
- def elevator_pitch
- "#{@name}, #{@description}"
- end
-end
-
-project1 = Project.new("Project 1", "Description 1")
-puts project1.name
-puts project1.elevator_pitch
diff --git a/Stephen Weil/Fundamentals/arrays.rb b/Stephen Weil/Fundamentals/arrays.rb
deleted file mode 100644
index a073f66..0000000
--- a/Stephen Weil/Fundamentals/arrays.rb
+++ /dev/null
@@ -1,55 +0,0 @@
-test = [1,2,3,4,5,6,7,0,1.5]
-
-# these are pretty much the same except fetch throws error if out of bounds (second argument is a default)
-# negative indices count backwards (-1 is the last, -2 is the second to last, etc)
-puts test.fetch(3) {|i| puts "#{i} is out of bounds"}
-puts test.at(-2)
-puts test[-2]
-
-# this will just return a blank line (because puts does \n)
-puts test.at(40)
-
-# throws no error if the item isn't there to delete
-test.delete("potato")
-test.delete(3)
-puts test.to_s
-
-# reverse with ! will permanently reverse array
-puts test.reverse!.to_s
-puts test.to_s
-
-puts test.length
-
-# sort without ! will return shallow copy, next puts will still be out of order
-puts test.sort.to_s
-puts test.to_s
-
-# slice returns a subarray starting at value one with length of value 2
-# (optional - without 2nd arg just returns idx at first val)
-puts test.slice(2, 3).to_s
-puts test.slice(3..5).to_s
-
-# using exclamation will actually delete
-test.slice!(4)
-puts test.to_s
-
-# shuffle randomizes order of elements, no exclamation = new array, with exclamation = changes in place
-puts test.shuffle.to_s
-puts test.to_s
-test.shuffle!.to_s
-puts test.to_s
-
-# join binds together elements as string, with optional parameter connecting them
-puts test.join(" - ")
-puts test
-
-# first argument is index, will insert subsequent values BEFORE element with that index
-test.insert(2, "hey", "wassup")
-puts test.to_s
-# if negative index is used, will insert values AFTER
-test.insert(-1, "this is at the end now!")
-puts test.to_s
-
-# returns an array containing elements at given indices or within given ranges (.. is inclusive, ... is EXCLUSIVE of last number)
-puts test.values_at(1,4).to_s
-puts test.values_at(3..6).to_s
\ No newline at end of file
diff --git a/Stephen Weil/Fundamentals/basic13.rb b/Stephen Weil/Fundamentals/basic13.rb
deleted file mode 100644
index 4eb934f..0000000
--- a/Stephen Weil/Fundamentals/basic13.rb
+++ /dev/null
@@ -1,123 +0,0 @@
-# print 1-255
-(1..255).each { |i| print i, " " }
-print "\n"
-
-# print odd numbers 1-255
-(1..255).reject { |i| i % 2 == 0 }.each { |i| print i, " " }
-print "\n"
-
-# print sum
-sum = 0
-for i in 0..255
- sum += i
- puts "New number: #{i} - Sum: #{sum}"
-end
-
-# iterating through array
-for el in [1,3,5,7,9,13]
- puts el
-end
-
-# find max
-def find_max arr
- max = arr[0]
- for el in arr[1..-1]
- if el > max
- max = el
- end
- end
- return max
-end
-
-puts find_max [-3,-5,-7]
-puts find_max [-400,0,3.5]
-
-def find_min arr
- min = arr[0]
- for el in arr[1..-1]
- if el < min
- min = el
- end
- end
- return min
-end
-
-# get average
-def find_avg arr
- sum = 0
- for el in arr
- sum += el
- end
- return sum / arr.length
-end
-
-puts find_avg [2,10,3]
-
-# array with odd numbers
-
-def create_odd_array
- $y = (1..255).reject { |i| i % 2 == 0 }
-end
-
-create_odd_array
-print $y, "\n"
-
-# greater than y
-
-def greater_than_y arr, val
- return arr.count { |x| x > val }
-end
-
-p greater_than_y [1,2,3,4,5,6], 2
-
-# square the values
-
-def square_values arr
- arr.map! { |x| x * x }
-end
-
-to_square = [1,5,10,-2]
-square_values to_square
-p to_square
-
-# eliminate negative numbers
-
-def eliminate_negatives arr
- arr.each_with_index { |val, idx| arr[idx] = 0 unless val > 0 }
-end
-
-to_eliminate = [1,-3,0,5,-6]
-eliminate_negatives to_eliminate
-p to_eliminate
-
-# min, max, avg
-
-def give_stats arr
- return {
- max: find_max(arr),
- min: find_min(arr),
- avg: find_avg(arr)
- }
-end
-
-p give_stats [1,5,10,-2]
-
-# shift values
-
-def shift_left arr
- arr.delete_at(0)
- arr.push(0)
-end
-
-to_shift = [1,5,10,7,-2]
-p shift_left to_shift
-
-# number to string
-
-def negatives_to_string arr
- arr.each_with_index { |val, idx| arr[idx] = "Dojo" if val < 0 }
-end
-
-fix_me = [-1,-3,2]
-negatives_to_string fix_me
-p fix_me
\ No newline at end of file
diff --git a/Stephen Weil/Fundamentals/guess_the_number.rb b/Stephen Weil/Fundamentals/guess_the_number.rb
deleted file mode 100644
index 666bad0..0000000
--- a/Stephen Weil/Fundamentals/guess_the_number.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-def guess_number guess
- number = 25
- if guess == number
- puts "You got it!"
- elsif guess < number
- puts "Guess was too low!"
- else
- puts "Guess was too high!"
- end
-end
-
-guess_number 25
\ No newline at end of file
diff --git a/Stephen Weil/Fundamentals/hashes.rb b/Stephen Weil/Fundamentals/hashes.rb
deleted file mode 100644
index cf46c91..0000000
--- a/Stephen Weil/Fundamentals/hashes.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-test_hash = {
- name: "Stephen Weil",
- age: 28,
- birthday: "8/24/89",
- gender: "Male"
-}
-
-p "This got some stuff in it!" unless test_hash.empty?
-
-p "It's got a key for 'age'!'" if test_hash.has_key?(:age)
-
-p "It doesn't have the value 'Badass'...'" unless test_hash.has_value?('Badass')
-
-p "But it does have 'Male'..." if test_hash.has_value?('Male')
-
-p "We're gonna delete the key 'birthday'. It contained: " + test_hash.delete(:birthday)
\ No newline at end of file
diff --git a/Stephen Weil/Fundamentals/iterators.rb b/Stephen Weil/Fundamentals/iterators.rb
deleted file mode 100644
index 69322ba..0000000
--- a/Stephen Weil/Fundamentals/iterators.rb
+++ /dev/null
@@ -1,36 +0,0 @@
-test = ["some", "test", "words"]
-
-# any returns true if the block returns true for any of the elements
-
-puts test.any? { |word| word.length >= 4 }
-puts test.any? { |word| word.length < 4 }
-
-# each calls the block once for each element
-
-test.each { |word| word.capitalize! }
-print test, "\n"
-
-# collect returns a new array with the results of running block on each element
-
-new_array = (1..4).collect { |i| 2**i }
-print new_array, "\n"
-
-# detect/find - returns first element for which block is true
-
-puts test.detect { |word| word.length == 4 }
-puts "No words longer than 5!" unless test.detect { |word| word.length > 5 }
-
-# find_all returns an array containing all elements for which block is true
-
-found_stuff = (1..100).find_all { |i| i % 25 == 0 }
-print found_stuff, "\n"
-
-# reject is the opposite of find_all - returns array containing all elements for which block is NOT true
-
-filtered_stuff = (1..100).reject { |i| i % 2 == 0 }
-print filtered_stuff, "\n"
-
-# upto runs block up to the provided number (method of an INT)
-
-3.upto(7) { |i| puts i**2 }
-1.upto(5) { puts "Hey Hey Hey!" }
\ No newline at end of file
diff --git a/Stephen Weil/Fundamentals/my_enumerable.rb b/Stephen Weil/Fundamentals/my_enumerable.rb
deleted file mode 100644
index de6b42f..0000000
--- a/Stephen Weil/Fundamentals/my_enumerable.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-module MyEnumerable
- def my_each
- for el in self
- yield el
- end
- end
-end
-class Array
- include MyEnumerable
-end
-[1,2,3,4].my_each { |i| puts i } # => 1 2 3 4
-[1,2,3,4].my_each { |i| puts i * 10 } # => 10 20 30 40
\ No newline at end of file
diff --git a/Stephen Weil/Fundamentals/names.rb b/Stephen Weil/Fundamentals/names.rb
deleted file mode 100644
index 634230f..0000000
--- a/Stephen Weil/Fundamentals/names.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-a = {first_name: "Michael", last_name: "Choi"}
-b = {first_name: "John", last_name: "Doe"}
-c = {first_name: "Jane", last_name: "Doe"}
-d = {first_name: "James", last_name: "Smith"}
-e = {first_name: "Jennifer", last_name: "Smith"}
-names = [a, b, c, d, e]
-
-def unpack_names arr
- puts "You have " + arr.length.to_s + " names in the 'names' array"
- arr.each { |obj| puts "The name is '#{obj[:first_name]} #{obj[:last_name]}'" }
-end
-
-unpack_names names
\ No newline at end of file
diff --git a/Stephen Weil/Fundamentals/puzzles.rb b/Stephen Weil/Fundamentals/puzzles.rb
deleted file mode 100644
index dbff273..0000000
--- a/Stephen Weil/Fundamentals/puzzles.rb
+++ /dev/null
@@ -1,81 +0,0 @@
-# take array, print sum of numbers and return array with all numbers > 10
-
-arr1 = [3,5,1,2,7,9,8,13,25,32]
-
-def first_puzzle arr
- sum = 0
- arr.each {|x| sum += x}
- p sum
- return arr.find_all {|x| x > 10}
-end
-
-p first_puzzle arr1
-
-# given array of names, shuffle them, print all names, and return array with
-# all names longer than 5 characters
-
-arr2 = ['John', 'KB', 'Oliver', 'Cory', 'Matthew', 'Christopher']
-
-def second_puzzle arr
- arr.shuffle!
- arr.each { |name| p name }
- return arr.find_all { |name| name.length > 5 }
-end
-
-p second_puzzle arr2
-
-# create array with letters a to z - shuffle it, print last and first letter
-# add an additional message if first letter is a vowel
-
-arr3 = ("a".."z").to_a
-
-def third_puzzle arr
- arr.shuffle!
- p "Last letter is " + arr[-1]
- p "First letter is " + arr[0]
- puts "Wow, that first letter was a VOWEL! How cool!" if ['a', 'e', 'i', 'o', 'u', 'y'].include? arr[0]
-end
-
-third_puzzle arr3
-
-# generate array with 10 random numbers between 55-100
-
-def fourth_puzzle
- rng = Random.new
- ret = []
- 10.times { ret.push(rng.rand(55..100)) }
- return ret
-end
-
-p fourth_puzzle
-
-# generate above array, have it be sorted, display all numbers and then min and max
-
-def fifth_puzzle
- sample = fourth_puzzle.sort!.each { |x| p x }
- p "Min is " + sample[0].to_s
- p "Max is " + sample[-1].to_s
-end
-
-fifth_puzzle
-
-# create a random string that is 5 characters long
-
-def sixth_puzzle
- rng = Random.new
- ret = ''
- 5.times { ret += (65+rand(26)).chr }
- return ret.capitalize
-end
-
-p sixth_puzzle
-
-# generate an array with 10 random strings that are 5 characters long
-
-def seventh_puzzle
- ret = []
- 10.times { ret.push(sixth_puzzle) }
- return ret
-end
-
-p seventh_puzzle
\ No newline at end of file
diff --git a/Stephen Weil/Fundamentals/range.rb b/Stephen Weil/Fundamentals/range.rb
deleted file mode 100644
index 0d7cdae..0000000
--- a/Stephen Weil/Fundamentals/range.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# each iterates over range, passing each value as argument to block
-(1..5).each { |i| puts i }
-("a".."f").each { |letter| puts letter }
-
-# .. is inclusive, ... is EXCLUSIVE of end value
-test = (-10..10)
-puts "This includes 10!" if test.include?(10)
-test2 = (-10...10)
-puts "This does not include 10!" unless test2.include?(10)
-
-# last returns object with last value, if given argument, returns array with last X values
-puts test.last
-puts test2.last(3).to_s
-
-# max returns largest value in range
-puts test.max
-
-# min returns smallest value in range
-puts test.min
\ No newline at end of file
diff --git a/Stephen Weil/OOP/bankaccount.rb b/Stephen Weil/OOP/bankaccount.rb
deleted file mode 100644
index 699f363..0000000
--- a/Stephen Weil/OOP/bankaccount.rb
+++ /dev/null
@@ -1,66 +0,0 @@
-class BankAccount
- @@num_of_accts = 0
- @@interest_rate = 0.01
- def initialize
- @acct_num = generate_acct_num
- @checking = 0
- @savings = 0
- @@num_of_accts += 1
- end
-
- attr_reader :acct_num
- attr_reader :checking
- attr_reader :savings
-
- def deposit acct, amt
- @checking += amt if acct == 'checking'
- @savings += amt if acct == 'savings'
- p "You deposited #{amt} into #{acct}." unless (acct != 'checking' and acct != 'savings')
- end
-
- def withdraw acct, amt
- if (acct == 'checking' and amt > @checking) or (acct == 'savings' and amt > @savings)
- p "You have insufficient funds to withdraw from " + acct
- else
- @checking -= amt if acct == 'checking'
- @savings -= amt if acct == 'savings'
- p "You withdrew #{amt} from #{acct}" unless (acct != 'checking' and acct != 'savings')
- end
- end
-
- def total_holdings
- p "You have $#{@checking} in checking and $#{@savings} in savings, for a total of $#{@checking + @savings}."
- end
-
- def account_information
- p "Account #: #{@acct_num}"
- p "Total Balance: $#{@savings + @checking}"
- p "Checking Balance: $#{@checking}"
- p "Savings Balance: $#{@savings}"
- p "Interest Rate: #{@@interest_rate}"
- end
-
- def self.total_accts
- p "The bank currently has #{@@num_of_accts} accounts."
- end
-
- private
- def generate_acct_num
- return rand(1000000)
- end
-end
-
-acct1 = BankAccount.new
-acct2 = BankAccount.new
-
-p acct1.acct_num
-acct2.deposit('checking', 100)
-acct1.deposit('savings', 150)
-acct2.withdraw('savings', 100)
-acct2.withdraw('checking', 150)
-acct2.withdraw('checking', 50)
-
-acct2.total_holdings
-acct1.account_information
-
-BankAccount.total_accts
\ No newline at end of file
diff --git a/Stephen Weil/OOP/dog.rb b/Stephen Weil/OOP/dog.rb
deleted file mode 100644
index eb41ec2..0000000
--- a/Stephen Weil/OOP/dog.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-require_relative 'mammal'
-class Dog < Mammal
- def pet
- @health += 5
- return self
- end
- def walk
- @health -= 1
- return self
- end
- def run
- @health -= 10
- return self
- end
-end
-
-doggo = Dog.new
-doggo.walk.walk.walk.run.run.pet.display_health
\ No newline at end of file
diff --git a/Stephen Weil/OOP/human.rb b/Stephen Weil/OOP/human.rb
deleted file mode 100644
index 7cbe852..0000000
--- a/Stephen Weil/OOP/human.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-class Human
- def initialize
- @strength = 3
- @stealth = 3
- @intelligence = 3
- @health = 100
- end
-
- attr_accessor :health
-
- def attack(target)
- if (target.class.ancestors.include? Human or target.class == Human)
- target.health -= 10
- p "You attacked the #{target.class}! They now have #{target.health} health left."
- else
- p "What is wrong with you? Pick on your own species!"
- end
- return self
- end
-end
-
-=begin
-dude = Human.new
-otha_dude = Human.new
-
-dude.attack otha_dude
-p otha_dude.health
-
-dude.attack 5
-=end
diff --git a/Stephen Weil/OOP/lion.rb b/Stephen Weil/OOP/lion.rb
deleted file mode 100644
index 757776d..0000000
--- a/Stephen Weil/OOP/lion.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require_relative 'mammal'
-
-class Lion < Mammal
- def initialize
- @health = 170
- end
- def fly
- @health -= 10
- return self
- end
- def attack_town
- @health -= 50
- return self
- end
- def eat_humans
- @health += 20
- return self
- end
- def display_health
- puts "This is a LION!"
- super
- end
-end
-
-lion = Lion.new
-lion.attack_town.attack_town.attack_town.eat_humans.eat_humans.fly.fly.display_health
\ No newline at end of file
diff --git a/Stephen Weil/OOP/mammal.rb b/Stephen Weil/OOP/mammal.rb
deleted file mode 100644
index e99a66d..0000000
--- a/Stephen Weil/OOP/mammal.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class Mammal
- def initialize
- @health = 150
- end
- attr_accessor :health
- def display_health
- puts "Health is #{@health}"
- return self
- end
-end
diff --git a/Stephen Weil/OOP/mathdojo.rb b/Stephen Weil/OOP/mathdojo.rb
deleted file mode 100644
index 4b52e40..0000000
--- a/Stephen Weil/OOP/mathdojo.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-class MathDojo
- def initialize
- @sum = 0
- end
- def add *nums
- @sum += nums.flatten.reduce(:+)
- return self
- end
- def subtract *nums
- @sum -= nums.flatten.reduce(:+)
- return self
- end
- def result
- puts @sum
- return self
- end
-end
-
-challenge1 = MathDojo.new.add(2).add(2, 5).subtract(3, 2).result # => 4
-challenge2 = MathDojo.new.add(1).add([3, 5, 7, 8], [2, 4.3, 1.25]).subtract([2,3], [1.1, 2.3]).result # => 23.15
\ No newline at end of file
diff --git a/Stephen Weil/OOP/ninja.rb b/Stephen Weil/OOP/ninja.rb
deleted file mode 100644
index ae61239..0000000
--- a/Stephen Weil/OOP/ninja.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-require_relative 'human'
-class Ninja < Human
- def initialize
- super
- @stealth = 175
- end
-
- def steal(target)
- if (target.class == Human or target.class.ancestors.include? Human)
- @health += 10
- p "You stole from the #{target.class}. You now have #{@health} health!"
- else
- p "Jeez dude, you can't just be stealin' from a #{target.class}."
- end
- return self
- end
-
- def get_away
- @health -= 15
- p "You escaped danger, but it cost you! You now have #{@health} health."
- return self
- end
-end
-
-kemosabi = Ninja.new
-innocent_bystander = Human.new
-
-kemosabi.steal innocent_bystander
-kemosabi.steal [1,2,3]
-kemosabi.get_away
\ No newline at end of file
diff --git a/Stephen Weil/OOP/project.rb b/Stephen Weil/OOP/project.rb
deleted file mode 100644
index 2a6bb83..0000000
--- a/Stephen Weil/OOP/project.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-class Project
- def initialize(name, description)
- @name = name
- @description = description
- end
- attr_accessor :name
- attr_accessor :description
- def elevator_pitch
- p "#{@name}, #{@description}"
- end
-end
-
-project1 = Project.new("Project 1", "Description 1")
-puts project1.name # => "Project 1"
-project1.elevator_pitch # => "Project 1, Description 1"
\ No newline at end of file
diff --git a/Stephen Weil/OOP/samurai.rb b/Stephen Weil/OOP/samurai.rb
deleted file mode 100644
index e0bd8df..0000000
--- a/Stephen Weil/OOP/samurai.rb
+++ /dev/null
@@ -1,40 +0,0 @@
-require_relative 'human'
-class Samurai < Human
- @@samurai_count = 0
- def initialize
- super
- @health = 200
- @@samurai_count += 1
- end
-
- def death_blow(target)
- if (target.class == Human or target.class.ancestors.include? Human)
- target.health = 0
- p "You executed the DEATH BLOW! The #{target.class} now has #{target.health} health. RIP!"
- else
- p "I mean, I guess I hate #{target.class} too, but it doesn't mean you can kill 'em...'"
- end
- return self
- end
-
- def meditate
- @health = 200
- p "You centered your body and mind. You are now restored back to #{@health} health!"
- return self
- end
-
- def how_many
- p "You are (probably) not alone. There are #{@@samurai_count} total Samurai!"
- return self
- end
-end
-
-not_the_last_samurai = Samurai.new
-also_not_the_last_samurai = Samurai.new
-
-innocent_bystander = Human.new
-
-not_the_last_samurai.attack innocent_bystander
-innocent_bystander.attack also_not_the_last_samurai
-also_not_the_last_samurai.how_many.death_blow innocent_bystander
-also_not_the_last_samurai.meditate
\ No newline at end of file
diff --git a/Stephen Weil/OOP/wizard.rb b/Stephen Weil/OOP/wizard.rb
deleted file mode 100644
index 0cb188d..0000000
--- a/Stephen Weil/OOP/wizard.rb
+++ /dev/null
@@ -1,31 +0,0 @@
-require_relative 'human'
-class Wizard < Human
- def initialize
- super
- @health = 50
- @intelligence = 50
- end
-
- def heal
- @health += 10
- return self
- end
-
- def fireball(target)
- if (target.class.ancestors.include? Human or target.class == Human)
- target.health -= 20
- p "You cast a fireball on the #{target.class}! They now have #{target.health} health left."
- else
- p "What is wrong with you? Pick on your own species! You can't just go attacking a #{target.class}..."
- end
- return self
- end
-end
-
-gandalf = Wizard.new
-innocent_bystander = Human.new
-sauron = Wizard.new
-
-gandalf.fireball innocent_bystander
-gandalf.fireball "u attakin strings now?"
-gandalf.fireball sauron
\ No newline at end of file
diff --git a/Stephen Weil/Rails/Models/blogs_one.txt b/Stephen Weil/Rails/Models/blogs_one.txt
deleted file mode 100644
index 21901ab..0000000
--- a/Stephen Weil/Rails/Models/blogs_one.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-Blog.create(name: "Super Cool Blog", description: "Just a place for super cool people to talk about super cool stuff")
-Blog.create(name: "A Blog of Ice and Fire", description: "For GOT Nerds")
-Blog.create(name: "War on the Rocks", description: "Pretty good shit if you're into IR")
-Blog.create(name: "SCOTUS Blog", description: "For law nerds")
-Blog.create(name: "The Ringer", description: "I mean its basically just a bunch of blogs")
-Post.create(title: "This is the coolest shit ever", content: "No seriously, it's so cool. Can you believe how cool it is? The most cool...", blog: Blog.find(1))
-Post.create(title: "This is also cool", content: "This stuff is less cool but still its obviously cool enough", blog: Blog.find(1))
-Post.create(title: "How about that boat scene?", content: "Bow chika bow wow", blog: Blog.find(2))
-Post.create(title: "Night King OP", content: "Zombie dragons 4 real? rough...", blog: Blog.find(2))
-Post.create(title: "Bill Simmons Mailbag", content: "Something something Celtics", blog: Blog.find(5))
-Post.create(title: "Are they gunna strike down the travel ban?", content: "God damnit why dont we have Merrick Garland?", blog: Blog.find(4))
-Post.create(title: "RIP American Diplomatic Credibility", content: "Seriously its almost like this guy has no fucking experience at this shit", blog: Blog.find(3))
-Blog.first.posts
-Blog.last.posts.order(title: :desc)
-Post.first.update(title: "A different title now")
-Message.create(author: "Some Dude", message: "Hey man that's a cool post", post: Post.first)
-Message.create(author: "Some High Falutin Asshole", message: "This post is banal", post: Post.first)
-Blog.all
-Post.find(3).destroy
-Blog.where("id < 3")
diff --git a/Stephen Weil/Rails/Models/blogs_one/.gitignore b/Stephen Weil/Rails/Models/blogs_one/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/Stephen Weil/Rails/Models/blogs_one/Gemfile b/Stephen Weil/Rails/Models/blogs_one/Gemfile
deleted file mode 100644
index b6bd2a4..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/Gemfile
+++ /dev/null
@@ -1,49 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-gem 'hirb'
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
diff --git a/Stephen Weil/Rails/Models/blogs_one/Gemfile.lock b/Stephen Weil/Rails/Models/blogs_one/Gemfile.lock
deleted file mode 100644
index 73114af..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/Gemfile.lock
+++ /dev/null
@@ -1,172 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/Stephen Weil/Rails/Models/blogs_one/README.rdoc b/Stephen Weil/Rails/Models/blogs_one/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/Stephen Weil/Rails/Models/blogs_one/Rakefile b/Stephen Weil/Rails/Models/blogs_one/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/Stephen Weil/Rails/Models/blogs_one/app/assets/javascripts/application.js b/Stephen Weil/Rails/Models/blogs_one/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/Stephen Weil/Rails/Models/blogs_one/app/assets/stylesheets/application.css b/Stephen Weil/Rails/Models/blogs_one/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/Stephen Weil/Rails/Models/blogs_one/app/controllers/application_controller.rb b/Stephen Weil/Rails/Models/blogs_one/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/Stephen Weil/Rails/Models/blogs_one/app/models/blog.rb b/Stephen Weil/Rails/Models/blogs_one/app/models/blog.rb
deleted file mode 100644
index 329286c..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/app/models/blog.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-class Blog < ActiveRecord::Base
- validates :name, :description, presence: true
- has_many :posts, dependent: :destroy
-end
diff --git a/Stephen Weil/Rails/Models/blogs_one/app/models/message.rb b/Stephen Weil/Rails/Models/blogs_one/app/models/message.rb
deleted file mode 100644
index 273ac26..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/app/models/message.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class Message < ActiveRecord::Base
- validates :author, :message, presence: true
- validates :message, length: { minimum: 15 }
- belongs_to :post
-end
diff --git a/Stephen Weil/Rails/Models/blogs_one/app/models/post.rb b/Stephen Weil/Rails/Models/blogs_one/app/models/post.rb
deleted file mode 100644
index 9b62bca..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/app/models/post.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-class Post < ActiveRecord::Base
- validates :title, :content, presence: true
- validates :title, length: { minimum: 7 }
- belongs_to :blog
- has_many :messages, dependent: :destroy
-end
diff --git a/Stephen Weil/Rails/Models/blogs_one/app/views/layouts/application.html.erb b/Stephen Weil/Rails/Models/blogs_one/app/views/layouts/application.html.erb
deleted file mode 100644
index c888c29..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- BlogsOne
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/Stephen Weil/Rails/Models/blogs_one/bin/rails b/Stephen Weil/Rails/Models/blogs_one/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Stephen Weil/Rails/Models/blogs_one/bin/setup b/Stephen Weil/Rails/Models/blogs_one/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Stephen Weil/Rails/Models/blogs_one/config.ru b/Stephen Weil/Rails/Models/blogs_one/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Stephen Weil/Rails/Models/blogs_one/config/application.rb b/Stephen Weil/Rails/Models/blogs_one/config/application.rb
deleted file mode 100644
index 844039e..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module BlogsOne
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Stephen Weil/Rails/Models/blogs_one/config/boot.rb b/Stephen Weil/Rails/Models/blogs_one/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Stephen Weil/Rails/Models/blogs_one/config/database.yml b/Stephen Weil/Rails/Models/blogs_one/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/Stephen Weil/Rails/Models/blogs_one/config/environment.rb b/Stephen Weil/Rails/Models/blogs_one/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Stephen Weil/Rails/Models/blogs_one/config/environments/development.rb b/Stephen Weil/Rails/Models/blogs_one/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Stephen Weil/Rails/Models/blogs_one/config/environments/production.rb b/Stephen Weil/Rails/Models/blogs_one/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Stephen Weil/Rails/Models/blogs_one/config/environments/test.rb b/Stephen Weil/Rails/Models/blogs_one/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Stephen Weil/Rails/Models/blogs_one/config/initializers/cookies_serializer.rb b/Stephen Weil/Rails/Models/blogs_one/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Stephen Weil/Rails/Models/blogs_one/config/initializers/session_store.rb b/Stephen Weil/Rails/Models/blogs_one/config/initializers/session_store.rb
deleted file mode 100644
index 1ebcc3a..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_blogs_one_session'
diff --git a/Stephen Weil/Rails/Models/blogs_one/config/initializers/wrap_parameters.rb b/Stephen Weil/Rails/Models/blogs_one/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Stephen Weil/Rails/Models/blogs_one/config/routes.rb b/Stephen Weil/Rails/Models/blogs_one/config/routes.rb
deleted file mode 100644
index 3f66539..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/Stephen Weil/Rails/Models/blogs_one/config/secrets.yml b/Stephen Weil/Rails/Models/blogs_one/config/secrets.yml
deleted file mode 100644
index 2ee3543..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: e95ff8a70bd6b9ddaed1fc9df6433809faa3c0a0c81ce9ef1888fbb99cf0234c720c8206896093c40c5dbdc0952a12c95c9d7f40f9545cc0f4dbd013bc33be34
-
-test:
- secret_key_base: 101dea84d1fd79ab00b26873ac5174008214d25b3524eb73c2f033af883bc88f7a4002e6c6a35bbea1f174ec26c1f37ff0d8f7f39e4ec8274271fed97745d615
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Stephen Weil/Rails/Models/blogs_one/db/migrate/20171129215414_create_blogs.rb b/Stephen Weil/Rails/Models/blogs_one/db/migrate/20171129215414_create_blogs.rb
deleted file mode 100644
index 87471d4..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/db/migrate/20171129215414_create_blogs.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class CreateBlogs < ActiveRecord::Migration
- def change
- create_table :blogs do |t|
- t.string :name
- t.text :description
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Stephen Weil/Rails/Models/blogs_one/db/migrate/20171129215430_create_posts.rb b/Stephen Weil/Rails/Models/blogs_one/db/migrate/20171129215430_create_posts.rb
deleted file mode 100644
index 8796f8e..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/db/migrate/20171129215430_create_posts.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class CreatePosts < ActiveRecord::Migration
- def change
- create_table :posts do |t|
- t.string :title
- t.text :content
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Stephen Weil/Rails/Models/blogs_one/db/migrate/20171129215654_add_post_to_blog.rb b/Stephen Weil/Rails/Models/blogs_one/db/migrate/20171129215654_add_post_to_blog.rb
deleted file mode 100644
index c33ed85..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/db/migrate/20171129215654_add_post_to_blog.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class AddPostToBlog < ActiveRecord::Migration
- def change
- add_reference :blogs, :post, index: true, foreign_key: true
- end
-end
diff --git a/Stephen Weil/Rails/Models/blogs_one/db/migrate/20171129215752_create_messages.rb b/Stephen Weil/Rails/Models/blogs_one/db/migrate/20171129215752_create_messages.rb
deleted file mode 100644
index cf927e7..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/db/migrate/20171129215752_create_messages.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreateMessages < ActiveRecord::Migration
- def change
- create_table :messages do |t|
- t.string :author
- t.text :message
- t.references :post, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Stephen Weil/Rails/Models/blogs_one/db/migrate/20171129221530_add_blog_to_post.rb b/Stephen Weil/Rails/Models/blogs_one/db/migrate/20171129221530_add_blog_to_post.rb
deleted file mode 100644
index 87b00d5..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/db/migrate/20171129221530_add_blog_to_post.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class AddBlogToPost < ActiveRecord::Migration
- def change
- add_reference :posts, :blog, index: true, foreign_key: true
- end
-end
diff --git a/Stephen Weil/Rails/Models/blogs_one/db/schema.rb b/Stephen Weil/Rails/Models/blogs_one/db/schema.rb
deleted file mode 100644
index 0460603..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/db/schema.rb
+++ /dev/null
@@ -1,46 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171129221530) do
-
- create_table "blogs", force: :cascade do |t|
- t.string "name"
- t.text "description"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- t.integer "post_id"
- end
-
- add_index "blogs", ["post_id"], name: "index_blogs_on_post_id"
-
- create_table "messages", force: :cascade do |t|
- t.string "author"
- t.text "message"
- t.integer "post_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "messages", ["post_id"], name: "index_messages_on_post_id"
-
- create_table "posts", force: :cascade do |t|
- t.string "title"
- t.text "content"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- t.integer "blog_id"
- end
-
- add_index "posts", ["blog_id"], name: "index_posts_on_blog_id"
-
-end
diff --git a/Stephen Weil/Rails/Models/blogs_one/db/seeds.rb b/Stephen Weil/Rails/Models/blogs_one/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/Stephen Weil/Rails/Models/blogs_one/public/404.html b/Stephen Weil/Rails/Models/blogs_one/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Stephen Weil/Rails/Models/blogs_one/test/fixtures/blogs.yml b/Stephen Weil/Rails/Models/blogs_one/test/fixtures/blogs.yml
deleted file mode 100644
index 2ff75a8..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/test/fixtures/blogs.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- name: MyString
- description: MyText
-
-two:
- name: MyString
- description: MyText
diff --git a/Stephen Weil/Rails/Models/blogs_one/test/fixtures/messages.yml b/Stephen Weil/Rails/Models/blogs_one/test/fixtures/messages.yml
deleted file mode 100644
index e3c84c8..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/test/fixtures/messages.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- author: MyString
- message: MyText
- post_id:
-
-two:
- author: MyString
- message: MyText
- post_id:
diff --git a/Stephen Weil/Rails/Models/blogs_one/test/fixtures/posts.yml b/Stephen Weil/Rails/Models/blogs_one/test/fixtures/posts.yml
deleted file mode 100644
index 19db450..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/test/fixtures/posts.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- title: MyString
- content: MyText
-
-two:
- title: MyString
- content: MyText
diff --git a/Stephen Weil/Rails/Models/blogs_one/test/models/blog_test.rb b/Stephen Weil/Rails/Models/blogs_one/test/models/blog_test.rb
deleted file mode 100644
index 5038377..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/test/models/blog_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class BlogTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/Stephen Weil/Rails/Models/blogs_one/test/models/message_test.rb b/Stephen Weil/Rails/Models/blogs_one/test/models/message_test.rb
deleted file mode 100644
index 11e5db0..0000000
--- a/Stephen Weil/Rails/Models/blogs_one/test/models/message_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class MessageTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas.txt b/Stephen Weil/Rails/Models/dojo_ninjas.txt
deleted file mode 100644
index d817b45..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-Dojo.create(name: "CD Silicon Valley", city: "Mountain View", state: "CA")
-Dojo.create(name: "CD Seattle", city: "Seattle", state: "WA")
-Dojo.create(name: "CD New York", city: "New York", state: "NY")
-Dojo.create(name:"This wont work").errors.full_messages
-Dojo.create(name:"Neither will this", city: "Imagination Land", state: "WAAAAAAAA").errors.full_messages
-Ninja.create(first_name: "Stephen", last_name: "Weil", dojo: Dojo.first)
-Ninja.create(first_name: "Bruce", last_name: "Lee", dojo: Dojo.first)
-Ninja.create(first_name: "Jackie", last_name: "Chan", dojo: Dojo.first)
-Ninja.create(first_name: "Dennis", last_name: "Schroeder", dojo: Dojo.find(2))
-Ninja.create(first_name: "Jean-Luc", last_name: "Picard", dojo: Dojo.find(2))
-Ninja.create(first_name: "Geordi", last_name: "LaForge", dojo: Dojo.find(2))
-Ninja.create(first_name: "Jon", last_name: "Snow", dojo: Dojo.last)
-Ninja.create(first_name: "Danaerys", last_name: "Targaryen", dojo: Dojo.last)
-Ninja.create(first_name: "Tyrion", last_name: "Lannister", dojo: Dojo.last)
-Dojo.first.ninjas
-Dojo.find(2).ninjas
-Dojo.last.ninjas
-Dojo.find(2).ninjas.order(created_at: :desc).select('first_name')
-Dojo.find(2).destroy
-add dependent: :destroy to dojo.rb
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/.gitignore b/Stephen Weil/Rails/Models/dojo_ninjas/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/Gemfile b/Stephen Weil/Rails/Models/dojo_ninjas/Gemfile
deleted file mode 100644
index 7415088..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/Gemfile
+++ /dev/null
@@ -1,48 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- gem 'hirb'
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/Gemfile.lock b/Stephen Weil/Rails/Models/dojo_ninjas/Gemfile.lock
deleted file mode 100644
index 73114af..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/Gemfile.lock
+++ /dev/null
@@ -1,172 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/README.rdoc b/Stephen Weil/Rails/Models/dojo_ninjas/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/Rakefile b/Stephen Weil/Rails/Models/dojo_ninjas/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/app/assets/javascripts/application.js b/Stephen Weil/Rails/Models/dojo_ninjas/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/app/assets/stylesheets/application.css b/Stephen Weil/Rails/Models/dojo_ninjas/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/app/controllers/application_controller.rb b/Stephen Weil/Rails/Models/dojo_ninjas/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/app/models/dojo.rb b/Stephen Weil/Rails/Models/dojo_ninjas/app/models/dojo.rb
deleted file mode 100644
index 9dec03e..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/app/models/dojo.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-class Dojo < ActiveRecord::Base
- validates :name, presence: true, length: { maximum: 255 }
- validates :city, presence: true, length: { maximum: 255 }
- validates :state, presence: true, length: { maximum: 2 }
- has_many :ninjas, dependent: :destroy
-end
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/app/models/ninja.rb b/Stephen Weil/Rails/Models/dojo_ninjas/app/models/ninja.rb
deleted file mode 100644
index 4ff7e9f..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/app/models/ninja.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class Ninja < ActiveRecord::Base
- validates :first_name, presence: true, length: { maximum: 255 }
- validates :last_name, presence: true, length: { maximum: 255 }
- belongs_to :dojo
-end
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/app/views/layouts/application.html.erb b/Stephen Weil/Rails/Models/dojo_ninjas/app/views/layouts/application.html.erb
deleted file mode 100644
index 40d7e51..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- DojoNinjas
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/bin/rails b/Stephen Weil/Rails/Models/dojo_ninjas/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/bin/setup b/Stephen Weil/Rails/Models/dojo_ninjas/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/config.ru b/Stephen Weil/Rails/Models/dojo_ninjas/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/config/application.rb b/Stephen Weil/Rails/Models/dojo_ninjas/config/application.rb
deleted file mode 100644
index 156a9d5..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module DojoNinjas
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/config/boot.rb b/Stephen Weil/Rails/Models/dojo_ninjas/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/config/database.yml b/Stephen Weil/Rails/Models/dojo_ninjas/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/config/environment.rb b/Stephen Weil/Rails/Models/dojo_ninjas/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/config/environments/development.rb b/Stephen Weil/Rails/Models/dojo_ninjas/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/config/environments/production.rb b/Stephen Weil/Rails/Models/dojo_ninjas/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/config/environments/test.rb b/Stephen Weil/Rails/Models/dojo_ninjas/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/config/initializers/cookies_serializer.rb b/Stephen Weil/Rails/Models/dojo_ninjas/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/config/initializers/session_store.rb b/Stephen Weil/Rails/Models/dojo_ninjas/config/initializers/session_store.rb
deleted file mode 100644
index 313a66f..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_dojo_ninjas_session'
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/config/initializers/wrap_parameters.rb b/Stephen Weil/Rails/Models/dojo_ninjas/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/config/routes.rb b/Stephen Weil/Rails/Models/dojo_ninjas/config/routes.rb
deleted file mode 100644
index 3f66539..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/config/secrets.yml b/Stephen Weil/Rails/Models/dojo_ninjas/config/secrets.yml
deleted file mode 100644
index e2e1522..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: d0ed38b67a51b3514481c9189dae710cb0ec9ab67eb7883e6760253aef7e4fc1c81057ddb2f9fb2fe04a9fdcbddc994d5e80a220eff61d4fe0860b4c7ad5c692
-
-test:
- secret_key_base: 3fd0a68b053e89c5fc3b9d00c355ff64d087ba9a297c95b2948130aa5a59b8fdf45b07f40f21cfd26d90dd7d6a594c45399f5b613a5c77c748abc214ad8f6085
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/db/migrate/20171129210400_create_dojos.rb b/Stephen Weil/Rails/Models/dojo_ninjas/db/migrate/20171129210400_create_dojos.rb
deleted file mode 100644
index ece0705..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/db/migrate/20171129210400_create_dojos.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreateDojos < ActiveRecord::Migration
- def change
- create_table :dojos do |t|
- t.string :name
- t.string :city
- t.string :state
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/db/migrate/20171129210425_create_ninjas.rb b/Stephen Weil/Rails/Models/dojo_ninjas/db/migrate/20171129210425_create_ninjas.rb
deleted file mode 100644
index 8334127..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/db/migrate/20171129210425_create_ninjas.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreateNinjas < ActiveRecord::Migration
- def change
- create_table :ninjas do |t|
- t.string :first_name
- t.string :last_name
- t.references :dojo, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/db/schema.rb b/Stephen Weil/Rails/Models/dojo_ninjas/db/schema.rb
deleted file mode 100644
index 2b48cd0..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/db/schema.rb
+++ /dev/null
@@ -1,34 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171129210425) do
-
- create_table "dojos", force: :cascade do |t|
- t.string "name"
- t.string "city"
- t.string "state"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- create_table "ninjas", force: :cascade do |t|
- t.string "first_name"
- t.string "last_name"
- t.integer "dojo_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "ninjas", ["dojo_id"], name: "index_ninjas_on_dojo_id"
-
-end
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/db/seeds.rb b/Stephen Weil/Rails/Models/dojo_ninjas/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/public/404.html b/Stephen Weil/Rails/Models/dojo_ninjas/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/test/fixtures/dojos.yml b/Stephen Weil/Rails/Models/dojo_ninjas/test/fixtures/dojos.yml
deleted file mode 100644
index 07bb5b1..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/test/fixtures/dojos.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- name: MyString
- city: MyString
- state: MyString
-
-two:
- name: MyString
- city: MyString
- state: MyString
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/test/fixtures/ninjas.yml b/Stephen Weil/Rails/Models/dojo_ninjas/test/fixtures/ninjas.yml
deleted file mode 100644
index ddd337f..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/test/fixtures/ninjas.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- first_name: MyString
- last_name: MyString
- dojo_id:
-
-two:
- first_name: MyString
- last_name: MyString
- dojo_id:
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/test/models/dojo_test.rb b/Stephen Weil/Rails/Models/dojo_ninjas/test/models/dojo_test.rb
deleted file mode 100644
index a078f30..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/test/models/dojo_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class DojoTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/test/models/ninja_test.rb b/Stephen Weil/Rails/Models/dojo_ninjas/test/models/ninja_test.rb
deleted file mode 100644
index d21c152..0000000
--- a/Stephen Weil/Rails/Models/dojo_ninjas/test/models/ninja_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class NinjaTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/Stephen Weil/Rails/Models/optimize/.gitignore b/Stephen Weil/Rails/Models/optimize/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/Stephen Weil/Rails/Models/optimize/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/Stephen Weil/Rails/Models/optimize/Gemfile b/Stephen Weil/Rails/Models/optimize/Gemfile
deleted file mode 100644
index b6bd2a4..0000000
--- a/Stephen Weil/Rails/Models/optimize/Gemfile
+++ /dev/null
@@ -1,49 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-gem 'hirb'
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
diff --git a/Stephen Weil/Rails/Models/optimize/Gemfile.lock b/Stephen Weil/Rails/Models/optimize/Gemfile.lock
deleted file mode 100644
index 73114af..0000000
--- a/Stephen Weil/Rails/Models/optimize/Gemfile.lock
+++ /dev/null
@@ -1,172 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/Stephen Weil/Rails/Models/optimize/README.rdoc b/Stephen Weil/Rails/Models/optimize/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/Stephen Weil/Rails/Models/optimize/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/Stephen Weil/Rails/Models/optimize/Rakefile b/Stephen Weil/Rails/Models/optimize/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/Stephen Weil/Rails/Models/optimize/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/Stephen Weil/Rails/Models/optimize/app/assets/javascripts/application.js b/Stephen Weil/Rails/Models/optimize/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/Stephen Weil/Rails/Models/optimize/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/Stephen Weil/Rails/Models/optimize/app/assets/stylesheets/application.css b/Stephen Weil/Rails/Models/optimize/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/Stephen Weil/Rails/Models/optimize/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/Stephen Weil/Rails/Models/optimize/app/controllers/application_controller.rb b/Stephen Weil/Rails/Models/optimize/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/Stephen Weil/Rails/Models/optimize/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/Stephen Weil/Rails/Models/optimize/app/models/player.rb b/Stephen Weil/Rails/Models/optimize/app/models/player.rb
deleted file mode 100644
index b30fdc9..0000000
--- a/Stephen Weil/Rails/Models/optimize/app/models/player.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-class Player < ActiveRecord::Base
- belongs_to :team
-end
diff --git a/Stephen Weil/Rails/Models/optimize/app/models/team.rb b/Stephen Weil/Rails/Models/optimize/app/models/team.rb
deleted file mode 100644
index 25bddeb..0000000
--- a/Stephen Weil/Rails/Models/optimize/app/models/team.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-class Team < ActiveRecord::Base
- has_many :players
-end
diff --git a/Stephen Weil/Rails/Models/optimize/app/views/layouts/application.html.erb b/Stephen Weil/Rails/Models/optimize/app/views/layouts/application.html.erb
deleted file mode 100644
index 7fc9d5f..0000000
--- a/Stephen Weil/Rails/Models/optimize/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- Optimize
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/Stephen Weil/Rails/Models/optimize/bin/rails b/Stephen Weil/Rails/Models/optimize/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/Stephen Weil/Rails/Models/optimize/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Stephen Weil/Rails/Models/optimize/bin/setup b/Stephen Weil/Rails/Models/optimize/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/Stephen Weil/Rails/Models/optimize/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Stephen Weil/Rails/Models/optimize/config.ru b/Stephen Weil/Rails/Models/optimize/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Stephen Weil/Rails/Models/optimize/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Stephen Weil/Rails/Models/optimize/config/application.rb b/Stephen Weil/Rails/Models/optimize/config/application.rb
deleted file mode 100644
index 82f8fb1..0000000
--- a/Stephen Weil/Rails/Models/optimize/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module Optimize
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Stephen Weil/Rails/Models/optimize/config/boot.rb b/Stephen Weil/Rails/Models/optimize/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Stephen Weil/Rails/Models/optimize/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Stephen Weil/Rails/Models/optimize/config/database.yml b/Stephen Weil/Rails/Models/optimize/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/Stephen Weil/Rails/Models/optimize/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/Stephen Weil/Rails/Models/optimize/config/environment.rb b/Stephen Weil/Rails/Models/optimize/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Stephen Weil/Rails/Models/optimize/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Stephen Weil/Rails/Models/optimize/config/environments/development.rb b/Stephen Weil/Rails/Models/optimize/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/Stephen Weil/Rails/Models/optimize/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Stephen Weil/Rails/Models/optimize/config/environments/production.rb b/Stephen Weil/Rails/Models/optimize/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Stephen Weil/Rails/Models/optimize/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Stephen Weil/Rails/Models/optimize/config/environments/test.rb b/Stephen Weil/Rails/Models/optimize/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Stephen Weil/Rails/Models/optimize/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Stephen Weil/Rails/Models/optimize/config/initializers/cookies_serializer.rb b/Stephen Weil/Rails/Models/optimize/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Stephen Weil/Rails/Models/optimize/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Stephen Weil/Rails/Models/optimize/config/initializers/session_store.rb b/Stephen Weil/Rails/Models/optimize/config/initializers/session_store.rb
deleted file mode 100644
index 7e5d399..0000000
--- a/Stephen Weil/Rails/Models/optimize/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_optimize_session'
diff --git a/Stephen Weil/Rails/Models/optimize/config/initializers/wrap_parameters.rb b/Stephen Weil/Rails/Models/optimize/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Stephen Weil/Rails/Models/optimize/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Stephen Weil/Rails/Models/optimize/config/routes.rb b/Stephen Weil/Rails/Models/optimize/config/routes.rb
deleted file mode 100644
index 3f66539..0000000
--- a/Stephen Weil/Rails/Models/optimize/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/Stephen Weil/Rails/Models/optimize/config/secrets.yml b/Stephen Weil/Rails/Models/optimize/config/secrets.yml
deleted file mode 100644
index 55be0ac..0000000
--- a/Stephen Weil/Rails/Models/optimize/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 9ac132e36f303e6573b90aff7b3870f69329e2ac04c68a5f2f6fea7b637a146d4c3cbdb9177d69a2adc9065c1de6d5732336be7f76743612dd8dd67847aa0794
-
-test:
- secret_key_base: fa73279d6a405bc464499d4ac3ff8466fe0efaf27824802e4400db1fc5a72c4f7001b15fef967054c8d1ef8434ce0bec7f6569ce2c6e6153f2feeb350a11ab83
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Stephen Weil/Rails/Models/optimize/db/migrate/20171129231623_create_teams.rb b/Stephen Weil/Rails/Models/optimize/db/migrate/20171129231623_create_teams.rb
deleted file mode 100644
index 5f7137c..0000000
--- a/Stephen Weil/Rails/Models/optimize/db/migrate/20171129231623_create_teams.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreateTeams < ActiveRecord::Migration
- def change
- create_table :teams do |t|
- t.string :name
- t.string :mascot
- t.string :stadium
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Stephen Weil/Rails/Models/optimize/db/migrate/20171129231701_create_players.rb b/Stephen Weil/Rails/Models/optimize/db/migrate/20171129231701_create_players.rb
deleted file mode 100644
index 9949aad..0000000
--- a/Stephen Weil/Rails/Models/optimize/db/migrate/20171129231701_create_players.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class CreatePlayers < ActiveRecord::Migration
- def change
- create_table :players do |t|
- t.string :name
- t.references :team, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Stephen Weil/Rails/Models/optimize/db/schema.rb b/Stephen Weil/Rails/Models/optimize/db/schema.rb
deleted file mode 100644
index a0d5316..0000000
--- a/Stephen Weil/Rails/Models/optimize/db/schema.rb
+++ /dev/null
@@ -1,33 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171129231701) do
-
- create_table "players", force: :cascade do |t|
- t.string "name"
- t.integer "team_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "players", ["team_id"], name: "index_players_on_team_id"
-
- create_table "teams", force: :cascade do |t|
- t.string "name"
- t.string "mascot"
- t.string "stadium"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/Stephen Weil/Rails/Models/optimize/db/seeds.rb b/Stephen Weil/Rails/Models/optimize/db/seeds.rb
deleted file mode 100644
index ccd3c47..0000000
--- a/Stephen Weil/Rails/Models/optimize/db/seeds.rb
+++ /dev/null
@@ -1,110 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
-require 'open-uri'
-teams = [
- ["Atlanta Hawks", "Skyhawk", "Philips Arena"],
- ["Boston Celtics", "Lucky the Leprechaun", "TD Garden"],
- ["Brooklyn Nets", "BrooklyKnight", "Barclays Center"],
- ["Charlotte Hornets", "Hugo the Hornet", "Spectrum Center"],
- ["Chicago Bulls", "Benny the Bull", "United Center"],
- ["Cleveland Cavaliers", "Moondog", "Quicken Loans Arena"],
- ["Dallas Mavericks", "Champ", "American Airlines Center"],
- ["Denver Nuggets", "Rocky the Mountain Lion", "Pepsi Center"],
- ["Detroit Pistons", "Hooper", "The Palace of Auburn Hills"],
- ["Golden State Warriors", "Thunder", "Oracle Arena"],
- ["Houston Rockets", "Clutch", "Toyota Center"],
- ["Indiana Pacers", "Boomer the Panther", "Bankers Life Fieldhouse"],
- ["Los Angeles Clippers", "Chuck", "Staples Center"],
- ["Los Angeles Lakers", "Jack Nicholson", "Staples Center"],
- ["Memphis Grizzlies", "Griz", "FedExForum"],
- ["Miami Heat", "Burnie", "American Airlines Arena"],
- ["Milwaukee Bucks", "Bango", "BMO Harris Bradley Center"],
- ["Minnesota Timberwolves", "Crunch the Wolf", "Target Center"],
- ["New Orleans Pelicans", "Pierre the Pelican", "Smoothie King Center"],
- ["New York Knicks", "Spike Lee", "Madison Square Garden"],
- ["Oklahoma City Thunder", "Rumble the Bison", "Chesapeake Energy Arena"],
- ["Orlando Magic", "Stuff the Magic Dragon", "Amway Center"],
- ["Philadelphia 76ers", "Franklin the Dog", "Wells Fargo Center Philadelphia"],
- ["Phoenix Suns", "The Suns Gorilla", "Talking Stick Resort Arena"],
- ["Portland Trail Blazers", "Blaze the Trail Cat", "Moda Center"],
- ["Sacramento Kings", "Slamson the Lion", "Golden 1 Center"],
- ["San Antonio Spurs", "The Coyote", "AT&T Center"],
- ["Toronto Raptors", "Raptor", "Air Canada Centre"],
- ["Utah Jazz", "Jazz Bear", "Vivint Smart Home Arena"],
- ["Washington Wizards", "G. Wiz", "Verizon Center"]
-]
-# Here, we are using the Nokogiri gem (already comes with Rails), to scrape the ESPN website for the list of players.
-# For more information on Nokogiri, you can go to their documentation or visit http://www.nokogiri.org/
-atlanta_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/atl/atlanta-hawks")).css("td.sortcell")
-boston_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/bos/boston-celtics")).css("td.sortcell")
-brooklyn_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/bkn/brooklyn-nets")).css("td.sortcell")
-charlotte_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/cha/charlotte-hornets")).css("td.sortcell")
-chicago_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/chi/chicago-bulls")).css("td.sortcell")
-cleveland_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/cle/cleveland-cavaliers")).css("td.sortcell")
-dallas_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/dal/dallas-mavericks")).css("td.sortcell")
-denver_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/den/denver-nuggets")).css("td.sortcell")
-detroit_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/det/detroit-pistons")).css("td.sortcell")
-warriors_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/gs/golden-state-warriors")).css("td.sortcell")
-houston_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/hou/houston-rockets")).css("td.sortcell")
-indiana_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/ind/indiana-pacers")).css("td.sortcell")
-clippers_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/lac/la-clippers")).css("td.sortcell")
-lakers_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/lal/los-angeles-lakers")).css("td.sortcell")
-memphis_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/mem/memphis-grizzlies")).css("td.sortcell")
-miami_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/mia/miami-heat")).css("td.sortcell")
-milwaukee_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/mil/milwaukee-bucks")).css("td.sortcell")
-minnesota_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/min/minnesota-timberwolves")).css("td.sortcell")
-nola_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/no/new-orleans-pelicans")).css("td.sortcell")
-knicks_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/ny/new-york-knicks")).css("td.sortcell")
-okc_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/okc/oklahoma-city-thunder")).css("td.sortcell")
-orlando_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/orl/orlando-magic")).css("td.sortcell")
-phili_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/phi/philadelphia-76ers")).css("td.sortcell")
-phoenix_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/phx/phoenix-suns")).css("td.sortcell")
-portland_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/por/portland-trail-blazers")).css("td.sortcell")
-sacramento_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/sac/sacramento-kings")).css("td.sortcell")
-spurs_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/sa/san-antonio-spurs")).css("td.sortcell")
-toronto_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/tor/toronto-raptors")).css("td.sortcell")
-utah_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/utah/utah-jazz")).css("td.sortcell")
-washington_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/wsh/washington-wizards")).css("td.sortcell")
-players = [
- atlanta_players,
- boston_players,
- brooklyn_players,
- charlotte_players,
- chicago_players,
- cleveland_players,
- dallas_players,
- denver_players,
- detroit_players,
- warriors_players,
- houston_players,
- indiana_players,
- clippers_players,
- lakers_players,
- memphis_players,
- miami_players,
- milwaukee_players,
- minnesota_players,
- nola_players,
- knicks_players,
- okc_players,
- orlando_players,
- phili_players,
- phoenix_players,
- portland_players,
- sacramento_players,
- spurs_players,
- toronto_players,
- utah_players,
- washington_players
-]
-players.each_with_index do |roster, index|
- Team.create(name: teams[index][0], mascot: teams[index][1], stadium: teams[index][2])
- roster.each do |player|
- Team.last.players.create(name: player.text)
- end
-end
diff --git a/Stephen Weil/Rails/Models/optimize/public/404.html b/Stephen Weil/Rails/Models/optimize/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/Stephen Weil/Rails/Models/optimize/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Stephen Weil/Rails/Models/optimize/test/fixtures/players.yml b/Stephen Weil/Rails/Models/optimize/test/fixtures/players.yml
deleted file mode 100644
index 56a4719..0000000
--- a/Stephen Weil/Rails/Models/optimize/test/fixtures/players.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- name: MyString
- team_id:
-
-two:
- name: MyString
- team_id:
diff --git a/Stephen Weil/Rails/Models/optimize/test/fixtures/teams.yml b/Stephen Weil/Rails/Models/optimize/test/fixtures/teams.yml
deleted file mode 100644
index d9c869d..0000000
--- a/Stephen Weil/Rails/Models/optimize/test/fixtures/teams.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- name: MyString
- mascot: MyString
- stadium: MyString
-
-two:
- name: MyString
- mascot: MyString
- stadium: MyString
diff --git a/Stephen Weil/Rails/Models/optimize/test/models/player_test.rb b/Stephen Weil/Rails/Models/optimize/test/models/player_test.rb
deleted file mode 100644
index 3cf71d7..0000000
--- a/Stephen Weil/Rails/Models/optimize/test/models/player_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class PlayerTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/Stephen Weil/Rails/Models/optimize/test/models/team_test.rb b/Stephen Weil/Rails/Models/optimize/test/models/team_test.rb
deleted file mode 100644
index 8b101cb..0000000
--- a/Stephen Weil/Rails/Models/optimize/test/models/team_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class TeamTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/Stephen Weil/Rails/Models/user_login_project/.gitignore b/Stephen Weil/Rails/Models/user_login_project/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/Stephen Weil/Rails/Models/user_login_project/Gemfile b/Stephen Weil/Rails/Models/user_login_project/Gemfile
deleted file mode 100644
index 7415088..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/Gemfile
+++ /dev/null
@@ -1,48 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- gem 'hirb'
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
diff --git a/Stephen Weil/Rails/Models/user_login_project/Gemfile.lock b/Stephen Weil/Rails/Models/user_login_project/Gemfile.lock
deleted file mode 100644
index 73114af..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/Gemfile.lock
+++ /dev/null
@@ -1,172 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/Stephen Weil/Rails/Models/user_login_project/README.rdoc b/Stephen Weil/Rails/Models/user_login_project/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/Stephen Weil/Rails/Models/user_login_project/Rakefile b/Stephen Weil/Rails/Models/user_login_project/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/Stephen Weil/Rails/Models/user_login_project/app/assets/javascripts/application.js b/Stephen Weil/Rails/Models/user_login_project/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/Stephen Weil/Rails/Models/user_login_project/app/assets/stylesheets/application.css b/Stephen Weil/Rails/Models/user_login_project/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/Stephen Weil/Rails/Models/user_login_project/app/controllers/application_controller.rb b/Stephen Weil/Rails/Models/user_login_project/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/Stephen Weil/Rails/Models/user_login_project/app/models/user.rb b/Stephen Weil/Rails/Models/user_login_project/app/models/user.rb
deleted file mode 100644
index 3274600..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/app/models/user.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-class User < ActiveRecord::Base
- validates :first_name, :last_name, :email_address, presence: true, length: { minimum: 2 }
- validates :age, presence: true, numericality: { greater_than_or_equal_to: 10, less_than_or_equal_to: 150 }
-end
diff --git a/Stephen Weil/Rails/Models/user_login_project/app/views/layouts/application.html.erb b/Stephen Weil/Rails/Models/user_login_project/app/views/layouts/application.html.erb
deleted file mode 100644
index 03b8954..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- UserLoginProject
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/Stephen Weil/Rails/Models/user_login_project/bin/rails b/Stephen Weil/Rails/Models/user_login_project/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Stephen Weil/Rails/Models/user_login_project/bin/setup b/Stephen Weil/Rails/Models/user_login_project/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Stephen Weil/Rails/Models/user_login_project/config.ru b/Stephen Weil/Rails/Models/user_login_project/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Stephen Weil/Rails/Models/user_login_project/config/application.rb b/Stephen Weil/Rails/Models/user_login_project/config/application.rb
deleted file mode 100644
index 49c5e84..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module UserLoginProject
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Stephen Weil/Rails/Models/user_login_project/config/boot.rb b/Stephen Weil/Rails/Models/user_login_project/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Stephen Weil/Rails/Models/user_login_project/config/database.yml b/Stephen Weil/Rails/Models/user_login_project/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/Stephen Weil/Rails/Models/user_login_project/config/environment.rb b/Stephen Weil/Rails/Models/user_login_project/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Stephen Weil/Rails/Models/user_login_project/config/environments/development.rb b/Stephen Weil/Rails/Models/user_login_project/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Stephen Weil/Rails/Models/user_login_project/config/environments/production.rb b/Stephen Weil/Rails/Models/user_login_project/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Stephen Weil/Rails/Models/user_login_project/config/environments/test.rb b/Stephen Weil/Rails/Models/user_login_project/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Stephen Weil/Rails/Models/user_login_project/config/initializers/cookies_serializer.rb b/Stephen Weil/Rails/Models/user_login_project/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Stephen Weil/Rails/Models/user_login_project/config/initializers/session_store.rb b/Stephen Weil/Rails/Models/user_login_project/config/initializers/session_store.rb
deleted file mode 100644
index d692eec..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_user_login_project_session'
diff --git a/Stephen Weil/Rails/Models/user_login_project/config/initializers/wrap_parameters.rb b/Stephen Weil/Rails/Models/user_login_project/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Stephen Weil/Rails/Models/user_login_project/config/routes.rb b/Stephen Weil/Rails/Models/user_login_project/config/routes.rb
deleted file mode 100644
index 3f66539..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/Stephen Weil/Rails/Models/user_login_project/config/secrets.yml b/Stephen Weil/Rails/Models/user_login_project/config/secrets.yml
deleted file mode 100644
index 64339c8..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 6dc2604ae26992389dfa66ea72e5c033e1e35587114e8cbdf297b29eed7994a18c948dec48c9c769fcb85a2075be4147553fda0fe0817c748ad5165d75d01678
-
-test:
- secret_key_base: 5b548dfad8559b4e33403ebb66dd2c9bfbf82dfb79e5e24f9f0d997cdbdc95a92fa07aea3fe7a540a74ddab5137cf7c84c64a7bc652e02ed01e3dbdda4137e4b
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Stephen Weil/Rails/Models/user_login_project/db/migrate/20171129201433_create_users.rb b/Stephen Weil/Rails/Models/user_login_project/db/migrate/20171129201433_create_users.rb
deleted file mode 100644
index 349b478..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/db/migrate/20171129201433_create_users.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-class CreateUsers < ActiveRecord::Migration
- def change
- create_table :users do |t|
- t.string :first_name
- t.string :last_name
- t.string :email_address
- t.integer :age
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Stephen Weil/Rails/Models/user_login_project/db/schema.rb b/Stephen Weil/Rails/Models/user_login_project/db/schema.rb
deleted file mode 100644
index 3c5009f..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/db/schema.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171129201433) do
-
- create_table "users", force: :cascade do |t|
- t.string "first_name"
- t.string "last_name"
- t.string "email_address"
- t.integer "age"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/Stephen Weil/Rails/Models/user_login_project/db/seeds.rb b/Stephen Weil/Rails/Models/user_login_project/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/Stephen Weil/Rails/Models/user_login_project/public/404.html b/Stephen Weil/Rails/Models/user_login_project/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/Stephen Weil/Rails/Models/user_login_project/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/bin/rails b/Tamisha_Damas/Rails II/dojo_secrets/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/Tamisha_Damas/Rails II/dojo_secrets/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/bin/setup b/Tamisha_Damas/Rails II/dojo_secrets/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/Tamisha_Damas/Rails II/dojo_secrets/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/config.ru b/Tamisha_Damas/Rails II/dojo_secrets/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Tamisha_Damas/Rails II/dojo_secrets/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/config/application.rb b/Tamisha_Damas/Rails II/dojo_secrets/config/application.rb
deleted file mode 100644
index 7b88c7a..0000000
--- a/Tamisha_Damas/Rails II/dojo_secrets/config/application.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require "rails"
-# Pick the frameworks you want:
-require "active_model/railtie"
-require "active_job/railtie"
-require "active_record/railtie"
-require "action_controller/railtie"
-require "action_mailer/railtie"
-require "action_view/railtie"
-require "sprockets/railtie"
-# require "rails/test_unit/railtie"
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module DojoSecrets
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/config/boot.rb b/Tamisha_Damas/Rails II/dojo_secrets/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Tamisha_Damas/Rails II/dojo_secrets/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/config/database.yml b/Tamisha_Damas/Rails II/dojo_secrets/config/database.yml
deleted file mode 100644
index 63dcf00..0000000
--- a/Tamisha_Damas/Rails II/dojo_secrets/config/database.yml
+++ /dev/null
@@ -1,85 +0,0 @@
-# PostgreSQL. Versions 8.2 and up are supported.
-#
-# Install the pg driver:
-# gem install pg
-# On OS X with Homebrew:
-# gem install pg -- --with-pg-config=/usr/local/bin/pg_config
-# On OS X with MacPorts:
-# gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
-# On Windows:
-# gem install pg
-# Choose the win32 build.
-# Install PostgreSQL and put its /bin directory on your path.
-#
-# Configure Using Gemfile
-# gem 'pg'
-#
-default: &default
- adapter: postgresql
- encoding: unicode
- # For details on connection pooling, see rails configuration guide
- # http://guides.rubyonrails.org/configuring.html#database-pooling
- pool: 5
-
-development:
- <<: *default
- database: dojo_secrets_development
-
- # The specified database role being used to connect to postgres.
- # To create additional roles in postgres see `$ createuser --help`.
- # When left blank, postgres will use the default role. This is
- # the same name as the operating system user that initialized the database.
- #username: dojo_secrets
-
- # The password associated with the postgres role (username).
- #password:
-
- # Connect on a TCP socket. Omitted by default since the client uses a
- # domain socket that doesn't need configuration. Windows does not have
- # domain sockets, so uncomment these lines.
- #host: localhost
-
- # The TCP port the server listens on. Defaults to 5432.
- # If your server runs on a different port number, change accordingly.
- #port: 5432
-
- # Schema search path. The server defaults to $user,public
- #schema_search_path: myapp,sharedapp,public
-
- # Minimum log levels, in increasing order:
- # debug5, debug4, debug3, debug2, debug1,
- # log, notice, warning, error, fatal, and panic
- # Defaults to warning.
- #min_messages: notice
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: dojo_secrets_test
-
-# As with config/secrets.yml, you never want to store sensitive information,
-# like your database password, in your source code. If your source code is
-# ever seen by anyone, they now have access to your database.
-#
-# Instead, provide the password as a unix environment variable when you boot
-# the app. Read http://guides.rubyonrails.org/configuring.html#configuring-a-database
-# for a full rundown on how to provide these environment variables in a
-# production deployment.
-#
-# On Heroku and other platform providers, you may have a full connection URL
-# available as an environment variable. For example:
-#
-# DATABASE_URL="postgres://myuser:mypass@localhost/somedatabase"
-#
-# You can use this database configuration with:
-#
-# production:
-# url: <%= ENV['DATABASE_URL'] %>
-#
-production:
- <<: *default
- database: dojo_secrets_production
- username: dojo_secrets
- password: <%= ENV['DOJO_SECRETS_DATABASE_PASSWORD'] %>
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/config/environment.rb b/Tamisha_Damas/Rails II/dojo_secrets/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Tamisha_Damas/Rails II/dojo_secrets/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/config/environments/development.rb b/Tamisha_Damas/Rails II/dojo_secrets/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/Tamisha_Damas/Rails II/dojo_secrets/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/config/environments/production.rb b/Tamisha_Damas/Rails II/dojo_secrets/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Tamisha_Damas/Rails II/dojo_secrets/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/config/environments/test.rb b/Tamisha_Damas/Rails II/dojo_secrets/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Tamisha_Damas/Rails II/dojo_secrets/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/config/initializers/cookies_serializer.rb b/Tamisha_Damas/Rails II/dojo_secrets/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Tamisha_Damas/Rails II/dojo_secrets/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/config/initializers/session_store.rb b/Tamisha_Damas/Rails II/dojo_secrets/config/initializers/session_store.rb
deleted file mode 100644
index faf497a..0000000
--- a/Tamisha_Damas/Rails II/dojo_secrets/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_dojo_secrets_session'
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/config/initializers/wrap_parameters.rb b/Tamisha_Damas/Rails II/dojo_secrets/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Tamisha_Damas/Rails II/dojo_secrets/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/config/routes.rb b/Tamisha_Damas/Rails II/dojo_secrets/config/routes.rb
deleted file mode 100644
index 7f6a33a..0000000
--- a/Tamisha_Damas/Rails II/dojo_secrets/config/routes.rb
+++ /dev/null
@@ -1,80 +0,0 @@
-Rails.application.routes.draw do
- root 'users#new'
-
- # New USer
- get 'register' => 'users#new', as: 'new_register'
- get 'users/new' => 'users#new'
-
- # Create User
- post 'register' => 'users#create', as: 'register'
- post 'users' => 'users#create'
-
- # Show User
- get 'users/:id' => 'users#show'
-
- # New Login
- get 'login' => 'sessions#new', as: 'new_login'
- get 'sessions/new' => 'sessions#new'
-
- # Login
- post 'login' => 'sessions#create', as: 'login'
- post 'sessions' => 'sessions#create'
-
- # Logout
- delete 'logout' => 'sessions#destroy', as: 'logout'
- delete 'sessions' => 'sessions#destroy'
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/config/secrets.yml b/Tamisha_Damas/Rails II/dojo_secrets/config/secrets.yml
deleted file mode 100644
index 2bbff66..0000000
--- a/Tamisha_Damas/Rails II/dojo_secrets/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 2c747b4b3f6732d8fbdf457162c6c80e461e751725053a396230cdd9db28ccb86df87f5b30dc3931065e91a08de2bac2cfed907bb3856e0cd961c2c90457f06c
-
-test:
- secret_key_base: 8cd361e241fdeed12d6b641f8072e4b9b9770a8c07a4fc1d76f144c3629f964699f1ef9d7702a6f6d3845d70c1a8355d23cca2c104b1f1c47646cabb0cd4c2e7
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/db/migrate/20171019230004_create_users.rb b/Tamisha_Damas/Rails II/dojo_secrets/db/migrate/20171019230004_create_users.rb
deleted file mode 100644
index c9fe2c1..0000000
--- a/Tamisha_Damas/Rails II/dojo_secrets/db/migrate/20171019230004_create_users.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreateUsers < ActiveRecord::Migration
- def change
- create_table :users do |t|
- t.string :name
- t.string :email
- t.string :password_digest
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/db/schema.rb b/Tamisha_Damas/Rails II/dojo_secrets/db/schema.rb
deleted file mode 100644
index b212bad..0000000
--- a/Tamisha_Damas/Rails II/dojo_secrets/db/schema.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171019230004) do
-
- # These are extensions that must be enabled in order to support this database
- enable_extension "plpgsql"
-
- create_table "users", force: :cascade do |t|
- t.string "name"
- t.string "email"
- t.string "password_digest"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/db/seeds.rb b/Tamisha_Damas/Rails II/dojo_secrets/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/Tamisha_Damas/Rails II/dojo_secrets/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/public/404.html b/Tamisha_Damas/Rails II/dojo_secrets/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/Tamisha_Damas/Rails II/dojo_secrets/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/spec/factories/users.rb b/Tamisha_Damas/Rails II/dojo_secrets/spec/factories/users.rb
deleted file mode 100644
index 1afb90e..0000000
--- a/Tamisha_Damas/Rails II/dojo_secrets/spec/factories/users.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-FactoryGirl.define do
- factory :user do
- name "Oscar Vazquez"
- email "oscar@gmail.com"
- password "password"
- password_confirmation "password"
- end
-end
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/spec/features/authentication_spec.rb b/Tamisha_Damas/Rails II/dojo_secrets/spec/features/authentication_spec.rb
deleted file mode 100644
index fec01ac..0000000
--- a/Tamisha_Damas/Rails II/dojo_secrets/spec/features/authentication_spec.rb
+++ /dev/null
@@ -1,40 +0,0 @@
-require 'rails_helper'
-feature 'authentication' do
- before do
- @user = create(:user)
- end
- feature "user sign-in" do
- scenario 'visits sign-in page' do
- visit '/sessions/new'
- expect(page).to have_field('Email')
- expect(page).to have_field('Password')
- end
- scenario 'logs in user if email/password combination is valid' do
- log_in
- expect(current_path).to eq("/users/#{@user.id}")
- expect(page).to have_text(@user.name)
- end
- scenario 'does not sign in user if email is not found' do
- log_in email: 'wrong email'
- expect(current_path).to eq("/sessions/new")
- expect(page).to have_text('Invalid Combination')
- end
- scenario 'does not sign in user if email/password combination is invalid' do
- log_in password: 'wrong password'
- expect(current_path).to eq("/sessions/new")
- expect(page).to have_text('Invalid Combination')
- end
- end
- feature "user to log out" do
- before do
- log_in
- end
- scenario 'displays "Log Out" button when user is logged on' do
- expect(page).to have_button('Log Out')
- end
- scenario 'logs out user and redirects to login page' do
- click_button 'Log Out'
- expect(current_path).to eq('/sessions/new')
- end
- end
-end
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/spec/models/user_spec.rb b/Tamisha_Damas/Rails II/dojo_secrets/spec/models/user_spec.rb
deleted file mode 100644
index f513146..0000000
--- a/Tamisha_Damas/Rails II/dojo_secrets/spec/models/user_spec.rb
+++ /dev/null
@@ -1,38 +0,0 @@
-require 'rails_helper'
-RSpec.describe User, type: :model do
- context "with valid attributes" do
- it "should save" do
- expect(build(:user)).to be_valid
- end
- it 'automatically encrypts the password into the password_digest attribute' do
- expect(build(:user).password_digest.present?).to eq(true)
- end
- it 'email as lowercase' do
- expect(create(:user, email: 'EMAIL@GMAIL.COM').email).to eq('email@gmail.com')
- end
- end
- context "with invalid attributes should not save if" do
- it 'name is blank' do
- expect(build(:user, name: '')).to be_invalid
- end
- it 'email is blank' do
- expect(build(:user, email: '')).to be_invalid
- end
- it 'email format is wrong' do
- emails = %w[@ user@ @example.com]
- emails.each do |email|
- expect(build(:user, email: email)).to be_invalid
- end
- end
- it 'email is not unique' do
- create(:user)
- expect(build(:user)).to be_invalid
- end
- it 'password is blank' do
- expect(build(:user, password: '')).to be_invalid
- end
- it "password doesn't match password_confirmation" do
- expect(build(:user, password_confirmation: 'notpassword')).to be_invalid
- end
- end
-end
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/spec/rails_helper.rb b/Tamisha_Damas/Rails II/dojo_secrets/spec/rails_helper.rb
deleted file mode 100644
index 072c493..0000000
--- a/Tamisha_Damas/Rails II/dojo_secrets/spec/rails_helper.rb
+++ /dev/null
@@ -1,59 +0,0 @@
-# This file is copied to spec/ when you run 'rails generate rspec:install'
-require 'spec_helper'
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-# Prevent database truncation if the environment is production
-abort("The Rails environment is running in production mode!") if Rails.env.production?
-require 'rspec/rails'
-# Add additional requires below this line. Rails is not loaded until this point!
-require 'factory_girl_rails'
-
-# Requires supporting ruby files with custom matchers and macros, etc, in
-# spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
-# run as spec files by default. This means that files in spec/support that end
-# in _spec.rb will both be required and run as specs, causing the specs to be
-# run twice. It is recommended that you do not name files matching this glob to
-# end with _spec.rb. You can configure this pattern with the --pattern
-# option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
-#
-# The following line is provided for convenience purposes. It has the downside
-# of increasing the boot-up time by auto-requiring all files in the support
-# directory. Alternatively, in the individual `*_spec.rb` files, manually
-# require only the support files necessary.
-#
-# Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
-
-# Checks for pending migrations and applies them before tests are run.
-# If you are not using ActiveRecord, you can remove this line.
-ActiveRecord::Migration.maintain_test_schema!
-
-RSpec.configure do |config|
- # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
- config.include FactoryGirl::Syntax::Methods
- config.fixture_path = "#{::Rails.root}/spec/fixtures"
-
- # If you're not using ActiveRecord, or you'd prefer not to run each of your
- # examples within a transaction, remove the following line or assign false
- # instead of true.
- config.use_transactional_fixtures = true
-
- # RSpec Rails can automatically mix in different behaviours to your tests
- # based on their file location, for example enabling you to call `get` and
- # `post` in specs under `spec/controllers`.
- #
- # You can disable this behaviour by removing the line below, and instead
- # explicitly tag your specs with their type, e.g.:
- #
- # RSpec.describe UsersController, :type => :controller do
- # # ...
- # end
- #
- # The different available types are documented in the features, such as in
- # https://relishapp.com/rspec/rspec-rails/docs
- config.infer_spec_type_from_file_location!
-
- # Filter lines from Rails gems in backtraces.
- config.filter_rails_from_backtrace!
- # arbitrary gems may also be filtered via:
- # config.filter_gems_from_backtrace("gem name")
-end
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/spec/spec_helper.rb b/Tamisha_Damas/Rails II/dojo_secrets/spec/spec_helper.rb
deleted file mode 100644
index ce250cd..0000000
--- a/Tamisha_Damas/Rails II/dojo_secrets/spec/spec_helper.rb
+++ /dev/null
@@ -1,111 +0,0 @@
-def log_in email: "oscar@gmail.com", password: "password"
- visit '/sessions/new' unless current_path == "/sessions/new"
- fill_in 'Email', with: email
- fill_in 'Password', with: password
- click_button 'Log In'
-end
-# The code below should already be included in your file
-RSpec.configure do |config|
- config.expect_with :rspec do |expectations|
- expectations.include_chain_clauses_in_custom_matcher_descriptions = true
- end
- config.mock_with :rspec do |mocks|
- mocks.verify_partial_doubles = true
- end
-end
-# This file was generated by the `rails generate rspec:install` command. Conventionally, all
-# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
-# The generated `.rspec` file contains `--require spec_helper` which will cause
-# this file to always be loaded, without a need to explicitly require it in any
-# files.
-#
-# Given that it is always loaded, you are encouraged to keep this file as
-# light-weight as possible. Requiring heavyweight dependencies from this file
-# will add to the boot time of your test suite on EVERY test run, even for an
-# individual file that may not need all of that loaded. Instead, consider making
-# a separate helper file that requires the additional dependencies and performs
-# the additional setup, and require it from the spec files that actually need
-# it.
-#
-# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
-RSpec.configure do |config|
- # rspec-expectations config goes here. You can use an alternate
- # assertion/expectation library such as wrong or the stdlib/minitest
- # assertions if you prefer.
- config.expect_with :rspec do |expectations|
- # This option will default to `true` in RSpec 4. It makes the `description`
- # and `failure_message` of custom matchers include text for helper methods
- # defined using `chain`, e.g.:
- # be_bigger_than(2).and_smaller_than(4).description
- # # => "be bigger than 2 and smaller than 4"
- # ...rather than:
- # # => "be bigger than 2"
- expectations.include_chain_clauses_in_custom_matcher_descriptions = true
- end
-
- # rspec-mocks config goes here. You can use an alternate test double
- # library (such as bogus or mocha) by changing the `mock_with` option here.
- config.mock_with :rspec do |mocks|
- # Prevents you from mocking or stubbing a method that does not exist on
- # a real object. This is generally recommended, and will default to
- # `true` in RSpec 4.
- mocks.verify_partial_doubles = true
- end
-
- # This option will default to `:apply_to_host_groups` in RSpec 4 (and will
- # have no way to turn it off -- the option exists only for backwards
- # compatibility in RSpec 3). It causes shared context metadata to be
- # inherited by the metadata hash of host groups and examples, rather than
- # triggering implicit auto-inclusion in groups with matching metadata.
- config.shared_context_metadata_behavior = :apply_to_host_groups
-
-# The settings below are suggested to provide a good initial experience
-# with RSpec, but feel free to customize to your heart's content.
-=begin
- # This allows you to limit a spec run to individual examples or groups
- # you care about by tagging them with `:focus` metadata. When nothing
- # is tagged with `:focus`, all examples get run. RSpec also provides
- # aliases for `it`, `describe`, and `context` that include `:focus`
- # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
- config.filter_run_when_matching :focus
-
- # Allows RSpec to persist some state between runs in order to support
- # the `--only-failures` and `--next-failure` CLI options. We recommend
- # you configure your source control system to ignore this file.
- config.example_status_persistence_file_path = "spec/examples.txt"
-
- # Limits the available syntax to the non-monkey patched syntax that is
- # recommended. For more details, see:
- # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
- # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
- # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
- config.disable_monkey_patching!
-
- # Many RSpec users commonly either run the entire suite or an individual
- # file, and it's useful to allow more verbose output when running an
- # individual spec file.
- if config.files_to_run.one?
- # Use the documentation formatter for detailed output,
- # unless a formatter has already been configured
- # (e.g. via a command-line flag).
- config.default_formatter = "doc"
- end
-
- # Print the 10 slowest examples and example groups at the
- # end of the spec run, to help surface which specs are running
- # particularly slow.
- config.profile_examples = 10
-
- # Run specs in random order to surface order dependencies. If you find an
- # order dependency and want to debug it, you can fix the order by providing
- # the seed, which is printed after each run.
- # --seed 1234
- config.order = :random
-
- # Seed global randomization in this process using the `--seed` CLI option.
- # Setting this allows you to use `--seed` to deterministically reproduce
- # test failures related to randomization by passing the same `--seed` value
- # as the one that triggered the failure.
- Kernel.srand config.seed
-=end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/.gitignore b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/Gemfile b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/Gemfile
deleted file mode 100644
index 394b9b1..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/Gemfile
+++ /dev/null
@@ -1,47 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-gem 'hirb'
-gem 'rails-footnotes', '~> 4.0'
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/Gemfile.lock b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/Gemfile.lock
deleted file mode 100644
index 9937b63..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/Gemfile.lock
+++ /dev/null
@@ -1,176 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.2)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.2)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.0)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.8.6)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.6.6)
- mime-types (>= 1.16, < 4)
- mime-types (3.1)
- mime-types-data (~> 3.2015)
- mime-types-data (3.2016.0521)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-footnotes (4.1.8)
- rails (>= 3.2)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.1.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.2)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.6)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.3)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- rails-footnotes (~> 4.0)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.15.4
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/README.rdoc b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/Rakefile b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/assets/javascripts/application.js b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/assets/stylesheets/application.css b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/controllers/application_controller.rb b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/controllers/users_controller.rb b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/controllers/users_controller.rb
deleted file mode 100644
index 03d30e2..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/controllers/users_controller.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-class UsersController < ApplicationController
- def index
- session[:count] ||= 0
- # session.clear
- # index method will only render my index.html template
- end
-
- def create
- # here the user will enter their info onto the index.html template and when they click submit will be redirected to the show page, show.html
- # their data saved into session from this create method will be rendered onto the html template.
- # puts params
- session[:survey] = params
- session[:count] += 1
-
- redirect_to '/result'
- end
-
- def show
- @survey = session[:survey]
- @count = session[:count]
- end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/views/layouts/application.html.erb b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/views/layouts/application.html.erb
deleted file mode 100644
index 7247c82..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- SurveyForm
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/views/users/index.html.erb b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/views/users/index.html.erb
deleted file mode 100644
index b70e4a6..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/views/users/index.html.erb
+++ /dev/null
@@ -1,38 +0,0 @@
-
Thanks for submitting this form! You have submitted this form <%= @count %> times now.
-
-
Submitted Information
-
-
-
Name:
-
<%= @survey['name'] %>
-
-
-
Dojo Location:
-
<%= @survey['location'] %>
-
-
-
Favorite Language:
-
<%= @survey['language'] %>
-
-
-
Comment:
-
<%= @survey['comment'] %>
-
-
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/bin/rails b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/bin/setup b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config.ru b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/application.rb b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/application.rb
deleted file mode 100644
index d948a28..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module SurveyForm
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/boot.rb b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/database.yml b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/environment.rb b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/environments/development.rb b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/environments/production.rb b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/environments/test.rb b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/initializers/cookies_serializer.rb b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/initializers/rails_footnotes.rb b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/initializers/rails_footnotes.rb
deleted file mode 100644
index 9a15363..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/initializers/rails_footnotes.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-defined?(Footnotes) && Footnotes.setup do |f|
- # Whether or not to enable footnotes
- f.enabled = Rails.env.development?
- # You can also use a lambda / proc to conditionally toggle footnotes
- # Example :
- # f.enabled = -> { User.current.admin? }
- # Beware of thread-safety though, Footnotes.enabled is NOT thread safe
- # and should not be modified anywhere else.
-
- # Only toggle some notes :
- # f.notes = [:session, :cookies, :params, :filters, :routes, :env, :queries, :log]
-
- # Change the prefix :
- # f.prefix = 'mvim://open?url=file://%s&line=%d&column=%d'
-
- # Disable style :
- # f.no_style = true
-
- # Lock notes to top right :
- # f.lock_top_right = true
-
- # Change font size :
- # f.font_size = '11px'
-
- # Allow to open multiple notes :
- # f.multiple_notes = true
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/initializers/session_store.rb b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/initializers/session_store.rb
deleted file mode 100644
index a70bcd8..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_Survey_Form_session'
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/initializers/wrap_parameters.rb b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/routes.rb b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/routes.rb
deleted file mode 100644
index 2aa5fc5..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/routes.rb
+++ /dev/null
@@ -1,64 +0,0 @@
-Rails.application.routes.draw do
- root 'users#index'
- # index method is where we will render the template to be submitted
-
- post 'users' => 'users#create'
-
- get 'result' => 'users#show'
-
- resource :users
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/secrets.yml b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/secrets.yml
deleted file mode 100644
index 4500074..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 3522640cad3b2992b5e8baba689ee2b1326dcd3d7c6c86d5ee8fe33549373b3ad41f4d1e91813a41879342034e2c7bd4dd6cb4fd84dbb6394501f4b8e6fab50a
-
-test:
- secret_key_base: 4914538634f3a9a58ef7f57d6785434a3f1980848cfa52d7ad5b7d170b573469dcc3b734da154f4acc35b4fd2cab11f2178a5a6ee1f4c97425689c2c3d5627d8
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/db/seeds.rb b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/public/404.html b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/test/controllers/users_controller_test.rb b/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/test/controllers/users_controller_test.rb
deleted file mode 100644
index de78e39..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/test/controllers/users_controller_test.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-require 'test_helper'
-
-class UsersControllerTest < ActionController::TestCase
- test "should get index" do
- get :index
- assert_response :success
- end
-
- test "should get create" do
- get :create
- assert_response :success
- end
-
- test "should get show" do
- get :show
- assert_response :success
- end
-
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/.gitignore b/Tamisha_Damas/Rails/Controllers & Views /Time_display/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/Gemfile b/Tamisha_Damas/Rails/Controllers & Views /Time_display/Gemfile
deleted file mode 100644
index 394b9b1..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/Gemfile
+++ /dev/null
@@ -1,47 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-gem 'hirb'
-gem 'rails-footnotes', '~> 4.0'
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/Gemfile.lock b/Tamisha_Damas/Rails/Controllers & Views /Time_display/Gemfile.lock
deleted file mode 100644
index 9937b63..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/Gemfile.lock
+++ /dev/null
@@ -1,176 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.2)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.2)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.0)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.8.6)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.6.6)
- mime-types (>= 1.16, < 4)
- mime-types (3.1)
- mime-types-data (~> 3.2015)
- mime-types-data (3.2016.0521)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-footnotes (4.1.8)
- rails (>= 3.2)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.1.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.2)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.6)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.3)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- rails-footnotes (~> 4.0)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.15.4
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/README.rdoc b/Tamisha_Damas/Rails/Controllers & Views /Time_display/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/Rakefile b/Tamisha_Damas/Rails/Controllers & Views /Time_display/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/assets/javascripts/application.js b/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/assets/stylesheets/application.css b/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/assets/stylesheets/times.scss b/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/assets/stylesheets/times.scss
deleted file mode 100644
index 8aca602..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/assets/stylesheets/times.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-// Place all the styles related to the Times controller here.
-// They will automatically be included in application.css.
-// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/controllers/application_controller.rb b/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/controllers/times_controller.rb b/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/controllers/times_controller.rb
deleted file mode 100644
index 2517879..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/controllers/times_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class TimesController < ApplicationController
- def main
- @time = Time.new
- end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/helpers/application_helper.rb b/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/helpers/times_helper.rb b/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/helpers/times_helper.rb
deleted file mode 100644
index db171a4..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/helpers/times_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module TimesHelper
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/views/layouts/application.html.erb b/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/views/layouts/application.html.erb
deleted file mode 100644
index 8b25576..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- TimeDisplay
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/views/times/main.html.erb b/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/views/times/main.html.erb
deleted file mode 100644
index 6a8b703..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/views/times/main.html.erb
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
The current time and date:
-
<%= @time.strftime("%b %d, %Y") %>
-
<%= @time.strftime("%I:%M %p") %>
-
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/bin/bundle b/Tamisha_Damas/Rails/Controllers & Views /Time_display/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/bin/rails b/Tamisha_Damas/Rails/Controllers & Views /Time_display/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/bin/rake b/Tamisha_Damas/Rails/Controllers & Views /Time_display/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/bin/setup b/Tamisha_Damas/Rails/Controllers & Views /Time_display/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/bin/spring b/Tamisha_Damas/Rails/Controllers & Views /Time_display/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config.ru b/Tamisha_Damas/Rails/Controllers & Views /Time_display/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/application.rb b/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/application.rb
deleted file mode 100644
index 94c66d8..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module TimeDisplay
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/boot.rb b/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/database.yml b/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/environment.rb b/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/environments/development.rb b/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/environments/production.rb b/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/environments/test.rb b/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/initializers/backtrace_silencers.rb b/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/initializers/cookies_serializer.rb b/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/initializers/filter_parameter_logging.rb b/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/initializers/inflections.rb b/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/initializers/mime_types.rb b/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/initializers/rails_footnotes.rb b/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/initializers/rails_footnotes.rb
deleted file mode 100644
index 9a15363..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/initializers/rails_footnotes.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-defined?(Footnotes) && Footnotes.setup do |f|
- # Whether or not to enable footnotes
- f.enabled = Rails.env.development?
- # You can also use a lambda / proc to conditionally toggle footnotes
- # Example :
- # f.enabled = -> { User.current.admin? }
- # Beware of thread-safety though, Footnotes.enabled is NOT thread safe
- # and should not be modified anywhere else.
-
- # Only toggle some notes :
- # f.notes = [:session, :cookies, :params, :filters, :routes, :env, :queries, :log]
-
- # Change the prefix :
- # f.prefix = 'mvim://open?url=file://%s&line=%d&column=%d'
-
- # Disable style :
- # f.no_style = true
-
- # Lock notes to top right :
- # f.lock_top_right = true
-
- # Change font size :
- # f.font_size = '11px'
-
- # Allow to open multiple notes :
- # f.multiple_notes = true
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/initializers/session_store.rb b/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/initializers/session_store.rb
deleted file mode 100644
index 0d2498e..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_Time_display_session'
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/initializers/wrap_parameters.rb b/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/locales/en.yml b/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/routes.rb b/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/routes.rb
deleted file mode 100644
index e5115e5..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/routes.rb
+++ /dev/null
@@ -1,58 +0,0 @@
-Rails.application.routes.draw do
- get 'times' => 'times#main'
-
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/secrets.yml b/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/secrets.yml
deleted file mode 100644
index e506b7d..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 0e672e901b1d08ee0c6f5175cb3cec13fcc441712838bfff888fb7c723544aa70eec85839513ecd8f3f9435fa192fb8f5b92e22dc62a765ac72904ba5d5ba8a1
-
-test:
- secret_key_base: 4bfdb21bac95c8fd5ccaf947998e750d5bdf7049cae32d11a53ccbd4437e30b11e04db505199a66f14e0e4863d663b83f26e2713b62872b7f0c0dd9efecb00e6
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/db/seeds.rb b/Tamisha_Damas/Rails/Controllers & Views /Time_display/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/public/404.html b/Tamisha_Damas/Rails/Controllers & Views /Time_display/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /Time_display/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
-
-
-
-
-
-
-
-
-
-Home
-Edit
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/app/views/layouts/application.html.erb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/app/views/layouts/application.html.erb
deleted file mode 100644
index 0a5ffc5..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- DojoDashboard
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/bin/bundle b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/bin/rails b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/bin/rake b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/bin/setup b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/bin/spring b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config.ru b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/application.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/application.rb
deleted file mode 100644
index 0e5ac64..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module DojoDashboard
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/boot.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/database.yml b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/environment.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/environments/development.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/environments/production.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/environments/test.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/initializers/assets.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/initializers/backtrace_silencers.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/initializers/cookies_serializer.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/initializers/filter_parameter_logging.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/initializers/inflections.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/initializers/mime_types.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/initializers/rails_footnotes.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/initializers/rails_footnotes.rb
deleted file mode 100644
index 9a15363..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/initializers/rails_footnotes.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-defined?(Footnotes) && Footnotes.setup do |f|
- # Whether or not to enable footnotes
- f.enabled = Rails.env.development?
- # You can also use a lambda / proc to conditionally toggle footnotes
- # Example :
- # f.enabled = -> { User.current.admin? }
- # Beware of thread-safety though, Footnotes.enabled is NOT thread safe
- # and should not be modified anywhere else.
-
- # Only toggle some notes :
- # f.notes = [:session, :cookies, :params, :filters, :routes, :env, :queries, :log]
-
- # Change the prefix :
- # f.prefix = 'mvim://open?url=file://%s&line=%d&column=%d'
-
- # Disable style :
- # f.no_style = true
-
- # Lock notes to top right :
- # f.lock_top_right = true
-
- # Change font size :
- # f.font_size = '11px'
-
- # Allow to open multiple notes :
- # f.multiple_notes = true
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/initializers/session_store.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/initializers/session_store.rb
deleted file mode 100644
index d8522bf..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_dojo_dashboard_session'
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/initializers/wrap_parameters.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/locales/en.yml b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/routes.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/routes.rb
deleted file mode 100644
index ec00d91..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/routes.rb
+++ /dev/null
@@ -1,71 +0,0 @@
-Rails.application.routes.draw do
- root 'dojos#index'
-
- get 'dojos/new' => 'dojos#new'
-
- post '/' => 'dojos#create'
-
- get 'dojos/:id' => 'dojos#show'
-
- get 'dojos/:id/edit' => 'dojos#edit'
-
- patch 'dojos/:id' => 'dojos#update'
-
- delete 'dojos/:id' => 'dojos#destroy'
-
-
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/secrets.yml b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/secrets.yml
deleted file mode 100644
index 62d4cd0..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 6a064b0fe2ffda54b60a328301b3842ad7c5126648b94d6676eb27f954a2535c8a49dd3d4544060b03cf288b8c4725ef21837b9fa77ff58260993ee100334920
-
-test:
- secret_key_base: 1d691f7cf31f3e11e55aad752facd40dbf853be5a1ab837cf5f05fd44c718588dc6cb1d442e87ac93cef13bb442a92375c7a2973f7e67a6b55dcf105d25ba10b
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/db/migrate/20171015215328_create_dojos.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/db/migrate/20171015215328_create_dojos.rb
deleted file mode 100644
index 0df8b3d..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/db/migrate/20171015215328_create_dojos.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-class CreateDojos < ActiveRecord::Migration
- def change
- create_table :dojos do |t|
- t.string :branch
- t.string :street
- t.string :city
- t.string :state
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/db/schema.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/db/schema.rb
deleted file mode 100644
index d03cd84..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/db/schema.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171015215328) do
-
- create_table "dojos", force: :cascade do |t|
- t.string "branch"
- t.string "street"
- t.string "city"
- t.string "state"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/db/seeds.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/public/404.html b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
-
-
-
-
-
-
-
-
-
-Home
-Edit
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/app/views/layouts/application.html.erb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/app/views/layouts/application.html.erb
deleted file mode 100644
index 0a5ffc5..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- DojoDashboard
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/bin/bundle b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/bin/rails b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/bin/rake b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/bin/setup b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/bin/spring b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config.ru b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/application.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/application.rb
deleted file mode 100644
index 0e5ac64..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module DojoDashboard
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/boot.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/database.yml b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/environment.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/environments/development.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/environments/production.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/environments/test.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/initializers/assets.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/initializers/backtrace_silencers.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/initializers/cookies_serializer.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/initializers/filter_parameter_logging.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/initializers/inflections.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/initializers/mime_types.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/initializers/rails_footnotes.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/initializers/rails_footnotes.rb
deleted file mode 100644
index 9a15363..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/initializers/rails_footnotes.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-defined?(Footnotes) && Footnotes.setup do |f|
- # Whether or not to enable footnotes
- f.enabled = Rails.env.development?
- # You can also use a lambda / proc to conditionally toggle footnotes
- # Example :
- # f.enabled = -> { User.current.admin? }
- # Beware of thread-safety though, Footnotes.enabled is NOT thread safe
- # and should not be modified anywhere else.
-
- # Only toggle some notes :
- # f.notes = [:session, :cookies, :params, :filters, :routes, :env, :queries, :log]
-
- # Change the prefix :
- # f.prefix = 'mvim://open?url=file://%s&line=%d&column=%d'
-
- # Disable style :
- # f.no_style = true
-
- # Lock notes to top right :
- # f.lock_top_right = true
-
- # Change font size :
- # f.font_size = '11px'
-
- # Allow to open multiple notes :
- # f.multiple_notes = true
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/initializers/session_store.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/initializers/session_store.rb
deleted file mode 100644
index d8522bf..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_dojo_dashboard_session'
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/initializers/wrap_parameters.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/locales/en.yml b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/routes.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/routes.rb
deleted file mode 100644
index ec00d91..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/routes.rb
+++ /dev/null
@@ -1,71 +0,0 @@
-Rails.application.routes.draw do
- root 'dojos#index'
-
- get 'dojos/new' => 'dojos#new'
-
- post '/' => 'dojos#create'
-
- get 'dojos/:id' => 'dojos#show'
-
- get 'dojos/:id/edit' => 'dojos#edit'
-
- patch 'dojos/:id' => 'dojos#update'
-
- delete 'dojos/:id' => 'dojos#destroy'
-
-
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/secrets.yml b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/secrets.yml
deleted file mode 100644
index 62d4cd0..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 6a064b0fe2ffda54b60a328301b3842ad7c5126648b94d6676eb27f954a2535c8a49dd3d4544060b03cf288b8c4725ef21837b9fa77ff58260993ee100334920
-
-test:
- secret_key_base: 1d691f7cf31f3e11e55aad752facd40dbf853be5a1ab837cf5f05fd44c718588dc6cb1d442e87ac93cef13bb442a92375c7a2973f7e67a6b55dcf105d25ba10b
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/db/migrate/20171015215328_create_dojos.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/db/migrate/20171015215328_create_dojos.rb
deleted file mode 100644
index 0df8b3d..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/db/migrate/20171015215328_create_dojos.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-class CreateDojos < ActiveRecord::Migration
- def change
- create_table :dojos do |t|
- t.string :branch
- t.string :street
- t.string :city
- t.string :state
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/db/schema.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/db/schema.rb
deleted file mode 100644
index d03cd84..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/db/schema.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171015215328) do
-
- create_table "dojos", force: :cascade do |t|
- t.string "branch"
- t.string "street"
- t.string "city"
- t.string "state"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/db/seeds.rb b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/public/404.html b/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/bin/bundle b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/bin/rails b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/bin/rake b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/bin/setup b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/bin/spring b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config.ru b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/application.rb b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/application.rb
deleted file mode 100644
index 968f2ba..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module IntergratingM
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/boot.rb b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/database.yml b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/environment.rb b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/environments/development.rb b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/environments/production.rb b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/environments/test.rb b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/initializers/assets.rb b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/initializers/backtrace_silencers.rb b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/initializers/cookies_serializer.rb b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/initializers/filter_parameter_logging.rb b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/initializers/inflections.rb b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/initializers/mime_types.rb b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/initializers/session_store.rb b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/initializers/session_store.rb
deleted file mode 100644
index af0b318..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_intergrating_m_session'
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/initializers/wrap_parameters.rb b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/locales/en.yml b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/routes.rb b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/routes.rb
deleted file mode 100644
index 7fd4417..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/routes.rb
+++ /dev/null
@@ -1,69 +0,0 @@
-Rails.application.routes.draw do
- get 'users' => 'users#index'
-
- get 'users/new' => 'users#new'
-
- post 'users' => 'users#create'
-
- get 'users/:id' => 'users#show'
- patch 'users/:id' => 'users#update'
-
- get 'users/:id/edit' => 'users#edit'
-
- get 'users/total' => 'users#total'
-
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/secrets.yml b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/secrets.yml
deleted file mode 100644
index f6f965d..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: f7484ed212a3fa3d2cea005f4d768f5e0f4cd13769d904ce97bac577a97e1eba2850395cb9cff932cfa8bcde89545ab3f93eb1f339fd2a621fce708551c570a3
-
-test:
- secret_key_base: 99a2ead8b781f16646f8c6dd36326d5978a1d4aefa3e0b77c980929ec299e5884d7d59c9f5d6eef9fc15cd3045b0f1361debb190ad7da62f8c9633f9b2396478
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/db/migrate/20171011222406_create_users.rb b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/db/migrate/20171011222406_create_users.rb
deleted file mode 100644
index 5494756..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/db/migrate/20171011222406_create_users.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class CreateUsers < ActiveRecord::Migration
- def change
- create_table :users do |t|
- t.string :name
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/db/schema.rb b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/db/schema.rb
deleted file mode 100644
index 4faa1f5..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/db/schema.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171011222406) do
-
- create_table "users", force: :cascade do |t|
- t.string "name"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/db/seeds.rb b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/lib/assets/.keep b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/lib/tasks/.keep b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/log/.keep b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/public/404.html b/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/app/views/layouts/application.html.erb b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/app/views/layouts/application.html.erb
deleted file mode 100644
index 26beefc..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- RoutesControllers
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/bin/bundle b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/bin/rails b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/bin/rake b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/bin/setup b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/bin/spring b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config.ru b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/application.rb b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/application.rb
deleted file mode 100644
index 2e2368b..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module RoutesControllers
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/boot.rb b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/database.yml b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/environment.rb b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/environments/development.rb b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/environments/production.rb b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/environments/test.rb b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/initializers/assets.rb b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/initializers/backtrace_silencers.rb b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/initializers/cookies_serializer.rb b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/initializers/filter_parameter_logging.rb b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/initializers/inflections.rb b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/initializers/mime_types.rb b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/initializers/session_store.rb b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/initializers/session_store.rb
deleted file mode 100644
index 7544e56..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_routes_controllers_session'
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/initializers/wrap_parameters.rb b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/locales/en.yml b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/routes.rb b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/routes.rb
deleted file mode 100644
index d55633a..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/routes.rb
+++ /dev/null
@@ -1,68 +0,0 @@
-Rails.application.routes.draw do
- get 'displays/index'
-
- get 'displays/hello'
-
- get 'displays/say'
- get 'displays/say/hello' => 'displays#say'
- get 'displays/say/hello/:name' => 'displays#say'
-
- get 'displays/times'
-
- get 'displays/restart'
-
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/secrets.yml b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/secrets.yml
deleted file mode 100644
index 449846c..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 5f40a07535b11535c3334b46c06bacb71aa65f608eb3bbe9274a3049f0bebe499949d8277cddf20d85ac18f103851d24e77c91f70af4df6db6c9b757dcefab16
-
-test:
- secret_key_base: 4f07d6b45178f74ff2a76339d0bc130aacbe2da511cb2af35890ca961bbf4273c2cae311605f1813a7ea0f64b5df3aed9eba6276f0a438239f1c05145826d660
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/db/seeds.rb b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/lib/assets/.keep b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/lib/tasks/.keep b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/log/.keep b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/public/404.html b/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-Home
-Edit
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/bin/bundle b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/bin/rails b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/bin/rake b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/bin/setup b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/bin/spring b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config.ru b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/application.rb b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/application.rb
deleted file mode 100644
index 0e5ac64..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module DojoDashboard
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/boot.rb b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/database.yml b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/environment.rb b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/environments/development.rb b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/environments/production.rb b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/environments/test.rb b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/initializers/assets.rb b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/initializers/backtrace_silencers.rb b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/initializers/cookies_serializer.rb b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/initializers/filter_parameter_logging.rb b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/initializers/inflections.rb b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/initializers/mime_types.rb b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/initializers/rails_footnotes.rb b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/initializers/rails_footnotes.rb
deleted file mode 100644
index 9a15363..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/initializers/rails_footnotes.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-defined?(Footnotes) && Footnotes.setup do |f|
- # Whether or not to enable footnotes
- f.enabled = Rails.env.development?
- # You can also use a lambda / proc to conditionally toggle footnotes
- # Example :
- # f.enabled = -> { User.current.admin? }
- # Beware of thread-safety though, Footnotes.enabled is NOT thread safe
- # and should not be modified anywhere else.
-
- # Only toggle some notes :
- # f.notes = [:session, :cookies, :params, :filters, :routes, :env, :queries, :log]
-
- # Change the prefix :
- # f.prefix = 'mvim://open?url=file://%s&line=%d&column=%d'
-
- # Disable style :
- # f.no_style = true
-
- # Lock notes to top right :
- # f.lock_top_right = true
-
- # Change font size :
- # f.font_size = '11px'
-
- # Allow to open multiple notes :
- # f.multiple_notes = true
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/initializers/session_store.rb b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/initializers/session_store.rb
deleted file mode 100644
index d8522bf..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_dojo_dashboard_session'
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/initializers/wrap_parameters.rb b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/locales/en.yml b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/routes.rb b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/routes.rb
deleted file mode 100644
index 84c6d27..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/routes.rb
+++ /dev/null
@@ -1,74 +0,0 @@
-Rails.application.routes.draw do
-
- root 'dojos#index'
- get 'dojos' => 'dojos#index', as: 'dojos'
- get 'dojos/new' => 'dojos#new', as: 'new_dojos'
- post '/' => 'dojos#create', as: 'dojo'
- get 'dojos/:id' => 'dojos#show', as: 'create_dojo'
- get 'dojos/:id/edit' => 'dojos#edit', as: 'edit_dojo'
- patch 'dojos/:id' => 'dojos#update', as: 'update_dojo'
- delete 'dojos/:id' => 'dojos#destroy', as: 'delete_dojo'
-
- get 'dojos/:dojo_id/students' => 'students#index', as: 'students'
- get 'dojos/:dojo_id/students/new' => 'students#new', as: 'new_student'
- post 'dojos/:dojo_id/students' => 'students#create', as: 'create_student'
- get 'dojos/:dojo_id/students/:id' => 'students#show', as: 'student'
- get 'dojos/:dojo_id/students/:id/edit' => 'students#edit', as: 'edit_student'
- patch 'dojos/:dojo_id/students/:id' => 'students#update', as: 'update_student'
- delete 'dojos/:dojo_id/students/:id' => 'students#destroy', as: 'remove_student'
-
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/secrets.yml b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/secrets.yml
deleted file mode 100644
index 62d4cd0..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 6a064b0fe2ffda54b60a328301b3842ad7c5126648b94d6676eb27f954a2535c8a49dd3d4544060b03cf288b8c4725ef21837b9fa77ff58260993ee100334920
-
-test:
- secret_key_base: 1d691f7cf31f3e11e55aad752facd40dbf853be5a1ab837cf5f05fd44c718588dc6cb1d442e87ac93cef13bb442a92375c7a2973f7e67a6b55dcf105d25ba10b
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/db/migrate/20171015215328_create_dojos.rb b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/db/migrate/20171015215328_create_dojos.rb
deleted file mode 100644
index 0df8b3d..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/db/migrate/20171015215328_create_dojos.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-class CreateDojos < ActiveRecord::Migration
- def change
- create_table :dojos do |t|
- t.string :branch
- t.string :street
- t.string :city
- t.string :state
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/db/migrate/20171016232721_create_students.rb b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/db/migrate/20171016232721_create_students.rb
deleted file mode 100644
index 886ff7e..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/db/migrate/20171016232721_create_students.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-class CreateStudents < ActiveRecord::Migration
- def change
- create_table :students do |t|
- t.string :first_name
- t.string :last_name
- t.string :email
- t.references :dojo, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/db/schema.rb b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/db/schema.rb
deleted file mode 100644
index 8c8ce4e..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/db/schema.rb
+++ /dev/null
@@ -1,36 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171016232721) do
-
- create_table "dojos", force: :cascade do |t|
- t.string "branch"
- t.string "street"
- t.string "city"
- t.string "state"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- create_table "students", force: :cascade do |t|
- t.string "first_name"
- t.string "last_name"
- t.string "email"
- t.integer "dojo_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "students", ["dojo_id"], name: "index_students_on_dojo_id"
-
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/db/seeds.rb b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/lib/assets/.keep b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/lib/tasks/.keep b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/log/.keep b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/public/404.html b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/public/favicon.ico b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/public/robots.txt b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/controllers/.keep b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/controllers/dojos_controller_test.rb b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/controllers/dojos_controller_test.rb
deleted file mode 100644
index fe24085..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/controllers/dojos_controller_test.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-require 'test_helper'
-
-class DojosControllerTest < ActionController::TestCase
- test "should get show" do
- get :show
- assert_response :success
- end
-
- test "should get edit" do
- get :edit
- assert_response :success
- end
-
- test "should get destroy" do
- get :destroy
- assert_response :success
- end
-
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/controllers/students_controller_test.rb b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/controllers/students_controller_test.rb
deleted file mode 100644
index 0d88f7d..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/controllers/students_controller_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class StudentsControllerTest < ActionController::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/fixtures/.keep b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/fixtures/dojos.yml b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/fixtures/dojos.yml
deleted file mode 100644
index 215263e..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/fixtures/dojos.yml
+++ /dev/null
@@ -1,13 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- branch: MyString
- street: MyString
- city: MyString
- state: MyString
-
-two:
- branch: MyString
- street: MyString
- city: MyString
- state: MyString
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/fixtures/students.yml b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/fixtures/students.yml
deleted file mode 100644
index 6a94c30..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/fixtures/students.yml
+++ /dev/null
@@ -1,13 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- first_name: MyString
- last_name: MyString
- email: MyString
- dojo_id:
-
-two:
- first_name: MyString
- last_name: MyString
- email: MyString
- dojo_id:
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/helpers/.keep b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/integration/.keep b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/mailers/.keep b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/models/.keep b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/models/dojo_test.rb b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/models/dojo_test.rb
deleted file mode 100644
index a078f30..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/models/dojo_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class DojoTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/test_helper.rb b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/vendor/assets/javascripts/.keep b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/vendor/assets/stylesheets/.keep b/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Blogs/.gitignore b/Tamisha_Damas/Rails/Models /Blogs/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/Tamisha_Damas/Rails/Models /Blogs/Gemfile b/Tamisha_Damas/Rails/Models /Blogs/Gemfile
deleted file mode 100644
index 7ef2c56..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/Gemfile
+++ /dev/null
@@ -1,46 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-gem 'hirb'
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
diff --git a/Tamisha_Damas/Rails/Models /Blogs/Gemfile.lock b/Tamisha_Damas/Rails/Models /Blogs/Gemfile.lock
deleted file mode 100644
index b07f42d..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/Gemfile.lock
+++ /dev/null
@@ -1,173 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.2)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.2)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.0)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.8.6)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.6.6)
- mime-types (>= 1.16, < 4)
- mime-types (3.1)
- mime-types-data (~> 3.2015)
- mime-types-data (3.2016.0521)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.1.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.2)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.6)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.3)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.15.4
diff --git a/Tamisha_Damas/Rails/Models /Blogs/README.rdoc b/Tamisha_Damas/Rails/Models /Blogs/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/Tamisha_Damas/Rails/Models /Blogs/Rakefile b/Tamisha_Damas/Rails/Models /Blogs/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/Tamisha_Damas/Rails/Models /Blogs/app/assets/images/.keep b/Tamisha_Damas/Rails/Models /Blogs/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Blogs/app/assets/javascripts/application.js b/Tamisha_Damas/Rails/Models /Blogs/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/Tamisha_Damas/Rails/Models /Blogs/app/assets/stylesheets/application.css b/Tamisha_Damas/Rails/Models /Blogs/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/Tamisha_Damas/Rails/Models /Blogs/app/controllers/application_controller.rb b/Tamisha_Damas/Rails/Models /Blogs/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/Tamisha_Damas/Rails/Models /Blogs/app/controllers/concerns/.keep b/Tamisha_Damas/Rails/Models /Blogs/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Blogs/app/helpers/application_helper.rb b/Tamisha_Damas/Rails/Models /Blogs/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/Tamisha_Damas/Rails/Models /Blogs/app/mailers/.keep b/Tamisha_Damas/Rails/Models /Blogs/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Blogs/app/models/.keep b/Tamisha_Damas/Rails/Models /Blogs/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Blogs/app/models/blog.rb b/Tamisha_Damas/Rails/Models /Blogs/app/models/blog.rb
deleted file mode 100644
index 6853340..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/app/models/blog.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-class Blog < ActiveRecord::Base
- has_many :posts
- validates :name, :description, presence: true
-end
diff --git a/Tamisha_Damas/Rails/Models /Blogs/app/models/concerns/.keep b/Tamisha_Damas/Rails/Models /Blogs/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Blogs/app/models/message.rb b/Tamisha_Damas/Rails/Models /Blogs/app/models/message.rb
deleted file mode 100644
index 54c6506..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/app/models/message.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class Message < ActiveRecord::Base
- belongs_to :post
- validates :author, :message, presence: true
- validates :message, length: { minimum: 15 }
-end
diff --git a/Tamisha_Damas/Rails/Models /Blogs/app/models/post.rb b/Tamisha_Damas/Rails/Models /Blogs/app/models/post.rb
deleted file mode 100644
index 05f3485..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/app/models/post.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class Post < ActiveRecord::Base
- belongs_to :blog
- has_many :messages, dependent: :destroy
- validates :title, :content, presence: true, length: { minimum: 7 }
-end
diff --git a/Tamisha_Damas/Rails/Models /Blogs/app/views/layouts/application.html.erb b/Tamisha_Damas/Rails/Models /Blogs/app/views/layouts/application.html.erb
deleted file mode 100644
index 5cd984b..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- Blogs
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/Tamisha_Damas/Rails/Models /Blogs/bin/bundle b/Tamisha_Damas/Rails/Models /Blogs/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/Tamisha_Damas/Rails/Models /Blogs/bin/rails b/Tamisha_Damas/Rails/Models /Blogs/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Tamisha_Damas/Rails/Models /Blogs/bin/rake b/Tamisha_Damas/Rails/Models /Blogs/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/Tamisha_Damas/Rails/Models /Blogs/bin/setup b/Tamisha_Damas/Rails/Models /Blogs/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Tamisha_Damas/Rails/Models /Blogs/bin/spring b/Tamisha_Damas/Rails/Models /Blogs/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/Tamisha_Damas/Rails/Models /Blogs/config.ru b/Tamisha_Damas/Rails/Models /Blogs/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Tamisha_Damas/Rails/Models /Blogs/config/application.rb b/Tamisha_Damas/Rails/Models /Blogs/config/application.rb
deleted file mode 100644
index c39e324..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module Blogs
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Tamisha_Damas/Rails/Models /Blogs/config/boot.rb b/Tamisha_Damas/Rails/Models /Blogs/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Tamisha_Damas/Rails/Models /Blogs/config/database.yml b/Tamisha_Damas/Rails/Models /Blogs/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/Tamisha_Damas/Rails/Models /Blogs/config/environment.rb b/Tamisha_Damas/Rails/Models /Blogs/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Tamisha_Damas/Rails/Models /Blogs/config/environments/development.rb b/Tamisha_Damas/Rails/Models /Blogs/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Tamisha_Damas/Rails/Models /Blogs/config/environments/production.rb b/Tamisha_Damas/Rails/Models /Blogs/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Tamisha_Damas/Rails/Models /Blogs/config/environments/test.rb b/Tamisha_Damas/Rails/Models /Blogs/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Tamisha_Damas/Rails/Models /Blogs/config/initializers/assets.rb b/Tamisha_Damas/Rails/Models /Blogs/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/Tamisha_Damas/Rails/Models /Blogs/config/initializers/backtrace_silencers.rb b/Tamisha_Damas/Rails/Models /Blogs/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/Tamisha_Damas/Rails/Models /Blogs/config/initializers/cookies_serializer.rb b/Tamisha_Damas/Rails/Models /Blogs/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Tamisha_Damas/Rails/Models /Blogs/config/initializers/filter_parameter_logging.rb b/Tamisha_Damas/Rails/Models /Blogs/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/Tamisha_Damas/Rails/Models /Blogs/config/initializers/inflections.rb b/Tamisha_Damas/Rails/Models /Blogs/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/Tamisha_Damas/Rails/Models /Blogs/config/initializers/mime_types.rb b/Tamisha_Damas/Rails/Models /Blogs/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/Tamisha_Damas/Rails/Models /Blogs/config/initializers/session_store.rb b/Tamisha_Damas/Rails/Models /Blogs/config/initializers/session_store.rb
deleted file mode 100644
index eabcaa8..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_Blogs_session'
diff --git a/Tamisha_Damas/Rails/Models /Blogs/config/initializers/wrap_parameters.rb b/Tamisha_Damas/Rails/Models /Blogs/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Tamisha_Damas/Rails/Models /Blogs/config/locales/en.yml b/Tamisha_Damas/Rails/Models /Blogs/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/Tamisha_Damas/Rails/Models /Blogs/config/routes.rb b/Tamisha_Damas/Rails/Models /Blogs/config/routes.rb
deleted file mode 100644
index 3f66539..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/Tamisha_Damas/Rails/Models /Blogs/config/secrets.yml b/Tamisha_Damas/Rails/Models /Blogs/config/secrets.yml
deleted file mode 100644
index 9f51ee9..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 7cb6cdcc0308b9d934cbe213a29a5b2f799d3a26f883577938649f6da9dbff5b531e53f77ef8ba57338a3536c7017e3d35e724434a6271827d3347faf0a50908
-
-test:
- secret_key_base: 8e5bb78496e881297dd7585db156c226a0d2bd2695c4f9ec22b60cf61d731b608cb5b4297870037bd3cbe2d70b8a4f497a09e53d2838e1ff0211fa0765897fac
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Tamisha_Damas/Rails/Models /Blogs/db/migrate/20171009180749_create_blogs.rb b/Tamisha_Damas/Rails/Models /Blogs/db/migrate/20171009180749_create_blogs.rb
deleted file mode 100644
index 3dd2ad7..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/db/migrate/20171009180749_create_blogs.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-class CreateBlogs < ActiveRecord::Migration
- def change
- create_table :blogs do |t|
- t.string :name
- t.text :description
-
- t.timestamps null: false
- end
- end
-end
-
-# ///////retrieving all post for the first blog
-# Blog.first.posts
-# ////////know how to retrieve all posts for the last blog (sorted by title in the DESC order).
-# Blog.last.posts.order(title: :DESC)
-# /////////know how to update the first post's title.
-# Post.first.update(title:"Red Bottoms")
-# /////////know how to delete the third post (have the model automatically delete all messages associated with the third post when you delete the third post).
-# Post.third.messages.destroy_all
-# know how to retrieve all blogs
-# Blog.all
-# know how to retrieve all blogs whose id is less than 5.
-# Blog.where("id < ?", 5)
diff --git a/Tamisha_Damas/Rails/Models /Blogs/db/migrate/20171009180920_create_posts.rb b/Tamisha_Damas/Rails/Models /Blogs/db/migrate/20171009180920_create_posts.rb
deleted file mode 100644
index 90e2db8..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/db/migrate/20171009180920_create_posts.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreatePosts < ActiveRecord::Migration
- def change
- create_table :posts do |t|
- t.string :title
- t.text :content
- t.references :blog, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Tamisha_Damas/Rails/Models /Blogs/db/migrate/20171009181240_create_messages.rb b/Tamisha_Damas/Rails/Models /Blogs/db/migrate/20171009181240_create_messages.rb
deleted file mode 100644
index cf927e7..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/db/migrate/20171009181240_create_messages.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreateMessages < ActiveRecord::Migration
- def change
- create_table :messages do |t|
- t.string :author
- t.text :message
- t.references :post, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Tamisha_Damas/Rails/Models /Blogs/db/schema.rb b/Tamisha_Damas/Rails/Models /Blogs/db/schema.rb
deleted file mode 100644
index 20b00c3..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/db/schema.rb
+++ /dev/null
@@ -1,43 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171009181240) do
-
- create_table "blogs", force: :cascade do |t|
- t.string "name"
- t.text "description"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- create_table "messages", force: :cascade do |t|
- t.string "author"
- t.text "message"
- t.integer "post_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "messages", ["post_id"], name: "index_messages_on_post_id"
-
- create_table "posts", force: :cascade do |t|
- t.string "title"
- t.text "content"
- t.integer "blog_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "posts", ["blog_id"], name: "index_posts_on_blog_id"
-
-end
diff --git a/Tamisha_Damas/Rails/Models /Blogs/db/seeds.rb b/Tamisha_Damas/Rails/Models /Blogs/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/Tamisha_Damas/Rails/Models /Blogs/lib/assets/.keep b/Tamisha_Damas/Rails/Models /Blogs/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Blogs/lib/tasks/.keep b/Tamisha_Damas/Rails/Models /Blogs/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Blogs/log/.keep b/Tamisha_Damas/Rails/Models /Blogs/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Blogs/public/404.html b/Tamisha_Damas/Rails/Models /Blogs/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Tamisha_Damas/Rails/Models /Blogs/public/favicon.ico b/Tamisha_Damas/Rails/Models /Blogs/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Blogs/public/robots.txt b/Tamisha_Damas/Rails/Models /Blogs/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/Tamisha_Damas/Rails/Models /Blogs/test/controllers/.keep b/Tamisha_Damas/Rails/Models /Blogs/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Blogs/test/fixtures/.keep b/Tamisha_Damas/Rails/Models /Blogs/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Blogs/test/fixtures/blogs.yml b/Tamisha_Damas/Rails/Models /Blogs/test/fixtures/blogs.yml
deleted file mode 100644
index 2ff75a8..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/test/fixtures/blogs.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- name: MyString
- description: MyText
-
-two:
- name: MyString
- description: MyText
diff --git a/Tamisha_Damas/Rails/Models /Blogs/test/fixtures/messages.yml b/Tamisha_Damas/Rails/Models /Blogs/test/fixtures/messages.yml
deleted file mode 100644
index e3c84c8..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/test/fixtures/messages.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- author: MyString
- message: MyText
- post_id:
-
-two:
- author: MyString
- message: MyText
- post_id:
diff --git a/Tamisha_Damas/Rails/Models /Blogs/test/fixtures/posts.yml b/Tamisha_Damas/Rails/Models /Blogs/test/fixtures/posts.yml
deleted file mode 100644
index dcc822e..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/test/fixtures/posts.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- title: MyString
- content: MyText
- blog_id:
-
-two:
- title: MyString
- content: MyText
- blog_id:
diff --git a/Tamisha_Damas/Rails/Models /Blogs/test/helpers/.keep b/Tamisha_Damas/Rails/Models /Blogs/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Blogs/test/integration/.keep b/Tamisha_Damas/Rails/Models /Blogs/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Blogs/test/mailers/.keep b/Tamisha_Damas/Rails/Models /Blogs/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Blogs/test/models/.keep b/Tamisha_Damas/Rails/Models /Blogs/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Blogs/test/models/blog_test.rb b/Tamisha_Damas/Rails/Models /Blogs/test/models/blog_test.rb
deleted file mode 100644
index 5038377..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/test/models/blog_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class BlogTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/Tamisha_Damas/Rails/Models /Blogs/test/models/message_test.rb b/Tamisha_Damas/Rails/Models /Blogs/test/models/message_test.rb
deleted file mode 100644
index 11e5db0..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/test/models/message_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class MessageTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/Tamisha_Damas/Rails/Models /Blogs/test/models/post_test.rb b/Tamisha_Damas/Rails/Models /Blogs/test/models/post_test.rb
deleted file mode 100644
index 6d9d463..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/test/models/post_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class PostTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/Tamisha_Damas/Rails/Models /Blogs/test/test_helper.rb b/Tamisha_Damas/Rails/Models /Blogs/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/Tamisha_Damas/Rails/Models /Blogs/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/Tamisha_Damas/Rails/Models /Blogs/vendor/assets/javascripts/.keep b/Tamisha_Damas/Rails/Models /Blogs/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Blogs/vendor/assets/stylesheets/.keep b/Tamisha_Damas/Rails/Models /Blogs/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/.gitignore b/Tamisha_Damas/Rails/Models /Friends(self_join)/.gitignore
deleted file mode 100644
index dcc5b36..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/.gitignore
+++ /dev/null
@@ -1,23 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-/tmp/*
-!/log/.keep
-!/tmp/.keep
-
-/node_modules
-/yarn-error.log
-
-.byebug_history
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/Gemfile b/Tamisha_Damas/Rails/Models /Friends(self_join)/Gemfile
deleted file mode 100644
index 5a49bc9..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/Gemfile
+++ /dev/null
@@ -1,54 +0,0 @@
-source 'https://rubygems.org'
-
-git_source(:github) do |repo_name|
- repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
- "https://github.com/#{repo_name}.git"
-end
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '~> 5.1.4'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use Puma as the app server
-gem 'puma', '~> 3.7'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-gem 'hirb'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.2'
-# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
-gem 'turbolinks', '~> 5'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.5'
-# Use Redis adapter to run Action Cable in production
-# gem 'redis', '~> 3.0'
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
- # Adds support for Capybara system testing and selenium driver
- gem 'capybara', '~> 2.13'
- gem 'selenium-webdriver'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
- gem 'web-console', '>= 3.3.0'
- gem 'listen', '>= 3.0.5', '< 3.2'
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
- gem 'spring-watcher-listen', '~> 2.0.0'
-end
-
-# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
-gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/Gemfile.lock b/Tamisha_Damas/Rails/Models /Friends(self_join)/Gemfile.lock
deleted file mode 100644
index 44460ff..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/Gemfile.lock
+++ /dev/null
@@ -1,198 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actioncable (5.1.4)
- actionpack (= 5.1.4)
- nio4r (~> 2.0)
- websocket-driver (~> 0.6.1)
- actionmailer (5.1.4)
- actionpack (= 5.1.4)
- actionview (= 5.1.4)
- activejob (= 5.1.4)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 2.0)
- actionpack (5.1.4)
- actionview (= 5.1.4)
- activesupport (= 5.1.4)
- rack (~> 2.0)
- rack-test (>= 0.6.3)
- rails-dom-testing (~> 2.0)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (5.1.4)
- activesupport (= 5.1.4)
- builder (~> 3.1)
- erubi (~> 1.4)
- rails-dom-testing (~> 2.0)
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
- activejob (5.1.4)
- activesupport (= 5.1.4)
- globalid (>= 0.3.6)
- activemodel (5.1.4)
- activesupport (= 5.1.4)
- activerecord (5.1.4)
- activemodel (= 5.1.4)
- activesupport (= 5.1.4)
- arel (~> 8.0)
- activesupport (5.1.4)
- concurrent-ruby (~> 1.0, >= 1.0.2)
- i18n (~> 0.7)
- minitest (~> 5.1)
- tzinfo (~> 1.1)
- addressable (2.5.2)
- public_suffix (>= 2.0.2, < 4.0)
- arel (8.0.0)
- bindex (0.5.0)
- builder (3.2.3)
- byebug (9.1.0)
- capybara (2.16.1)
- addressable
- mini_mime (>= 0.1.3)
- nokogiri (>= 1.3.3)
- rack (>= 1.0.0)
- rack-test (>= 0.5.4)
- xpath (~> 2.0)
- childprocess (0.8.0)
- ffi (~> 1.0, >= 1.0.11)
- coffee-rails (4.2.2)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- erubi (1.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- listen (3.1.5)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- ruby_dep (~> 1.2)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- method_source (0.9.0)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nio4r (2.1.0)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- public_suffix (3.0.1)
- puma (3.11.0)
- rack (2.0.3)
- rack-test (0.8.2)
- rack (>= 1.0, < 3)
- rails (5.1.4)
- actioncable (= 5.1.4)
- actionmailer (= 5.1.4)
- actionpack (= 5.1.4)
- actionview (= 5.1.4)
- activejob (= 5.1.4)
- activemodel (= 5.1.4)
- activerecord (= 5.1.4)
- activesupport (= 5.1.4)
- bundler (>= 1.3.0)
- railties (= 5.1.4)
- sprockets-rails (>= 2.0.0)
- rails-dom-testing (2.0.3)
- activesupport (>= 4.2.0)
- nokogiri (>= 1.6)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (5.1.4)
- actionpack (= 5.1.4)
- activesupport (= 5.1.4)
- method_source
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- ruby_dep (1.5.0)
- rubyzip (1.2.1)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- selenium-webdriver (3.8.0)
- childprocess (~> 0.5)
- rubyzip (~> 1.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- spring-watcher-listen (2.0.1)
- listen (>= 2.7, < 4.0)
- spring (>= 1.2, < 3.0)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (4.0.0)
- execjs (>= 0.3.0, < 3)
- web-console (3.5.1)
- actionview (>= 5.0)
- activemodel (>= 5.0)
- bindex (>= 0.4.0)
- railties (>= 5.0)
- websocket-driver (0.6.5)
- websocket-extensions (>= 0.1.0)
- websocket-extensions (0.1.3)
- xpath (2.1.0)
- nokogiri (~> 1.3)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- capybara (~> 2.13)
- coffee-rails (~> 4.2)
- hirb
- jbuilder (~> 2.5)
- listen (>= 3.0.5, < 3.2)
- puma (~> 3.7)
- rails (~> 5.1.4)
- sass-rails (~> 5.0)
- selenium-webdriver
- spring
- spring-watcher-listen (~> 2.0.0)
- sqlite3
- turbolinks (~> 5)
- tzinfo-data
- uglifier (>= 1.3.0)
- web-console (>= 3.3.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/app/assets/images/.keep b/Tamisha_Damas/Rails/Models /Friends(self_join)/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/app/assets/javascripts/application.js b/Tamisha_Damas/Rails/Models /Friends(self_join)/app/assets/javascripts/application.js
deleted file mode 100644
index 46b2035..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,15 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, or any plugin's
-// vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file. JavaScript code in this file should be added after the last require_* statement.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require rails-ujs
-//= require turbolinks
-//= require_tree .
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/app/assets/javascripts/cable.js b/Tamisha_Damas/Rails/Models /Friends(self_join)/app/assets/javascripts/cable.js
deleted file mode 100644
index 739aa5f..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/app/assets/javascripts/cable.js
+++ /dev/null
@@ -1,13 +0,0 @@
-// Action Cable provides the framework to deal with WebSockets in Rails.
-// You can generate new channels where WebSocket features live using the `rails generate channel` command.
-//
-//= require action_cable
-//= require_self
-//= require_tree ./channels
-
-(function() {
- this.App || (this.App = {});
-
- App.cable = ActionCable.createConsumer();
-
-}).call(this);
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/app/assets/javascripts/channels/.keep b/Tamisha_Damas/Rails/Models /Friends(self_join)/app/assets/javascripts/channels/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/app/assets/stylesheets/application.css b/Tamisha_Damas/Rails/Models /Friends(self_join)/app/assets/stylesheets/application.css
deleted file mode 100644
index d05ea0f..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
- * vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
- * files in this directory. Styles in this file should be added after the last require_* statement.
- * It is generally better to create a new file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/app/controllers/concerns/.keep b/Tamisha_Damas/Rails/Models /Friends(self_join)/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/app/helpers/application_helper.rb b/Tamisha_Damas/Rails/Models /Friends(self_join)/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/app/models/concerns/.keep b/Tamisha_Damas/Rails/Models /Friends(self_join)/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/app/models/friendship.rb b/Tamisha_Damas/Rails/Models /Friends(self_join)/app/models/friendship.rb
deleted file mode 100644
index 3941175..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/app/models/friendship.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-class Friendship < ApplicationRecord
- belongs_to :user, foreign_key: "user_id", class_name: "User"
- belongs_to :friend, foreign_key: "friend_id", class_name: "User"
-end
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/app/models/user.rb b/Tamisha_Damas/Rails/Models /Friends(self_join)/app/models/user.rb
deleted file mode 100644
index dbb08ff..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/app/models/user.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-class User < ApplicationRecord
- has_many :friendships, foreign_key: "user_id", class_name: "Friendship"
- has_many :friends, through: :friendships
-end
-
-# # Create Users
-# User.create(first_name: "John", last_name: "Doe")
-# User.create(first_name: "Jane", last_name: "Smith")
-# User.create(first_name: "Michael", last_name: "Harris")
-# User.create(first_name: "Lisa", last_name: "Johnson")
-# User.create(first_name: "Ben", last_name: "Thompson")
-#
-# # Create Friendships
-# Friendship.create(user: User.first, friend: User.last)
-# Friendship.create(user: User.first, friend: User.second)
-# Friendship.create(user: User.third, friend: User.third)
-# Friendship.create(user: User.third, friend: User.find(4))
-
-# Retrieve all frinds of the first Users
-User.first.friends
-User.third.friends
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/app/views/layouts/application.html.erb b/Tamisha_Damas/Rails/Models /Friends(self_join)/app/views/layouts/application.html.erb
deleted file mode 100644
index bc33024..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- Friends
- <%= csrf_meta_tags %>
-
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
-
-
-
- <%= yield %>
-
-
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/bin/bundle b/Tamisha_Damas/Rails/Models /Friends(self_join)/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/bin/rake b/Tamisha_Damas/Rails/Models /Friends(self_join)/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/bin/setup b/Tamisha_Damas/Rails/Models /Friends(self_join)/bin/setup
deleted file mode 100755
index 78c4e86..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/bin/setup
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-require 'fileutils'
-include FileUtils
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-def system!(*args)
- system(*args) || abort("\n== Command #{args} failed ==")
-end
-
-chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file.
-
- puts '== Installing dependencies =='
- system! 'gem install bundler --conservative'
- system('bundle check') || system!('bundle install')
-
- # Install JavaScript dependencies if using Yarn
- # system('bin/yarn')
-
-
- # puts "\n== Copying sample files =="
- # unless File.exist?('config/database.yml')
- # cp 'config/database.yml.sample', 'config/database.yml'
- # end
-
- puts "\n== Preparing database =="
- system! 'bin/rails db:setup'
-
- puts "\n== Removing old logs and tempfiles =="
- system! 'bin/rails log:clear tmp:clear'
-
- puts "\n== Restarting application server =="
- system! 'bin/rails restart'
-end
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/bin/spring b/Tamisha_Damas/Rails/Models /Friends(self_join)/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/bin/yarn b/Tamisha_Damas/Rails/Models /Friends(self_join)/bin/yarn
deleted file mode 100755
index c2bacef..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/bin/yarn
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/usr/bin/env ruby
-VENDOR_PATH = File.expand_path('..', __dir__)
-Dir.chdir(VENDOR_PATH) do
- begin
- exec "yarnpkg #{ARGV.join(" ")}"
- rescue Errno::ENOENT
- $stderr.puts "Yarn executable was not detected in the system."
- $stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install"
- exit 1
- end
-end
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/application.rb b/Tamisha_Damas/Rails/Models /Friends(self_join)/config/application.rb
deleted file mode 100644
index ccb0cf1..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/application.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-require_relative 'boot'
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module Friends
- class Application < Rails::Application
- # Initialize configuration defaults for originally generated Rails version.
- config.load_defaults 5.1
-
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
- end
-end
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/cable.yml b/Tamisha_Damas/Rails/Models /Friends(self_join)/config/cable.yml
deleted file mode 100644
index 32a8d08..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/cable.yml
+++ /dev/null
@@ -1,10 +0,0 @@
-development:
- adapter: async
-
-test:
- adapter: async
-
-production:
- adapter: redis
- url: redis://localhost:6379/1
- channel_prefix: Friends_production
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/database.yml b/Tamisha_Damas/Rails/Models /Friends(self_join)/config/database.yml
deleted file mode 100644
index 0d02f24..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/environments/development.rb b/Tamisha_Damas/Rails/Models /Friends(self_join)/config/environments/development.rb
deleted file mode 100644
index 5187e22..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/environments/development.rb
+++ /dev/null
@@ -1,54 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports.
- config.consider_all_requests_local = true
-
- # Enable/disable caching. By default caching is disabled.
- if Rails.root.join('tmp/caching-dev.txt').exist?
- config.action_controller.perform_caching = true
-
- config.cache_store = :memory_store
- config.public_file_server.headers = {
- 'Cache-Control' => "public, max-age=#{2.days.seconds.to_i}"
- }
- else
- config.action_controller.perform_caching = false
-
- config.cache_store = :null_store
- end
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- config.action_mailer.perform_caching = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Suppress logger output for asset requests.
- config.assets.quiet = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-
- # Use an evented file watcher to asynchronously detect changes in source code,
- # routes, locales, etc. This feature depends on the listen gem.
- config.file_watcher = ActiveSupport::EventedFileUpdateChecker
-end
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/environments/production.rb b/Tamisha_Damas/Rails/Models /Friends(self_join)/config/environments/production.rb
deleted file mode 100644
index ee9483d..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/environments/production.rb
+++ /dev/null
@@ -1,91 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Attempt to read encrypted secrets from `config/secrets.yml.enc`.
- # Requires an encryption key in `ENV["RAILS_MASTER_KEY"]` or
- # `config/secrets.yml.key`.
- config.read_encrypted_secrets = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Mount Action Cable outside main process or domain
- # config.action_cable.mount_path = nil
- # config.action_cable.url = 'wss://example.com/cable'
- # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- config.log_tags = [ :request_id ]
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Use a real queuing backend for Active Job (and separate queues per environment)
- # config.active_job.queue_adapter = :resque
- # config.active_job.queue_name_prefix = "Friends_#{Rails.env}"
- config.action_mailer.perform_caching = false
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Use a different logger for distributed setups.
- # require 'syslog/logger'
- # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
-
- if ENV["RAILS_LOG_TO_STDOUT"].present?
- logger = ActiveSupport::Logger.new(STDOUT)
- logger.formatter = config.log_formatter
- config.logger = ActiveSupport::TaggedLogging.new(logger)
- end
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/environments/test.rb b/Tamisha_Damas/Rails/Models /Friends(self_join)/config/environments/test.rb
deleted file mode 100644
index 8e5cbde..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure public file server for tests with Cache-Control for performance.
- config.public_file_server.enabled = true
- config.public_file_server.headers = {
- 'Cache-Control' => "public, max-age=#{1.hour.seconds.to_i}"
- }
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
- config.action_mailer.perform_caching = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/initializers/assets.rb b/Tamisha_Damas/Rails/Models /Friends(self_join)/config/initializers/assets.rb
deleted file mode 100644
index 4b828e8..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/initializers/assets.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path.
-# Rails.application.config.assets.paths << Emoji.images_path
-# Add Yarn node_modules folder to the asset load path.
-Rails.application.config.assets.paths << Rails.root.join('node_modules')
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in the app/assets
-# folder are already added.
-# Rails.application.config.assets.precompile += %w( admin.js admin.css )
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/initializers/backtrace_silencers.rb b/Tamisha_Damas/Rails/Models /Friends(self_join)/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/initializers/filter_parameter_logging.rb b/Tamisha_Damas/Rails/Models /Friends(self_join)/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/initializers/inflections.rb b/Tamisha_Damas/Rails/Models /Friends(self_join)/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/initializers/mime_types.rb b/Tamisha_Damas/Rails/Models /Friends(self_join)/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/locales/en.yml b/Tamisha_Damas/Rails/Models /Friends(self_join)/config/locales/en.yml
deleted file mode 100644
index decc5a8..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/locales/en.yml
+++ /dev/null
@@ -1,33 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# The following keys must be escaped otherwise they will not be retrieved by
-# the default I18n backend:
-#
-# true, false, on, off, yes, no
-#
-# Instead, surround them with single quotes.
-#
-# en:
-# 'true': 'foo'
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/puma.rb b/Tamisha_Damas/Rails/Models /Friends(self_join)/config/puma.rb
deleted file mode 100644
index 1e19380..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/puma.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-# Puma can serve each request in a thread from an internal thread pool.
-# The `threads` method setting takes two numbers: a minimum and maximum.
-# Any libraries that use thread pools should be configured to match
-# the maximum value specified for Puma. Default is set to 5 threads for minimum
-# and maximum; this matches the default thread size of Active Record.
-#
-threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }
-threads threads_count, threads_count
-
-# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
-#
-port ENV.fetch("PORT") { 3000 }
-
-# Specifies the `environment` that Puma will run in.
-#
-environment ENV.fetch("RAILS_ENV") { "development" }
-
-# Specifies the number of `workers` to boot in clustered mode.
-# Workers are forked webserver processes. If using threads and workers together
-# the concurrency of the application would be max `threads` * `workers`.
-# Workers do not work on JRuby or Windows (both of which do not support
-# processes).
-#
-# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
-
-# Use the `preload_app!` method when specifying a `workers` number.
-# This directive tells Puma to first boot the application and load code
-# before forking the application. This takes advantage of Copy On Write
-# process behavior so workers use less memory. If you use this option
-# you need to make sure to reconnect any threads in the `on_worker_boot`
-# block.
-#
-# preload_app!
-
-# If you are preloading your application and using Active Record, it's
-# recommended that you close any connections to the database before workers
-# are forked to prevent connection leakage.
-#
-# before_fork do
-# ActiveRecord::Base.connection_pool.disconnect! if defined?(ActiveRecord)
-# end
-
-# The code in the `on_worker_boot` will be called if you are using
-# clustered mode by specifying a number of `workers`. After each worker
-# process is booted, this block will be run. If you are using the `preload_app!`
-# option, you will want to use this block to reconnect to any threads
-# or connections that may have been created at application boot, as Ruby
-# cannot share connections between processes.
-#
-# on_worker_boot do
-# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
-# end
-#
-
-# Allow puma to be restarted by `rails restart` command.
-plugin :tmp_restart
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/secrets.yml b/Tamisha_Damas/Rails/Models /Friends(self_join)/config/secrets.yml
deleted file mode 100644
index cb6c480..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/secrets.yml
+++ /dev/null
@@ -1,32 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rails secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-# Shared secrets are available across all environments.
-
-# shared:
-# api_key: a1B2c3D4e5F6
-
-# Environmental secrets are only available for that specific environment.
-
-development:
- secret_key_base: d26264c90f5ac0b58ab08398645764138154152b91c0fb1c0c191d91e9f87261765b9c3eecd0e130887e013de6acc830fdb1217d79de4f0bf7849e373fdcf494
-
-test:
- secret_key_base: f4cdd113cb96ef03e07bcb9b2c0b60a53f189427838cf8f6cd8da180ff448e3c99d911447a0f59e14dc7338d9639789fe06baffec6e79ff6b9bb5644bf322c72
-
-# Do not keep production secrets in the unencrypted secrets file.
-# Instead, either read values from the environment.
-# Or, use `bin/rails secrets:setup` to configure encrypted secrets
-# and move the `production:` environment over there.
-
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/db/migrate/20171202200608_create_users.rb b/Tamisha_Damas/Rails/Models /Friends(self_join)/db/migrate/20171202200608_create_users.rb
deleted file mode 100644
index 08bcad4..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/db/migrate/20171202200608_create_users.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class CreateUsers < ActiveRecord::Migration[5.1]
- def change
- create_table :users do |t|
- t.string :first_name
- t.string :last_name
-
- t.timestamps
- end
- end
-end
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/db/migrate/20171202200623_create_friendships.rb b/Tamisha_Damas/Rails/Models /Friends(self_join)/db/migrate/20171202200623_create_friendships.rb
deleted file mode 100644
index 45d30ec..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/db/migrate/20171202200623_create_friendships.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class CreateFriendships < ActiveRecord::Migration[5.1]
- def change
- create_table :friendships do |t|
- t.integer :user_id
- t.integer :friend_id
-
- t.timestamps
- end
- end
-end
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/db/schema.rb b/Tamisha_Damas/Rails/Models /Friends(self_join)/db/schema.rb
deleted file mode 100644
index 945962a..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/db/schema.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171202200623) do
-
- create_table "friendships", force: :cascade do |t|
- t.integer "user_id"
- t.integer "friend_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- create_table "users", force: :cascade do |t|
- t.string "first_name"
- t.string "last_name"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/lib/assets/.keep b/Tamisha_Damas/Rails/Models /Friends(self_join)/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/lib/tasks/.keep b/Tamisha_Damas/Rails/Models /Friends(self_join)/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/log/.keep b/Tamisha_Damas/Rails/Models /Friends(self_join)/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/package.json b/Tamisha_Damas/Rails/Models /Friends(self_join)/package.json
deleted file mode 100644
index 9746068..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/package.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "name": "Friends",
- "private": true,
- "dependencies": {}
-}
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/public/favicon.ico b/Tamisha_Damas/Rails/Models /Friends(self_join)/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/public/robots.txt b/Tamisha_Damas/Rails/Models /Friends(self_join)/public/robots.txt
deleted file mode 100644
index 37b576a..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/public/robots.txt
+++ /dev/null
@@ -1 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/test/application_system_test_case.rb b/Tamisha_Damas/Rails/Models /Friends(self_join)/test/application_system_test_case.rb
deleted file mode 100644
index d19212a..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/test/application_system_test_case.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-require "test_helper"
-
-class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
- driven_by :selenium, using: :chrome, screen_size: [1400, 1400]
-end
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/test/controllers/.keep b/Tamisha_Damas/Rails/Models /Friends(self_join)/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/test/fixtures/.keep b/Tamisha_Damas/Rails/Models /Friends(self_join)/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/test/fixtures/files/.keep b/Tamisha_Damas/Rails/Models /Friends(self_join)/test/fixtures/files/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/test/fixtures/friendships.yml b/Tamisha_Damas/Rails/Models /Friends(self_join)/test/fixtures/friendships.yml
deleted file mode 100644
index 0f22a6e..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/test/fixtures/friendships.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- user_id: 1
- friend_id: 1
-
-two:
- user_id: 1
- friend_id: 1
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/test/fixtures/users.yml b/Tamisha_Damas/Rails/Models /Friends(self_join)/test/fixtures/users.yml
deleted file mode 100644
index afdaa6a..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/test/fixtures/users.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- first_name: MyString
- last_name: MyString
-
-two:
- first_name: MyString
- last_name: MyString
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/test/helpers/.keep b/Tamisha_Damas/Rails/Models /Friends(self_join)/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/test/integration/.keep b/Tamisha_Damas/Rails/Models /Friends(self_join)/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/test/mailers/.keep b/Tamisha_Damas/Rails/Models /Friends(self_join)/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/test/models/.keep b/Tamisha_Damas/Rails/Models /Friends(self_join)/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/test/models/friendship_test.rb b/Tamisha_Damas/Rails/Models /Friends(self_join)/test/models/friendship_test.rb
deleted file mode 100644
index aa27b3f..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/test/models/friendship_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class FriendshipTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/test/models/user_test.rb b/Tamisha_Damas/Rails/Models /Friends(self_join)/test/models/user_test.rb
deleted file mode 100644
index 82f61e0..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/test/models/user_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class UserTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/test/system/.keep b/Tamisha_Damas/Rails/Models /Friends(self_join)/test/system/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/test/test_helper.rb b/Tamisha_Damas/Rails/Models /Friends(self_join)/test/test_helper.rb
deleted file mode 100644
index e3c4ff0..0000000
--- a/Tamisha_Damas/Rails/Models /Friends(self_join)/test/test_helper.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/tmp/.keep b/Tamisha_Damas/Rails/Models /Friends(self_join)/tmp/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/vendor/.keep b/Tamisha_Damas/Rails/Models /Friends(self_join)/vendor/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/.gitignore b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/Gemfile b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/Gemfile
deleted file mode 100644
index 55197da..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/Gemfile
+++ /dev/null
@@ -1,46 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-gem 'hirb'
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-gem 'rails-footnotes', '~> 4.0'
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/Gemfile.lock b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/Gemfile.lock
deleted file mode 100644
index 2445273..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/Gemfile.lock
+++ /dev/null
@@ -1,175 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-footnotes (4.1.8)
- rails (>= 3.2)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- rails-footnotes (~> 4.0)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/README.rdoc b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/Rakefile b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/app/assets/images/.keep b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/app/assets/javascripts/application.js b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/app/assets/stylesheets/application.css b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/app/controllers/application_controller.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/app/controllers/concerns/.keep b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/app/helpers/application_helper.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/app/mailers/.keep b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/app/models/.keep b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/app/models/blog.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/app/models/blog.rb
deleted file mode 100644
index 25674e8..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/app/models/blog.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-class Blog < ActiveRecord::Base
- has_many :owners
- has_many :posts
-
- # all the users that own a specific blog
- has_many :users, through: :owners
- #all the users that posted on a specific blog
- has_many :user_posts, through: :posts, source: :user
-
- validates :name, :description, presence: true, length: { minimum: 3 }
-end
-
-
-# # Have the first 3 blogs be owned by the first user
-# Blog.find(2).users<
-
-
- BlogPostsMessages2
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/bin/bundle b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/bin/rails b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/bin/rake b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/bin/setup b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/bin/spring b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config.ru b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/application.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/application.rb
deleted file mode 100644
index 32ae995..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module BlogPostsMessages2
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/boot.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/database.yml b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/environment.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/environments/development.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/environments/production.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/environments/test.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/initializers/assets.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/initializers/backtrace_silencers.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/initializers/cookies_serializer.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/initializers/filter_parameter_logging.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/initializers/inflections.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/initializers/mime_types.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/initializers/session_store.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/initializers/session_store.rb
deleted file mode 100644
index ef77624..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_blog_posts_messages_2_session'
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/initializers/wrap_parameters.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/locales/en.yml b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/routes.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/routes.rb
deleted file mode 100644
index 3f66539..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/secrets.yml b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/secrets.yml
deleted file mode 100644
index a72781d..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 80adff02180413cd4cd55f5b02eae2d3dbffdd6d6d2ee72b6a20c7d275ee599f1aa22c4533df2f3495a04a7cdf93aaa4e3e9257da9f2196d5640a7ac725cc77f
-
-test:
- secret_key_base: 31577b453f7d09a4ca89fe7f9600a3d3bd21de94e33dd13828d2d0511417416698ca76cba4d6f29772966475c340129a08c18f8c1005b703d9847bb7e0679cf5
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/db/migrate/20171201211552_create_users.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/db/migrate/20171201211552_create_users.rb
deleted file mode 100644
index b09cf3f..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/db/migrate/20171201211552_create_users.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreateUsers < ActiveRecord::Migration
- def change
- create_table :users do |t|
- t.string :first_name
- t.string :last_name
- t.string :email_address
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/db/migrate/20171201214740_create_blogs.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/db/migrate/20171201214740_create_blogs.rb
deleted file mode 100644
index 87471d4..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/db/migrate/20171201214740_create_blogs.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class CreateBlogs < ActiveRecord::Migration
- def change
- create_table :blogs do |t|
- t.string :name
- t.text :description
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/db/migrate/20171201214910_create_owners.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/db/migrate/20171201214910_create_owners.rb
deleted file mode 100644
index e76114e..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/db/migrate/20171201214910_create_owners.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class CreateOwners < ActiveRecord::Migration
- def change
- create_table :owners do |t|
- t.references :user, index: true, foreign_key: true
- t.references :blog, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/db/migrate/20171201215007_create_posts.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/db/migrate/20171201215007_create_posts.rb
deleted file mode 100644
index c1075fd..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/db/migrate/20171201215007_create_posts.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-class CreatePosts < ActiveRecord::Migration
- def change
- create_table :posts do |t|
- t.string :title
- t.text :content
- t.references :user, index: true, foreign_key: true
- t.references :blog, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/db/migrate/20171201215115_create_messages.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/db/migrate/20171201215115_create_messages.rb
deleted file mode 100644
index 82f5dc3..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/db/migrate/20171201215115_create_messages.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-class CreateMessages < ActiveRecord::Migration
- def change
- create_table :messages do |t|
- t.string :author
- t.text :message
- t.references :post, index: true, foreign_key: true
- t.references :user, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/db/schema.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/db/schema.rb
deleted file mode 100644
index 55d0c44..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/db/schema.rb
+++ /dev/null
@@ -1,65 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171201215115) do
-
- create_table "blogs", force: :cascade do |t|
- t.string "name"
- t.text "description"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- create_table "messages", force: :cascade do |t|
- t.string "author"
- t.text "message"
- t.integer "post_id"
- t.integer "user_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "messages", ["post_id"], name: "index_messages_on_post_id"
- add_index "messages", ["user_id"], name: "index_messages_on_user_id"
-
- create_table "owners", force: :cascade do |t|
- t.integer "user_id"
- t.integer "blog_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "owners", ["blog_id"], name: "index_owners_on_blog_id"
- add_index "owners", ["user_id"], name: "index_owners_on_user_id"
-
- create_table "posts", force: :cascade do |t|
- t.string "title"
- t.text "content"
- t.integer "user_id"
- t.integer "blog_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "posts", ["blog_id"], name: "index_posts_on_blog_id"
- add_index "posts", ["user_id"], name: "index_posts_on_user_id"
-
- create_table "users", force: :cascade do |t|
- t.string "first_name"
- t.string "last_name"
- t.string "email_address"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/db/seeds.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/lib/assets/.keep b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/lib/tasks/.keep b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/log/.keep b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/public/404.html b/Tamisha_Damas/Rails/Models /blog_posts_messages_2/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/public/favicon.ico b/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/public/robots.txt b/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/controllers/.keep b/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/fixtures/.keep b/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/fixtures/blogs.yml b/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/fixtures/blogs.yml
deleted file mode 100644
index 2ff75a8..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/fixtures/blogs.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- name: MyString
- description: MyText
-
-two:
- name: MyString
- description: MyText
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/fixtures/comments.yml b/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/fixtures/comments.yml
deleted file mode 100644
index 01eef4d..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/fixtures/comments.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- content: MyText
- commentable_id:
- commentable_type: Commentable
-
-two:
- content: MyText
- commentable_id:
- commentable_type: Commentable
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/fixtures/messages.yml b/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/fixtures/messages.yml
deleted file mode 100644
index 5496958..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/fixtures/messages.yml
+++ /dev/null
@@ -1,13 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- author: MyString
- message: MyText
- post_id:
- user_id:
-
-two:
- author: MyString
- message: MyText
- post_id:
- user_id:
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/fixtures/owners.yml b/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/fixtures/owners.yml
deleted file mode 100644
index 99a91f2..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/fixtures/owners.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- user_id:
- blog_id:
-
-two:
- user_id:
- blog_id:
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/fixtures/posts.yml b/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/fixtures/posts.yml
deleted file mode 100644
index de7c3d7..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/fixtures/posts.yml
+++ /dev/null
@@ -1,13 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- title: MyString
- content: MyText
- user_id:
- blog_id:
-
-two:
- title: MyString
- content: MyText
- user_id:
- blog_id:
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/fixtures/users.yml b/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/fixtures/users.yml
deleted file mode 100644
index f49e8d5..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/fixtures/users.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- first_name: MyString
- last_name: MyString
- email_address: MyString
-
-two:
- first_name: MyString
- last_name: MyString
- email_address: MyString
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/helpers/.keep b/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/integration/.keep b/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/mailers/.keep b/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/models/.keep b/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/models/blog_test.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/models/blog_test.rb
deleted file mode 100644
index 5038377..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/models/blog_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class BlogTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/models/message_test.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/models/message_test.rb
deleted file mode 100644
index 11e5db0..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/models/message_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class MessageTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/models/owner_test.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/models/owner_test.rb
deleted file mode 100644
index d857cee..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/models/owner_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class OwnerTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/models/post_test.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/models/post_test.rb
deleted file mode 100644
index 6d9d463..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/models/post_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class PostTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/models/user_test.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/models/user_test.rb
deleted file mode 100644
index 82f61e0..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/models/user_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class UserTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/test_helper.rb b/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/vendor/assets/javascripts/.keep b/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/vendor/assets/stylesheets/.keep b/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/.gitignore b/Tamisha_Damas/Rails/Models /dojo_ninja/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/Gemfile b/Tamisha_Damas/Rails/Models /dojo_ninja/Gemfile
deleted file mode 100644
index 7ef2c56..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/Gemfile
+++ /dev/null
@@ -1,46 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-gem 'hirb'
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/Gemfile.lock b/Tamisha_Damas/Rails/Models /dojo_ninja/Gemfile.lock
deleted file mode 100644
index b07f42d..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/Gemfile.lock
+++ /dev/null
@@ -1,173 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.2)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.2)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.0)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.8.6)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.6.6)
- mime-types (>= 1.16, < 4)
- mime-types (3.1)
- mime-types-data (~> 3.2015)
- mime-types-data (3.2016.0521)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.1.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.2)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.6)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.3)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.15.4
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/README.rdoc b/Tamisha_Damas/Rails/Models /dojo_ninja/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/Rakefile b/Tamisha_Damas/Rails/Models /dojo_ninja/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/app/assets/images/.keep b/Tamisha_Damas/Rails/Models /dojo_ninja/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/app/assets/javascripts/application.js b/Tamisha_Damas/Rails/Models /dojo_ninja/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/app/assets/stylesheets/application.css b/Tamisha_Damas/Rails/Models /dojo_ninja/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/app/controllers/application_controller.rb b/Tamisha_Damas/Rails/Models /dojo_ninja/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/app/controllers/concerns/.keep b/Tamisha_Damas/Rails/Models /dojo_ninja/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/app/helpers/application_helper.rb b/Tamisha_Damas/Rails/Models /dojo_ninja/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/app/mailers/.keep b/Tamisha_Damas/Rails/Models /dojo_ninja/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/app/models/.keep b/Tamisha_Damas/Rails/Models /dojo_ninja/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/app/models/concerns/.keep b/Tamisha_Damas/Rails/Models /dojo_ninja/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/app/models/dojo.rb b/Tamisha_Damas/Rails/Models /dojo_ninja/app/models/dojo.rb
deleted file mode 100644
index af72807..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/app/models/dojo.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-class Dojo < ActiveRecord::Base
- has_many :ninjas, dependent: :destroy
- validates :name, :city, :state, presence: true
- validates :state, length: { is: 2 }
-end
-
-# 8. How would you only retrieve the first_name of the ninja that belongs to the second dojo and order the result by created_at DESC order?
-# Ninja.where(dojo: Dojo.second).select(:id, :first_name).order(created_at: :desc)
-
-# 7. Make sure you understand how to get all of the ninjas for any dojo (e.g. get all the ninjas for the first dojo, second dojo, etc)
-# Dojo.first.ninjas
-# Dojo.second.ninjas
-# Dojo.third.ninjas
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/app/models/ninja.rb b/Tamisha_Damas/Rails/Models /dojo_ninja/app/models/ninja.rb
deleted file mode 100644
index 93e430c..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/app/models/ninja.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-class Ninja < ActiveRecord::Base
- belongs_to :dojo
- validates :first_name, :last_name, presence: true
-end
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/app/views/layouts/application.html.erb b/Tamisha_Damas/Rails/Models /dojo_ninja/app/views/layouts/application.html.erb
deleted file mode 100644
index b995da6..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- DojoNinja
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/bin/bundle b/Tamisha_Damas/Rails/Models /dojo_ninja/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/bin/rails b/Tamisha_Damas/Rails/Models /dojo_ninja/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/bin/rake b/Tamisha_Damas/Rails/Models /dojo_ninja/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/bin/setup b/Tamisha_Damas/Rails/Models /dojo_ninja/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/bin/spring b/Tamisha_Damas/Rails/Models /dojo_ninja/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/config.ru b/Tamisha_Damas/Rails/Models /dojo_ninja/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/config/application.rb b/Tamisha_Damas/Rails/Models /dojo_ninja/config/application.rb
deleted file mode 100644
index 6cd6120..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module DojoNinja
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/config/boot.rb b/Tamisha_Damas/Rails/Models /dojo_ninja/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/config/database.yml b/Tamisha_Damas/Rails/Models /dojo_ninja/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/config/environment.rb b/Tamisha_Damas/Rails/Models /dojo_ninja/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/config/environments/development.rb b/Tamisha_Damas/Rails/Models /dojo_ninja/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/config/environments/production.rb b/Tamisha_Damas/Rails/Models /dojo_ninja/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/config/environments/test.rb b/Tamisha_Damas/Rails/Models /dojo_ninja/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/config/initializers/assets.rb b/Tamisha_Damas/Rails/Models /dojo_ninja/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/config/initializers/backtrace_silencers.rb b/Tamisha_Damas/Rails/Models /dojo_ninja/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/config/initializers/cookies_serializer.rb b/Tamisha_Damas/Rails/Models /dojo_ninja/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/config/initializers/filter_parameter_logging.rb b/Tamisha_Damas/Rails/Models /dojo_ninja/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/config/initializers/inflections.rb b/Tamisha_Damas/Rails/Models /dojo_ninja/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/config/initializers/mime_types.rb b/Tamisha_Damas/Rails/Models /dojo_ninja/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/config/initializers/session_store.rb b/Tamisha_Damas/Rails/Models /dojo_ninja/config/initializers/session_store.rb
deleted file mode 100644
index 23eba5c..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_dojo_ninja_session'
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/config/initializers/wrap_parameters.rb b/Tamisha_Damas/Rails/Models /dojo_ninja/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/config/locales/en.yml b/Tamisha_Damas/Rails/Models /dojo_ninja/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/config/routes.rb b/Tamisha_Damas/Rails/Models /dojo_ninja/config/routes.rb
deleted file mode 100644
index 3f66539..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/config/secrets.yml b/Tamisha_Damas/Rails/Models /dojo_ninja/config/secrets.yml
deleted file mode 100644
index 369eead..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 59d34b177411700e7b55c75c2b24d23da1a225aa031c1b4e5bb51ce011ecf2cd0793e954b389eeb8aa0377f5b7d389e8802b33de41a5c3344bf016c4a61fa194
-
-test:
- secret_key_base: 0d9487ad4acd3c25fdf4992efad35b6841ff3745bfad77da4020239ef3f94e5d29176ccc1f0c53040ad0c34ae25f4de0b56e14955793e4aa8c320f1aa256d927
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/db/migrate/20171009015736_create_dojos.rb b/Tamisha_Damas/Rails/Models /dojo_ninja/db/migrate/20171009015736_create_dojos.rb
deleted file mode 100644
index ece0705..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/db/migrate/20171009015736_create_dojos.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreateDojos < ActiveRecord::Migration
- def change
- create_table :dojos do |t|
- t.string :name
- t.string :city
- t.string :state
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/db/migrate/20171009130935_create_ninjas.rb b/Tamisha_Damas/Rails/Models /dojo_ninja/db/migrate/20171009130935_create_ninjas.rb
deleted file mode 100644
index 8334127..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/db/migrate/20171009130935_create_ninjas.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreateNinjas < ActiveRecord::Migration
- def change
- create_table :ninjas do |t|
- t.string :first_name
- t.string :last_name
- t.references :dojo, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/db/schema.rb b/Tamisha_Damas/Rails/Models /dojo_ninja/db/schema.rb
deleted file mode 100644
index 7a48a81..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/db/schema.rb
+++ /dev/null
@@ -1,34 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171009130935) do
-
- create_table "dojos", force: :cascade do |t|
- t.string "name"
- t.string "city"
- t.string "state"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- create_table "ninjas", force: :cascade do |t|
- t.string "first_name"
- t.string "last_name"
- t.integer "dojo_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "ninjas", ["dojo_id"], name: "index_ninjas_on_dojo_id"
-
-end
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/db/seeds.rb b/Tamisha_Damas/Rails/Models /dojo_ninja/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/lib/assets/.keep b/Tamisha_Damas/Rails/Models /dojo_ninja/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/lib/tasks/.keep b/Tamisha_Damas/Rails/Models /dojo_ninja/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/log/.keep b/Tamisha_Damas/Rails/Models /dojo_ninja/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /dojo_ninja/public/404.html b/Tamisha_Damas/Rails/Models /dojo_ninja/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/Tamisha_Damas/Rails/Models /dojo_ninja/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/Tamisha_Damas/Rails/Models /optimize/public/favicon.ico b/Tamisha_Damas/Rails/Models /optimize/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /optimize/public/robots.txt b/Tamisha_Damas/Rails/Models /optimize/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/Tamisha_Damas/Rails/Models /optimize/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/Tamisha_Damas/Rails/Models /optimize/test/controllers/.keep b/Tamisha_Damas/Rails/Models /optimize/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /optimize/test/fixtures/.keep b/Tamisha_Damas/Rails/Models /optimize/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /optimize/test/fixtures/players.yml b/Tamisha_Damas/Rails/Models /optimize/test/fixtures/players.yml
deleted file mode 100644
index 56a4719..0000000
--- a/Tamisha_Damas/Rails/Models /optimize/test/fixtures/players.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- name: MyString
- team_id:
-
-two:
- name: MyString
- team_id:
diff --git a/Tamisha_Damas/Rails/Models /optimize/test/fixtures/teams.yml b/Tamisha_Damas/Rails/Models /optimize/test/fixtures/teams.yml
deleted file mode 100644
index d9c869d..0000000
--- a/Tamisha_Damas/Rails/Models /optimize/test/fixtures/teams.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- name: MyString
- mascot: MyString
- stadium: MyString
-
-two:
- name: MyString
- mascot: MyString
- stadium: MyString
diff --git a/Tamisha_Damas/Rails/Models /optimize/test/helpers/.keep b/Tamisha_Damas/Rails/Models /optimize/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /optimize/test/integration/.keep b/Tamisha_Damas/Rails/Models /optimize/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /optimize/test/mailers/.keep b/Tamisha_Damas/Rails/Models /optimize/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /optimize/test/models/.keep b/Tamisha_Damas/Rails/Models /optimize/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /optimize/test/models/player_test.rb b/Tamisha_Damas/Rails/Models /optimize/test/models/player_test.rb
deleted file mode 100644
index 3cf71d7..0000000
--- a/Tamisha_Damas/Rails/Models /optimize/test/models/player_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class PlayerTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/Tamisha_Damas/Rails/Models /optimize/test/models/team_test.rb b/Tamisha_Damas/Rails/Models /optimize/test/models/team_test.rb
deleted file mode 100644
index 8b101cb..0000000
--- a/Tamisha_Damas/Rails/Models /optimize/test/models/team_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class TeamTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/Tamisha_Damas/Rails/Models /optimize/test/test_helper.rb b/Tamisha_Damas/Rails/Models /optimize/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/Tamisha_Damas/Rails/Models /optimize/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/Tamisha_Damas/Rails/Models /optimize/vendor/assets/javascripts/.keep b/Tamisha_Damas/Rails/Models /optimize/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /optimize/vendor/assets/stylesheets/.keep b/Tamisha_Damas/Rails/Models /optimize/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/.gitignore b/Tamisha_Damas/Rails/Models /user_login_project/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/Gemfile b/Tamisha_Damas/Rails/Models /user_login_project/Gemfile
deleted file mode 100644
index 7ef2c56..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/Gemfile
+++ /dev/null
@@ -1,46 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-gem 'hirb'
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/Gemfile.lock b/Tamisha_Damas/Rails/Models /user_login_project/Gemfile.lock
deleted file mode 100644
index b07f42d..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/Gemfile.lock
+++ /dev/null
@@ -1,173 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.2)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.2)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.0)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.8.6)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.6.6)
- mime-types (>= 1.16, < 4)
- mime-types (3.1)
- mime-types-data (~> 3.2015)
- mime-types-data (3.2016.0521)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.1.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.2)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.6)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.3)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.15.4
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/README.rdoc b/Tamisha_Damas/Rails/Models /user_login_project/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/Rakefile b/Tamisha_Damas/Rails/Models /user_login_project/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/app/assets/images/.keep b/Tamisha_Damas/Rails/Models /user_login_project/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/app/assets/javascripts/application.js b/Tamisha_Damas/Rails/Models /user_login_project/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/app/assets/stylesheets/application.css b/Tamisha_Damas/Rails/Models /user_login_project/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/app/controllers/application_controller.rb b/Tamisha_Damas/Rails/Models /user_login_project/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/app/controllers/concerns/.keep b/Tamisha_Damas/Rails/Models /user_login_project/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/app/helpers/application_helper.rb b/Tamisha_Damas/Rails/Models /user_login_project/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/app/mailers/.keep b/Tamisha_Damas/Rails/Models /user_login_project/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/app/models/.keep b/Tamisha_Damas/Rails/Models /user_login_project/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/app/models/concerns/.keep b/Tamisha_Damas/Rails/Models /user_login_project/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/app/models/user.rb b/Tamisha_Damas/Rails/Models /user_login_project/app/models/user.rb
deleted file mode 100644
index 790b930..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/app/models/user.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-class User < ActiveRecord::Base
- EMAIL_REGEX = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]+)\z/i
- validates :first_name, :last_name, :age, :email_address, presence: true
- validates :first_name, :last_name, length: { minimum: 2}
- validates :age, numericality: { greater_than_or_equal_to: 10, less_than: 150 }
-end
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/app/views/layouts/application.html.erb b/Tamisha_Damas/Rails/Models /user_login_project/app/views/layouts/application.html.erb
deleted file mode 100644
index 03b8954..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- UserLoginProject
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/bin/bundle b/Tamisha_Damas/Rails/Models /user_login_project/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/bin/rails b/Tamisha_Damas/Rails/Models /user_login_project/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/bin/rake b/Tamisha_Damas/Rails/Models /user_login_project/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/bin/setup b/Tamisha_Damas/Rails/Models /user_login_project/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/bin/spring b/Tamisha_Damas/Rails/Models /user_login_project/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/config.ru b/Tamisha_Damas/Rails/Models /user_login_project/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/config/application.rb b/Tamisha_Damas/Rails/Models /user_login_project/config/application.rb
deleted file mode 100644
index 49c5e84..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module UserLoginProject
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/config/boot.rb b/Tamisha_Damas/Rails/Models /user_login_project/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/config/database.yml b/Tamisha_Damas/Rails/Models /user_login_project/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/config/environment.rb b/Tamisha_Damas/Rails/Models /user_login_project/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/config/environments/development.rb b/Tamisha_Damas/Rails/Models /user_login_project/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/config/environments/production.rb b/Tamisha_Damas/Rails/Models /user_login_project/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/config/environments/test.rb b/Tamisha_Damas/Rails/Models /user_login_project/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/config/initializers/assets.rb b/Tamisha_Damas/Rails/Models /user_login_project/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/config/initializers/backtrace_silencers.rb b/Tamisha_Damas/Rails/Models /user_login_project/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/config/initializers/cookies_serializer.rb b/Tamisha_Damas/Rails/Models /user_login_project/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/config/initializers/filter_parameter_logging.rb b/Tamisha_Damas/Rails/Models /user_login_project/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/config/initializers/inflections.rb b/Tamisha_Damas/Rails/Models /user_login_project/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/config/initializers/mime_types.rb b/Tamisha_Damas/Rails/Models /user_login_project/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/config/initializers/session_store.rb b/Tamisha_Damas/Rails/Models /user_login_project/config/initializers/session_store.rb
deleted file mode 100644
index d692eec..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_user_login_project_session'
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/config/initializers/wrap_parameters.rb b/Tamisha_Damas/Rails/Models /user_login_project/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/config/locales/en.yml b/Tamisha_Damas/Rails/Models /user_login_project/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/config/routes.rb b/Tamisha_Damas/Rails/Models /user_login_project/config/routes.rb
deleted file mode 100644
index 3f66539..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/config/secrets.yml b/Tamisha_Damas/Rails/Models /user_login_project/config/secrets.yml
deleted file mode 100644
index 31c1a04..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 6c462b1db8f6b3f303edd1758fa04f72cd770bec91b582da3758eebd00fc67c371242de03eefbebc8760860f2b376506bac7e4c0617ee89a8e20964929095728
-
-test:
- secret_key_base: 96c7cf59da978badd8fb42ebdfd7deeb489505bab5ca49f679c121ac7b5fa8a461bed6f51ed2e906fae9c54c43d36d3f637b3f473ea2a1949437d77bf830f6f5
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/db/migrate/20171008003509_create_users.rb b/Tamisha_Damas/Rails/Models /user_login_project/db/migrate/20171008003509_create_users.rb
deleted file mode 100644
index 349b478..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/db/migrate/20171008003509_create_users.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-class CreateUsers < ActiveRecord::Migration
- def change
- create_table :users do |t|
- t.string :first_name
- t.string :last_name
- t.string :email_address
- t.integer :age
-
- t.timestamps null: false
- end
- end
-end
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/db/schema.rb b/Tamisha_Damas/Rails/Models /user_login_project/db/schema.rb
deleted file mode 100644
index 9d2d23a..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/db/schema.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171008003509) do
-
- create_table "users", force: :cascade do |t|
- t.string "first_name"
- t.string "last_name"
- t.string "email_address"
- t.integer "age"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/db/seeds.rb b/Tamisha_Damas/Rails/Models /user_login_project/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/lib/assets/.keep b/Tamisha_Damas/Rails/Models /user_login_project/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/lib/tasks/.keep b/Tamisha_Damas/Rails/Models /user_login_project/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/log/.keep b/Tamisha_Damas/Rails/Models /user_login_project/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/Tamisha_Damas/Rails/Models /user_login_project/public/404.html b/Tamisha_Damas/Rails/Models /user_login_project/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/Tamisha_Damas/Rails/Models /user_login_project/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/brittney_jackson/rails/bpm/public/favicon.ico b/brittney_jackson/rails/bpm/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/bpm/public/robots.txt b/brittney_jackson/rails/bpm/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/brittney_jackson/rails/bpm/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/brittney_jackson/rails/bpm/test/controllers/.keep b/brittney_jackson/rails/bpm/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/bpm/test/fixtures/.keep b/brittney_jackson/rails/bpm/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/bpm/test/fixtures/blogs.yml b/brittney_jackson/rails/bpm/test/fixtures/blogs.yml
deleted file mode 100644
index 2ff75a8..0000000
--- a/brittney_jackson/rails/bpm/test/fixtures/blogs.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- name: MyString
- description: MyText
-
-two:
- name: MyString
- description: MyText
diff --git a/brittney_jackson/rails/bpm/test/fixtures/messages.yml b/brittney_jackson/rails/bpm/test/fixtures/messages.yml
deleted file mode 100644
index e3c84c8..0000000
--- a/brittney_jackson/rails/bpm/test/fixtures/messages.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- author: MyString
- message: MyText
- post_id:
-
-two:
- author: MyString
- message: MyText
- post_id:
diff --git a/brittney_jackson/rails/bpm/test/fixtures/posts.yml b/brittney_jackson/rails/bpm/test/fixtures/posts.yml
deleted file mode 100644
index dcc822e..0000000
--- a/brittney_jackson/rails/bpm/test/fixtures/posts.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- title: MyString
- content: MyText
- blog_id:
-
-two:
- title: MyString
- content: MyText
- blog_id:
diff --git a/brittney_jackson/rails/bpm/test/helpers/.keep b/brittney_jackson/rails/bpm/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/bpm/test/integration/.keep b/brittney_jackson/rails/bpm/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/bpm/test/mailers/.keep b/brittney_jackson/rails/bpm/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/bpm/test/models/.keep b/brittney_jackson/rails/bpm/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/bpm/test/models/blog_test.rb b/brittney_jackson/rails/bpm/test/models/blog_test.rb
deleted file mode 100644
index 5038377..0000000
--- a/brittney_jackson/rails/bpm/test/models/blog_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class BlogTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/brittney_jackson/rails/bpm/test/models/message_test.rb b/brittney_jackson/rails/bpm/test/models/message_test.rb
deleted file mode 100644
index 11e5db0..0000000
--- a/brittney_jackson/rails/bpm/test/models/message_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class MessageTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/brittney_jackson/rails/bpm/test/models/post_test.rb b/brittney_jackson/rails/bpm/test/models/post_test.rb
deleted file mode 100644
index 6d9d463..0000000
--- a/brittney_jackson/rails/bpm/test/models/post_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class PostTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/brittney_jackson/rails/bpm/test/test_helper.rb b/brittney_jackson/rails/bpm/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/brittney_jackson/rails/bpm/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/brittney_jackson/rails/bpm/vendor/assets/javascripts/.keep b/brittney_jackson/rails/bpm/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/bpm/vendor/assets/stylesheets/.keep b/brittney_jackson/rails/bpm/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/dojoNinjacommands.rb b/brittney_jackson/rails/dojoNinjacommands.rb
deleted file mode 100644
index 4a61d0a..0000000
--- a/brittney_jackson/rails/dojoNinjacommands.rb
+++ /dev/null
@@ -1,86 +0,0 @@
-# 1. Start a new project (the name of the project should be 'dojo_ninjas')
-rails new dojo_ninjas
-
-# 2. Create appropriate tables/models.
-rails g model Dojo name:string city:string state:string
-rails g model Ninja first_name:string last_name:string dojo:references
-rake db:migrate
-
-# 3. Using Ruby console:
-# 3.1 Create 3 dojos (insert some blank entries just to make sure it's allowing you to insert empty entries)
-Dojo.create(name: "CodingDojo Silicon Valley", city: "Mountain View", state: "CA")
-Dojo.create(name: "CodingDojo Seattle", city: "Seattle", state: "WA")
-Dojo.create(name: "CodingDojo New York", city: "New York", state: "NY")
-Dojo.create(name: "CodingDojo Los Angeles", state: "CA")
-
-# 4. Change your models so that it does the following validations:
-class Dojo < ActiveRecord::Base
- # 5. Make sure that a dojo has many ninjas
- has_many :ninjas
- # 4.1 require the presence of the name, city, and state; also require the state to be two characters long
- validates :name, :city, :state, presence: true
- validates :state, length: { is: 2 }
-end
-
-class Ninja < ActiveRecord::Base
- # 5. Make sure that a ninja belongs to a dojo
- belongs_to :dojo
- # 4.2 require the presence of the first name and last name
- validates :first_name, :last_name, presence: true
-end
-
-# 6. Using ruby console
-# 6.1 Delete the three dojos you created
-Dojo.destroy_all
-
-# 6.2 Create 3 additional dojos by using Dojo.new.
-dojo1 = Dojo.new(name: "CodingDojo Seattle", city: "Seattle", state: "WA")
-dojo1.save
-dojo2 = Dojo.new(name: "CodingDojo Silicon Valley", city: "Mountain View", state: "CA")
-dojo2.save
-dojo3 = Dojo.new(name: "CodingDojo New York", city: "New York", state: "NY")
-dojo3.save
-
-# 6.3 Try to create a few more dojos but without specifying some of the required fields. Make sure that the validation works and generates the errors.
-dojo = Dojo.new(name: "CodingDojo Los Angeles", city: "Los Angeles")
-dojo.save
-dojo.errors.full_messages # => ["State can't be blank", "State is the wrong length (should be 2 characters)"]
-
-dojo = Dojo.new(name: "CodingDojo Los Angeles", state: "CA")
-dojo.save
-dojo.errors.full_messages # => ["City can't be blank"]
-
-dojo = Dojo.new(city: "Los Angeles", state: "CA")
-dojo.save
-dojo.errors.full_messages # => ["Name can't be blank"]
-
-# 6.4 Create 3 ninjas that belong to the first dojo you created.
-Dojo.first.ninjas.create(first_name: "John", last_name: "Doe")
-Dojo.first.ninjas.create(first_name: "Jane", last_name: "Doe")
-Dojo.first.ninjas.create(first_name: "Jennifer", last_name: "Doe")
-
-# 6.5 Create 3 more ninjas and have them belong to the second dojo you created.
-Dojo.second.ninjas.create(first_name: "Michael", last_name: "Smith")
-Dojo.second.ninjas.create(first_name: "Michelle", last_name: "Smith")
-Dojo.second.ninjas.create(first_name: "Mitchell", last_name: "Smith")
-
-# 6.6 Create 3 more ninjas and have them belong to the second dojo you created.
-Dojo.third.ninjas.create(first_name: "Kevin", last_name: "Johnson")
-Dojo.third.ninjas.create(first_name: "Kyle", last_name: "Johnson")
-Dojo.third.ninjas.create(first_name: "Kurt", last_name: "Johnson")
-
-# 7. Make sure you understand how to get all of the ninjas for any dojo (e.g. get all the ninjas for the first dojo, second dojo, etc)
-Dojo.first.ninjas
-Dojo.second.ninjas
-Dojo.third.ninjas
-
-# 8. How would you only retrieve the first_name of the ninja that belongs to the second dojo and order the result by created_at DESC order?
-Ninja.where(dojo: Dojo.second).select(:id, :first_name).order(created_at: :desc)
-
-# 9. Delete the second dojo. How could you adjust your model so that it automatically removes all of the ninjas associated with that dojo?
-class Dojo < ActiveRecord::Base
- # add dependent: :destroy
- has_many :ninjas, dependent: :destroy
- validates :name, :city, :state, presence: true
- validates :state, length: { is: 2 }
-end
\ No newline at end of file
diff --git a/brittney_jackson/rails/dojo_ninjas/.gitignore b/brittney_jackson/rails/dojo_ninjas/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/brittney_jackson/rails/dojo_ninjas/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/brittney_jackson/rails/dojo_ninjas/Gemfile b/brittney_jackson/rails/dojo_ninjas/Gemfile
deleted file mode 100644
index 0ee61bd..0000000
--- a/brittney_jackson/rails/dojo_ninjas/Gemfile
+++ /dev/null
@@ -1,48 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
-gem 'hirb'
diff --git a/brittney_jackson/rails/dojo_ninjas/Gemfile.lock b/brittney_jackson/rails/dojo_ninjas/Gemfile.lock
deleted file mode 100644
index c2e340f..0000000
--- a/brittney_jackson/rails/dojo_ninjas/Gemfile.lock
+++ /dev/null
@@ -1,174 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- bcrypt (3.1.11)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- bcrypt (~> 3.1.7)
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/brittney_jackson/rails/dojo_ninjas/README.rdoc b/brittney_jackson/rails/dojo_ninjas/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/brittney_jackson/rails/dojo_ninjas/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/brittney_jackson/rails/dojo_ninjas/Rakefile b/brittney_jackson/rails/dojo_ninjas/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/brittney_jackson/rails/dojo_ninjas/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/brittney_jackson/rails/dojo_ninjas/app/assets/images/.keep b/brittney_jackson/rails/dojo_ninjas/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/dojo_ninjas/app/assets/javascripts/application.js b/brittney_jackson/rails/dojo_ninjas/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/brittney_jackson/rails/dojo_ninjas/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/brittney_jackson/rails/dojo_ninjas/app/assets/stylesheets/application.css b/brittney_jackson/rails/dojo_ninjas/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/brittney_jackson/rails/dojo_ninjas/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/brittney_jackson/rails/dojo_ninjas/app/controllers/application_controller.rb b/brittney_jackson/rails/dojo_ninjas/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/brittney_jackson/rails/dojo_ninjas/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/brittney_jackson/rails/dojo_ninjas/app/controllers/concerns/.keep b/brittney_jackson/rails/dojo_ninjas/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/dojo_ninjas/app/helpers/application_helper.rb b/brittney_jackson/rails/dojo_ninjas/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/brittney_jackson/rails/dojo_ninjas/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/brittney_jackson/rails/dojo_ninjas/app/mailers/.keep b/brittney_jackson/rails/dojo_ninjas/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/dojo_ninjas/app/models/.keep b/brittney_jackson/rails/dojo_ninjas/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/dojo_ninjas/app/models/concerns/.keep b/brittney_jackson/rails/dojo_ninjas/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/dojo_ninjas/app/models/dojo.rb b/brittney_jackson/rails/dojo_ninjas/app/models/dojo.rb
deleted file mode 100644
index d8ad7ed..0000000
--- a/brittney_jackson/rails/dojo_ninjas/app/models/dojo.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-class Dojo < ActiveRecord::Base
- has_many :ninjas
-
- #validations
- validates :name, :city, presence: true
- validates :state, presence: true, length: { is: 2 }
-end
diff --git a/brittney_jackson/rails/dojo_ninjas/app/models/ninja.rb b/brittney_jackson/rails/dojo_ninjas/app/models/ninja.rb
deleted file mode 100644
index 5d7952c..0000000
--- a/brittney_jackson/rails/dojo_ninjas/app/models/ninja.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-class Ninja < ActiveRecord::Base
- belongs_to :dojo
-
- #validations
- validates :firstname, :lastname, presence: true
-end
diff --git a/brittney_jackson/rails/dojo_ninjas/app/views/layouts/application.html.erb b/brittney_jackson/rails/dojo_ninjas/app/views/layouts/application.html.erb
deleted file mode 100644
index 40d7e51..0000000
--- a/brittney_jackson/rails/dojo_ninjas/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- DojoNinjas
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/brittney_jackson/rails/dojo_ninjas/bin/bundle b/brittney_jackson/rails/dojo_ninjas/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/brittney_jackson/rails/dojo_ninjas/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/brittney_jackson/rails/dojo_ninjas/bin/rails b/brittney_jackson/rails/dojo_ninjas/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/brittney_jackson/rails/dojo_ninjas/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/brittney_jackson/rails/dojo_ninjas/bin/rake b/brittney_jackson/rails/dojo_ninjas/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/brittney_jackson/rails/dojo_ninjas/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/brittney_jackson/rails/dojo_ninjas/bin/setup b/brittney_jackson/rails/dojo_ninjas/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/brittney_jackson/rails/dojo_ninjas/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/brittney_jackson/rails/dojo_ninjas/bin/spring b/brittney_jackson/rails/dojo_ninjas/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/brittney_jackson/rails/dojo_ninjas/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/brittney_jackson/rails/dojo_ninjas/config.ru b/brittney_jackson/rails/dojo_ninjas/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/brittney_jackson/rails/dojo_ninjas/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/brittney_jackson/rails/dojo_ninjas/config/application.rb b/brittney_jackson/rails/dojo_ninjas/config/application.rb
deleted file mode 100644
index 156a9d5..0000000
--- a/brittney_jackson/rails/dojo_ninjas/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module DojoNinjas
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/brittney_jackson/rails/dojo_ninjas/config/boot.rb b/brittney_jackson/rails/dojo_ninjas/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/brittney_jackson/rails/dojo_ninjas/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/brittney_jackson/rails/dojo_ninjas/config/database.yml b/brittney_jackson/rails/dojo_ninjas/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/brittney_jackson/rails/dojo_ninjas/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/brittney_jackson/rails/dojo_ninjas/config/environment.rb b/brittney_jackson/rails/dojo_ninjas/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/brittney_jackson/rails/dojo_ninjas/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/brittney_jackson/rails/dojo_ninjas/config/environments/development.rb b/brittney_jackson/rails/dojo_ninjas/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/brittney_jackson/rails/dojo_ninjas/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/brittney_jackson/rails/dojo_ninjas/config/environments/production.rb b/brittney_jackson/rails/dojo_ninjas/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/brittney_jackson/rails/dojo_ninjas/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/brittney_jackson/rails/dojo_ninjas/config/environments/test.rb b/brittney_jackson/rails/dojo_ninjas/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/brittney_jackson/rails/dojo_ninjas/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/brittney_jackson/rails/dojo_ninjas/config/initializers/assets.rb b/brittney_jackson/rails/dojo_ninjas/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/brittney_jackson/rails/dojo_ninjas/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/brittney_jackson/rails/dojo_ninjas/config/initializers/backtrace_silencers.rb b/brittney_jackson/rails/dojo_ninjas/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/brittney_jackson/rails/dojo_ninjas/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/brittney_jackson/rails/dojo_ninjas/config/initializers/cookies_serializer.rb b/brittney_jackson/rails/dojo_ninjas/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/brittney_jackson/rails/dojo_ninjas/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/brittney_jackson/rails/dojo_ninjas/config/initializers/filter_parameter_logging.rb b/brittney_jackson/rails/dojo_ninjas/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/brittney_jackson/rails/dojo_ninjas/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/brittney_jackson/rails/dojo_ninjas/config/initializers/inflections.rb b/brittney_jackson/rails/dojo_ninjas/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/brittney_jackson/rails/dojo_ninjas/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/brittney_jackson/rails/dojo_ninjas/config/initializers/mime_types.rb b/brittney_jackson/rails/dojo_ninjas/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/brittney_jackson/rails/dojo_ninjas/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/brittney_jackson/rails/dojo_ninjas/config/initializers/session_store.rb b/brittney_jackson/rails/dojo_ninjas/config/initializers/session_store.rb
deleted file mode 100644
index 313a66f..0000000
--- a/brittney_jackson/rails/dojo_ninjas/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_dojo_ninjas_session'
diff --git a/brittney_jackson/rails/dojo_ninjas/config/initializers/wrap_parameters.rb b/brittney_jackson/rails/dojo_ninjas/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/brittney_jackson/rails/dojo_ninjas/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/brittney_jackson/rails/dojo_ninjas/config/locales/en.yml b/brittney_jackson/rails/dojo_ninjas/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/brittney_jackson/rails/dojo_ninjas/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/brittney_jackson/rails/dojo_ninjas/config/routes.rb b/brittney_jackson/rails/dojo_ninjas/config/routes.rb
deleted file mode 100644
index 3f66539..0000000
--- a/brittney_jackson/rails/dojo_ninjas/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/brittney_jackson/rails/dojo_ninjas/config/secrets.yml b/brittney_jackson/rails/dojo_ninjas/config/secrets.yml
deleted file mode 100644
index d5a9c0c..0000000
--- a/brittney_jackson/rails/dojo_ninjas/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: e69e8af7e7c3afe7f025444751a69ae897782d0b4418773bfeb81f2cc144c63beb0d6c575ade346f29971472a1155276762afcd0ef7e1a29fd291df91cb23044
-
-test:
- secret_key_base: 17fac7f3554f6039a91bb256022189d9242c7100470082d76c0a351c8c34e04a9bdff3d694603c1be1a2e1670b483a053766c5b818067757247b9de60a339758
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/brittney_jackson/rails/dojo_ninjas/db/migrate/20171130163305_create_dojos.rb b/brittney_jackson/rails/dojo_ninjas/db/migrate/20171130163305_create_dojos.rb
deleted file mode 100644
index ece0705..0000000
--- a/brittney_jackson/rails/dojo_ninjas/db/migrate/20171130163305_create_dojos.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreateDojos < ActiveRecord::Migration
- def change
- create_table :dojos do |t|
- t.string :name
- t.string :city
- t.string :state
-
- t.timestamps null: false
- end
- end
-end
diff --git a/brittney_jackson/rails/dojo_ninjas/db/migrate/20171130163410_create_ninjas.rb b/brittney_jackson/rails/dojo_ninjas/db/migrate/20171130163410_create_ninjas.rb
deleted file mode 100644
index 6be70fc..0000000
--- a/brittney_jackson/rails/dojo_ninjas/db/migrate/20171130163410_create_ninjas.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreateNinjas < ActiveRecord::Migration
- def change
- create_table :ninjas do |t|
- t.string :firstname
- t.string :lastname
- t.references :dojo, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/brittney_jackson/rails/dojo_ninjas/db/schema.rb b/brittney_jackson/rails/dojo_ninjas/db/schema.rb
deleted file mode 100644
index fb4f65d..0000000
--- a/brittney_jackson/rails/dojo_ninjas/db/schema.rb
+++ /dev/null
@@ -1,34 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171130163410) do
-
- create_table "dojos", force: :cascade do |t|
- t.string "name"
- t.string "city"
- t.string "state"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- create_table "ninjas", force: :cascade do |t|
- t.string "firstname"
- t.string "lastname"
- t.integer "dojo_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "ninjas", ["dojo_id"], name: "index_ninjas_on_dojo_id"
-
-end
diff --git a/brittney_jackson/rails/dojo_ninjas/db/seeds.rb b/brittney_jackson/rails/dojo_ninjas/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/brittney_jackson/rails/dojo_ninjas/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/brittney_jackson/rails/dojo_ninjas/lib/assets/.keep b/brittney_jackson/rails/dojo_ninjas/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/dojo_ninjas/lib/tasks/.keep b/brittney_jackson/rails/dojo_ninjas/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/dojo_ninjas/log/.keep b/brittney_jackson/rails/dojo_ninjas/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/dojo_ninjas/public/404.html b/brittney_jackson/rails/dojo_ninjas/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/brittney_jackson/rails/dojo_ninjas/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/brittney_jackson/rails/dojo_ninjas/public/422.html b/brittney_jackson/rails/dojo_ninjas/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/brittney_jackson/rails/dojo_ninjas/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/brittney_jackson/rails/dojo_ninjas/public/favicon.ico b/brittney_jackson/rails/dojo_ninjas/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/dojo_ninjas/public/robots.txt b/brittney_jackson/rails/dojo_ninjas/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/brittney_jackson/rails/dojo_ninjas/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/brittney_jackson/rails/dojo_ninjas/test/controllers/.keep b/brittney_jackson/rails/dojo_ninjas/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/dojo_ninjas/test/fixtures/.keep b/brittney_jackson/rails/dojo_ninjas/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/dojo_ninjas/test/fixtures/dojos.yml b/brittney_jackson/rails/dojo_ninjas/test/fixtures/dojos.yml
deleted file mode 100644
index 07bb5b1..0000000
--- a/brittney_jackson/rails/dojo_ninjas/test/fixtures/dojos.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- name: MyString
- city: MyString
- state: MyString
-
-two:
- name: MyString
- city: MyString
- state: MyString
diff --git a/brittney_jackson/rails/dojo_ninjas/test/fixtures/ninjas.yml b/brittney_jackson/rails/dojo_ninjas/test/fixtures/ninjas.yml
deleted file mode 100644
index 1a59da8..0000000
--- a/brittney_jackson/rails/dojo_ninjas/test/fixtures/ninjas.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- firstname: MyString
- lastname: MyString
- dojo_id:
-
-two:
- firstname: MyString
- lastname: MyString
- dojo_id:
diff --git a/brittney_jackson/rails/dojo_ninjas/test/helpers/.keep b/brittney_jackson/rails/dojo_ninjas/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/dojo_ninjas/test/integration/.keep b/brittney_jackson/rails/dojo_ninjas/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/dojo_ninjas/test/mailers/.keep b/brittney_jackson/rails/dojo_ninjas/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/dojo_ninjas/test/models/.keep b/brittney_jackson/rails/dojo_ninjas/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/dojo_ninjas/test/models/dojo_test.rb b/brittney_jackson/rails/dojo_ninjas/test/models/dojo_test.rb
deleted file mode 100644
index a078f30..0000000
--- a/brittney_jackson/rails/dojo_ninjas/test/models/dojo_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class DojoTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/brittney_jackson/rails/dojo_ninjas/test/models/ninja_test.rb b/brittney_jackson/rails/dojo_ninjas/test/models/ninja_test.rb
deleted file mode 100644
index d21c152..0000000
--- a/brittney_jackson/rails/dojo_ninjas/test/models/ninja_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class NinjaTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/brittney_jackson/rails/dojo_ninjas/test/test_helper.rb b/brittney_jackson/rails/dojo_ninjas/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/brittney_jackson/rails/dojo_ninjas/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/brittney_jackson/rails/dojo_ninjas/vendor/assets/javascripts/.keep b/brittney_jackson/rails/dojo_ninjas/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/dojo_ninjas/vendor/assets/stylesheets/.keep b/brittney_jackson/rails/dojo_ninjas/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/integrateModels/.gitignore b/brittney_jackson/rails/integrateModels/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/brittney_jackson/rails/integrateModels/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/brittney_jackson/rails/integrateModels/Gemfile b/brittney_jackson/rails/integrateModels/Gemfile
deleted file mode 100644
index 53b91be..0000000
--- a/brittney_jackson/rails/integrateModels/Gemfile
+++ /dev/null
@@ -1,48 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-gem 'hirb'
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
diff --git a/brittney_jackson/rails/integrateModels/Gemfile.lock b/brittney_jackson/rails/integrateModels/Gemfile.lock
deleted file mode 100644
index be50182..0000000
--- a/brittney_jackson/rails/integrateModels/Gemfile.lock
+++ /dev/null
@@ -1,172 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (4.0.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/brittney_jackson/rails/integrateModels/README.rdoc b/brittney_jackson/rails/integrateModels/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/brittney_jackson/rails/integrateModels/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/brittney_jackson/rails/integrateModels/Rakefile b/brittney_jackson/rails/integrateModels/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/brittney_jackson/rails/integrateModels/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/brittney_jackson/rails/integrateModels/app/assets/images/.keep b/brittney_jackson/rails/integrateModels/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/integrateModels/app/assets/javascripts/application.js b/brittney_jackson/rails/integrateModels/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/brittney_jackson/rails/integrateModels/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/brittney_jackson/rails/integrateModels/app/assets/stylesheets/application.css b/brittney_jackson/rails/integrateModels/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/brittney_jackson/rails/integrateModels/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/brittney_jackson/rails/integrateModels/app/controllers/application_controller.rb b/brittney_jackson/rails/integrateModels/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/brittney_jackson/rails/integrateModels/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/brittney_jackson/rails/integrateModels/app/controllers/concerns/.keep b/brittney_jackson/rails/integrateModels/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/integrateModels/app/controllers/users_controller.rb b/brittney_jackson/rails/integrateModels/app/controllers/users_controller.rb
deleted file mode 100644
index f3bd519..0000000
--- a/brittney_jackson/rails/integrateModels/app/controllers/users_controller.rb
+++ /dev/null
@@ -1,47 +0,0 @@
-class UsersController < ApplicationController
-
- def index
- render json: User.all
- end
-
- def new
- return render 'new.html.erb'
- end
-
- def create
- @user=User.create(user_params)
- return redirect_to '/users'
- end
-
- def info
- render json: User.find(params[:id])
- end
-
- def edituser
- @name = User.find(params[:id]).name
- session[:id] = params[:id]
- return render 'edit.html.erb'
- end
-
- def edit
- @user= User.find(session[:id]).update(user_params)
- return redirect_to '/users'
- end
-
- def total
- @count = User.all.count
- puts @count
- render text: "There are #{@count} total users!"
- end
-
-
- private
- def user_params
- params.require(:user).permit(:name)
- end
-
-
-
-
-
-end
diff --git a/brittney_jackson/rails/integrateModels/app/helpers/application_helper.rb b/brittney_jackson/rails/integrateModels/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/brittney_jackson/rails/integrateModels/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/brittney_jackson/rails/integrateModels/app/mailers/.keep b/brittney_jackson/rails/integrateModels/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/integrateModels/app/models/.keep b/brittney_jackson/rails/integrateModels/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/integrateModels/app/models/concerns/.keep b/brittney_jackson/rails/integrateModels/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/integrateModels/app/models/user.rb b/brittney_jackson/rails/integrateModels/app/models/user.rb
deleted file mode 100644
index 4a57cf0..0000000
--- a/brittney_jackson/rails/integrateModels/app/models/user.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-class User < ActiveRecord::Base
-end
diff --git a/brittney_jackson/rails/integrateModels/app/views/layouts/application.html.erb b/brittney_jackson/rails/integrateModels/app/views/layouts/application.html.erb
deleted file mode 100644
index 7391c75..0000000
--- a/brittney_jackson/rails/integrateModels/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- IntegrateModels
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/brittney_jackson/rails/integrateModels/app/views/users/edit.html.erb b/brittney_jackson/rails/integrateModels/app/views/users/edit.html.erb
deleted file mode 100644
index e2960e0..0000000
--- a/brittney_jackson/rails/integrateModels/app/views/users/edit.html.erb
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
- Edit a User
-
-
-
-
-
-
\ No newline at end of file
diff --git a/brittney_jackson/rails/integrateModels/app/views/users/new.html.erb b/brittney_jackson/rails/integrateModels/app/views/users/new.html.erb
deleted file mode 100644
index b89c51e..0000000
--- a/brittney_jackson/rails/integrateModels/app/views/users/new.html.erb
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
- Add a User
-
-
-
-
-
-
\ No newline at end of file
diff --git a/brittney_jackson/rails/integrateModels/bin/bundle b/brittney_jackson/rails/integrateModels/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/brittney_jackson/rails/integrateModels/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/brittney_jackson/rails/integrateModels/bin/rails b/brittney_jackson/rails/integrateModels/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/brittney_jackson/rails/integrateModels/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/brittney_jackson/rails/integrateModels/bin/rake b/brittney_jackson/rails/integrateModels/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/brittney_jackson/rails/integrateModels/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/brittney_jackson/rails/integrateModels/bin/setup b/brittney_jackson/rails/integrateModels/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/brittney_jackson/rails/integrateModels/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/brittney_jackson/rails/integrateModels/bin/spring b/brittney_jackson/rails/integrateModels/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/brittney_jackson/rails/integrateModels/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/brittney_jackson/rails/integrateModels/config.ru b/brittney_jackson/rails/integrateModels/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/brittney_jackson/rails/integrateModels/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/brittney_jackson/rails/integrateModels/config/application.rb b/brittney_jackson/rails/integrateModels/config/application.rb
deleted file mode 100644
index fe089a8..0000000
--- a/brittney_jackson/rails/integrateModels/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module IntegrateModels
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/brittney_jackson/rails/integrateModels/config/boot.rb b/brittney_jackson/rails/integrateModels/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/brittney_jackson/rails/integrateModels/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/brittney_jackson/rails/integrateModels/config/database.yml b/brittney_jackson/rails/integrateModels/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/brittney_jackson/rails/integrateModels/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/brittney_jackson/rails/integrateModels/config/environment.rb b/brittney_jackson/rails/integrateModels/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/brittney_jackson/rails/integrateModels/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/brittney_jackson/rails/integrateModels/config/environments/development.rb b/brittney_jackson/rails/integrateModels/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/brittney_jackson/rails/integrateModels/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/brittney_jackson/rails/integrateModels/config/environments/production.rb b/brittney_jackson/rails/integrateModels/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/brittney_jackson/rails/integrateModels/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/brittney_jackson/rails/integrateModels/config/environments/test.rb b/brittney_jackson/rails/integrateModels/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/brittney_jackson/rails/integrateModels/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/brittney_jackson/rails/integrateModels/config/initializers/assets.rb b/brittney_jackson/rails/integrateModels/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/brittney_jackson/rails/integrateModels/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/brittney_jackson/rails/integrateModels/config/initializers/backtrace_silencers.rb b/brittney_jackson/rails/integrateModels/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/brittney_jackson/rails/integrateModels/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/brittney_jackson/rails/integrateModels/config/initializers/cookies_serializer.rb b/brittney_jackson/rails/integrateModels/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/brittney_jackson/rails/integrateModels/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/brittney_jackson/rails/integrateModels/config/initializers/filter_parameter_logging.rb b/brittney_jackson/rails/integrateModels/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/brittney_jackson/rails/integrateModels/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/brittney_jackson/rails/integrateModels/config/initializers/inflections.rb b/brittney_jackson/rails/integrateModels/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/brittney_jackson/rails/integrateModels/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/brittney_jackson/rails/integrateModels/config/initializers/mime_types.rb b/brittney_jackson/rails/integrateModels/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/brittney_jackson/rails/integrateModels/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/brittney_jackson/rails/integrateModels/config/initializers/session_store.rb b/brittney_jackson/rails/integrateModels/config/initializers/session_store.rb
deleted file mode 100644
index 4c1d4cb..0000000
--- a/brittney_jackson/rails/integrateModels/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_integrateModels_session'
diff --git a/brittney_jackson/rails/integrateModels/config/initializers/wrap_parameters.rb b/brittney_jackson/rails/integrateModels/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/brittney_jackson/rails/integrateModels/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/brittney_jackson/rails/integrateModels/config/locales/en.yml b/brittney_jackson/rails/integrateModels/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/brittney_jackson/rails/integrateModels/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/brittney_jackson/rails/integrateModels/config/routes.rb b/brittney_jackson/rails/integrateModels/config/routes.rb
deleted file mode 100644
index 7b38784..0000000
--- a/brittney_jackson/rails/integrateModels/config/routes.rb
+++ /dev/null
@@ -1,68 +0,0 @@
-Rails.application.routes.draw do
-
-
- get 'users' => 'users#index'
- get 'users/new' => 'users#new'
- post 'users/create' => 'users#create'
- get 'users/new(/:id)' => 'users#info'
- get 'users(/:id)/edit' => 'users#edituser'
- post 'users/edit' => 'users#edit'
- get 'users/total' => 'users#total'
-
-
-
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/brittney_jackson/rails/integrateModels/config/secrets.yml b/brittney_jackson/rails/integrateModels/config/secrets.yml
deleted file mode 100644
index 2411f92..0000000
--- a/brittney_jackson/rails/integrateModels/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: a30e18a7546f12e40b3d0ebc555c07fbfe85eb3eca19ce5a77f65d6d1dab983a47da6c524f624bf746dd86d24179343379b052a41b4ab0fdf9ecd06fe6775276
-
-test:
- secret_key_base: 7874ed7860c1b8c77ce68b7478bfa43853cce7d16a56754c748039079056bd7d624c0707d2c8db17a186a3f87a1ae913d96b00aa11eb69156690644a707dc4ea
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/brittney_jackson/rails/integrateModels/db/migrate/20171202213734_create_users.rb b/brittney_jackson/rails/integrateModels/db/migrate/20171202213734_create_users.rb
deleted file mode 100644
index 5494756..0000000
--- a/brittney_jackson/rails/integrateModels/db/migrate/20171202213734_create_users.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class CreateUsers < ActiveRecord::Migration
- def change
- create_table :users do |t|
- t.string :name
-
- t.timestamps null: false
- end
- end
-end
diff --git a/brittney_jackson/rails/integrateModels/db/schema.rb b/brittney_jackson/rails/integrateModels/db/schema.rb
deleted file mode 100644
index d789c9a..0000000
--- a/brittney_jackson/rails/integrateModels/db/schema.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171202213734) do
-
- create_table "users", force: :cascade do |t|
- t.string "name"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/brittney_jackson/rails/integrateModels/db/seeds.rb b/brittney_jackson/rails/integrateModels/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/brittney_jackson/rails/integrateModels/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/brittney_jackson/rails/integrateModels/lib/assets/.keep b/brittney_jackson/rails/integrateModels/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/integrateModels/lib/tasks/.keep b/brittney_jackson/rails/integrateModels/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/integrateModels/log/.keep b/brittney_jackson/rails/integrateModels/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/integrateModels/public/404.html b/brittney_jackson/rails/integrateModels/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/brittney_jackson/rails/integrateModels/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/brittney_jackson/rails/integrateModels/public/422.html b/brittney_jackson/rails/integrateModels/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/brittney_jackson/rails/integrateModels/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/brittney_jackson/rails/integrateModels/public/favicon.ico b/brittney_jackson/rails/integrateModels/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/integrateModels/public/robots.txt b/brittney_jackson/rails/integrateModels/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/brittney_jackson/rails/integrateModels/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/brittney_jackson/rails/integrateModels/test/controllers/.keep b/brittney_jackson/rails/integrateModels/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/integrateModels/test/controllers/users_controller_test.rb b/brittney_jackson/rails/integrateModels/test/controllers/users_controller_test.rb
deleted file mode 100644
index d23f182..0000000
--- a/brittney_jackson/rails/integrateModels/test/controllers/users_controller_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class UsersControllerTest < ActionController::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/brittney_jackson/rails/integrateModels/test/fixtures/.keep b/brittney_jackson/rails/integrateModels/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/integrateModels/test/fixtures/users.yml b/brittney_jackson/rails/integrateModels/test/fixtures/users.yml
deleted file mode 100644
index 56066c6..0000000
--- a/brittney_jackson/rails/integrateModels/test/fixtures/users.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- name: MyString
-
-two:
- name: MyString
diff --git a/brittney_jackson/rails/integrateModels/test/helpers/.keep b/brittney_jackson/rails/integrateModels/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/integrateModels/test/integration/.keep b/brittney_jackson/rails/integrateModels/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/integrateModels/test/mailers/.keep b/brittney_jackson/rails/integrateModels/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/integrateModels/test/models/.keep b/brittney_jackson/rails/integrateModels/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/integrateModels/test/models/user_test.rb b/brittney_jackson/rails/integrateModels/test/models/user_test.rb
deleted file mode 100644
index 82f61e0..0000000
--- a/brittney_jackson/rails/integrateModels/test/models/user_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class UserTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/brittney_jackson/rails/integrateModels/test/test_helper.rb b/brittney_jackson/rails/integrateModels/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/brittney_jackson/rails/integrateModels/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/brittney_jackson/rails/integrateModels/vendor/assets/javascripts/.keep b/brittney_jackson/rails/integrateModels/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/integrateModels/vendor/assets/stylesheets/.keep b/brittney_jackson/rails/integrateModels/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/optimize/.gitignore b/brittney_jackson/rails/optimize/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/brittney_jackson/rails/optimize/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/brittney_jackson/rails/optimize/Gemfile b/brittney_jackson/rails/optimize/Gemfile
deleted file mode 100644
index 353a4cf..0000000
--- a/brittney_jackson/rails/optimize/Gemfile
+++ /dev/null
@@ -1,50 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
-gem 'hirb'
-
-
diff --git a/brittney_jackson/rails/optimize/Gemfile.lock b/brittney_jackson/rails/optimize/Gemfile.lock
deleted file mode 100644
index 73114af..0000000
--- a/brittney_jackson/rails/optimize/Gemfile.lock
+++ /dev/null
@@ -1,172 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/brittney_jackson/rails/optimize/README.rdoc b/brittney_jackson/rails/optimize/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/brittney_jackson/rails/optimize/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/brittney_jackson/rails/optimize/Rakefile b/brittney_jackson/rails/optimize/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/brittney_jackson/rails/optimize/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/brittney_jackson/rails/optimize/app/assets/images/.keep b/brittney_jackson/rails/optimize/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/optimize/app/assets/javascripts/application.js b/brittney_jackson/rails/optimize/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/brittney_jackson/rails/optimize/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/brittney_jackson/rails/optimize/app/assets/stylesheets/application.css b/brittney_jackson/rails/optimize/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/brittney_jackson/rails/optimize/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/brittney_jackson/rails/optimize/app/controllers/application_controller.rb b/brittney_jackson/rails/optimize/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/brittney_jackson/rails/optimize/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/brittney_jackson/rails/optimize/app/controllers/concerns/.keep b/brittney_jackson/rails/optimize/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/optimize/app/helpers/application_helper.rb b/brittney_jackson/rails/optimize/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/brittney_jackson/rails/optimize/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/brittney_jackson/rails/optimize/app/mailers/.keep b/brittney_jackson/rails/optimize/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/optimize/app/models/.keep b/brittney_jackson/rails/optimize/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/optimize/app/models/concerns/.keep b/brittney_jackson/rails/optimize/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/optimize/app/models/player.rb b/brittney_jackson/rails/optimize/app/models/player.rb
deleted file mode 100644
index 2f4ba64..0000000
--- a/brittney_jackson/rails/optimize/app/models/player.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-class Player < ActiveRecord::Base
-
- belongs_to :team
-
-
-end
diff --git a/brittney_jackson/rails/optimize/app/models/team.rb b/brittney_jackson/rails/optimize/app/models/team.rb
deleted file mode 100644
index 4028526..0000000
--- a/brittney_jackson/rails/optimize/app/models/team.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class Team < ActiveRecord::Base
-
- has_many :players
-
-end
diff --git a/brittney_jackson/rails/optimize/app/views/layouts/application.html.erb b/brittney_jackson/rails/optimize/app/views/layouts/application.html.erb
deleted file mode 100644
index 7fc9d5f..0000000
--- a/brittney_jackson/rails/optimize/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- Optimize
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/brittney_jackson/rails/optimize/bin/bundle b/brittney_jackson/rails/optimize/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/brittney_jackson/rails/optimize/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/brittney_jackson/rails/optimize/bin/rails b/brittney_jackson/rails/optimize/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/brittney_jackson/rails/optimize/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/brittney_jackson/rails/optimize/bin/rake b/brittney_jackson/rails/optimize/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/brittney_jackson/rails/optimize/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/brittney_jackson/rails/optimize/bin/setup b/brittney_jackson/rails/optimize/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/brittney_jackson/rails/optimize/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/brittney_jackson/rails/optimize/bin/spring b/brittney_jackson/rails/optimize/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/brittney_jackson/rails/optimize/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/brittney_jackson/rails/optimize/config.ru b/brittney_jackson/rails/optimize/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/brittney_jackson/rails/optimize/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/brittney_jackson/rails/optimize/config/application.rb b/brittney_jackson/rails/optimize/config/application.rb
deleted file mode 100644
index 82f8fb1..0000000
--- a/brittney_jackson/rails/optimize/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module Optimize
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/brittney_jackson/rails/optimize/config/boot.rb b/brittney_jackson/rails/optimize/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/brittney_jackson/rails/optimize/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/brittney_jackson/rails/optimize/config/database.yml b/brittney_jackson/rails/optimize/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/brittney_jackson/rails/optimize/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/brittney_jackson/rails/optimize/config/environment.rb b/brittney_jackson/rails/optimize/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/brittney_jackson/rails/optimize/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/brittney_jackson/rails/optimize/config/environments/development.rb b/brittney_jackson/rails/optimize/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/brittney_jackson/rails/optimize/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/brittney_jackson/rails/optimize/config/environments/production.rb b/brittney_jackson/rails/optimize/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/brittney_jackson/rails/optimize/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/brittney_jackson/rails/optimize/config/environments/test.rb b/brittney_jackson/rails/optimize/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/brittney_jackson/rails/optimize/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/brittney_jackson/rails/optimize/config/initializers/assets.rb b/brittney_jackson/rails/optimize/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/brittney_jackson/rails/optimize/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/brittney_jackson/rails/optimize/config/initializers/backtrace_silencers.rb b/brittney_jackson/rails/optimize/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/brittney_jackson/rails/optimize/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/brittney_jackson/rails/optimize/config/initializers/cookies_serializer.rb b/brittney_jackson/rails/optimize/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/brittney_jackson/rails/optimize/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/brittney_jackson/rails/optimize/config/initializers/filter_parameter_logging.rb b/brittney_jackson/rails/optimize/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/brittney_jackson/rails/optimize/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/brittney_jackson/rails/optimize/config/initializers/inflections.rb b/brittney_jackson/rails/optimize/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/brittney_jackson/rails/optimize/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/brittney_jackson/rails/optimize/config/initializers/mime_types.rb b/brittney_jackson/rails/optimize/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/brittney_jackson/rails/optimize/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/brittney_jackson/rails/optimize/config/initializers/session_store.rb b/brittney_jackson/rails/optimize/config/initializers/session_store.rb
deleted file mode 100644
index 7e5d399..0000000
--- a/brittney_jackson/rails/optimize/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_optimize_session'
diff --git a/brittney_jackson/rails/optimize/config/initializers/wrap_parameters.rb b/brittney_jackson/rails/optimize/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/brittney_jackson/rails/optimize/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/brittney_jackson/rails/optimize/config/locales/en.yml b/brittney_jackson/rails/optimize/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/brittney_jackson/rails/optimize/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/brittney_jackson/rails/optimize/config/routes.rb b/brittney_jackson/rails/optimize/config/routes.rb
deleted file mode 100644
index 3f66539..0000000
--- a/brittney_jackson/rails/optimize/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/brittney_jackson/rails/optimize/config/secrets.yml b/brittney_jackson/rails/optimize/config/secrets.yml
deleted file mode 100644
index 8a25fbd..0000000
--- a/brittney_jackson/rails/optimize/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 7bafcf83e6300c9ff8079df9d3862825cc424054a67e3ea7ab507f39c9260da1fd50d4ab37d427469e7997d53733c20134e87439c169d822a14ddf936c7b91f0
-
-test:
- secret_key_base: 7eeb321983bac9bb6a8a90f4c4028166e6807cb0e027d57ca1baff4c01e2ef27f1814810b9d3bb328355f5eb2f2abdecbd7aec9c96881ba4673e010ea09d1c8d
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/brittney_jackson/rails/optimize/db/migrate/20171201021151_create_teams.rb b/brittney_jackson/rails/optimize/db/migrate/20171201021151_create_teams.rb
deleted file mode 100644
index 5f7137c..0000000
--- a/brittney_jackson/rails/optimize/db/migrate/20171201021151_create_teams.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreateTeams < ActiveRecord::Migration
- def change
- create_table :teams do |t|
- t.string :name
- t.string :mascot
- t.string :stadium
-
- t.timestamps null: false
- end
- end
-end
diff --git a/brittney_jackson/rails/optimize/db/migrate/20171201021205_create_players.rb b/brittney_jackson/rails/optimize/db/migrate/20171201021205_create_players.rb
deleted file mode 100644
index 9949aad..0000000
--- a/brittney_jackson/rails/optimize/db/migrate/20171201021205_create_players.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class CreatePlayers < ActiveRecord::Migration
- def change
- create_table :players do |t|
- t.string :name
- t.references :team, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/brittney_jackson/rails/optimize/db/schema.rb b/brittney_jackson/rails/optimize/db/schema.rb
deleted file mode 100644
index 48c1597..0000000
--- a/brittney_jackson/rails/optimize/db/schema.rb
+++ /dev/null
@@ -1,33 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171201021205) do
-
- create_table "players", force: :cascade do |t|
- t.string "name"
- t.integer "team_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "players", ["team_id"], name: "index_players_on_team_id"
-
- create_table "teams", force: :cascade do |t|
- t.string "name"
- t.string "mascot"
- t.string "stadium"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/brittney_jackson/rails/optimize/db/seeds.rb b/brittney_jackson/rails/optimize/db/seeds.rb
deleted file mode 100644
index d0073f3..0000000
--- a/brittney_jackson/rails/optimize/db/seeds.rb
+++ /dev/null
@@ -1,113 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
-
-
-# we require 'open-uri' to request the html files
-require 'open-uri'
-teams = [
- ["Atlanta Hawks", "Skyhawk", "Philips Arena"],
- ["Boston Celtics", "Lucky the Leprechaun", "TD Garden"],
- ["Brooklyn Nets", "BrooklyKnight", "Barclays Center"],
- ["Charlotte Hornets", "Hugo the Hornet", "Spectrum Center"],
- ["Chicago Bulls", "Benny the Bull", "United Center"],
- ["Cleveland Cavaliers", "Moondog", "Quicken Loans Arena"],
- ["Dallas Mavericks", "Champ", "American Airlines Center"],
- ["Denver Nuggets", "Rocky the Mountain Lion", "Pepsi Center"],
- ["Detroit Pistons", "Hooper", "The Palace of Auburn Hills"],
- ["Golden State Warriors", "Thunder", "Oracle Arena"],
- ["Houston Rockets", "Clutch", "Toyota Center"],
- ["Indiana Pacers", "Boomer the Panther", "Bankers Life Fieldhouse"],
- ["Los Angeles Clippers", "Chuck", "Staples Center"],
- ["Los Angeles Lakers", "Jack Nicholson", "Staples Center"],
- ["Memphis Grizzlies", "Griz", "FedExForum"],
- ["Miami Heat", "Burnie", "American Airlines Arena"],
- ["Milwaukee Bucks", "Bango", "BMO Harris Bradley Center"],
- ["Minnesota Timberwolves", "Crunch the Wolf", "Target Center"],
- ["New Orleans Pelicans", "Pierre the Pelican", "Smoothie King Center"],
- ["New York Knicks", "Spike Lee", "Madison Square Garden"],
- ["Oklahoma City Thunder", "Rumble the Bison", "Chesapeake Energy Arena"],
- ["Orlando Magic", "Stuff the Magic Dragon", "Amway Center"],
- ["Philadelphia 76ers", "Franklin the Dog", "Wells Fargo Center Philadelphia"],
- ["Phoenix Suns", "The Suns Gorilla", "Talking Stick Resort Arena"],
- ["Portland Trail Blazers", "Blaze the Trail Cat", "Moda Center"],
- ["Sacramento Kings", "Slamson the Lion", "Golden 1 Center"],
- ["San Antonio Spurs", "The Coyote", "AT&T Center"],
- ["Toronto Raptors", "Raptor", "Air Canada Centre"],
- ["Utah Jazz", "Jazz Bear", "Vivint Smart Home Arena"],
- ["Washington Wizards", "G. Wiz", "Verizon Center"]
-]
-# Here, we are using the Nokogiri gem (already comes with Rails), to scrape the ESPN website for the list of players.
-# For more information on Nokogiri, you can go to their documentation or visit http://www.nokogiri.org/
-atlanta_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/atl/atlanta-hawks")).css("td.sortcell")
-boston_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/bos/boston-celtics")).css("td.sortcell")
-brooklyn_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/bkn/brooklyn-nets")).css("td.sortcell")
-charlotte_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/cha/charlotte-hornets")).css("td.sortcell")
-chicago_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/chi/chicago-bulls")).css("td.sortcell")
-cleveland_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/cle/cleveland-cavaliers")).css("td.sortcell")
-dallas_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/dal/dallas-mavericks")).css("td.sortcell")
-denver_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/den/denver-nuggets")).css("td.sortcell")
-detroit_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/det/detroit-pistons")).css("td.sortcell")
-warriors_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/gs/golden-state-warriors")).css("td.sortcell")
-houston_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/hou/houston-rockets")).css("td.sortcell")
-indiana_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/ind/indiana-pacers")).css("td.sortcell")
-clippers_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/lac/la-clippers")).css("td.sortcell")
-lakers_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/lal/los-angeles-lakers")).css("td.sortcell")
-memphis_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/mem/memphis-grizzlies")).css("td.sortcell")
-miami_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/mia/miami-heat")).css("td.sortcell")
-milwaukee_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/mil/milwaukee-bucks")).css("td.sortcell")
-minnesota_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/min/minnesota-timberwolves")).css("td.sortcell")
-nola_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/no/new-orleans-pelicans")).css("td.sortcell")
-knicks_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/ny/new-york-knicks")).css("td.sortcell")
-okc_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/okc/oklahoma-city-thunder")).css("td.sortcell")
-orlando_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/orl/orlando-magic")).css("td.sortcell")
-phili_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/phi/philadelphia-76ers")).css("td.sortcell")
-phoenix_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/phx/phoenix-suns")).css("td.sortcell")
-portland_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/por/portland-trail-blazers")).css("td.sortcell")
-sacramento_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/sac/sacramento-kings")).css("td.sortcell")
-spurs_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/sa/san-antonio-spurs")).css("td.sortcell")
-toronto_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/tor/toronto-raptors")).css("td.sortcell")
-utah_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/utah/utah-jazz")).css("td.sortcell")
-washington_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/wsh/washington-wizards")).css("td.sortcell")
-players = [
- atlanta_players,
- boston_players,
- brooklyn_players,
- charlotte_players,
- chicago_players,
- cleveland_players,
- dallas_players,
- denver_players,
- detroit_players,
- warriors_players,
- houston_players,
- indiana_players,
- clippers_players,
- lakers_players,
- memphis_players,
- miami_players,
- milwaukee_players,
- minnesota_players,
- nola_players,
- knicks_players,
- okc_players,
- orlando_players,
- phili_players,
- phoenix_players,
- portland_players,
- sacramento_players,
- spurs_players,
- toronto_players,
- utah_players,
- washington_players
-]
-players.each_with_index do |roster, index|
- Team.create(name: teams[index][0], mascot: teams[index][1], stadium: teams[index][2])
- roster.each do |player|
- Team.last.players.create(name: player.text)
- end
-end
diff --git a/brittney_jackson/rails/optimize/lib/assets/.keep b/brittney_jackson/rails/optimize/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/optimize/lib/tasks/.keep b/brittney_jackson/rails/optimize/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/optimize/log/.keep b/brittney_jackson/rails/optimize/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/optimize/public/404.html b/brittney_jackson/rails/optimize/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/brittney_jackson/rails/optimize/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/brittney_jackson/rails/optimize/public/422.html b/brittney_jackson/rails/optimize/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/brittney_jackson/rails/optimize/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/brittney_jackson/rails/optimize/public/favicon.ico b/brittney_jackson/rails/optimize/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/optimize/public/robots.txt b/brittney_jackson/rails/optimize/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/brittney_jackson/rails/optimize/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/brittney_jackson/rails/optimize/test/controllers/.keep b/brittney_jackson/rails/optimize/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/optimize/test/fixtures/.keep b/brittney_jackson/rails/optimize/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/optimize/test/fixtures/players.yml b/brittney_jackson/rails/optimize/test/fixtures/players.yml
deleted file mode 100644
index 56a4719..0000000
--- a/brittney_jackson/rails/optimize/test/fixtures/players.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- name: MyString
- team_id:
-
-two:
- name: MyString
- team_id:
diff --git a/brittney_jackson/rails/optimize/test/fixtures/teams.yml b/brittney_jackson/rails/optimize/test/fixtures/teams.yml
deleted file mode 100644
index d9c869d..0000000
--- a/brittney_jackson/rails/optimize/test/fixtures/teams.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- name: MyString
- mascot: MyString
- stadium: MyString
-
-two:
- name: MyString
- mascot: MyString
- stadium: MyString
diff --git a/brittney_jackson/rails/optimize/test/helpers/.keep b/brittney_jackson/rails/optimize/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/optimize/test/integration/.keep b/brittney_jackson/rails/optimize/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/optimize/test/mailers/.keep b/brittney_jackson/rails/optimize/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/optimize/test/models/.keep b/brittney_jackson/rails/optimize/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/optimize/test/models/player_test.rb b/brittney_jackson/rails/optimize/test/models/player_test.rb
deleted file mode 100644
index 3cf71d7..0000000
--- a/brittney_jackson/rails/optimize/test/models/player_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class PlayerTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/brittney_jackson/rails/optimize/test/models/team_test.rb b/brittney_jackson/rails/optimize/test/models/team_test.rb
deleted file mode 100644
index 8b101cb..0000000
--- a/brittney_jackson/rails/optimize/test/models/team_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class TeamTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/brittney_jackson/rails/optimize/test/test_helper.rb b/brittney_jackson/rails/optimize/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/brittney_jackson/rails/optimize/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/brittney_jackson/rails/optimize/vendor/assets/javascripts/.keep b/brittney_jackson/rails/optimize/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/optimize/vendor/assets/stylesheets/.keep b/brittney_jackson/rails/optimize/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/optimizeCommands.rb b/brittney_jackson/rails/optimizeCommands.rb
deleted file mode 100644
index 4315077..0000000
--- a/brittney_jackson/rails/optimizeCommands.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-# 1. Retrive all players, then write a program that will loop through each player and display their team name, mascot and stadium. How many queries have we done?
-players = Player.all
-players.each do |player|
- team = player.team
- puts "Player: #{player.name}, Team: #{team.name}, Mascot: #{team.mascot}, Stadium: #{team.stadium}"
-end
-
-1 query to retrieve all the players + 447 queries to get the team of each player = 448 total queries
-
-# 2. Retrive all players and their team by using .includes
-players = Player.includes(:team)
-players.each do |player|
- puts "Player: #{player.name}, Team: #{player.team.name}, Mascot: #{player.team.mascot}, Stadium: #{player.team.stadium}"
-end
-
-Active Record has eager loaded our association. When we call on the .team method on a player, we are not making another query but instead using the loaded assoication.
-We only executed 2 queries
-
-# 3. Retrieve all players from the 'Chicago Bulls' by using .includes
-Player.includes(:team).where("teams.name = 'Chicago Bulls'").references(:team)
-
-# 4. Retrieve all players along with the team name that play at the 'Staples Center'
-Player.joins(:team).select('players.*', 'teams.name as franchise', 'teams.stadium as stadium').where("teams.stadium = 'Staples Center'")
-
-# 5 Retrive all teams that have any player that start their name with the letter 'A' by both .includes and .joins
-Team.includes(:players).where("players.name LIKE 'Z%'").references(:players)
-Team.joins(:players).where("players.name LIKE 'Z%'")
-
-# With .joins, we can also fetch more information. For example, we can retrieve the player's name as well
-Team.joins(:players).where("players.name LIKE 'Z%'").select("teams.name as team_name", "teams.*", "players.*")
\ No newline at end of file
diff --git a/brittney_jackson/rails/routesControllers/.gitignore b/brittney_jackson/rails/routesControllers/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/brittney_jackson/rails/routesControllers/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/brittney_jackson/rails/routesControllers/Gemfile b/brittney_jackson/rails/routesControllers/Gemfile
deleted file mode 100644
index 70e13ae..0000000
--- a/brittney_jackson/rails/routesControllers/Gemfile
+++ /dev/null
@@ -1,52 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-gem 'hirb'
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-
- # Provides details on current information for the page
- gem 'rails-footnotes'
-end
-
diff --git a/brittney_jackson/rails/routesControllers/Gemfile.lock b/brittney_jackson/rails/routesControllers/Gemfile.lock
deleted file mode 100644
index 8fdca6c..0000000
--- a/brittney_jackson/rails/routesControllers/Gemfile.lock
+++ /dev/null
@@ -1,175 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-footnotes (4.1.8)
- rails (>= 3.2)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- rails-footnotes
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/brittney_jackson/rails/routesControllers/README.rdoc b/brittney_jackson/rails/routesControllers/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/brittney_jackson/rails/routesControllers/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/brittney_jackson/rails/routesControllers/Rakefile b/brittney_jackson/rails/routesControllers/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/brittney_jackson/rails/routesControllers/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/brittney_jackson/rails/routesControllers/app/assets/images/.keep b/brittney_jackson/rails/routesControllers/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/routesControllers/app/assets/javascripts/application.js b/brittney_jackson/rails/routesControllers/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/brittney_jackson/rails/routesControllers/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/brittney_jackson/rails/routesControllers/app/assets/stylesheets/application.css b/brittney_jackson/rails/routesControllers/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/brittney_jackson/rails/routesControllers/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/brittney_jackson/rails/routesControllers/app/assets/stylesheets/hellos.scss b/brittney_jackson/rails/routesControllers/app/assets/stylesheets/hellos.scss
deleted file mode 100644
index 4ecc3ef..0000000
--- a/brittney_jackson/rails/routesControllers/app/assets/stylesheets/hellos.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-// Place all the styles related to the hellos controller here.
-// They will automatically be included in application.css.
-// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/brittney_jackson/rails/routesControllers/app/controllers/application_controller.rb b/brittney_jackson/rails/routesControllers/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/brittney_jackson/rails/routesControllers/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/brittney_jackson/rails/routesControllers/app/controllers/concerns/.keep b/brittney_jackson/rails/routesControllers/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/routesControllers/app/controllers/hellos_controller.rb b/brittney_jackson/rails/routesControllers/app/controllers/hellos_controller.rb
deleted file mode 100644
index 57ef646..0000000
--- a/brittney_jackson/rails/routesControllers/app/controllers/hellos_controller.rb
+++ /dev/null
@@ -1,34 +0,0 @@
-class HellosController < ApplicationController
-
- def index
- render text: 'What do you want me to say?'
- end
-
- def hello
- render text: 'Hello CodingDojo!'
- end
-
- def say
- unless params[:name]
- render text: 'Saying Hello?'
- else
- if params[:name] == 'michael'
- redirect_to '/say/hello/joe'
- else
- render text: "saying hello #{params[:name]}!"
- end
- end
- end
-
- def times
- session[:counter] ||= 0
- session[:counter] += 1
- render text: "You visited this url #{session[:counter]} time(s)!"
- end
-
- def restart
- session.clear
- render text: 'Destroyed the session...HAHAHAHAHA!'
- end
-
-end
diff --git a/brittney_jackson/rails/routesControllers/app/helpers/application_helper.rb b/brittney_jackson/rails/routesControllers/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/brittney_jackson/rails/routesControllers/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/brittney_jackson/rails/routesControllers/app/helpers/hellos_helper.rb b/brittney_jackson/rails/routesControllers/app/helpers/hellos_helper.rb
deleted file mode 100644
index b91478f..0000000
--- a/brittney_jackson/rails/routesControllers/app/helpers/hellos_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module HellosHelper
-end
diff --git a/brittney_jackson/rails/routesControllers/app/mailers/.keep b/brittney_jackson/rails/routesControllers/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/routesControllers/app/models/.keep b/brittney_jackson/rails/routesControllers/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/routesControllers/app/models/concerns/.keep b/brittney_jackson/rails/routesControllers/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/routesControllers/app/views/layouts/application.html.erb b/brittney_jackson/rails/routesControllers/app/views/layouts/application.html.erb
deleted file mode 100644
index 26beefc..0000000
--- a/brittney_jackson/rails/routesControllers/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- RoutesControllers
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/brittney_jackson/rails/routesControllers/bin/bundle b/brittney_jackson/rails/routesControllers/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/brittney_jackson/rails/routesControllers/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/brittney_jackson/rails/routesControllers/bin/rails b/brittney_jackson/rails/routesControllers/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/brittney_jackson/rails/routesControllers/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/brittney_jackson/rails/routesControllers/bin/rake b/brittney_jackson/rails/routesControllers/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/brittney_jackson/rails/routesControllers/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/brittney_jackson/rails/routesControllers/bin/setup b/brittney_jackson/rails/routesControllers/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/brittney_jackson/rails/routesControllers/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/brittney_jackson/rails/routesControllers/bin/spring b/brittney_jackson/rails/routesControllers/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/brittney_jackson/rails/routesControllers/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/brittney_jackson/rails/routesControllers/config.ru b/brittney_jackson/rails/routesControllers/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/brittney_jackson/rails/routesControllers/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/brittney_jackson/rails/routesControllers/config/application.rb b/brittney_jackson/rails/routesControllers/config/application.rb
deleted file mode 100644
index 2e2368b..0000000
--- a/brittney_jackson/rails/routesControllers/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module RoutesControllers
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/brittney_jackson/rails/routesControllers/config/boot.rb b/brittney_jackson/rails/routesControllers/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/brittney_jackson/rails/routesControllers/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/brittney_jackson/rails/routesControllers/config/database.yml b/brittney_jackson/rails/routesControllers/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/brittney_jackson/rails/routesControllers/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/brittney_jackson/rails/routesControllers/config/environment.rb b/brittney_jackson/rails/routesControllers/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/brittney_jackson/rails/routesControllers/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/brittney_jackson/rails/routesControllers/config/environments/development.rb b/brittney_jackson/rails/routesControllers/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/brittney_jackson/rails/routesControllers/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/brittney_jackson/rails/routesControllers/config/environments/production.rb b/brittney_jackson/rails/routesControllers/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/brittney_jackson/rails/routesControllers/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/brittney_jackson/rails/routesControllers/config/environments/test.rb b/brittney_jackson/rails/routesControllers/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/brittney_jackson/rails/routesControllers/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/brittney_jackson/rails/routesControllers/config/initializers/assets.rb b/brittney_jackson/rails/routesControllers/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/brittney_jackson/rails/routesControllers/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/brittney_jackson/rails/routesControllers/config/initializers/backtrace_silencers.rb b/brittney_jackson/rails/routesControllers/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/brittney_jackson/rails/routesControllers/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/brittney_jackson/rails/routesControllers/config/initializers/cookies_serializer.rb b/brittney_jackson/rails/routesControllers/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/brittney_jackson/rails/routesControllers/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/brittney_jackson/rails/routesControllers/config/initializers/filter_parameter_logging.rb b/brittney_jackson/rails/routesControllers/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/brittney_jackson/rails/routesControllers/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/brittney_jackson/rails/routesControllers/config/initializers/inflections.rb b/brittney_jackson/rails/routesControllers/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/brittney_jackson/rails/routesControllers/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/brittney_jackson/rails/routesControllers/config/initializers/mime_types.rb b/brittney_jackson/rails/routesControllers/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/brittney_jackson/rails/routesControllers/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/brittney_jackson/rails/routesControllers/config/initializers/session_store.rb b/brittney_jackson/rails/routesControllers/config/initializers/session_store.rb
deleted file mode 100644
index a1438fe..0000000
--- a/brittney_jackson/rails/routesControllers/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_routesControllers_session'
diff --git a/brittney_jackson/rails/routesControllers/config/initializers/wrap_parameters.rb b/brittney_jackson/rails/routesControllers/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/brittney_jackson/rails/routesControllers/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/brittney_jackson/rails/routesControllers/config/locales/en.yml b/brittney_jackson/rails/routesControllers/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/brittney_jackson/rails/routesControllers/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/brittney_jackson/rails/routesControllers/config/routes.rb b/brittney_jackson/rails/routesControllers/config/routes.rb
deleted file mode 100644
index f71c03f..0000000
--- a/brittney_jackson/rails/routesControllers/config/routes.rb
+++ /dev/null
@@ -1,68 +0,0 @@
-Rails.application.routes.draw do
-
-root 'hellos#index'
-get 'hello' => 'hellos#hello'
-get 'say/hello(/:name)' => 'hellos#say'
-get 'times' => 'hellos#times'
-get 'times/restart' => 'hellos#restart'
-
-
-
-
-
-
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/brittney_jackson/rails/routesControllers/config/secrets.yml b/brittney_jackson/rails/routesControllers/config/secrets.yml
deleted file mode 100644
index 2f9fa74..0000000
--- a/brittney_jackson/rails/routesControllers/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: ad5ac63b2baf44528edc4aed19c83b241d1e6a0b86f78bf6a73604c8aadbb407c1d1d34850480725834e10f2b9ef9de70108710408987de1abb4b564208c1bfc
-
-test:
- secret_key_base: 9b0ed9e8e2f1a1e302d93b5ffd1742611ebdb9189e5b6aab2c21f5c48b5e86eed4c66273f4bca75720401ef92a9e777773a864b53508a6b2b5a5a74948e8c8b3
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/brittney_jackson/rails/routesControllers/db/seeds.rb b/brittney_jackson/rails/routesControllers/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/brittney_jackson/rails/routesControllers/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/brittney_jackson/rails/routesControllers/lib/assets/.keep b/brittney_jackson/rails/routesControllers/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/routesControllers/lib/tasks/.keep b/brittney_jackson/rails/routesControllers/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/routesControllers/log/.keep b/brittney_jackson/rails/routesControllers/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/routesControllers/public/404.html b/brittney_jackson/rails/routesControllers/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/brittney_jackson/rails/routesControllers/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/brittney_jackson/rails/routesControllers/public/422.html b/brittney_jackson/rails/routesControllers/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/brittney_jackson/rails/routesControllers/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/brittney_jackson/rails/routesControllers/public/favicon.ico b/brittney_jackson/rails/routesControllers/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/routesControllers/public/robots.txt b/brittney_jackson/rails/routesControllers/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/brittney_jackson/rails/routesControllers/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/brittney_jackson/rails/routesControllers/test/controllers/.keep b/brittney_jackson/rails/routesControllers/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/routesControllers/test/controllers/hellos_controller_test.rb b/brittney_jackson/rails/routesControllers/test/controllers/hellos_controller_test.rb
deleted file mode 100644
index 79e128e..0000000
--- a/brittney_jackson/rails/routesControllers/test/controllers/hellos_controller_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class HellosControllerTest < ActionController::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/brittney_jackson/rails/routesControllers/test/fixtures/.keep b/brittney_jackson/rails/routesControllers/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/routesControllers/test/helpers/.keep b/brittney_jackson/rails/routesControllers/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/routesControllers/test/integration/.keep b/brittney_jackson/rails/routesControllers/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/routesControllers/test/mailers/.keep b/brittney_jackson/rails/routesControllers/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/routesControllers/test/models/.keep b/brittney_jackson/rails/routesControllers/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/routesControllers/test/test_helper.rb b/brittney_jackson/rails/routesControllers/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/brittney_jackson/rails/routesControllers/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/brittney_jackson/rails/routesControllers/vendor/assets/javascripts/.keep b/brittney_jackson/rails/routesControllers/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/routesControllers/vendor/assets/stylesheets/.keep b/brittney_jackson/rails/routesControllers/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/timeDisplay/.gitignore b/brittney_jackson/rails/timeDisplay/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/brittney_jackson/rails/timeDisplay/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/brittney_jackson/rails/timeDisplay/Gemfile b/brittney_jackson/rails/timeDisplay/Gemfile
deleted file mode 100644
index 31b99af..0000000
--- a/brittney_jackson/rails/timeDisplay/Gemfile
+++ /dev/null
@@ -1,51 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-gem 'hirb'
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-
- gem 'rails-footnotes'
-end
-
diff --git a/brittney_jackson/rails/timeDisplay/Gemfile.lock b/brittney_jackson/rails/timeDisplay/Gemfile.lock
deleted file mode 100644
index ee7ea50..0000000
--- a/brittney_jackson/rails/timeDisplay/Gemfile.lock
+++ /dev/null
@@ -1,175 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-footnotes (4.1.8)
- rails (>= 3.2)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (4.0.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- rails-footnotes
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/brittney_jackson/rails/timeDisplay/README.rdoc b/brittney_jackson/rails/timeDisplay/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/brittney_jackson/rails/timeDisplay/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/brittney_jackson/rails/timeDisplay/Rakefile b/brittney_jackson/rails/timeDisplay/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/brittney_jackson/rails/timeDisplay/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/brittney_jackson/rails/timeDisplay/app/assets/images/.keep b/brittney_jackson/rails/timeDisplay/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/timeDisplay/app/assets/javascripts/application.js b/brittney_jackson/rails/timeDisplay/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/brittney_jackson/rails/timeDisplay/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/brittney_jackson/rails/timeDisplay/app/assets/stylesheets/application.css b/brittney_jackson/rails/timeDisplay/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/brittney_jackson/rails/timeDisplay/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/brittney_jackson/rails/timeDisplay/app/assets/stylesheets/times.scss b/brittney_jackson/rails/timeDisplay/app/assets/stylesheets/times.scss
deleted file mode 100644
index 8aca602..0000000
--- a/brittney_jackson/rails/timeDisplay/app/assets/stylesheets/times.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-// Place all the styles related to the Times controller here.
-// They will automatically be included in application.css.
-// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/brittney_jackson/rails/timeDisplay/app/controllers/application_controller.rb b/brittney_jackson/rails/timeDisplay/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/brittney_jackson/rails/timeDisplay/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/brittney_jackson/rails/timeDisplay/app/controllers/concerns/.keep b/brittney_jackson/rails/timeDisplay/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/timeDisplay/app/controllers/times_controller.rb b/brittney_jackson/rails/timeDisplay/app/controllers/times_controller.rb
deleted file mode 100644
index 11e09d2..0000000
--- a/brittney_jackson/rails/timeDisplay/app/controllers/times_controller.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class TimesController < ApplicationController
-
- def main
- @time = Time.now.strftime("%H:%M %p ")
- @date = Time.now.strftime("%m/%d/%Y")
- return render 'index.html.erb'
- end
-
-end
diff --git a/brittney_jackson/rails/timeDisplay/app/helpers/application_helper.rb b/brittney_jackson/rails/timeDisplay/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/brittney_jackson/rails/timeDisplay/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/brittney_jackson/rails/timeDisplay/app/helpers/times_helper.rb b/brittney_jackson/rails/timeDisplay/app/helpers/times_helper.rb
deleted file mode 100644
index db171a4..0000000
--- a/brittney_jackson/rails/timeDisplay/app/helpers/times_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module TimesHelper
-end
diff --git a/brittney_jackson/rails/timeDisplay/app/mailers/.keep b/brittney_jackson/rails/timeDisplay/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/timeDisplay/app/models/.keep b/brittney_jackson/rails/timeDisplay/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/timeDisplay/app/models/concerns/.keep b/brittney_jackson/rails/timeDisplay/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/timeDisplay/app/views/layouts/application.html.erb b/brittney_jackson/rails/timeDisplay/app/views/layouts/application.html.erb
deleted file mode 100644
index 8b25576..0000000
--- a/brittney_jackson/rails/timeDisplay/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- TimeDisplay
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/brittney_jackson/rails/timeDisplay/app/views/times/index.html.erb b/brittney_jackson/rails/timeDisplay/app/views/times/index.html.erb
deleted file mode 100644
index ba2658a..0000000
--- a/brittney_jackson/rails/timeDisplay/app/views/times/index.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- Current Time
-
-
-
The current date and time is:
-
<%= @date %>
-
<%= @time %>
-
-
-
-
-
\ No newline at end of file
diff --git a/brittney_jackson/rails/timeDisplay/bin/bundle b/brittney_jackson/rails/timeDisplay/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/brittney_jackson/rails/timeDisplay/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/brittney_jackson/rails/timeDisplay/bin/rails b/brittney_jackson/rails/timeDisplay/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/brittney_jackson/rails/timeDisplay/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/brittney_jackson/rails/timeDisplay/bin/rake b/brittney_jackson/rails/timeDisplay/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/brittney_jackson/rails/timeDisplay/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/brittney_jackson/rails/timeDisplay/bin/setup b/brittney_jackson/rails/timeDisplay/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/brittney_jackson/rails/timeDisplay/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/brittney_jackson/rails/timeDisplay/bin/spring b/brittney_jackson/rails/timeDisplay/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/brittney_jackson/rails/timeDisplay/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/brittney_jackson/rails/timeDisplay/config.ru b/brittney_jackson/rails/timeDisplay/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/brittney_jackson/rails/timeDisplay/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/brittney_jackson/rails/timeDisplay/config/application.rb b/brittney_jackson/rails/timeDisplay/config/application.rb
deleted file mode 100644
index 94c66d8..0000000
--- a/brittney_jackson/rails/timeDisplay/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module TimeDisplay
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/brittney_jackson/rails/timeDisplay/config/boot.rb b/brittney_jackson/rails/timeDisplay/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/brittney_jackson/rails/timeDisplay/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/brittney_jackson/rails/timeDisplay/config/database.yml b/brittney_jackson/rails/timeDisplay/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/brittney_jackson/rails/timeDisplay/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/brittney_jackson/rails/timeDisplay/config/environment.rb b/brittney_jackson/rails/timeDisplay/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/brittney_jackson/rails/timeDisplay/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/brittney_jackson/rails/timeDisplay/config/environments/development.rb b/brittney_jackson/rails/timeDisplay/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/brittney_jackson/rails/timeDisplay/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/brittney_jackson/rails/timeDisplay/config/environments/production.rb b/brittney_jackson/rails/timeDisplay/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/brittney_jackson/rails/timeDisplay/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/brittney_jackson/rails/timeDisplay/config/environments/test.rb b/brittney_jackson/rails/timeDisplay/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/brittney_jackson/rails/timeDisplay/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/brittney_jackson/rails/timeDisplay/config/initializers/assets.rb b/brittney_jackson/rails/timeDisplay/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/brittney_jackson/rails/timeDisplay/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/brittney_jackson/rails/timeDisplay/config/initializers/backtrace_silencers.rb b/brittney_jackson/rails/timeDisplay/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/brittney_jackson/rails/timeDisplay/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/brittney_jackson/rails/timeDisplay/config/initializers/cookies_serializer.rb b/brittney_jackson/rails/timeDisplay/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/brittney_jackson/rails/timeDisplay/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/brittney_jackson/rails/timeDisplay/config/initializers/filter_parameter_logging.rb b/brittney_jackson/rails/timeDisplay/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/brittney_jackson/rails/timeDisplay/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/brittney_jackson/rails/timeDisplay/config/initializers/inflections.rb b/brittney_jackson/rails/timeDisplay/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/brittney_jackson/rails/timeDisplay/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/brittney_jackson/rails/timeDisplay/config/initializers/mime_types.rb b/brittney_jackson/rails/timeDisplay/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/brittney_jackson/rails/timeDisplay/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/brittney_jackson/rails/timeDisplay/config/initializers/rails_footnotes.rb b/brittney_jackson/rails/timeDisplay/config/initializers/rails_footnotes.rb
deleted file mode 100644
index 9a15363..0000000
--- a/brittney_jackson/rails/timeDisplay/config/initializers/rails_footnotes.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-defined?(Footnotes) && Footnotes.setup do |f|
- # Whether or not to enable footnotes
- f.enabled = Rails.env.development?
- # You can also use a lambda / proc to conditionally toggle footnotes
- # Example :
- # f.enabled = -> { User.current.admin? }
- # Beware of thread-safety though, Footnotes.enabled is NOT thread safe
- # and should not be modified anywhere else.
-
- # Only toggle some notes :
- # f.notes = [:session, :cookies, :params, :filters, :routes, :env, :queries, :log]
-
- # Change the prefix :
- # f.prefix = 'mvim://open?url=file://%s&line=%d&column=%d'
-
- # Disable style :
- # f.no_style = true
-
- # Lock notes to top right :
- # f.lock_top_right = true
-
- # Change font size :
- # f.font_size = '11px'
-
- # Allow to open multiple notes :
- # f.multiple_notes = true
-end
diff --git a/brittney_jackson/rails/timeDisplay/config/initializers/session_store.rb b/brittney_jackson/rails/timeDisplay/config/initializers/session_store.rb
deleted file mode 100644
index 51c9c49..0000000
--- a/brittney_jackson/rails/timeDisplay/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_timeDisplay_session'
diff --git a/brittney_jackson/rails/timeDisplay/config/initializers/wrap_parameters.rb b/brittney_jackson/rails/timeDisplay/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/brittney_jackson/rails/timeDisplay/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/brittney_jackson/rails/timeDisplay/config/locales/en.yml b/brittney_jackson/rails/timeDisplay/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/brittney_jackson/rails/timeDisplay/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/brittney_jackson/rails/timeDisplay/config/routes.rb b/brittney_jackson/rails/timeDisplay/config/routes.rb
deleted file mode 100644
index 984e0e2..0000000
--- a/brittney_jackson/rails/timeDisplay/config/routes.rb
+++ /dev/null
@@ -1,60 +0,0 @@
-Rails.application.routes.draw do
-
-
- root 'times#main'
-
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/brittney_jackson/rails/timeDisplay/config/secrets.yml b/brittney_jackson/rails/timeDisplay/config/secrets.yml
deleted file mode 100644
index c424714..0000000
--- a/brittney_jackson/rails/timeDisplay/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: cdd3ca9fc6d6e0e4a7874761548ef07f41c968f57517429b7042822077a32ffe65c17fdfa0b93a99ff9307c9a6909a1d0c1d0c676a62bb8e0a9522232013bc29
-
-test:
- secret_key_base: 197886cffd1de8bab42013dee34d05604fb06f1a4d51eb7d460b12993f3c893d26d80078f5248734846c4840d6e56a82dfe5f035b982f25bd9bb76a5777b3d90
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/brittney_jackson/rails/timeDisplay/db/seeds.rb b/brittney_jackson/rails/timeDisplay/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/brittney_jackson/rails/timeDisplay/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/brittney_jackson/rails/timeDisplay/lib/assets/.keep b/brittney_jackson/rails/timeDisplay/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/timeDisplay/lib/tasks/.keep b/brittney_jackson/rails/timeDisplay/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/timeDisplay/log/.keep b/brittney_jackson/rails/timeDisplay/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/timeDisplay/public/404.html b/brittney_jackson/rails/timeDisplay/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/brittney_jackson/rails/timeDisplay/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/brittney_jackson/rails/timeDisplay/public/422.html b/brittney_jackson/rails/timeDisplay/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/brittney_jackson/rails/timeDisplay/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/brittney_jackson/rails/timeDisplay/public/favicon.ico b/brittney_jackson/rails/timeDisplay/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/timeDisplay/public/robots.txt b/brittney_jackson/rails/timeDisplay/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/brittney_jackson/rails/timeDisplay/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/brittney_jackson/rails/timeDisplay/test/controllers/.keep b/brittney_jackson/rails/timeDisplay/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/timeDisplay/test/controllers/times_controller_test.rb b/brittney_jackson/rails/timeDisplay/test/controllers/times_controller_test.rb
deleted file mode 100644
index 96a8a74..0000000
--- a/brittney_jackson/rails/timeDisplay/test/controllers/times_controller_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class TimesControllerTest < ActionController::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/brittney_jackson/rails/timeDisplay/test/fixtures/.keep b/brittney_jackson/rails/timeDisplay/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/timeDisplay/test/helpers/.keep b/brittney_jackson/rails/timeDisplay/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/timeDisplay/test/integration/.keep b/brittney_jackson/rails/timeDisplay/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/timeDisplay/test/mailers/.keep b/brittney_jackson/rails/timeDisplay/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/timeDisplay/test/models/.keep b/brittney_jackson/rails/timeDisplay/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/timeDisplay/test/test_helper.rb b/brittney_jackson/rails/timeDisplay/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/brittney_jackson/rails/timeDisplay/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/brittney_jackson/rails/timeDisplay/vendor/assets/javascripts/.keep b/brittney_jackson/rails/timeDisplay/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/timeDisplay/vendor/assets/stylesheets/.keep b/brittney_jackson/rails/timeDisplay/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/user_login_project/.gitignore b/brittney_jackson/rails/user_login_project/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/brittney_jackson/rails/user_login_project/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/brittney_jackson/rails/user_login_project/Gemfile b/brittney_jackson/rails/user_login_project/Gemfile
deleted file mode 100644
index a589995..0000000
--- a/brittney_jackson/rails/user_login_project/Gemfile
+++ /dev/null
@@ -1,49 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
-gem 'hirb'
-
diff --git a/brittney_jackson/rails/user_login_project/Gemfile.lock b/brittney_jackson/rails/user_login_project/Gemfile.lock
deleted file mode 100644
index c2e340f..0000000
--- a/brittney_jackson/rails/user_login_project/Gemfile.lock
+++ /dev/null
@@ -1,174 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- bcrypt (3.1.11)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- bcrypt (~> 3.1.7)
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/brittney_jackson/rails/user_login_project/README.rdoc b/brittney_jackson/rails/user_login_project/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/brittney_jackson/rails/user_login_project/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/brittney_jackson/rails/user_login_project/Rakefile b/brittney_jackson/rails/user_login_project/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/brittney_jackson/rails/user_login_project/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/brittney_jackson/rails/user_login_project/app/assets/images/.keep b/brittney_jackson/rails/user_login_project/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/user_login_project/app/assets/javascripts/application.js b/brittney_jackson/rails/user_login_project/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/brittney_jackson/rails/user_login_project/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/brittney_jackson/rails/user_login_project/app/assets/stylesheets/application.css b/brittney_jackson/rails/user_login_project/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/brittney_jackson/rails/user_login_project/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/brittney_jackson/rails/user_login_project/app/controllers/application_controller.rb b/brittney_jackson/rails/user_login_project/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/brittney_jackson/rails/user_login_project/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/brittney_jackson/rails/user_login_project/app/controllers/concerns/.keep b/brittney_jackson/rails/user_login_project/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/user_login_project/app/helpers/application_helper.rb b/brittney_jackson/rails/user_login_project/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/brittney_jackson/rails/user_login_project/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/brittney_jackson/rails/user_login_project/app/mailers/.keep b/brittney_jackson/rails/user_login_project/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/user_login_project/app/models/.keep b/brittney_jackson/rails/user_login_project/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/user_login_project/app/models/concerns/.keep b/brittney_jackson/rails/user_login_project/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/user_login_project/app/models/user.rb b/brittney_jackson/rails/user_login_project/app/models/user.rb
deleted file mode 100644
index c66bedb..0000000
--- a/brittney_jackson/rails/user_login_project/app/models/user.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-class User < ActiveRecord::Base
-
- validates :firstname, :lastname, presence: true, length: { in: 2..20 }
- validates :email, presence: true
- validates :age, presence: true, numericality: {greater_than: 9, less_than: 151}
-
-end
diff --git a/brittney_jackson/rails/user_login_project/app/views/layouts/application.html.erb b/brittney_jackson/rails/user_login_project/app/views/layouts/application.html.erb
deleted file mode 100644
index 03b8954..0000000
--- a/brittney_jackson/rails/user_login_project/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- UserLoginProject
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/brittney_jackson/rails/user_login_project/bin/bundle b/brittney_jackson/rails/user_login_project/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/brittney_jackson/rails/user_login_project/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/brittney_jackson/rails/user_login_project/bin/rails b/brittney_jackson/rails/user_login_project/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/brittney_jackson/rails/user_login_project/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/brittney_jackson/rails/user_login_project/bin/rake b/brittney_jackson/rails/user_login_project/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/brittney_jackson/rails/user_login_project/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/brittney_jackson/rails/user_login_project/bin/setup b/brittney_jackson/rails/user_login_project/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/brittney_jackson/rails/user_login_project/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/brittney_jackson/rails/user_login_project/bin/spring b/brittney_jackson/rails/user_login_project/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/brittney_jackson/rails/user_login_project/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/brittney_jackson/rails/user_login_project/config.ru b/brittney_jackson/rails/user_login_project/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/brittney_jackson/rails/user_login_project/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/brittney_jackson/rails/user_login_project/config/application.rb b/brittney_jackson/rails/user_login_project/config/application.rb
deleted file mode 100644
index 49c5e84..0000000
--- a/brittney_jackson/rails/user_login_project/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module UserLoginProject
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/brittney_jackson/rails/user_login_project/config/boot.rb b/brittney_jackson/rails/user_login_project/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/brittney_jackson/rails/user_login_project/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/brittney_jackson/rails/user_login_project/config/database.yml b/brittney_jackson/rails/user_login_project/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/brittney_jackson/rails/user_login_project/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/brittney_jackson/rails/user_login_project/config/environment.rb b/brittney_jackson/rails/user_login_project/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/brittney_jackson/rails/user_login_project/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/brittney_jackson/rails/user_login_project/config/environments/development.rb b/brittney_jackson/rails/user_login_project/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/brittney_jackson/rails/user_login_project/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/brittney_jackson/rails/user_login_project/config/environments/production.rb b/brittney_jackson/rails/user_login_project/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/brittney_jackson/rails/user_login_project/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/brittney_jackson/rails/user_login_project/config/environments/test.rb b/brittney_jackson/rails/user_login_project/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/brittney_jackson/rails/user_login_project/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/brittney_jackson/rails/user_login_project/config/initializers/assets.rb b/brittney_jackson/rails/user_login_project/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/brittney_jackson/rails/user_login_project/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/brittney_jackson/rails/user_login_project/config/initializers/backtrace_silencers.rb b/brittney_jackson/rails/user_login_project/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/brittney_jackson/rails/user_login_project/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/brittney_jackson/rails/user_login_project/config/initializers/cookies_serializer.rb b/brittney_jackson/rails/user_login_project/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/brittney_jackson/rails/user_login_project/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/brittney_jackson/rails/user_login_project/config/initializers/filter_parameter_logging.rb b/brittney_jackson/rails/user_login_project/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/brittney_jackson/rails/user_login_project/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/brittney_jackson/rails/user_login_project/config/initializers/inflections.rb b/brittney_jackson/rails/user_login_project/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/brittney_jackson/rails/user_login_project/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/brittney_jackson/rails/user_login_project/config/initializers/mime_types.rb b/brittney_jackson/rails/user_login_project/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/brittney_jackson/rails/user_login_project/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/brittney_jackson/rails/user_login_project/config/initializers/session_store.rb b/brittney_jackson/rails/user_login_project/config/initializers/session_store.rb
deleted file mode 100644
index d692eec..0000000
--- a/brittney_jackson/rails/user_login_project/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_user_login_project_session'
diff --git a/brittney_jackson/rails/user_login_project/config/initializers/wrap_parameters.rb b/brittney_jackson/rails/user_login_project/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/brittney_jackson/rails/user_login_project/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/brittney_jackson/rails/user_login_project/config/locales/en.yml b/brittney_jackson/rails/user_login_project/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/brittney_jackson/rails/user_login_project/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/brittney_jackson/rails/user_login_project/config/routes.rb b/brittney_jackson/rails/user_login_project/config/routes.rb
deleted file mode 100644
index 3f66539..0000000
--- a/brittney_jackson/rails/user_login_project/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/brittney_jackson/rails/user_login_project/config/secrets.yml b/brittney_jackson/rails/user_login_project/config/secrets.yml
deleted file mode 100644
index 21e460d..0000000
--- a/brittney_jackson/rails/user_login_project/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 6b005b1d44c4bb939ba73ac10d5a30884b78bb817ca815f8455aa766740bd7fd50d86a19209772bfd51a313c17aa0f70f8244407c55074ae3242d43a4f24496b
-
-test:
- secret_key_base: af8c97db61cc4a61e2db26fe53f16194697fe8feaa6a3c96e8e0f80bb0a07ab07ce33929d9d171c627dc1cad61b1ceb620f620b776161808e696c32232ca650d
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/brittney_jackson/rails/user_login_project/db/migrate/20171130005431_create_users.rb b/brittney_jackson/rails/user_login_project/db/migrate/20171130005431_create_users.rb
deleted file mode 100644
index 575b866..0000000
--- a/brittney_jackson/rails/user_login_project/db/migrate/20171130005431_create_users.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-class CreateUsers < ActiveRecord::Migration
- def change
- create_table :users do |t|
- t.string :firstname
- t.string :lastname
- t.string :email
- t.integer :age
-
- t.timestamps null: false
- end
- end
-end
diff --git a/brittney_jackson/rails/user_login_project/db/schema.rb b/brittney_jackson/rails/user_login_project/db/schema.rb
deleted file mode 100644
index ffc9ac6..0000000
--- a/brittney_jackson/rails/user_login_project/db/schema.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171130005431) do
-
- create_table "users", force: :cascade do |t|
- t.string "firstname"
- t.string "lastname"
- t.string "email"
- t.integer "age"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/brittney_jackson/rails/user_login_project/db/seeds.rb b/brittney_jackson/rails/user_login_project/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/brittney_jackson/rails/user_login_project/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/brittney_jackson/rails/user_login_project/lib/assets/.keep b/brittney_jackson/rails/user_login_project/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/user_login_project/lib/tasks/.keep b/brittney_jackson/rails/user_login_project/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/user_login_project/log/.keep b/brittney_jackson/rails/user_login_project/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/user_login_project/public/404.html b/brittney_jackson/rails/user_login_project/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/brittney_jackson/rails/user_login_project/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/brittney_jackson/rails/user_login_project/public/422.html b/brittney_jackson/rails/user_login_project/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/brittney_jackson/rails/user_login_project/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/brittney_jackson/rails/user_login_project/public/favicon.ico b/brittney_jackson/rails/user_login_project/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/user_login_project/public/robots.txt b/brittney_jackson/rails/user_login_project/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/brittney_jackson/rails/user_login_project/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/brittney_jackson/rails/user_login_project/test/controllers/.keep b/brittney_jackson/rails/user_login_project/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/user_login_project/test/fixtures/.keep b/brittney_jackson/rails/user_login_project/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/user_login_project/test/fixtures/users.yml b/brittney_jackson/rails/user_login_project/test/fixtures/users.yml
deleted file mode 100644
index 61d091b..0000000
--- a/brittney_jackson/rails/user_login_project/test/fixtures/users.yml
+++ /dev/null
@@ -1,13 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- firstname: MyString
- lastname: MyString
- email: MyString
- age: 1
-
-two:
- firstname: MyString
- lastname: MyString
- email: MyString
- age: 1
diff --git a/brittney_jackson/rails/user_login_project/test/helpers/.keep b/brittney_jackson/rails/user_login_project/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/user_login_project/test/integration/.keep b/brittney_jackson/rails/user_login_project/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/user_login_project/test/mailers/.keep b/brittney_jackson/rails/user_login_project/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/user_login_project/test/models/.keep b/brittney_jackson/rails/user_login_project/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/user_login_project/test/models/user_test.rb b/brittney_jackson/rails/user_login_project/test/models/user_test.rb
deleted file mode 100644
index 82f61e0..0000000
--- a/brittney_jackson/rails/user_login_project/test/models/user_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class UserTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/brittney_jackson/rails/user_login_project/test/test_helper.rb b/brittney_jackson/rails/user_login_project/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/brittney_jackson/rails/user_login_project/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/brittney_jackson/rails/user_login_project/vendor/assets/javascripts/.keep b/brittney_jackson/rails/user_login_project/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rails/user_login_project/vendor/assets/stylesheets/.keep b/brittney_jackson/rails/user_login_project/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/brittney_jackson/rubyFundamentals/arrays.rb b/brittney_jackson/rubyFundamentals/arrays.rb
deleted file mode 100644
index 451aad4..0000000
--- a/brittney_jackson/rubyFundamentals/arrays.rb
+++ /dev/null
@@ -1,69 +0,0 @@
-###### Arrays Assignment ######
-a = [1,2,3,4,5,6]
-b = ['dog', 'cat', 'rabbit', 'lizard']
-c = [true, false]
-
-#.at or .fetch
-
-puts a.fetch(3)
-puts b.fetch(2)
-puts c.fetch(1)
-
-puts '*' *20
-
-#.delete
-
-c.delete(false)
-puts c
-
-puts '*' *20
-
-#.reverse
-
-a.reverse!
-p a
-
-puts '*' *20
-
-#.length
-
-puts b.length
-
-puts '*' *20
-#.sort
-
-b.sort!
-p b
-
-puts '*' *20
-
-#.slice
-
-p a[1..3]
-
-puts '*' *20
-
-#.shuffle
-
-p b.shuffle
-
-puts '*' *20
-
-#.join
-
-p a.join(',')
-
-puts '*' *20
-
-#.insert
-
-c.insert(1, false)
-p c
-
-puts '*' *20
-#values_at() -> returns an array with values specified in the param
-
-p c.values_at(1)
-
-
-
diff --git a/brittney_jackson/rubyFundamentals/basic13.rb b/brittney_jackson/rubyFundamentals/basic13.rb
deleted file mode 100644
index 22e4348..0000000
--- a/brittney_jackson/rubyFundamentals/basic13.rb
+++ /dev/null
@@ -1,95 +0,0 @@
-##### Assignment: Basic 13 #####
-
-## Print 1-255 ##
-p (1..255).to_a
-
-puts '*' *20
-## Print odd numbers between 1-255 ##
-p (1..255).find_all { |i| i % 2 == 1 }
-
-puts '*' *20
-## Print Sum ##
-sum = 0
-for i in 0..255
- puts "New number: #{i} Sum: #{sum += i}"
-end
-
-puts '*' *20
-## Iterating through an array ##
-
-x = [1,3,5,7,9,13]
-
-x.each {|num| print num, ', '}
-puts ' '
-
-puts '*' *20
-## Find Max ##
-y = [2,8,3,-4,-1,0]
-
-p y.max.to_s
-p y.min.to_s
-
-puts '*' *20
-## Get Average ##
-s = [2,10,3]
-sum = 0
-len = s.length.to_i
-for i in s
- sum += i
-end
-avg = sum / len
-p avg
-
-puts '*' *20
-## Array with Odd Numbers ##
-y = []
-(1..255).each { |i| y << i if i.odd? }
-p y
-
-puts '*' *20
-## Greater Than Y ##
-def greater(arr, y)
- arr.count { |i| i > y }
-end
-p greater([1,3,5,7], 3)
-
-puts '*' *20
-## Square the values ##
-q = [1,5,10,-4]
-q.map! { |i| i*i }
-p q
-
-puts '*' *20
-## Eliminate Negative Numbers ##
-t = [1,5,10,-2]
-t.each_index { |i| t[i] = 0 if t[i] < 0 }
-p t
-
-puts '*' *20
-## Max, Min, and Average ##
-r =[1,5,10,-2]
-sum = 0
-len = r.length.to_i
-for i in r
- sum += i
-end
-avg = sum / len
-puts 'max = ' +r.max.to_s+ ', min = ' +r.min.to_s+ ', average = ' +avg.to_s
-
-puts '*' *20
-## Shifting the Values in the Array ##
-a = [1, 5, 10, 7, -2]
-a.shift
-a.push(0)
-p a
-
-puts '*' *20
-## Number to String ##
-t = [1,5,10,-2]
-t.each_index { |i| t[i] = 'dojo' if t[i] < 0 }
-p t
-
-# Write a program that takes an array of numbers and replaces any negative number with the string 'Dojo'. For example, if array x is initially [-1, -3, 2] after your program is done that array should be ['Dojo', 'Dojo', 2].
-
-
-
diff --git a/brittney_jackson/rubyFundamentals/blocks.rb b/brittney_jackson/rubyFundamentals/blocks.rb
deleted file mode 100644
index f29372c..0000000
--- a/brittney_jackson/rubyFundamentals/blocks.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-#### Learning BLocks ####
-
-def test
- puts "You are in the method"
- yield
- puts "You are again back to the method"
- yield
-end
-test { puts "You are in the block" }
-
-def test
- yield 5
- puts "You are in the method test"
- yield 100
-end
-test { |i| puts "You are in the block #{i}" }
\ No newline at end of file
diff --git a/brittney_jackson/rubyFundamentals/guessNumber.rb b/brittney_jackson/rubyFundamentals/guessNumber.rb
deleted file mode 100644
index fbf8570..0000000
--- a/brittney_jackson/rubyFundamentals/guessNumber.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-def guess_number guess
- number = 25
- # your code here
- if guess > 25
- return 'Guess was too high'
- elsif guess < 25
- return 'Guess was too low'
- else
- return 'You Got it'
- end
-
-end
\ No newline at end of file
diff --git a/brittney_jackson/rubyFundamentals/hashes.rb b/brittney_jackson/rubyFundamentals/hashes.rb
deleted file mode 100644
index d48c28d..0000000
--- a/brittney_jackson/rubyFundamentals/hashes.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#### Hashes ####
-
-# .delete(key) => deletes and returns a value associated with the key
-
-h = {:first_name => "Coding", :last_name => "Dojo"}
-h.delete(:last_name)
-p h
-
-puts '_' *20
-
-# .empty? => returns true if hash contains no key-value pairs
-
-p h.empty?
-
-puts '_' *20
-
-# .has_key?(key) => true or false
-
-p h.has_key?(:last_name)
-
-
-puts '_' *20
-
-# .has_value?(value) => true or false
-
-p h.has_value?('Coding')
\ No newline at end of file
diff --git a/brittney_jackson/rubyFundamentals/iterators.rb b/brittney_jackson/rubyFundamentals/iterators.rb
deleted file mode 100644
index 28b9757..0000000
--- a/brittney_jackson/rubyFundamentals/iterators.rb
+++ /dev/null
@@ -1,46 +0,0 @@
-#### iterators exercise ####
-
-
-#.any? { |obj| block } => true or false
-
-p ["ant", "bear", "cat"].any? { |word| word.length >= 3 }
-
-puts '*' *20
-
-#.each => calls block once for each element in ruby self, passing that element as a block parameter.
-p ["ant", "bear", "cat"].each { |word| print word, "--" } # => ant--bear--cat--
-
-puts '*' *20
-#.collect { |obj| block } => returns a new array with the results of running block once for every element in enum
-p (1..4).collect { |i| i*i } # => [1, 4, 9, 16]
-p (1..4).collect { "cat" } # => ["cat", "cat", "cat", "cat"]
-
-puts '*' *20
-#.detect/.find => returns the first for which block is not false.
-p (1..10).detect { |i| i %5 == 0 and i % 7 == 0 } # => nil
-p (1..100).detect { |i| i %5 == 0 and i % 7 == 0 } # => 35
-
-puts '*' *20
-#.find_all { |obj| block } or .select { |obj| block } => returns an array containing all elements of enum for which block is not false
-p (1..10).find_all { |i| i % 3 == 0 } # => [3, 6, 9]
-
-puts '*' *20
-#.reject { |obj| block } => opposite of find_all
-p (1..10).reject { |i| i % 3 == 0 } # => [1, 2, 4, 5, 7, 8, 10]
-
-puts '*' *20
-#.upto(limit) => iterates block up to the int number
-p 5.upto(10) { |i| print i, " " } # => 5 6 7 8 9 10
-
-puts '*' *20
-
-
-
-
-
-
-
-
-
-
-
diff --git a/brittney_jackson/rubyFundamentals/myEnumerable.rb b/brittney_jackson/rubyFundamentals/myEnumerable.rb
deleted file mode 100644
index 91430f7..0000000
--- a/brittney_jackson/rubyFundamentals/myEnumerable.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-#### myEnumerable ####
-
-module MyEnumerable
- def my_each
- # your code here!
- for i in 0...self.length
- puts self[i]
- end
- end
-end
-
-class Array
- include MyEnumerable
-end
-
-p [1,2,3,4].my_each { |i| puts i } # => 1 2 3 4
-p [1,2,3,4].my_each { |i| puts i * 10 } # => 10 20 30 40
\ No newline at end of file
diff --git a/brittney_jackson/rubyFundamentals/names.rb b/brittney_jackson/rubyFundamentals/names.rb
deleted file mode 100644
index 2453bb4..0000000
--- a/brittney_jackson/rubyFundamentals/names.rb
+++ /dev/null
@@ -1,39 +0,0 @@
-#### Names ####
-
-a = {first_name: "Michael", last_name: "Choi"}
-b = {first_name: "John", last_name: "Doe"}
-c = {first_name: "Jane", last_name: "Doe"}
-d = {first_name: "James", last_name: "Smith"}
-e = {first_name: "Jennifer", last_name: "Smith"}
-names = [a, b, c, d, e]
-
-
-
-
-
-puts "You have "+ names.length.to_s + " names in the 'names' array"
-for i in names
- puts 'The name is ' + i[:first_name]+' '+i[:last_name]
-end
-
-
-
-
-
-
-
-
-
-
-# You have 5 names in the 'names' array
-
-
-
-
-
-
-
-
-
-
-
diff --git a/brittney_jackson/rubyFundamentals/range.rb b/brittney_jackson/rubyFundamentals/range.rb
deleted file mode 100644
index e3d7d64..0000000
--- a/brittney_jackson/rubyFundamentals/range.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-#### Range Assignment ###
-
-x = (1..25)
-
-p x
-p x.to_a
-
-#.include?(value) => true or false
-puts 'The range includes 15' if x.include? 15
-
-#.last => returns the last object in range
-puts 'The last number of this range is ' + x.last.to_s
-
-#.max => returns the maximum value in range
-puts 'The MAX number of this range is ' + x.max.to_s
-
-#.min => returns the minimum value in range
-puts 'The MIN number of this range is ' + x.min.to_s
-
-
-
diff --git a/brittney_jackson/rubyFundamentals/rubyPuzzles.rb b/brittney_jackson/rubyFundamentals/rubyPuzzles.rb
deleted file mode 100644
index 7298fcb..0000000
--- a/brittney_jackson/rubyFundamentals/rubyPuzzles.rb
+++ /dev/null
@@ -1,83 +0,0 @@
-#### Ruby Puzzles ####
-
-
-# Create an array with the following values: 3,5,1,2,7,9,8,13,25,32. Print the sum of all numbers in the array. Also have the function return an array that only include numbers that are greater than 10 (e.g. when you pass the array above, it should return an array with the values of 13,25,32 - hint: use reject or find_all method)
-
-a = [3,5,1,2,7,9,8,13,25,32]
-sum = 0
-for i in a
- sum += i
-end
-p sum
-p a.reject { |i| i < 10 }
-
-p '*'*20
-#Create an array with the following values: John, KB, Oliver, Cory, Matthew, Christopher. Shuffle the array and print the name of each person. Have the program also return an array with names that are longer than 5 characters.
-
-b = ['John', 'KB', 'Oliver', 'Cory', 'Matthew', 'Christopher']
-p b.shuffle
-p b.find_all { |i| i.length > 5 }
-
-p '*'*20
-# Create an array that contains all 26 letters in the alphabet (this array must have 26 values). Shuffle the array and display the last letter of the array. Have it also display the first letter of the array. If the first letter in the array is a vowel, have it display a message.
-
-c = ('a'..'z').to_a
-p c.shuffle!
-p c.last
-p c.first
-d =['a', 'e', 'i', 'o', 'u']
-for i in d
- if c.first == i
- puts 'Oooh issa vowel!'
- end
-end
-
-p '*'*20
-# Generate an array with 10 random numbers between 55-100.
-
-rnum = Random.new
-crxynum = []
-
-for i in (0...10)
- crxynum.push(rnum.rand(55..100))
-end
-p crxynum
-
-p '*'*20
-# Generate an array with 10 random numbers between 55-100 and have it be sorted (showing the smallest number in the beginning). Display all the numbers in the array. Next, display the minimum value in the array as well as the maximum value
-
-rnum = Random.new
-crxynum = []
-
-for i in (0...10)
- crxynum.push(rnum.rand(55..100))
-end
-p crxynum.sort
-p crxynum.min
-p crxynum.max
-
-p '*'*20
-# Create a random string that is 5 characters long (hint: (65+rand(26)).chr returns a random character)
-f = ''
-
-for i in (0...5)
- f << (65+rand(26)).chr
-end
-p f
-
-p '*'*20
-# Generate an array with 10 random strings that are each 5 characters long
-z = []
-
-for i in (0...10)
- r = ''
- for i in (0...5)
- r << (65+rand(26)).chr
- end
- z.push(r)
-end
-p z
-
-
-
-
diff --git a/dylan_eckert/beltrev/.gitignore b/dylan_eckert/beltrev/.gitignore
new file mode 100644
index 0000000..48fb168
--- /dev/null
+++ b/dylan_eckert/beltrev/.gitignore
@@ -0,0 +1,17 @@
+# See https://help.github.com/articles/ignoring-files for more about ignoring files.
+#
+# If you find yourself ignoring temporary files generated by your text editor
+# or operating system, you probably want to add a global ignore instead:
+# git config --global core.excludesfile '~/.gitignore_global'
+
+# Ignore bundler config.
+/.bundle
+
+# Ignore all logfiles and tempfiles.
+/log/*
+/tmp/*
+!/log/.keep
+!/tmp/.keep
+
+# Ignore Byebug command history file.
+.byebug_history
diff --git a/dylan_eckert/beltrev/Gemfile b/dylan_eckert/beltrev/Gemfile
new file mode 100644
index 0000000..fa38155
--- /dev/null
+++ b/dylan_eckert/beltrev/Gemfile
@@ -0,0 +1,53 @@
+source 'https://rubygems.org'
+
+git_source(:github) do |repo_name|
+ repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
+ "https://github.com/#{repo_name}.git"
+end
+
+gem 'rails-footnotes'
+# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
+gem 'rails', '~> 5.0.6'
+# Use postgresql as the database for Active Record
+gem 'pg', '~> 0.18'
+# Use Puma as the app server
+gem 'puma', '~> 3.0'
+# Use SCSS for stylesheets
+gem 'sass-rails', '~> 5.0'
+# Use Uglifier as compressor for JavaScript assets
+gem 'uglifier', '>= 1.3.0'
+# Use CoffeeScript for .coffee assets and views
+gem 'coffee-rails', '~> 4.2'
+# See https://github.com/rails/execjs#readme for more supported runtimes
+# gem 'therubyracer', platforms: :ruby
+
+# Use jquery as the JavaScript library
+gem 'jquery-rails'
+# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
+gem 'turbolinks', '~> 5'
+# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
+gem 'jbuilder', '~> 2.5'
+# Use Redis adapter to run Action Cable in production
+# gem 'redis', '~> 3.0'
+# Use ActiveModel has_secure_password
+gem 'bcrypt', '~> 3.1.7'
+
+# Use Capistrano for deployment
+# gem 'capistrano-rails', group: :development
+
+group :development, :test do
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
+ gem 'byebug', platform: :mri
+end
+
+group :development do
+ # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
+ gem 'web-console', '>= 3.3.0'
+ gem 'listen', '~> 3.0.5'
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
+ gem 'spring'
+ gem 'spring-watcher-listen', '~> 2.0.0'
+end
+
+# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
+gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
diff --git a/dylan_eckert/beltrev/Gemfile.lock b/dylan_eckert/beltrev/Gemfile.lock
new file mode 100644
index 0000000..f543c75
--- /dev/null
+++ b/dylan_eckert/beltrev/Gemfile.lock
@@ -0,0 +1,184 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actioncable (5.0.6)
+ actionpack (= 5.0.6)
+ nio4r (>= 1.2, < 3.0)
+ websocket-driver (~> 0.6.1)
+ actionmailer (5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ mail (~> 2.5, >= 2.5.4)
+ rails-dom-testing (~> 2.0)
+ actionpack (5.0.6)
+ actionview (= 5.0.6)
+ activesupport (= 5.0.6)
+ rack (~> 2.0)
+ rack-test (~> 0.6.3)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
+ actionview (5.0.6)
+ activesupport (= 5.0.6)
+ builder (~> 3.1)
+ erubis (~> 2.7.0)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
+ activejob (5.0.6)
+ activesupport (= 5.0.6)
+ globalid (>= 0.3.6)
+ activemodel (5.0.6)
+ activesupport (= 5.0.6)
+ activerecord (5.0.6)
+ activemodel (= 5.0.6)
+ activesupport (= 5.0.6)
+ arel (~> 7.0)
+ activesupport (5.0.6)
+ concurrent-ruby (~> 1.0, >= 1.0.2)
+ i18n (~> 0.7)
+ minitest (~> 5.1)
+ tzinfo (~> 1.1)
+ arel (7.1.4)
+ bcrypt (3.1.11)
+ bindex (0.5.0)
+ builder (3.2.3)
+ byebug (9.1.0)
+ coffee-rails (4.2.2)
+ coffee-script (>= 2.2.0)
+ railties (>= 4.0.0)
+ coffee-script (2.4.1)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.12.2)
+ concurrent-ruby (1.0.5)
+ crass (1.0.3)
+ erubis (2.7.0)
+ execjs (2.7.0)
+ ffi (1.9.18)
+ globalid (0.4.1)
+ activesupport (>= 4.2.0)
+ i18n (0.9.1)
+ concurrent-ruby (~> 1.0)
+ jbuilder (2.7.0)
+ activesupport (>= 4.2.0)
+ multi_json (>= 1.2)
+ jquery-rails (4.3.1)
+ rails-dom-testing (>= 1, < 3)
+ railties (>= 4.2.0)
+ thor (>= 0.14, < 2.0)
+ listen (3.0.8)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ loofah (2.1.1)
+ crass (~> 1.0.2)
+ nokogiri (>= 1.5.9)
+ mail (2.7.0)
+ mini_mime (>= 0.1.1)
+ method_source (0.9.0)
+ mini_mime (1.0.0)
+ mini_portile2 (2.3.0)
+ minitest (5.10.3)
+ multi_json (1.12.2)
+ nio4r (2.1.0)
+ nokogiri (1.8.1)
+ mini_portile2 (~> 2.3.0)
+ pg (0.21.0)
+ puma (3.11.0)
+ rack (2.0.3)
+ rack-test (0.6.3)
+ rack (>= 1.0)
+ rails (5.0.6)
+ actioncable (= 5.0.6)
+ actionmailer (= 5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ activemodel (= 5.0.6)
+ activerecord (= 5.0.6)
+ activesupport (= 5.0.6)
+ bundler (>= 1.3.0)
+ railties (= 5.0.6)
+ sprockets-rails (>= 2.0.0)
+ rails-dom-testing (2.0.3)
+ activesupport (>= 4.2.0)
+ nokogiri (>= 1.6)
+ rails-footnotes (4.1.8)
+ rails (>= 3.2)
+ rails-html-sanitizer (1.0.3)
+ loofah (~> 2.0)
+ railties (5.0.6)
+ actionpack (= 5.0.6)
+ activesupport (= 5.0.6)
+ method_source
+ rake (>= 0.8.7)
+ thor (>= 0.18.1, < 2.0)
+ rake (12.3.0)
+ rb-fsevent (0.10.2)
+ rb-inotify (0.9.10)
+ ffi (>= 0.5.0, < 2)
+ sass (3.5.3)
+ sass-listen (~> 4.0.0)
+ sass-listen (4.0.0)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ sass-rails (5.0.7)
+ railties (>= 4.0.0, < 6)
+ sass (~> 3.1)
+ sprockets (>= 2.8, < 4.0)
+ sprockets-rails (>= 2.0, < 4.0)
+ tilt (>= 1.1, < 3)
+ spring (2.0.2)
+ activesupport (>= 4.2)
+ spring-watcher-listen (2.0.1)
+ listen (>= 2.7, < 4.0)
+ spring (>= 1.2, < 3.0)
+ sprockets (3.7.1)
+ concurrent-ruby (~> 1.0)
+ rack (> 1, < 3)
+ sprockets-rails (3.2.1)
+ actionpack (>= 4.0)
+ activesupport (>= 4.0)
+ sprockets (>= 3.0.0)
+ thor (0.20.0)
+ thread_safe (0.3.6)
+ tilt (2.0.8)
+ turbolinks (5.0.1)
+ turbolinks-source (~> 5)
+ turbolinks-source (5.0.3)
+ tzinfo (1.2.4)
+ thread_safe (~> 0.1)
+ uglifier (4.0.2)
+ execjs (>= 0.3.0, < 3)
+ web-console (3.5.1)
+ actionview (>= 5.0)
+ activemodel (>= 5.0)
+ bindex (>= 0.4.0)
+ railties (>= 5.0)
+ websocket-driver (0.6.5)
+ websocket-extensions (>= 0.1.0)
+ websocket-extensions (0.1.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ bcrypt (~> 3.1.7)
+ byebug
+ coffee-rails (~> 4.2)
+ jbuilder (~> 2.5)
+ jquery-rails
+ listen (~> 3.0.5)
+ pg (~> 0.18)
+ puma (~> 3.0)
+ rails (~> 5.0.6)
+ rails-footnotes
+ sass-rails (~> 5.0)
+ spring
+ spring-watcher-listen (~> 2.0.0)
+ turbolinks (~> 5)
+ tzinfo-data
+ uglifier (>= 1.3.0)
+ web-console (>= 3.3.0)
+
+BUNDLED WITH
+ 1.16.0
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/README.md b/dylan_eckert/beltrev/README.md
similarity index 100%
rename from Tamisha_Damas/Rails/Models /Friends(self_join)/README.md
rename to dylan_eckert/beltrev/README.md
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/Rakefile b/dylan_eckert/beltrev/Rakefile
similarity index 100%
rename from Tamisha_Damas/Rails/Models /Friends(self_join)/Rakefile
rename to dylan_eckert/beltrev/Rakefile
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/app/assets/config/manifest.js b/dylan_eckert/beltrev/app/assets/config/manifest.js
similarity index 100%
rename from Tamisha_Damas/Rails/Models /Friends(self_join)/app/assets/config/manifest.js
rename to dylan_eckert/beltrev/app/assets/config/manifest.js
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/app/assets/images/.keep b/dylan_eckert/beltrev/app/assets/images/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/app/assets/images/.keep
rename to dylan_eckert/beltrev/app/assets/images/.keep
diff --git a/dylan_eckert/beltrev/app/assets/javascripts/application.js b/dylan_eckert/beltrev/app/assets/javascripts/application.js
new file mode 100644
index 0000000..b12018d
--- /dev/null
+++ b/dylan_eckert/beltrev/app/assets/javascripts/application.js
@@ -0,0 +1,16 @@
+// This is a manifest file that'll be compiled into application.js, which will include all the files
+// listed below.
+//
+// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
+// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
+//
+// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
+// compiled file. JavaScript code in this file should be added after the last require_* statement.
+//
+// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
+// about supported directives.
+//
+//= require jquery
+//= require jquery_ujs
+//= require turbolinks
+//= require_tree .
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/app/assets/javascripts/users.coffee b/dylan_eckert/beltrev/app/assets/javascripts/attendees.coffee
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/app/assets/javascripts/users.coffee
rename to dylan_eckert/beltrev/app/assets/javascripts/attendees.coffee
diff --git a/dylan_eckert/beltrev/app/assets/javascripts/cable.js b/dylan_eckert/beltrev/app/assets/javascripts/cable.js
new file mode 100644
index 0000000..71ee1e6
--- /dev/null
+++ b/dylan_eckert/beltrev/app/assets/javascripts/cable.js
@@ -0,0 +1,13 @@
+// Action Cable provides the framework to deal with WebSockets in Rails.
+// You can generate new channels where WebSocket features live using the rails generate channel command.
+//
+//= require action_cable
+//= require_self
+//= require_tree ./channels
+
+(function() {
+ this.App || (this.App = {});
+
+ App.cable = ActionCable.createConsumer();
+
+}).call(this);
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/app/controllers/concerns/.keep b/dylan_eckert/beltrev/app/assets/javascripts/channels/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/app/controllers/concerns/.keep
rename to dylan_eckert/beltrev/app/assets/javascripts/channels/.keep
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/app/assets/javascripts/dojos.coffee b/dylan_eckert/beltrev/app/assets/javascripts/events.coffee
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/app/assets/javascripts/dojos.coffee
rename to dylan_eckert/beltrev/app/assets/javascripts/events.coffee
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/app/assets/javascripts/sessions.coffee b/dylan_eckert/beltrev/app/assets/javascripts/sessions.coffee
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/app/assets/javascripts/sessions.coffee
rename to dylan_eckert/beltrev/app/assets/javascripts/sessions.coffee
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/app/assets/javascripts/users.coffee b/dylan_eckert/beltrev/app/assets/javascripts/users.coffee
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/app/assets/javascripts/users.coffee
rename to dylan_eckert/beltrev/app/assets/javascripts/users.coffee
diff --git a/dylan_eckert/beltrev/app/assets/stylesheets/application.css b/dylan_eckert/beltrev/app/assets/stylesheets/application.css
new file mode 100644
index 0000000..0ebd7fe
--- /dev/null
+++ b/dylan_eckert/beltrev/app/assets/stylesheets/application.css
@@ -0,0 +1,15 @@
+/*
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
+ * listed below.
+ *
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
+ * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
+ *
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
+ * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
+ * files in this directory. Styles in this file should be added after the last require_* statement.
+ * It is generally better to create a new file per style scope.
+ *
+ *= require_tree .
+ *= require_self
+ */
diff --git a/dylan_eckert/beltrev/app/assets/stylesheets/attendees.scss b/dylan_eckert/beltrev/app/assets/stylesheets/attendees.scss
new file mode 100644
index 0000000..f99f57b
--- /dev/null
+++ b/dylan_eckert/beltrev/app/assets/stylesheets/attendees.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the Attendees controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/dylan_eckert/beltrev/app/assets/stylesheets/events.scss b/dylan_eckert/beltrev/app/assets/stylesheets/events.scss
new file mode 100644
index 0000000..e975d96
--- /dev/null
+++ b/dylan_eckert/beltrev/app/assets/stylesheets/events.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the Events controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/app/assets/stylesheets/sessions.scss b/dylan_eckert/beltrev/app/assets/stylesheets/sessions.scss
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/app/assets/stylesheets/sessions.scss
rename to dylan_eckert/beltrev/app/assets/stylesheets/sessions.scss
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/app/assets/stylesheets/users.scss b/dylan_eckert/beltrev/app/assets/stylesheets/users.scss
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/app/assets/stylesheets/users.scss
rename to dylan_eckert/beltrev/app/assets/stylesheets/users.scss
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/app/channels/application_cable/channel.rb b/dylan_eckert/beltrev/app/channels/application_cable/channel.rb
similarity index 100%
rename from Tamisha_Damas/Rails/Models /Friends(self_join)/app/channels/application_cable/channel.rb
rename to dylan_eckert/beltrev/app/channels/application_cable/channel.rb
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/app/channels/application_cable/connection.rb b/dylan_eckert/beltrev/app/channels/application_cable/connection.rb
similarity index 100%
rename from Tamisha_Damas/Rails/Models /Friends(self_join)/app/channels/application_cable/connection.rb
rename to dylan_eckert/beltrev/app/channels/application_cable/connection.rb
diff --git a/dylan_eckert/beltrev/app/controllers/application_controller.rb b/dylan_eckert/beltrev/app/controllers/application_controller.rb
new file mode 100644
index 0000000..8e0496d
--- /dev/null
+++ b/dylan_eckert/beltrev/app/controllers/application_controller.rb
@@ -0,0 +1,18 @@
+class ApplicationController < ActionController::Base
+ protect_from_forgery with: :exception
+
+ before_action :require_login, except: [:index]
+
+ def index
+ end
+
+ def require_login
+ return redirect_to root_path unless session[:user_id]
+ end
+ def current_user
+ # ONLY USE THIS IF YOU ARE NEEDING THE FULL USER INFO (name, email, etc) if you are going for an id, just use session[:user_id]
+ return User.find(session[:user_id]) if session[:user_id]
+ end
+ helper_method :current_user
+ helper_method :require_login
+end
diff --git a/dylan_eckert/beltrev/app/controllers/attendees_controller.rb b/dylan_eckert/beltrev/app/controllers/attendees_controller.rb
new file mode 100644
index 0000000..a361e81
--- /dev/null
+++ b/dylan_eckert/beltrev/app/controllers/attendees_controller.rb
@@ -0,0 +1,18 @@
+class AttendeesController < ApplicationController
+ before_action :user_auth
+ def create
+ Attendee.create(attendee_params)
+ redirect_to events_path
+ end
+
+ def destroy
+ @attendee = Attendee.where(event_id: params[:id], user_id: session[:user_id])
+ @attendee.first.destroy if @attendee != nil
+ # .first is needed because where returns an array, even if it is just an array of one thing
+ redirect_to events_path
+ end
+ private
+ def attendee_params
+ params.require(:attendee).permit(:event_id).merge(user: current_user)
+ end
+end
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/app/mailers/.keep b/dylan_eckert/beltrev/app/controllers/concerns/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/app/mailers/.keep
rename to dylan_eckert/beltrev/app/controllers/concerns/.keep
diff --git a/dylan_eckert/beltrev/app/controllers/events_controller.rb b/dylan_eckert/beltrev/app/controllers/events_controller.rb
new file mode 100644
index 0000000..f81f8c0
--- /dev/null
+++ b/dylan_eckert/beltrev/app/controllers/events_controller.rb
@@ -0,0 +1,45 @@
+class EventsController < ApplicationController
+ before_action :event_auth, except: [:index, :show, :create]
+ def index
+ @nearme = Event.where(state: current_user.state)
+ @oostate = Event.where.not(state: current_user.state)
+ end
+ def show
+ @event = Event.find(params[:id])
+ end
+ def create
+ event = Event.create(event_params)
+
+ if event.valid?
+ return redirect_to events_path
+ else
+ flash[:errors] = event.errors.full_messages
+ return redirect_back fallback_location: new_event_path
+ end
+ end
+ def edit
+ @event = Event.find(params[:id])
+ end
+ def update
+ event = Event.find(params[:id])
+ event.update(event_params)
+ redirect_to event_path event.id
+ end
+ def destroy
+ event = Event.find(params[:id])
+ event.destroy
+ redirect_to events_path
+ end
+
+ private
+ def event_params
+ params.require(:event).permit(:name, :date, :location, :state).merge(user: current_user)
+ end
+ def event_auth
+ @event = Event.find(params[:id])
+ if @event.user.id != session[:user_id]
+ # anything put into params or forms are treated as strings, so basically, session[:user_id] is a true integer because it comes from the user object. params[:id] is a string and must be converted to an integer in order for the comparison to occur
+ redirect_to events_path
+ end
+ end
+end
diff --git a/dylan_eckert/beltrev/app/controllers/sessions_controller.rb b/dylan_eckert/beltrev/app/controllers/sessions_controller.rb
new file mode 100644
index 0000000..01224f2
--- /dev/null
+++ b/dylan_eckert/beltrev/app/controllers/sessions_controller.rb
@@ -0,0 +1,23 @@
+class SessionsController < ApplicationController
+ skip_before_action :require_login, except: [:destroy]
+ def create
+ user = User.find_by(email: params[:email])
+ # find by email
+ if user
+ if user.try(:authenticate, params[:password])
+ # if the user matches a user in the database, set the session id to the user being authenticated
+ session[:user_id] = user.id
+ return redirect_to events_path
+ end
+ flash[:errors] = ["Invalid password"]
+ else
+ flash[:errors] = ["Invalid email"]
+ end
+ return redirect_back fallback_location: root_path
+ end
+ def destroy
+ reset_session
+ redirect_to root_path
+ end
+
+end
diff --git a/dylan_eckert/beltrev/app/controllers/users_controller.rb b/dylan_eckert/beltrev/app/controllers/users_controller.rb
new file mode 100644
index 0000000..f174ba5
--- /dev/null
+++ b/dylan_eckert/beltrev/app/controllers/users_controller.rb
@@ -0,0 +1,39 @@
+class UsersController < ApplicationController
+ skip_before_action :require_login, only: [:create]
+ before_action :user_auth, except: [:create]
+ def create
+ user = User.create(user_params)
+ if user.valid?
+ session[:user_id] = user.id
+ return redirect_to events_path
+ else
+ flash[:errors] = user.errors.full_messages
+ return redirect_back fallback_location: root_path
+ end
+ end
+ def edit
+ @user = User.find(params[:id])
+ end
+ def update
+ user = User.find(params[:id])
+ user.update(user_params)
+ redirect_to events_path
+ end
+ def destroy
+ user = User.find(params[:id])
+ user.destroy
+ reset_session
+ redirect_to root_path
+ end
+
+ private
+ def user_params
+ params.require(:user).permit(:fname, :lname, :email, :password, :password_confirmation, :location, :state)
+ end
+ def user_auth
+ if params[:id].to_i != session[:user_id]
+ # anything put into params or forms are treated as strings, so basically, session[:user_id] is a true integer because it comes from the user object. params[:id] is a string and must be converted to an integer in order for the comparison to occur
+ redirect_to events_path
+ end
+ end
+end
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/app/helpers/application_helper.rb b/dylan_eckert/beltrev/app/helpers/application_helper.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/app/helpers/application_helper.rb
rename to dylan_eckert/beltrev/app/helpers/application_helper.rb
diff --git a/dylan_eckert/beltrev/app/helpers/attendees_helper.rb b/dylan_eckert/beltrev/app/helpers/attendees_helper.rb
new file mode 100644
index 0000000..1011626
--- /dev/null
+++ b/dylan_eckert/beltrev/app/helpers/attendees_helper.rb
@@ -0,0 +1,2 @@
+module AttendeesHelper
+end
diff --git a/dylan_eckert/beltrev/app/helpers/events_helper.rb b/dylan_eckert/beltrev/app/helpers/events_helper.rb
new file mode 100644
index 0000000..8a9a878
--- /dev/null
+++ b/dylan_eckert/beltrev/app/helpers/events_helper.rb
@@ -0,0 +1,2 @@
+module EventsHelper
+end
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/app/helpers/sessions_helper.rb b/dylan_eckert/beltrev/app/helpers/sessions_helper.rb
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/app/helpers/sessions_helper.rb
rename to dylan_eckert/beltrev/app/helpers/sessions_helper.rb
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/app/helpers/users_helper.rb b/dylan_eckert/beltrev/app/helpers/users_helper.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/app/helpers/users_helper.rb
rename to dylan_eckert/beltrev/app/helpers/users_helper.rb
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/app/jobs/application_job.rb b/dylan_eckert/beltrev/app/jobs/application_job.rb
similarity index 100%
rename from Tamisha_Damas/Rails/Models /Friends(self_join)/app/jobs/application_job.rb
rename to dylan_eckert/beltrev/app/jobs/application_job.rb
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/app/mailers/application_mailer.rb b/dylan_eckert/beltrev/app/mailers/application_mailer.rb
similarity index 100%
rename from Tamisha_Damas/Rails/Models /Friends(self_join)/app/mailers/application_mailer.rb
rename to dylan_eckert/beltrev/app/mailers/application_mailer.rb
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/app/models/application_record.rb b/dylan_eckert/beltrev/app/models/application_record.rb
similarity index 100%
rename from Tamisha_Damas/Rails/Models /Friends(self_join)/app/models/application_record.rb
rename to dylan_eckert/beltrev/app/models/application_record.rb
diff --git a/dylan_eckert/beltrev/app/models/attendee.rb b/dylan_eckert/beltrev/app/models/attendee.rb
new file mode 100644
index 0000000..dfe1c65
--- /dev/null
+++ b/dylan_eckert/beltrev/app/models/attendee.rb
@@ -0,0 +1,4 @@
+class Attendee < ApplicationRecord
+ belongs_to :user
+ belongs_to :event
+end
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/app/models/.keep b/dylan_eckert/beltrev/app/models/concerns/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/app/models/.keep
rename to dylan_eckert/beltrev/app/models/concerns/.keep
diff --git a/dylan_eckert/beltrev/app/models/event.rb b/dylan_eckert/beltrev/app/models/event.rb
new file mode 100644
index 0000000..8ba30ba
--- /dev/null
+++ b/dylan_eckert/beltrev/app/models/event.rb
@@ -0,0 +1,25 @@
+class Event < ApplicationRecord
+ belongs_to :user
+ has_many :attendees
+ has_many :people_attending, through: :attendees, source: :user
+
+ validates :name, :date, :location, :state, presence: :true
+ validate :datecheck
+
+ before_save :input_format
+ # line above says that before saving the user to the database to run the email_lowercase method
+
+ def datecheck
+ if date.present? && date < Date.current
+ errors.add(:date, "must be in the future")
+ end
+ end
+ def input_format
+ self.name = self.name.titleize
+ self.location = self.location.titleize
+ self.state.upcase!
+ # the built in method for lowercasing something is .downcase!
+ # the built in method for caps locking something is .upcase!
+ # the built in method for capitalizing every new word's first letter only (ex: This Is Titleize) something is .titleize!
+ end
+end
diff --git a/dylan_eckert/beltrev/app/models/user.rb b/dylan_eckert/beltrev/app/models/user.rb
new file mode 100644
index 0000000..0b20fee
--- /dev/null
+++ b/dylan_eckert/beltrev/app/models/user.rb
@@ -0,0 +1,26 @@
+class User < ApplicationRecord
+ has_secure_password
+ has_many :events, dependent: :destroy
+ has_many :attendees
+ has_many :events_attending, through: :attendees, source: :event
+
+
+
+ EMAIL_REGEX = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]+)\z/i
+ validates :email, presence: true, uniqueness: { case_sensitive: false }, format: { with: EMAIL_REGEX }
+ validates :fname, :lname, :location, :state, presence: :true
+
+ before_save :input_format
+ # line above says that before saving the user to the database to run the email_lowercase method
+
+ def input_format
+ self.email.downcase!
+ self.fname.downcase!
+ self.lname.downcase!
+ self.location = self.location.titleize
+ self.state.upcase!
+ # the built in method for lowercasing something is .downcase!
+ # the built in method for caps locking something is .upcase!
+ # the built in method for capitalizing every new word's first letter only (ex: This Is Titleize) something is .titleize!
+ end
+end
diff --git a/dylan_eckert/beltrev/app/views/application/index.html.erb b/dylan_eckert/beltrev/app/views/application/index.html.erb
new file mode 100644
index 0000000..51fde0c
--- /dev/null
+++ b/dylan_eckert/beltrev/app/views/application/index.html.erb
@@ -0,0 +1,39 @@
+
Register
+
+
+
+
+
Login
+
diff --git a/dylan_eckert/beltrev/app/views/events/edit.html.erb b/dylan_eckert/beltrev/app/views/events/edit.html.erb
new file mode 100644
index 0000000..316b487
--- /dev/null
+++ b/dylan_eckert/beltrev/app/views/events/edit.html.erb
@@ -0,0 +1,22 @@
+
Edit <%= @event.name %>
+
diff --git a/dylan_eckert/beltrev/app/views/events/index.html.erb b/dylan_eckert/beltrev/app/views/events/index.html.erb
new file mode 100644
index 0000000..8a1dc0b
--- /dev/null
+++ b/dylan_eckert/beltrev/app/views/events/index.html.erb
@@ -0,0 +1,124 @@
+
+ <% if flash[:errors] %>
+ <% flash[:errors].each do |error| %>
+
<%= error %>
+ <% end %>
+ <% end %>
+
+ <%= yield %>
+
+
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/app/views/layouts/mailer.html.erb b/dylan_eckert/beltrev/app/views/layouts/mailer.html.erb
similarity index 100%
rename from Tamisha_Damas/Rails/Models /Friends(self_join)/app/views/layouts/mailer.html.erb
rename to dylan_eckert/beltrev/app/views/layouts/mailer.html.erb
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/app/views/layouts/mailer.text.erb b/dylan_eckert/beltrev/app/views/layouts/mailer.text.erb
similarity index 100%
rename from Tamisha_Damas/Rails/Models /Friends(self_join)/app/views/layouts/mailer.text.erb
rename to dylan_eckert/beltrev/app/views/layouts/mailer.text.erb
diff --git a/dylan_eckert/beltrev/app/views/users/edit.html.erb b/dylan_eckert/beltrev/app/views/users/edit.html.erb
new file mode 100644
index 0000000..522c691
--- /dev/null
+++ b/dylan_eckert/beltrev/app/views/users/edit.html.erb
@@ -0,0 +1,25 @@
+
+
+Delete Account
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/bin/bundle b/dylan_eckert/beltrev/bin/bundle
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/bin/bundle
rename to dylan_eckert/beltrev/bin/bundle
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/bin/rails b/dylan_eckert/beltrev/bin/rails
similarity index 100%
rename from Tamisha_Damas/Rails/Models /Friends(self_join)/bin/rails
rename to dylan_eckert/beltrev/bin/rails
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/bin/rake b/dylan_eckert/beltrev/bin/rake
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/bin/rake
rename to dylan_eckert/beltrev/bin/rake
diff --git a/dylan_eckert/beltrev/bin/setup b/dylan_eckert/beltrev/bin/setup
new file mode 100755
index 0000000..e620b4d
--- /dev/null
+++ b/dylan_eckert/beltrev/bin/setup
@@ -0,0 +1,34 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a starting point to setup your application.
+ # Add necessary setup steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ # puts "\n== Copying sample files =="
+ # unless File.exist?('config/database.yml')
+ # cp 'config/database.yml.sample', 'config/database.yml'
+ # end
+
+ puts "\n== Preparing database =="
+ system! 'bin/rails db:setup'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/bin/spring b/dylan_eckert/beltrev/bin/spring
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/bin/spring
rename to dylan_eckert/beltrev/bin/spring
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/bin/update b/dylan_eckert/beltrev/bin/update
similarity index 100%
rename from Tamisha_Damas/Rails/Models /Friends(self_join)/bin/update
rename to dylan_eckert/beltrev/bin/update
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/config.ru b/dylan_eckert/beltrev/config.ru
similarity index 100%
rename from Tamisha_Damas/Rails/Models /Friends(self_join)/config.ru
rename to dylan_eckert/beltrev/config.ru
diff --git a/dylan_eckert/beltrev/config/application.rb b/dylan_eckert/beltrev/config/application.rb
new file mode 100644
index 0000000..5a92bd2
--- /dev/null
+++ b/dylan_eckert/beltrev/config/application.rb
@@ -0,0 +1,25 @@
+require_relative 'boot'
+
+require "rails"
+# Pick the frameworks you want:
+require "active_model/railtie"
+require "active_job/railtie"
+require "active_record/railtie"
+require "action_controller/railtie"
+require "action_mailer/railtie"
+require "action_view/railtie"
+require "action_cable/engine"
+require "sprockets/railtie"
+# require "rails/test_unit/railtie"
+
+# Require the gems listed in Gemfile, including any gems
+# you've limited to :test, :development, or :production.
+Bundler.require(*Rails.groups)
+
+module Beltrev
+ class Application < Rails::Application
+ # Settings in config/environments/* take precedence over those specified here.
+ # Application configuration should go into files in config/initializers
+ # -- all .rb files in that directory are automatically loaded.
+ end
+end
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/boot.rb b/dylan_eckert/beltrev/config/boot.rb
similarity index 100%
rename from Tamisha_Damas/Rails/Models /Friends(self_join)/config/boot.rb
rename to dylan_eckert/beltrev/config/boot.rb
diff --git a/dylan_eckert/beltrev/config/cable.yml b/dylan_eckert/beltrev/config/cable.yml
new file mode 100644
index 0000000..0bbde6f
--- /dev/null
+++ b/dylan_eckert/beltrev/config/cable.yml
@@ -0,0 +1,9 @@
+development:
+ adapter: async
+
+test:
+ adapter: async
+
+production:
+ adapter: redis
+ url: redis://localhost:6379/1
diff --git a/dylan_eckert/beltrev/config/database.yml b/dylan_eckert/beltrev/config/database.yml
new file mode 100644
index 0000000..9bd3e08
--- /dev/null
+++ b/dylan_eckert/beltrev/config/database.yml
@@ -0,0 +1,85 @@
+# PostgreSQL. Versions 9.1 and up are supported.
+#
+# Install the pg driver:
+# gem install pg
+# On OS X with Homebrew:
+# gem install pg -- --with-pg-config=/usr/local/bin/pg_config
+# On OS X with MacPorts:
+# gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
+# On Windows:
+# gem install pg
+# Choose the win32 build.
+# Install PostgreSQL and put its /bin directory on your path.
+#
+# Configure Using Gemfile
+# gem 'pg'
+#
+default: &default
+ adapter: postgresql
+ encoding: unicode
+ # For details on connection pooling, see rails configuration guide
+ # http://guides.rubyonrails.org/configuring.html#database-pooling
+ pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
+
+development:
+ <<: *default
+ database: beltrev_development
+
+ # The specified database role being used to connect to postgres.
+ # To create additional roles in postgres see `$ createuser --help`.
+ # When left blank, postgres will use the default role. This is
+ # the same name as the operating system user that initialized the database.
+ #username: beltrev
+
+ # The password associated with the postgres role (username).
+ #password:
+
+ # Connect on a TCP socket. Omitted by default since the client uses a
+ # domain socket that doesn't need configuration. Windows does not have
+ # domain sockets, so uncomment these lines.
+ #host: localhost
+
+ # The TCP port the server listens on. Defaults to 5432.
+ # If your server runs on a different port number, change accordingly.
+ #port: 5432
+
+ # Schema search path. The server defaults to $user,public
+ #schema_search_path: myapp,sharedapp,public
+
+ # Minimum log levels, in increasing order:
+ # debug5, debug4, debug3, debug2, debug1,
+ # log, notice, warning, error, fatal, and panic
+ # Defaults to warning.
+ #min_messages: notice
+
+# Warning: The database defined as "test" will be erased and
+# re-generated from your development database when you run "rake".
+# Do not set this db to the same as development or production.
+test:
+ <<: *default
+ database: beltrev_test
+
+# As with config/secrets.yml, you never want to store sensitive information,
+# like your database password, in your source code. If your source code is
+# ever seen by anyone, they now have access to your database.
+#
+# Instead, provide the password as a unix environment variable when you boot
+# the app. Read http://guides.rubyonrails.org/configuring.html#configuring-a-database
+# for a full rundown on how to provide these environment variables in a
+# production deployment.
+#
+# On Heroku and other platform providers, you may have a full connection URL
+# available as an environment variable. For example:
+#
+# DATABASE_URL="postgres://myuser:mypass@localhost/somedatabase"
+#
+# You can use this database configuration with:
+#
+# production:
+# url: <%= ENV['DATABASE_URL'] %>
+#
+production:
+ <<: *default
+ database: beltrev_production
+ username: beltrev
+ password: <%= ENV['BELTREV_DATABASE_PASSWORD'] %>
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/environment.rb b/dylan_eckert/beltrev/config/environment.rb
similarity index 100%
rename from Tamisha_Damas/Rails/Models /Friends(self_join)/config/environment.rb
rename to dylan_eckert/beltrev/config/environment.rb
diff --git a/dylan_eckert/beltrev/config/environments/development.rb b/dylan_eckert/beltrev/config/environments/development.rb
new file mode 100644
index 0000000..cf43ceb
--- /dev/null
+++ b/dylan_eckert/beltrev/config/environments/development.rb
@@ -0,0 +1,55 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # In the development environment your application's code is reloaded on
+ # every request. This slows down response time but is perfect for development
+ # since you don't have to restart the web server when you make code changes.
+ config.cache_classes = false
+
+ config.reload_classes_only_on_change = false
+ # Do not eager load code on boot.
+ config.eager_load = false
+
+ # Show full error reports.
+ config.consider_all_requests_local = true
+
+ # Enable/disable caching. By default caching is disabled.
+ if Rails.root.join('tmp/caching-dev.txt').exist?
+ config.action_controller.perform_caching = true
+
+ config.cache_store = :memory_store
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=172800'
+ }
+ else
+ config.action_controller.perform_caching = false
+
+ config.cache_store = :null_store
+ end
+
+ # Don't care if the mailer can't send.
+ config.action_mailer.raise_delivery_errors = false
+
+ config.action_mailer.perform_caching = false
+
+ # Print deprecation notices to the Rails logger.
+ config.active_support.deprecation = :log
+
+ # Raise an error on page load if there are pending migrations.
+ config.active_record.migration_error = :page_load
+
+ # Debug mode disables concatenation and preprocessing of assets.
+ # This option may cause significant delays in view rendering with a large
+ # number of complex assets.
+ config.assets.debug = true
+
+ # Suppress logger output for asset requests.
+ config.assets.quiet = true
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+
+ # Use an evented file watcher to asynchronously detect changes in source code,
+ # routes, locales, etc. This feature depends on the listen gem.
+ config.file_watcher = ActiveSupport::EventedFileUpdateChecker
+end
diff --git a/dylan_eckert/beltrev/config/environments/production.rb b/dylan_eckert/beltrev/config/environments/production.rb
new file mode 100644
index 0000000..75357ae
--- /dev/null
+++ b/dylan_eckert/beltrev/config/environments/production.rb
@@ -0,0 +1,86 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # Code is not reloaded between requests.
+ config.cache_classes = true
+
+ # Eager load code on boot. This eager loads most of Rails and
+ # your application in memory, allowing both threaded web servers
+ # and those relying on copy on write to perform better.
+ # Rake tasks automatically ignore this option for performance.
+ config.eager_load = true
+
+ # Full error reports are disabled and caching is turned on.
+ config.consider_all_requests_local = false
+ config.action_controller.perform_caching = true
+
+ # Disable serving static files from the `/public` folder by default since
+ # Apache or NGINX already handles this.
+ config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
+
+ # Compress JavaScripts and CSS.
+ config.assets.js_compressor = :uglifier
+ # config.assets.css_compressor = :sass
+
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
+ config.assets.compile = false
+
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
+
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
+ # config.action_controller.asset_host = 'http://assets.example.com'
+
+ # Specifies the header that your server uses for sending files.
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
+
+ # Mount Action Cable outside main process or domain
+ # config.action_cable.mount_path = nil
+ # config.action_cable.url = 'wss://example.com/cable'
+ # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
+
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
+ # config.force_ssl = true
+
+ # Use the lowest log level to ensure availability of diagnostic information
+ # when problems arise.
+ config.log_level = :debug
+
+ # Prepend all log lines with the following tags.
+ config.log_tags = [ :request_id ]
+
+ # Use a different cache store in production.
+ # config.cache_store = :mem_cache_store
+
+ # Use a real queuing backend for Active Job (and separate queues per environment)
+ # config.active_job.queue_adapter = :resque
+ # config.active_job.queue_name_prefix = "beltrev_#{Rails.env}"
+ config.action_mailer.perform_caching = false
+
+ # Ignore bad email addresses and do not raise email delivery errors.
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
+ # config.action_mailer.raise_delivery_errors = false
+
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
+ # the I18n.default_locale when a translation cannot be found).
+ config.i18n.fallbacks = true
+
+ # Send deprecation notices to registered listeners.
+ config.active_support.deprecation = :notify
+
+ # Use default logging formatter so that PID and timestamp are not suppressed.
+ config.log_formatter = ::Logger::Formatter.new
+
+ # Use a different logger for distributed setups.
+ # require 'syslog/logger'
+ # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
+
+ if ENV["RAILS_LOG_TO_STDOUT"].present?
+ logger = ActiveSupport::Logger.new(STDOUT)
+ logger.formatter = config.log_formatter
+ config.logger = ActiveSupport::TaggedLogging.new(logger)
+ end
+
+ # Do not dump schema after migrations.
+ config.active_record.dump_schema_after_migration = false
+end
diff --git a/dylan_eckert/beltrev/config/environments/test.rb b/dylan_eckert/beltrev/config/environments/test.rb
new file mode 100644
index 0000000..30587ef
--- /dev/null
+++ b/dylan_eckert/beltrev/config/environments/test.rb
@@ -0,0 +1,42 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # The test environment is used exclusively to run your application's
+ # test suite. You never need to work with it otherwise. Remember that
+ # your test database is "scratch space" for the test suite and is wiped
+ # and recreated between test runs. Don't rely on the data there!
+ config.cache_classes = true
+
+ # Do not eager load code on boot. This avoids loading your whole application
+ # just for the purpose of running a single test. If you are using a tool that
+ # preloads Rails for running tests, you may have to set it to true.
+ config.eager_load = false
+
+ # Configure public file server for tests with Cache-Control for performance.
+ config.public_file_server.enabled = true
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=3600'
+ }
+
+ # Show full error reports and disable caching.
+ config.consider_all_requests_local = true
+ config.action_controller.perform_caching = false
+
+ # Raise exceptions instead of rendering exception templates.
+ config.action_dispatch.show_exceptions = false
+
+ # Disable request forgery protection in test environment.
+ config.action_controller.allow_forgery_protection = false
+ config.action_mailer.perform_caching = false
+
+ # Tell Action Mailer not to deliver emails to the real world.
+ # The :test delivery method accumulates sent emails in the
+ # ActionMailer::Base.deliveries array.
+ config.action_mailer.delivery_method = :test
+
+ # Print deprecation notices to the stderr.
+ config.active_support.deprecation = :stderr
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+end
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/initializers/application_controller_renderer.rb b/dylan_eckert/beltrev/config/initializers/application_controller_renderer.rb
similarity index 100%
rename from Tamisha_Damas/Rails/Models /Friends(self_join)/config/initializers/application_controller_renderer.rb
rename to dylan_eckert/beltrev/config/initializers/application_controller_renderer.rb
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/config/initializers/assets.rb b/dylan_eckert/beltrev/config/initializers/assets.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/config/initializers/assets.rb
rename to dylan_eckert/beltrev/config/initializers/assets.rb
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/config/initializers/backtrace_silencers.rb b/dylan_eckert/beltrev/config/initializers/backtrace_silencers.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/config/initializers/backtrace_silencers.rb
rename to dylan_eckert/beltrev/config/initializers/backtrace_silencers.rb
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/initializers/cookies_serializer.rb b/dylan_eckert/beltrev/config/initializers/cookies_serializer.rb
similarity index 100%
rename from Tamisha_Damas/Rails/Models /Friends(self_join)/config/initializers/cookies_serializer.rb
rename to dylan_eckert/beltrev/config/initializers/cookies_serializer.rb
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/config/initializers/filter_parameter_logging.rb b/dylan_eckert/beltrev/config/initializers/filter_parameter_logging.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/config/initializers/filter_parameter_logging.rb
rename to dylan_eckert/beltrev/config/initializers/filter_parameter_logging.rb
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/config/initializers/inflections.rb b/dylan_eckert/beltrev/config/initializers/inflections.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/config/initializers/inflections.rb
rename to dylan_eckert/beltrev/config/initializers/inflections.rb
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/config/initializers/mime_types.rb b/dylan_eckert/beltrev/config/initializers/mime_types.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/config/initializers/mime_types.rb
rename to dylan_eckert/beltrev/config/initializers/mime_types.rb
diff --git a/dylan_eckert/beltrev/config/initializers/new_framework_defaults.rb b/dylan_eckert/beltrev/config/initializers/new_framework_defaults.rb
new file mode 100644
index 0000000..dd236b5
--- /dev/null
+++ b/dylan_eckert/beltrev/config/initializers/new_framework_defaults.rb
@@ -0,0 +1,26 @@
+# Be sure to restart your server when you modify this file.
+#
+# This file contains migration options to ease your Rails 5.0 upgrade.
+#
+# Read the Guide for Upgrading Ruby on Rails for more info on each option.
+
+Rails.application.config.action_controller.raise_on_unfiltered_parameters = true
+
+# Enable per-form CSRF tokens. Previous versions had false.
+Rails.application.config.action_controller.per_form_csrf_tokens = true
+
+# Enable origin-checking CSRF mitigation. Previous versions had false.
+Rails.application.config.action_controller.forgery_protection_origin_check = true
+
+# Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`.
+# Previous versions had false.
+ActiveSupport.to_time_preserves_timezone = true
+
+# Require `belongs_to` associations by default. Previous versions had false.
+Rails.application.config.active_record.belongs_to_required_by_default = true
+
+# Do not halt callback chains when a callback returns false. Previous versions had true.
+ActiveSupport.halt_callback_chains_on_return_false = false
+
+# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
+Rails.application.config.ssl_options = { hsts: { subdomains: true } }
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/config/initializers/rails_footnotes.rb b/dylan_eckert/beltrev/config/initializers/rails_footnotes.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/config/initializers/rails_footnotes.rb
rename to dylan_eckert/beltrev/config/initializers/rails_footnotes.rb
diff --git a/dylan_eckert/beltrev/config/initializers/session_store.rb b/dylan_eckert/beltrev/config/initializers/session_store.rb
new file mode 100644
index 0000000..351a231
--- /dev/null
+++ b/dylan_eckert/beltrev/config/initializers/session_store.rb
@@ -0,0 +1,3 @@
+# Be sure to restart your server when you modify this file.
+
+Rails.application.config.session_store :cookie_store, key: '_beltrev_session'
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/initializers/wrap_parameters.rb b/dylan_eckert/beltrev/config/initializers/wrap_parameters.rb
similarity index 100%
rename from Tamisha_Damas/Rails/Models /Friends(self_join)/config/initializers/wrap_parameters.rb
rename to dylan_eckert/beltrev/config/initializers/wrap_parameters.rb
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/config/locales/en.yml b/dylan_eckert/beltrev/config/locales/en.yml
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/config/locales/en.yml
rename to dylan_eckert/beltrev/config/locales/en.yml
diff --git a/dylan_eckert/beltrev/config/puma.rb b/dylan_eckert/beltrev/config/puma.rb
new file mode 100644
index 0000000..c7f311f
--- /dev/null
+++ b/dylan_eckert/beltrev/config/puma.rb
@@ -0,0 +1,47 @@
+# Puma can serve each request in a thread from an internal thread pool.
+# The `threads` method setting takes two numbers a minimum and maximum.
+# Any libraries that use thread pools should be configured to match
+# the maximum value specified for Puma. Default is set to 5 threads for minimum
+# and maximum, this matches the default thread size of Active Record.
+#
+threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i
+threads threads_count, threads_count
+
+# Specifies the `port` that Puma will listen on to receive requests, default is 3000.
+#
+port ENV.fetch("PORT") { 3000 }
+
+# Specifies the `environment` that Puma will run in.
+#
+environment ENV.fetch("RAILS_ENV") { "development" }
+
+# Specifies the number of `workers` to boot in clustered mode.
+# Workers are forked webserver processes. If using threads and workers together
+# the concurrency of the application would be max `threads` * `workers`.
+# Workers do not work on JRuby or Windows (both of which do not support
+# processes).
+#
+# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
+
+# Use the `preload_app!` method when specifying a `workers` number.
+# This directive tells Puma to first boot the application and load code
+# before forking the application. This takes advantage of Copy On Write
+# process behavior so workers use less memory. If you use this option
+# you need to make sure to reconnect any threads in the `on_worker_boot`
+# block.
+#
+# preload_app!
+
+# The code in the `on_worker_boot` will be called if you are using
+# clustered mode by specifying a number of `workers`. After each worker
+# process is booted this block will be run, if you are using `preload_app!`
+# option you will want to use this block to reconnect to any threads
+# or connections that may have been created at application boot, Ruby
+# cannot share connections between processes.
+#
+# on_worker_boot do
+# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
+# end
+
+# Allow puma to be restarted by `rails restart` command.
+plugin :tmp_restart
diff --git a/dylan_eckert/beltrev/config/routes.rb b/dylan_eckert/beltrev/config/routes.rb
new file mode 100644
index 0000000..75b2497
--- /dev/null
+++ b/dylan_eckert/beltrev/config/routes.rb
@@ -0,0 +1,25 @@
+Rails.application.routes.draw do
+ # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
+ root 'application#index'
+
+ # SESSION ROUTES
+ post "/sessions" => "sessions#create", as: "login"
+ delete "/session/:id" => "sessions#destroy", as: "logout"
+ # ATTENDEE ROUTES
+ post "/attendees" => "attendees#create", as: "attend"
+ delete "/attendee/:id" => "attendees#destroy", as: "cancel"
+ # USER ROUTES
+ post "/users" => "users#create", as: "register"
+ get "/users/:id/edit" => "users#edit", as: "edit_user"
+ patch "/users/:id" => "users#update", as: "update_user"
+ delete "/user/:id" => "users#destroy", as: "destroy_user"
+
+ # EVENT ROUTES
+ get "/events" => "events#index", as: "events"
+ post "/events" => "events#create", as: "create_event"
+ get "/events/new" => "events#new", as: "new_event"
+ get "/events/:id" => "events#show", as: "event"
+ get "/events/:id/edit" => "events#edit", as: "edit_event"
+ patch "/events/:id" => "events#update", as: "update_event"
+ delete "/events/:id" => "events#destroy", as: "destroy_event"
+end
diff --git a/dylan_eckert/beltrev/config/secrets.yml b/dylan_eckert/beltrev/config/secrets.yml
new file mode 100644
index 0000000..4416774
--- /dev/null
+++ b/dylan_eckert/beltrev/config/secrets.yml
@@ -0,0 +1,22 @@
+# Be sure to restart your server when you modify this file.
+
+# Your secret key is used for verifying the integrity of signed cookies.
+# If you change this key, all old signed cookies will become invalid!
+
+# Make sure the secret is at least 30 characters and all random,
+# no regular words or you'll be exposed to dictionary attacks.
+# You can use `rails secret` to generate a secure secret key.
+
+# Make sure the secrets in this file are kept private
+# if you're sharing your code publicly.
+
+development:
+ secret_key_base: a2182dc2690054d1156567188074d6d4cc37488b1462ce0dfbc3744652b6a2f9b2d5404fbe4292ed2b27126ad58786fab7771f40b30964caf8da947447fa2c28
+
+test:
+ secret_key_base: 7d2f689047f31ceab3a5371e7c18f5c704be9524ccea5f00e8da8801e17976612aafc99dd92ac963309c4b1cf3ca2d9d4baa57da845ea5c97f1b758f9790105a
+
+# Do not keep production secrets in the repository,
+# instead read values from the environment.
+production:
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/spring.rb b/dylan_eckert/beltrev/config/spring.rb
similarity index 100%
rename from Tamisha_Damas/Rails/Models /Friends(self_join)/config/spring.rb
rename to dylan_eckert/beltrev/config/spring.rb
diff --git a/dylan_eckert/beltrev/db/migrate/20171213193556_create_users.rb b/dylan_eckert/beltrev/db/migrate/20171213193556_create_users.rb
new file mode 100644
index 0000000..ce95f76
--- /dev/null
+++ b/dylan_eckert/beltrev/db/migrate/20171213193556_create_users.rb
@@ -0,0 +1,14 @@
+class CreateUsers < ActiveRecord::Migration[5.0]
+ def change
+ create_table :users do |t|
+ t.string :fname
+ t.string :lname
+ t.string :email
+ t.string :location
+ t.string :state
+ t.string :password_digest
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/beltrev/db/migrate/20171213194441_create_events.rb b/dylan_eckert/beltrev/db/migrate/20171213194441_create_events.rb
new file mode 100644
index 0000000..9e3165d
--- /dev/null
+++ b/dylan_eckert/beltrev/db/migrate/20171213194441_create_events.rb
@@ -0,0 +1,13 @@
+class CreateEvents < ActiveRecord::Migration[5.0]
+ def change
+ create_table :events do |t|
+ t.string :name
+ t.date :date
+ t.string :location
+ t.string :state
+ t.references :user, foreign_key: true
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/beltrev/db/migrate/20171213200259_create_attendees.rb b/dylan_eckert/beltrev/db/migrate/20171213200259_create_attendees.rb
new file mode 100644
index 0000000..a22d514
--- /dev/null
+++ b/dylan_eckert/beltrev/db/migrate/20171213200259_create_attendees.rb
@@ -0,0 +1,10 @@
+class CreateAttendees < ActiveRecord::Migration[5.0]
+ def change
+ create_table :attendees do |t|
+ t.references :user, foreign_key: true
+ t.references :event, foreign_key: true
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/beltrev/db/schema.rb b/dylan_eckert/beltrev/db/schema.rb
new file mode 100644
index 0000000..9f863be
--- /dev/null
+++ b/dylan_eckert/beltrev/db/schema.rb
@@ -0,0 +1,52 @@
+# This file is auto-generated from the current state of the database. Instead
+# of editing this file, please use the migrations feature of Active Record to
+# incrementally modify your database, and then regenerate this schema definition.
+#
+# Note that this schema.rb definition is the authoritative source for your
+# database schema. If you need to create the application database on another
+# system, you should be using db:schema:load, not running all the migrations
+# from scratch. The latter is a flawed and unsustainable approach (the more migrations
+# you'll amass, the slower it'll run and the greater likelihood for issues).
+#
+# It's strongly recommended that you check this file into your version control system.
+
+ActiveRecord::Schema.define(version: 20171213200259) do
+
+ # These are extensions that must be enabled in order to support this database
+ enable_extension "plpgsql"
+
+ create_table "attendees", force: :cascade do |t|
+ t.integer "user_id"
+ t.integer "event_id"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.index ["event_id"], name: "index_attendees_on_event_id", using: :btree
+ t.index ["user_id"], name: "index_attendees_on_user_id", using: :btree
+ end
+
+ create_table "events", force: :cascade do |t|
+ t.string "name"
+ t.date "date"
+ t.string "location"
+ t.string "state"
+ t.integer "user_id"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.index ["user_id"], name: "index_events_on_user_id", using: :btree
+ end
+
+ create_table "users", force: :cascade do |t|
+ t.string "fname"
+ t.string "lname"
+ t.string "email"
+ t.string "location"
+ t.string "state"
+ t.string "password_digest"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ end
+
+ add_foreign_key "attendees", "events"
+ add_foreign_key "attendees", "users"
+ add_foreign_key "events", "users"
+end
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/db/seeds.rb b/dylan_eckert/beltrev/db/seeds.rb
similarity index 100%
rename from Tamisha_Damas/Rails/Models /Friends(self_join)/db/seeds.rb
rename to dylan_eckert/beltrev/db/seeds.rb
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/app/models/concerns/.keep b/dylan_eckert/beltrev/lib/assets/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/app/models/concerns/.keep
rename to dylan_eckert/beltrev/lib/assets/.keep
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/lib/assets/.keep b/dylan_eckert/beltrev/lib/tasks/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/lib/assets/.keep
rename to dylan_eckert/beltrev/lib/tasks/.keep
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/lib/tasks/.keep b/dylan_eckert/beltrev/log/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/lib/tasks/.keep
rename to dylan_eckert/beltrev/log/.keep
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/public/404.html b/dylan_eckert/beltrev/public/404.html
similarity index 100%
rename from Tamisha_Damas/Rails/Models /Friends(self_join)/public/404.html
rename to dylan_eckert/beltrev/public/404.html
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/public/422.html b/dylan_eckert/beltrev/public/422.html
similarity index 100%
rename from Tamisha_Damas/Rails/Models /Friends(self_join)/public/422.html
rename to dylan_eckert/beltrev/public/422.html
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/public/500.html b/dylan_eckert/beltrev/public/500.html
similarity index 100%
rename from Tamisha_Damas/Rails/Models /Friends(self_join)/public/500.html
rename to dylan_eckert/beltrev/public/500.html
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/log/.keep b/dylan_eckert/beltrev/public/apple-touch-icon-precomposed.png
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/log/.keep
rename to dylan_eckert/beltrev/public/apple-touch-icon-precomposed.png
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/public/favicon.ico b/dylan_eckert/beltrev/public/apple-touch-icon.png
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/public/favicon.ico
rename to dylan_eckert/beltrev/public/apple-touch-icon.png
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/public/favicon.ico b/dylan_eckert/beltrev/public/favicon.ico
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/public/favicon.ico
rename to dylan_eckert/beltrev/public/favicon.ico
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/public/robots.txt b/dylan_eckert/beltrev/public/robots.txt
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/public/robots.txt
rename to dylan_eckert/beltrev/public/robots.txt
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/test/controllers/.keep b/dylan_eckert/beltrev/tmp/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/test/controllers/.keep
rename to dylan_eckert/beltrev/tmp/.keep
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/test/fixtures/.keep b/dylan_eckert/beltrev/vendor/assets/javascripts/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/test/fixtures/.keep
rename to dylan_eckert/beltrev/vendor/assets/javascripts/.keep
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/test/helpers/.keep b/dylan_eckert/beltrev/vendor/assets/stylesheets/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/test/helpers/.keep
rename to dylan_eckert/beltrev/vendor/assets/stylesheets/.keep
diff --git a/dylan_eckert/controllersnviews/dojodash/.gitignore b/dylan_eckert/controllersnviews/dojodash/.gitignore
new file mode 100644
index 0000000..bab620d
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/.gitignore
@@ -0,0 +1,21 @@
+# See https://help.github.com/articles/ignoring-files for more about ignoring files.
+#
+# If you find yourself ignoring temporary files generated by your text editor
+# or operating system, you probably want to add a global ignore instead:
+# git config --global core.excludesfile '~/.gitignore_global'
+
+# Ignore bundler config.
+/.bundle
+
+# Ignore the default SQLite database.
+/db/*.sqlite3
+/db/*.sqlite3-journal
+
+# Ignore all logfiles and tempfiles.
+/log/*
+/tmp/*
+!/log/.keep
+!/tmp/.keep
+
+# Ignore Byebug command history file.
+.byebug_history
diff --git a/dylan_eckert/controllersnviews/dojodash/Gemfile b/dylan_eckert/controllersnviews/dojodash/Gemfile
new file mode 100644
index 0000000..59d57f6
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/Gemfile
@@ -0,0 +1,53 @@
+source 'https://rubygems.org'
+
+git_source(:github) do |repo_name|
+ repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
+ "https://github.com/#{repo_name}.git"
+end
+
+
+# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
+gem 'rails', '~> 5.0.6'
+# Use sqlite3 as the database for Active Record
+gem 'sqlite3'
+# Use Puma as the app server
+gem 'puma', '~> 3.0'
+# Use SCSS for stylesheets
+gem 'sass-rails', '~> 5.0'
+# Use Uglifier as compressor for JavaScript assets
+gem 'uglifier', '>= 1.3.0'
+# Use CoffeeScript for .coffee assets and views
+gem 'coffee-rails', '~> 4.2'
+# See https://github.com/rails/execjs#readme for more supported runtimes
+# gem 'therubyracer', platforms: :ruby
+
+# Use jquery as the JavaScript library
+gem 'jquery-rails'
+# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
+gem 'turbolinks', '~> 5'
+# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
+gem 'jbuilder', '~> 2.5'
+# Use Redis adapter to run Action Cable in production
+# gem 'redis', '~> 3.0'
+# Use ActiveModel has_secure_password
+# gem 'bcrypt', '~> 3.1.7'
+
+# Use Capistrano for deployment
+# gem 'capistrano-rails', group: :development
+
+group :development, :test do
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
+ gem 'byebug', platform: :mri
+end
+
+group :development do
+ # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
+ gem 'web-console', '>= 3.3.0'
+ gem 'listen', '~> 3.0.5'
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
+ gem 'spring'
+ gem 'spring-watcher-listen', '~> 2.0.0'
+end
+
+# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
+gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
diff --git a/dylan_eckert/controllersnviews/dojodash/Gemfile.lock b/dylan_eckert/controllersnviews/dojodash/Gemfile.lock
new file mode 100644
index 0000000..fabcef5
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/Gemfile.lock
@@ -0,0 +1,179 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actioncable (5.0.6)
+ actionpack (= 5.0.6)
+ nio4r (>= 1.2, < 3.0)
+ websocket-driver (~> 0.6.1)
+ actionmailer (5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ mail (~> 2.5, >= 2.5.4)
+ rails-dom-testing (~> 2.0)
+ actionpack (5.0.6)
+ actionview (= 5.0.6)
+ activesupport (= 5.0.6)
+ rack (~> 2.0)
+ rack-test (~> 0.6.3)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
+ actionview (5.0.6)
+ activesupport (= 5.0.6)
+ builder (~> 3.1)
+ erubis (~> 2.7.0)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
+ activejob (5.0.6)
+ activesupport (= 5.0.6)
+ globalid (>= 0.3.6)
+ activemodel (5.0.6)
+ activesupport (= 5.0.6)
+ activerecord (5.0.6)
+ activemodel (= 5.0.6)
+ activesupport (= 5.0.6)
+ arel (~> 7.0)
+ activesupport (5.0.6)
+ concurrent-ruby (~> 1.0, >= 1.0.2)
+ i18n (~> 0.7)
+ minitest (~> 5.1)
+ tzinfo (~> 1.1)
+ arel (7.1.4)
+ bindex (0.5.0)
+ builder (3.2.3)
+ byebug (9.1.0)
+ coffee-rails (4.2.2)
+ coffee-script (>= 2.2.0)
+ railties (>= 4.0.0)
+ coffee-script (2.4.1)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.12.2)
+ concurrent-ruby (1.0.5)
+ crass (1.0.3)
+ erubis (2.7.0)
+ execjs (2.7.0)
+ ffi (1.9.18)
+ globalid (0.4.1)
+ activesupport (>= 4.2.0)
+ i18n (0.9.1)
+ concurrent-ruby (~> 1.0)
+ jbuilder (2.7.0)
+ activesupport (>= 4.2.0)
+ multi_json (>= 1.2)
+ jquery-rails (4.3.1)
+ rails-dom-testing (>= 1, < 3)
+ railties (>= 4.2.0)
+ thor (>= 0.14, < 2.0)
+ listen (3.0.8)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ loofah (2.1.1)
+ crass (~> 1.0.2)
+ nokogiri (>= 1.5.9)
+ mail (2.7.0)
+ mini_mime (>= 0.1.1)
+ method_source (0.9.0)
+ mini_mime (1.0.0)
+ mini_portile2 (2.3.0)
+ minitest (5.10.3)
+ multi_json (1.12.2)
+ nio4r (2.1.0)
+ nokogiri (1.8.1)
+ mini_portile2 (~> 2.3.0)
+ puma (3.11.0)
+ rack (2.0.3)
+ rack-test (0.6.3)
+ rack (>= 1.0)
+ rails (5.0.6)
+ actioncable (= 5.0.6)
+ actionmailer (= 5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ activemodel (= 5.0.6)
+ activerecord (= 5.0.6)
+ activesupport (= 5.0.6)
+ bundler (>= 1.3.0)
+ railties (= 5.0.6)
+ sprockets-rails (>= 2.0.0)
+ rails-dom-testing (2.0.3)
+ activesupport (>= 4.2.0)
+ nokogiri (>= 1.6)
+ rails-html-sanitizer (1.0.3)
+ loofah (~> 2.0)
+ railties (5.0.6)
+ actionpack (= 5.0.6)
+ activesupport (= 5.0.6)
+ method_source
+ rake (>= 0.8.7)
+ thor (>= 0.18.1, < 2.0)
+ rake (12.3.0)
+ rb-fsevent (0.10.2)
+ rb-inotify (0.9.10)
+ ffi (>= 0.5.0, < 2)
+ sass (3.5.3)
+ sass-listen (~> 4.0.0)
+ sass-listen (4.0.0)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ sass-rails (5.0.7)
+ railties (>= 4.0.0, < 6)
+ sass (~> 3.1)
+ sprockets (>= 2.8, < 4.0)
+ sprockets-rails (>= 2.0, < 4.0)
+ tilt (>= 1.1, < 3)
+ spring (2.0.2)
+ activesupport (>= 4.2)
+ spring-watcher-listen (2.0.1)
+ listen (>= 2.7, < 4.0)
+ spring (>= 1.2, < 3.0)
+ sprockets (3.7.1)
+ concurrent-ruby (~> 1.0)
+ rack (> 1, < 3)
+ sprockets-rails (3.2.1)
+ actionpack (>= 4.0)
+ activesupport (>= 4.0)
+ sprockets (>= 3.0.0)
+ sqlite3 (1.3.13)
+ thor (0.20.0)
+ thread_safe (0.3.6)
+ tilt (2.0.8)
+ turbolinks (5.0.1)
+ turbolinks-source (~> 5)
+ turbolinks-source (5.0.3)
+ tzinfo (1.2.4)
+ thread_safe (~> 0.1)
+ uglifier (4.0.1)
+ execjs (>= 0.3.0, < 3)
+ web-console (3.5.1)
+ actionview (>= 5.0)
+ activemodel (>= 5.0)
+ bindex (>= 0.4.0)
+ railties (>= 5.0)
+ websocket-driver (0.6.5)
+ websocket-extensions (>= 0.1.0)
+ websocket-extensions (0.1.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ byebug
+ coffee-rails (~> 4.2)
+ jbuilder (~> 2.5)
+ jquery-rails
+ listen (~> 3.0.5)
+ puma (~> 3.0)
+ rails (~> 5.0.6)
+ sass-rails (~> 5.0)
+ spring
+ spring-watcher-listen (~> 2.0.0)
+ sqlite3
+ turbolinks (~> 5)
+ tzinfo-data
+ uglifier (>= 1.3.0)
+ web-console (>= 3.3.0)
+
+BUNDLED WITH
+ 1.16.0
diff --git a/dylan_eckert/controllersnviews/dojodash/README.md b/dylan_eckert/controllersnviews/dojodash/README.md
new file mode 100644
index 0000000..7db80e4
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/README.md
@@ -0,0 +1,24 @@
+# README
+
+This README would normally document whatever steps are necessary to get the
+application up and running.
+
+Things you may want to cover:
+
+* Ruby version
+
+* System dependencies
+
+* Configuration
+
+* Database creation
+
+* Database initialization
+
+* How to run the test suite
+
+* Services (job queues, cache servers, search engines, etc.)
+
+* Deployment instructions
+
+* ...
diff --git a/dylan_eckert/controllersnviews/dojodash/Rakefile b/dylan_eckert/controllersnviews/dojodash/Rakefile
new file mode 100644
index 0000000..e85f913
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/Rakefile
@@ -0,0 +1,6 @@
+# Add your own tasks in files placed in lib/tasks ending in .rake,
+# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
+
+require_relative 'config/application'
+
+Rails.application.load_tasks
diff --git a/dylan_eckert/controllersnviews/dojodash/app/assets/config/manifest.js b/dylan_eckert/controllersnviews/dojodash/app/assets/config/manifest.js
new file mode 100644
index 0000000..b16e53d
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/app/assets/config/manifest.js
@@ -0,0 +1,3 @@
+//= link_tree ../images
+//= link_directory ../javascripts .js
+//= link_directory ../stylesheets .css
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/test/integration/.keep b/dylan_eckert/controllersnviews/dojodash/app/assets/images/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/test/integration/.keep
rename to dylan_eckert/controllersnviews/dojodash/app/assets/images/.keep
diff --git a/dylan_eckert/controllersnviews/dojodash/app/assets/javascripts/application.js b/dylan_eckert/controllersnviews/dojodash/app/assets/javascripts/application.js
new file mode 100644
index 0000000..b12018d
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/app/assets/javascripts/application.js
@@ -0,0 +1,16 @@
+// This is a manifest file that'll be compiled into application.js, which will include all the files
+// listed below.
+//
+// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
+// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
+//
+// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
+// compiled file. JavaScript code in this file should be added after the last require_* statement.
+//
+// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
+// about supported directives.
+//
+//= require jquery
+//= require jquery_ujs
+//= require turbolinks
+//= require_tree .
diff --git a/dylan_eckert/controllersnviews/dojodash/app/assets/javascripts/cable.js b/dylan_eckert/controllersnviews/dojodash/app/assets/javascripts/cable.js
new file mode 100644
index 0000000..71ee1e6
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/app/assets/javascripts/cable.js
@@ -0,0 +1,13 @@
+// Action Cable provides the framework to deal with WebSockets in Rails.
+// You can generate new channels where WebSocket features live using the rails generate channel command.
+//
+//= require action_cable
+//= require_self
+//= require_tree ./channels
+
+(function() {
+ this.App || (this.App = {});
+
+ App.cable = ActionCable.createConsumer();
+
+}).call(this);
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/test/mailers/.keep b/dylan_eckert/controllersnviews/dojodash/app/assets/javascripts/channels/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/test/mailers/.keep
rename to dylan_eckert/controllersnviews/dojodash/app/assets/javascripts/channels/.keep
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/app/assets/javascripts/dojos.coffee b/dylan_eckert/controllersnviews/dojodash/app/assets/javascripts/dojos.coffee
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/app/assets/javascripts/dojos.coffee
rename to dylan_eckert/controllersnviews/dojodash/app/assets/javascripts/dojos.coffee
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/app/assets/javascripts/students.coffee b/dylan_eckert/controllersnviews/dojodash/app/assets/javascripts/students.coffee
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /student_dashboard/app/assets/javascripts/students.coffee
rename to dylan_eckert/controllersnviews/dojodash/app/assets/javascripts/students.coffee
diff --git a/dylan_eckert/controllersnviews/dojodash/app/assets/stylesheets/application.css b/dylan_eckert/controllersnviews/dojodash/app/assets/stylesheets/application.css
new file mode 100644
index 0000000..0ebd7fe
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/app/assets/stylesheets/application.css
@@ -0,0 +1,15 @@
+/*
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
+ * listed below.
+ *
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
+ * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
+ *
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
+ * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
+ * files in this directory. Styles in this file should be added after the last require_* statement.
+ * It is generally better to create a new file per style scope.
+ *
+ *= require_tree .
+ *= require_self
+ */
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/app/assets/stylesheets/dojos.scss b/dylan_eckert/controllersnviews/dojodash/app/assets/stylesheets/dojos.scss
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/app/assets/stylesheets/dojos.scss
rename to dylan_eckert/controllersnviews/dojodash/app/assets/stylesheets/dojos.scss
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/app/assets/stylesheets/students.scss b/dylan_eckert/controllersnviews/dojodash/app/assets/stylesheets/students.scss
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /student_dashboard/app/assets/stylesheets/students.scss
rename to dylan_eckert/controllersnviews/dojodash/app/assets/stylesheets/students.scss
diff --git a/dylan_eckert/controllersnviews/dojodash/app/channels/application_cable/channel.rb b/dylan_eckert/controllersnviews/dojodash/app/channels/application_cable/channel.rb
new file mode 100644
index 0000000..d672697
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/app/channels/application_cable/channel.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Channel < ActionCable::Channel::Base
+ end
+end
diff --git a/dylan_eckert/controllersnviews/dojodash/app/channels/application_cable/connection.rb b/dylan_eckert/controllersnviews/dojodash/app/channels/application_cable/connection.rb
new file mode 100644
index 0000000..0ff5442
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/app/channels/application_cable/connection.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Connection < ActionCable::Connection::Base
+ end
+end
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/app/controllers/application_controller.rb b/dylan_eckert/controllersnviews/dojodash/app/controllers/application_controller.rb
similarity index 100%
rename from Tamisha_Damas/Rails/Models /Friends(self_join)/app/controllers/application_controller.rb
rename to dylan_eckert/controllersnviews/dojodash/app/controllers/application_controller.rb
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/test/models/.keep b/dylan_eckert/controllersnviews/dojodash/app/controllers/concerns/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/test/models/.keep
rename to dylan_eckert/controllersnviews/dojodash/app/controllers/concerns/.keep
diff --git a/dylan_eckert/controllersnviews/dojodash/app/controllers/dojos_controller.rb b/dylan_eckert/controllersnviews/dojodash/app/controllers/dojos_controller.rb
new file mode 100644
index 0000000..47be055
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/app/controllers/dojos_controller.rb
@@ -0,0 +1,48 @@
+class DojosController < ApplicationController
+
+ def index
+ @dojos = Dojo.all
+ end
+
+ def new
+
+ end
+
+ def create
+ @dojo = Dojo.create(dojo_params)
+
+ if @dojo.valid?
+ redirect_to dojos_path
+ else
+ flash[:errors] = @dojo.errors.full_messages
+ redirect_to new_dojo_path
+ end
+
+ end
+
+ def show
+ @dojo = Dojo.find(params[:id])
+ end
+
+ def edit
+ @dojo = Dojo.find(params[:id])
+ end
+
+ def update
+ dojo = Dojo.find(params[:id])
+ dojo.update(dojo_params)
+ redirect_to dojos_path
+ end
+
+ def destroy
+ dojo = Dojo.find(params[:id])
+ dojo.destroy
+ redirect_to dojos_path
+ end
+
+ private
+ def dojo_params
+ params.require(:dojo).permit(:branch, :street, :city, :state)
+ end
+
+end
diff --git a/dylan_eckert/controllersnviews/dojodash/app/controllers/students_controller.rb b/dylan_eckert/controllersnviews/dojodash/app/controllers/students_controller.rb
new file mode 100644
index 0000000..8d17037
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/app/controllers/students_controller.rb
@@ -0,0 +1,57 @@
+class StudentsController < ApplicationController
+ def index
+ @dojo = Dojo.find(params[:dojo_id])
+ p @dojo
+ @students = @dojo.students
+ p @students
+ end
+
+ def new
+ @dojo = Dojo.find(params[:dojo_id])
+ end
+
+ def create
+ @dojo = Dojo.find(params[:dojo_id])
+ @student = Student.create(student_params)
+ @student.update(dojo: @dojo)
+
+ if @student.valid?
+ redirect_to students_path
+ else
+ flash[:errors] = @student.errors.full_messages
+ redirect_to new_student_path
+ end
+
+ end
+
+ def show
+ @dojo = Dojo.find(params[:dojo_id])
+ @student = Student.find(params[:id])
+ @cohortees = @student.cohort
+ render layout: "students/show"
+ end
+
+ def edit
+ @dojo = Dojo.find(params[:dojo_id])
+ @student = Student.find(params[:id])
+ end
+
+ def update
+ @dojo = Dojo.find(params[:dojo_id])
+ student = Student.find(params[:id])
+ student.update(student_params)
+ redirect_to students_path
+ end
+
+ def destroy
+ @dojo = Dojo.find(params[:dojo_id])
+ student = @dojo.students.find(params[:id])
+ student.destroy
+ redirect_to students_path
+ end
+
+ private
+ def student_params
+ params.require(:student).permit(:fname, :lname, :email)
+ end
+end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/app/helpers/application_helper.rb b/dylan_eckert/controllersnviews/dojodash/app/helpers/application_helper.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/app/helpers/application_helper.rb
rename to dylan_eckert/controllersnviews/dojodash/app/helpers/application_helper.rb
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/app/helpers/dojos_helper.rb b/dylan_eckert/controllersnviews/dojodash/app/helpers/dojos_helper.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/app/helpers/dojos_helper.rb
rename to dylan_eckert/controllersnviews/dojodash/app/helpers/dojos_helper.rb
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/app/helpers/students_helper.rb b/dylan_eckert/controllersnviews/dojodash/app/helpers/students_helper.rb
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /student_dashboard/app/helpers/students_helper.rb
rename to dylan_eckert/controllersnviews/dojodash/app/helpers/students_helper.rb
diff --git a/dylan_eckert/controllersnviews/dojodash/app/jobs/application_job.rb b/dylan_eckert/controllersnviews/dojodash/app/jobs/application_job.rb
new file mode 100644
index 0000000..a009ace
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/app/jobs/application_job.rb
@@ -0,0 +1,2 @@
+class ApplicationJob < ActiveJob::Base
+end
diff --git a/dylan_eckert/controllersnviews/dojodash/app/mailers/application_mailer.rb b/dylan_eckert/controllersnviews/dojodash/app/mailers/application_mailer.rb
new file mode 100644
index 0000000..286b223
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/app/mailers/application_mailer.rb
@@ -0,0 +1,4 @@
+class ApplicationMailer < ActionMailer::Base
+ default from: 'from@example.com'
+ layout 'mailer'
+end
diff --git a/dylan_eckert/controllersnviews/dojodash/app/models/application_record.rb b/dylan_eckert/controllersnviews/dojodash/app/models/application_record.rb
new file mode 100644
index 0000000..10a4cba
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/app/models/application_record.rb
@@ -0,0 +1,3 @@
+class ApplicationRecord < ActiveRecord::Base
+ self.abstract_class = true
+end
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/vendor/assets/javascripts/.keep b/dylan_eckert/controllersnviews/dojodash/app/models/concerns/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/vendor/assets/javascripts/.keep
rename to dylan_eckert/controllersnviews/dojodash/app/models/concerns/.keep
diff --git a/dylan_eckert/controllersnviews/dojodash/app/models/dojo.rb b/dylan_eckert/controllersnviews/dojodash/app/models/dojo.rb
new file mode 100644
index 0000000..b14e72f
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/app/models/dojo.rb
@@ -0,0 +1,4 @@
+class Dojo < ApplicationRecord
+ validates :branch, :street, :city, :state, presence: :true
+ has_many :students
+end
diff --git a/dylan_eckert/controllersnviews/dojodash/app/models/student.rb b/dylan_eckert/controllersnviews/dojodash/app/models/student.rb
new file mode 100644
index 0000000..3af57f5
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/app/models/student.rb
@@ -0,0 +1,14 @@
+class Student < ApplicationRecord
+ belongs_to :dojo
+ validates :fname, :lname, :email, presence: :true
+
+ def cohort
+ date_start = self.created_at.beginning_of_day
+ date_end = self.created_at.end_of_day
+
+ return Student
+ .where(dojo: self.dojo)
+ .where(created_at: date_start..date_end)
+ .where.not(id: self.id)
+ end
+end
diff --git a/dylan_eckert/controllersnviews/dojodash/app/views/dojos/edit.html.erb b/dylan_eckert/controllersnviews/dojodash/app/views/dojos/edit.html.erb
new file mode 100644
index 0000000..a4674b2
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/app/views/dojos/edit.html.erb
@@ -0,0 +1,24 @@
+
Edit Dojo <%= @dojo.id %>
+<% if flash[:errors] %>
+
+ <% flash[:errors].each do |error| %>
+
<%= error %>
+ <% end %>
+
+<% end %>
+
+
+
+Go Back
diff --git a/dylan_eckert/controllersnviews/dojodash/app/views/dojos/index.html.erb b/dylan_eckert/controllersnviews/dojodash/app/views/dojos/index.html.erb
new file mode 100644
index 0000000..3a07658
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/app/views/dojos/index.html.erb
@@ -0,0 +1,24 @@
+
+
+New Student
+Go Back
diff --git a/dylan_eckert/controllersnviews/dojodash/app/views/students/new.html.erb b/dylan_eckert/controllersnviews/dojodash/app/views/students/new.html.erb
new file mode 100644
index 0000000..b96bff9
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/app/views/students/new.html.erb
@@ -0,0 +1,21 @@
+
New Student for Dojo <%= @dojo.id %>
+<% if flash[:errors] %>
+
+ <% flash[:errors].each do |error| %>
+
<%= error %>
+ <% end %>
+
+<% end %>
+
+
+
+Go Back
diff --git a/dylan_eckert/controllersnviews/dojodash/app/views/students/show.html.erb b/dylan_eckert/controllersnviews/dojodash/app/views/students/show.html.erb
new file mode 100644
index 0000000..93737d7
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/app/views/students/show.html.erb
@@ -0,0 +1,14 @@
+
Student <%= @student.id %>
+
This student belongs to Dojo <%= @dojo.id %>
+
First Name:
+
<%= @student.fname %>
+
Last Name:
+
<%= @student.lname %>
+
Email:
+
<%= @student.email %>
+
+
Cohort Members:
+<% @cohortees.each do |member| %>
+
<%= member.fname %> <%= member.lname %>
+<% end %>
+Go Back
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/bin/bundle b/dylan_eckert/controllersnviews/dojodash/bin/bundle
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/bin/bundle
rename to dylan_eckert/controllersnviews/dojodash/bin/bundle
diff --git a/dylan_eckert/controllersnviews/dojodash/bin/rails b/dylan_eckert/controllersnviews/dojodash/bin/rails
new file mode 100755
index 0000000..5badb2f
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/bin/rails
@@ -0,0 +1,9 @@
+#!/usr/bin/env ruby
+begin
+ load File.expand_path('../spring', __FILE__)
+rescue LoadError => e
+ raise unless e.message.include?('spring')
+end
+APP_PATH = File.expand_path('../config/application', __dir__)
+require_relative '../config/boot'
+require 'rails/commands'
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/bin/rake b/dylan_eckert/controllersnviews/dojodash/bin/rake
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/bin/rake
rename to dylan_eckert/controllersnviews/dojodash/bin/rake
diff --git a/dylan_eckert/controllersnviews/dojodash/bin/setup b/dylan_eckert/controllersnviews/dojodash/bin/setup
new file mode 100755
index 0000000..e620b4d
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/bin/setup
@@ -0,0 +1,34 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a starting point to setup your application.
+ # Add necessary setup steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ # puts "\n== Copying sample files =="
+ # unless File.exist?('config/database.yml')
+ # cp 'config/database.yml.sample', 'config/database.yml'
+ # end
+
+ puts "\n== Preparing database =="
+ system! 'bin/rails db:setup'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/bin/spring b/dylan_eckert/controllersnviews/dojodash/bin/spring
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/bin/spring
rename to dylan_eckert/controllersnviews/dojodash/bin/spring
diff --git a/dylan_eckert/controllersnviews/dojodash/bin/update b/dylan_eckert/controllersnviews/dojodash/bin/update
new file mode 100755
index 0000000..a8e4462
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/bin/update
@@ -0,0 +1,29 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a way to update your development environment automatically.
+ # Add necessary update steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ puts "\n== Updating database =="
+ system! 'bin/rails db:migrate'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/dylan_eckert/controllersnviews/dojodash/config.ru b/dylan_eckert/controllersnviews/dojodash/config.ru
new file mode 100644
index 0000000..f7ba0b5
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/config.ru
@@ -0,0 +1,5 @@
+# This file is used by Rack-based servers to start the application.
+
+require_relative 'config/environment'
+
+run Rails.application
diff --git a/dylan_eckert/controllersnviews/dojodash/config/application.rb b/dylan_eckert/controllersnviews/dojodash/config/application.rb
new file mode 100644
index 0000000..64f4bc7
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/config/application.rb
@@ -0,0 +1,15 @@
+require_relative 'boot'
+
+require 'rails/all'
+
+# Require the gems listed in Gemfile, including any gems
+# you've limited to :test, :development, or :production.
+Bundler.require(*Rails.groups)
+
+module Dojodash
+ class Application < Rails::Application
+ # Settings in config/environments/* take precedence over those specified here.
+ # Application configuration should go into files in config/initializers
+ # -- all .rb files in that directory are automatically loaded.
+ end
+end
diff --git a/dylan_eckert/controllersnviews/dojodash/config/boot.rb b/dylan_eckert/controllersnviews/dojodash/config/boot.rb
new file mode 100644
index 0000000..30f5120
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/config/boot.rb
@@ -0,0 +1,3 @@
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
+
+require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/dylan_eckert/controllersnviews/dojodash/config/cable.yml b/dylan_eckert/controllersnviews/dojodash/config/cable.yml
new file mode 100644
index 0000000..0bbde6f
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/config/cable.yml
@@ -0,0 +1,9 @@
+development:
+ adapter: async
+
+test:
+ adapter: async
+
+production:
+ adapter: redis
+ url: redis://localhost:6379/1
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/config/database.yml b/dylan_eckert/controllersnviews/dojodash/config/database.yml
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/config/database.yml
rename to dylan_eckert/controllersnviews/dojodash/config/database.yml
diff --git a/dylan_eckert/controllersnviews/dojodash/config/environment.rb b/dylan_eckert/controllersnviews/dojodash/config/environment.rb
new file mode 100644
index 0000000..426333b
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/config/environment.rb
@@ -0,0 +1,5 @@
+# Load the Rails application.
+require_relative 'application'
+
+# Initialize the Rails application.
+Rails.application.initialize!
diff --git a/dylan_eckert/controllersnviews/dojodash/config/environments/development.rb b/dylan_eckert/controllersnviews/dojodash/config/environments/development.rb
new file mode 100644
index 0000000..142e05f
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/config/environments/development.rb
@@ -0,0 +1,56 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # In the development environment your application's code is reloaded on
+ # every request. This slows down response time but is perfect for development
+ # since you don't have to restart the web server when you make code changes.
+ config.cache_classes = false
+
+ config.reload_classes_only_on_change = false
+
+ # Do not eager load code on boot.
+ config.eager_load = false
+
+ # Show full error reports.
+ config.consider_all_requests_local = true
+
+ # Enable/disable caching. By default caching is disabled.
+ if Rails.root.join('tmp/caching-dev.txt').exist?
+ config.action_controller.perform_caching = true
+
+ config.cache_store = :memory_store
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=172800'
+ }
+ else
+ config.action_controller.perform_caching = false
+
+ config.cache_store = :null_store
+ end
+
+ # Don't care if the mailer can't send.
+ config.action_mailer.raise_delivery_errors = false
+
+ config.action_mailer.perform_caching = false
+
+ # Print deprecation notices to the Rails logger.
+ config.active_support.deprecation = :log
+
+ # Raise an error on page load if there are pending migrations.
+ config.active_record.migration_error = :page_load
+
+ # Debug mode disables concatenation and preprocessing of assets.
+ # This option may cause significant delays in view rendering with a large
+ # number of complex assets.
+ config.assets.debug = true
+
+ # Suppress logger output for asset requests.
+ config.assets.quiet = true
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+
+ # Use an evented file watcher to asynchronously detect changes in source code,
+ # routes, locales, etc. This feature depends on the listen gem.
+ config.file_watcher = ActiveSupport::EventedFileUpdateChecker
+end
diff --git a/dylan_eckert/controllersnviews/dojodash/config/environments/production.rb b/dylan_eckert/controllersnviews/dojodash/config/environments/production.rb
new file mode 100644
index 0000000..d1af571
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/config/environments/production.rb
@@ -0,0 +1,86 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # Code is not reloaded between requests.
+ config.cache_classes = true
+
+ # Eager load code on boot. This eager loads most of Rails and
+ # your application in memory, allowing both threaded web servers
+ # and those relying on copy on write to perform better.
+ # Rake tasks automatically ignore this option for performance.
+ config.eager_load = true
+
+ # Full error reports are disabled and caching is turned on.
+ config.consider_all_requests_local = false
+ config.action_controller.perform_caching = true
+
+ # Disable serving static files from the `/public` folder by default since
+ # Apache or NGINX already handles this.
+ config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
+
+ # Compress JavaScripts and CSS.
+ config.assets.js_compressor = :uglifier
+ # config.assets.css_compressor = :sass
+
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
+ config.assets.compile = false
+
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
+
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
+ # config.action_controller.asset_host = 'http://assets.example.com'
+
+ # Specifies the header that your server uses for sending files.
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
+
+ # Mount Action Cable outside main process or domain
+ # config.action_cable.mount_path = nil
+ # config.action_cable.url = 'wss://example.com/cable'
+ # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
+
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
+ # config.force_ssl = true
+
+ # Use the lowest log level to ensure availability of diagnostic information
+ # when problems arise.
+ config.log_level = :debug
+
+ # Prepend all log lines with the following tags.
+ config.log_tags = [ :request_id ]
+
+ # Use a different cache store in production.
+ # config.cache_store = :mem_cache_store
+
+ # Use a real queuing backend for Active Job (and separate queues per environment)
+ # config.active_job.queue_adapter = :resque
+ # config.active_job.queue_name_prefix = "dojodash_#{Rails.env}"
+ config.action_mailer.perform_caching = false
+
+ # Ignore bad email addresses and do not raise email delivery errors.
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
+ # config.action_mailer.raise_delivery_errors = false
+
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
+ # the I18n.default_locale when a translation cannot be found).
+ config.i18n.fallbacks = true
+
+ # Send deprecation notices to registered listeners.
+ config.active_support.deprecation = :notify
+
+ # Use default logging formatter so that PID and timestamp are not suppressed.
+ config.log_formatter = ::Logger::Formatter.new
+
+ # Use a different logger for distributed setups.
+ # require 'syslog/logger'
+ # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
+
+ if ENV["RAILS_LOG_TO_STDOUT"].present?
+ logger = ActiveSupport::Logger.new(STDOUT)
+ logger.formatter = config.log_formatter
+ config.logger = ActiveSupport::TaggedLogging.new(logger)
+ end
+
+ # Do not dump schema after migrations.
+ config.active_record.dump_schema_after_migration = false
+end
diff --git a/dylan_eckert/controllersnviews/dojodash/config/environments/test.rb b/dylan_eckert/controllersnviews/dojodash/config/environments/test.rb
new file mode 100644
index 0000000..30587ef
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/config/environments/test.rb
@@ -0,0 +1,42 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # The test environment is used exclusively to run your application's
+ # test suite. You never need to work with it otherwise. Remember that
+ # your test database is "scratch space" for the test suite and is wiped
+ # and recreated between test runs. Don't rely on the data there!
+ config.cache_classes = true
+
+ # Do not eager load code on boot. This avoids loading your whole application
+ # just for the purpose of running a single test. If you are using a tool that
+ # preloads Rails for running tests, you may have to set it to true.
+ config.eager_load = false
+
+ # Configure public file server for tests with Cache-Control for performance.
+ config.public_file_server.enabled = true
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=3600'
+ }
+
+ # Show full error reports and disable caching.
+ config.consider_all_requests_local = true
+ config.action_controller.perform_caching = false
+
+ # Raise exceptions instead of rendering exception templates.
+ config.action_dispatch.show_exceptions = false
+
+ # Disable request forgery protection in test environment.
+ config.action_controller.allow_forgery_protection = false
+ config.action_mailer.perform_caching = false
+
+ # Tell Action Mailer not to deliver emails to the real world.
+ # The :test delivery method accumulates sent emails in the
+ # ActionMailer::Base.deliveries array.
+ config.action_mailer.delivery_method = :test
+
+ # Print deprecation notices to the stderr.
+ config.active_support.deprecation = :stderr
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+end
diff --git a/dylan_eckert/controllersnviews/dojodash/config/initializers/application_controller_renderer.rb b/dylan_eckert/controllersnviews/dojodash/config/initializers/application_controller_renderer.rb
new file mode 100644
index 0000000..89d2efa
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/config/initializers/application_controller_renderer.rb
@@ -0,0 +1,8 @@
+# Be sure to restart your server when you modify this file.
+
+# ActiveSupport::Reloader.to_prepare do
+# ApplicationController.renderer.defaults.merge!(
+# http_host: 'example.org',
+# https: false
+# )
+# end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/config/initializers/assets.rb b/dylan_eckert/controllersnviews/dojodash/config/initializers/assets.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/config/initializers/assets.rb
rename to dylan_eckert/controllersnviews/dojodash/config/initializers/assets.rb
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/config/initializers/backtrace_silencers.rb b/dylan_eckert/controllersnviews/dojodash/config/initializers/backtrace_silencers.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/config/initializers/backtrace_silencers.rb
rename to dylan_eckert/controllersnviews/dojodash/config/initializers/backtrace_silencers.rb
diff --git a/dylan_eckert/controllersnviews/dojodash/config/initializers/cookies_serializer.rb b/dylan_eckert/controllersnviews/dojodash/config/initializers/cookies_serializer.rb
new file mode 100644
index 0000000..5a6a32d
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/config/initializers/cookies_serializer.rb
@@ -0,0 +1,5 @@
+# Be sure to restart your server when you modify this file.
+
+# Specify a serializer for the signed and encrypted cookie jars.
+# Valid options are :json, :marshal, and :hybrid.
+Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/config/initializers/filter_parameter_logging.rb b/dylan_eckert/controllersnviews/dojodash/config/initializers/filter_parameter_logging.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/config/initializers/filter_parameter_logging.rb
rename to dylan_eckert/controllersnviews/dojodash/config/initializers/filter_parameter_logging.rb
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/config/initializers/inflections.rb b/dylan_eckert/controllersnviews/dojodash/config/initializers/inflections.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/config/initializers/inflections.rb
rename to dylan_eckert/controllersnviews/dojodash/config/initializers/inflections.rb
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/config/initializers/mime_types.rb b/dylan_eckert/controllersnviews/dojodash/config/initializers/mime_types.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/config/initializers/mime_types.rb
rename to dylan_eckert/controllersnviews/dojodash/config/initializers/mime_types.rb
diff --git a/dylan_eckert/controllersnviews/dojodash/config/initializers/new_framework_defaults.rb b/dylan_eckert/controllersnviews/dojodash/config/initializers/new_framework_defaults.rb
new file mode 100644
index 0000000..dd236b5
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/config/initializers/new_framework_defaults.rb
@@ -0,0 +1,26 @@
+# Be sure to restart your server when you modify this file.
+#
+# This file contains migration options to ease your Rails 5.0 upgrade.
+#
+# Read the Guide for Upgrading Ruby on Rails for more info on each option.
+
+Rails.application.config.action_controller.raise_on_unfiltered_parameters = true
+
+# Enable per-form CSRF tokens. Previous versions had false.
+Rails.application.config.action_controller.per_form_csrf_tokens = true
+
+# Enable origin-checking CSRF mitigation. Previous versions had false.
+Rails.application.config.action_controller.forgery_protection_origin_check = true
+
+# Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`.
+# Previous versions had false.
+ActiveSupport.to_time_preserves_timezone = true
+
+# Require `belongs_to` associations by default. Previous versions had false.
+Rails.application.config.active_record.belongs_to_required_by_default = true
+
+# Do not halt callback chains when a callback returns false. Previous versions had true.
+ActiveSupport.halt_callback_chains_on_return_false = false
+
+# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
+Rails.application.config.ssl_options = { hsts: { subdomains: true } }
diff --git a/dylan_eckert/controllersnviews/dojodash/config/initializers/session_store.rb b/dylan_eckert/controllersnviews/dojodash/config/initializers/session_store.rb
new file mode 100644
index 0000000..80d43a5
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/config/initializers/session_store.rb
@@ -0,0 +1,3 @@
+# Be sure to restart your server when you modify this file.
+
+Rails.application.config.session_store :cookie_store, key: '_dojodash_session'
diff --git a/dylan_eckert/controllersnviews/dojodash/config/initializers/wrap_parameters.rb b/dylan_eckert/controllersnviews/dojodash/config/initializers/wrap_parameters.rb
new file mode 100644
index 0000000..bbfc396
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/config/initializers/wrap_parameters.rb
@@ -0,0 +1,14 @@
+# Be sure to restart your server when you modify this file.
+
+# This file contains settings for ActionController::ParamsWrapper which
+# is enabled by default.
+
+# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
+ActiveSupport.on_load(:action_controller) do
+ wrap_parameters format: [:json]
+end
+
+# To enable root element in JSON for ActiveRecord objects.
+# ActiveSupport.on_load(:active_record) do
+# self.include_root_in_json = true
+# end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/config/locales/en.yml b/dylan_eckert/controllersnviews/dojodash/config/locales/en.yml
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/config/locales/en.yml
rename to dylan_eckert/controllersnviews/dojodash/config/locales/en.yml
diff --git a/dylan_eckert/controllersnviews/dojodash/config/puma.rb b/dylan_eckert/controllersnviews/dojodash/config/puma.rb
new file mode 100644
index 0000000..c7f311f
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/config/puma.rb
@@ -0,0 +1,47 @@
+# Puma can serve each request in a thread from an internal thread pool.
+# The `threads` method setting takes two numbers a minimum and maximum.
+# Any libraries that use thread pools should be configured to match
+# the maximum value specified for Puma. Default is set to 5 threads for minimum
+# and maximum, this matches the default thread size of Active Record.
+#
+threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i
+threads threads_count, threads_count
+
+# Specifies the `port` that Puma will listen on to receive requests, default is 3000.
+#
+port ENV.fetch("PORT") { 3000 }
+
+# Specifies the `environment` that Puma will run in.
+#
+environment ENV.fetch("RAILS_ENV") { "development" }
+
+# Specifies the number of `workers` to boot in clustered mode.
+# Workers are forked webserver processes. If using threads and workers together
+# the concurrency of the application would be max `threads` * `workers`.
+# Workers do not work on JRuby or Windows (both of which do not support
+# processes).
+#
+# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
+
+# Use the `preload_app!` method when specifying a `workers` number.
+# This directive tells Puma to first boot the application and load code
+# before forking the application. This takes advantage of Copy On Write
+# process behavior so workers use less memory. If you use this option
+# you need to make sure to reconnect any threads in the `on_worker_boot`
+# block.
+#
+# preload_app!
+
+# The code in the `on_worker_boot` will be called if you are using
+# clustered mode by specifying a number of `workers`. After each worker
+# process is booted this block will be run, if you are using `preload_app!`
+# option you will want to use this block to reconnect to any threads
+# or connections that may have been created at application boot, Ruby
+# cannot share connections between processes.
+#
+# on_worker_boot do
+# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
+# end
+
+# Allow puma to be restarted by `rails restart` command.
+plugin :tmp_restart
diff --git a/dylan_eckert/controllersnviews/dojodash/config/routes.rb b/dylan_eckert/controllersnviews/dojodash/config/routes.rb
new file mode 100644
index 0000000..ffd354c
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/config/routes.rb
@@ -0,0 +1,21 @@
+Rails.application.routes.draw do
+ # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
+ # DOJO ROUTES
+ get "/dojos" => "dojos#index", as: "dojos"
+ post "/dojos" => "dojos#create", as: "create_dojo"
+ get "/dojos/new" => "dojos#new", as: "new_dojo"
+ get "/dojos/:id" => "dojos#show", as: "dojo"
+ get "/dojos/:id/edit" => "dojos#edit", as: "edit_dojo"
+ patch "/dojos/:id" => "dojos#update", as: "update_dojo"
+ delete "/dojos/:id" => "dojos#destroy", as: "destroy_dojo"
+
+ # STUDENT NESTED ROUTES FOR DOJO
+ get "/dojos/:dojo_id/students" => "students#index", as: "students"
+ post "/dojos/:dojo_id/students" => "students#create", as: "create_student"
+ get "/dojos/:dojo_id/students/new" => "students#new", as: "new_student"
+ get "/dojos/:dojo_id/students/:id" => "students#show", as: "student"
+ get "/dojos/:dojo_id/students/:id/edit" => "students#edit", as: "edit_student"
+ patch "/dojos/:dojo_id/students/:id" => "students#update", as: "update_student"
+ delete "/dojos/:dojo_id/students/:id" => "students#destroy", as: "destroy_student"
+
+end
diff --git a/dylan_eckert/controllersnviews/dojodash/config/secrets.yml b/dylan_eckert/controllersnviews/dojodash/config/secrets.yml
new file mode 100644
index 0000000..f10d360
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/config/secrets.yml
@@ -0,0 +1,22 @@
+# Be sure to restart your server when you modify this file.
+
+# Your secret key is used for verifying the integrity of signed cookies.
+# If you change this key, all old signed cookies will become invalid!
+
+# Make sure the secret is at least 30 characters and all random,
+# no regular words or you'll be exposed to dictionary attacks.
+# You can use `rails secret` to generate a secure secret key.
+
+# Make sure the secrets in this file are kept private
+# if you're sharing your code publicly.
+
+development:
+ secret_key_base: accd229676072d6641a39bbf2d6de3a2df0de51e65032e4105e394f09303086260b34715ab727ac7f301ad1a7f1ab17df082bc7ce44a33fb1077c28b4e45652c
+
+test:
+ secret_key_base: 6545d104abcd34a797ead701b2f36655a4a0cf01160b8cbde5aad3d0636879b8ee340ae357a647a220b60379d7523c8368f3ccb084ffbd135a058f8d5cd6597a
+
+# Do not keep production secrets in the repository,
+# instead read values from the environment.
+production:
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/dylan_eckert/controllersnviews/dojodash/config/spring.rb b/dylan_eckert/controllersnviews/dojodash/config/spring.rb
new file mode 100644
index 0000000..c9119b4
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/config/spring.rb
@@ -0,0 +1,6 @@
+%w(
+ .ruby-version
+ .rbenv-vars
+ tmp/restart.txt
+ tmp/caching-dev.txt
+).each { |path| Spring.watch(path) }
diff --git a/dylan_eckert/controllersnviews/dojodash/db/migrate/20171205193648_create_dojos.rb b/dylan_eckert/controllersnviews/dojodash/db/migrate/20171205193648_create_dojos.rb
new file mode 100644
index 0000000..08883c3
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/db/migrate/20171205193648_create_dojos.rb
@@ -0,0 +1,12 @@
+class CreateDojos < ActiveRecord::Migration[5.0]
+ def change
+ create_table :dojos do |t|
+ t.string :branch
+ t.string :street
+ t.string :city
+ t.string :state
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/controllersnviews/dojodash/db/migrate/20171205215935_create_students.rb b/dylan_eckert/controllersnviews/dojodash/db/migrate/20171205215935_create_students.rb
new file mode 100644
index 0000000..47b454c
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/db/migrate/20171205215935_create_students.rb
@@ -0,0 +1,12 @@
+class CreateStudents < ActiveRecord::Migration[5.0]
+ def change
+ create_table :students do |t|
+ t.string :fname
+ t.string :lname
+ t.string :email
+ t.references :dojo, foreign_key: true
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/controllersnviews/dojodash/db/schema.rb b/dylan_eckert/controllersnviews/dojodash/db/schema.rb
new file mode 100644
index 0000000..2eca846
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/db/schema.rb
@@ -0,0 +1,34 @@
+# This file is auto-generated from the current state of the database. Instead
+# of editing this file, please use the migrations feature of Active Record to
+# incrementally modify your database, and then regenerate this schema definition.
+#
+# Note that this schema.rb definition is the authoritative source for your
+# database schema. If you need to create the application database on another
+# system, you should be using db:schema:load, not running all the migrations
+# from scratch. The latter is a flawed and unsustainable approach (the more migrations
+# you'll amass, the slower it'll run and the greater likelihood for issues).
+#
+# It's strongly recommended that you check this file into your version control system.
+
+ActiveRecord::Schema.define(version: 20171205215935) do
+
+ create_table "dojos", force: :cascade do |t|
+ t.string "branch"
+ t.string "street"
+ t.string "city"
+ t.string "state"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ end
+
+ create_table "students", force: :cascade do |t|
+ t.string "fname"
+ t.string "lname"
+ t.string "email"
+ t.integer "dojo_id"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.index ["dojo_id"], name: "index_students_on_dojo_id"
+ end
+
+end
diff --git a/dylan_eckert/controllersnviews/dojodash/db/seeds.rb b/dylan_eckert/controllersnviews/dojodash/db/seeds.rb
new file mode 100644
index 0000000..1beea2a
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/db/seeds.rb
@@ -0,0 +1,7 @@
+# This file should contain all the record creation needed to seed the database with its default values.
+# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
+#
+# Examples:
+#
+# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
+# Character.create(name: 'Luke', movie: movies.first)
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/vendor/assets/stylesheets/.keep b/dylan_eckert/controllersnviews/dojodash/lib/assets/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/vendor/assets/stylesheets/.keep
rename to dylan_eckert/controllersnviews/dojodash/lib/assets/.keep
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/app/assets/images/.keep b/dylan_eckert/controllersnviews/dojodash/lib/tasks/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/app/assets/images/.keep
rename to dylan_eckert/controllersnviews/dojodash/lib/tasks/.keep
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/app/controllers/concerns/.keep b/dylan_eckert/controllersnviews/dojodash/log/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/app/controllers/concerns/.keep
rename to dylan_eckert/controllersnviews/dojodash/log/.keep
diff --git a/dylan_eckert/controllersnviews/dojodash/public/404.html b/dylan_eckert/controllersnviews/dojodash/public/404.html
new file mode 100644
index 0000000..2be3af2
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/public/404.html
@@ -0,0 +1,67 @@
+
+
+
+ The page you were looking for doesn't exist (404)
+
+
+
+
+
+
+
+
+
The page you were looking for doesn't exist.
+
You may have mistyped the address or the page may have moved.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/controllersnviews/dojodash/public/422.html b/dylan_eckert/controllersnviews/dojodash/public/422.html
new file mode 100644
index 0000000..c08eac0
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/public/422.html
@@ -0,0 +1,67 @@
+
+
+
+ The change you wanted was rejected (422)
+
+
+
+
+
+
+
+
+
The change you wanted was rejected.
+
Maybe you tried to change something you didn't have access to.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/controllersnviews/dojodash/public/500.html b/dylan_eckert/controllersnviews/dojodash/public/500.html
new file mode 100644
index 0000000..78a030a
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/public/500.html
@@ -0,0 +1,66 @@
+
+
+
+ We're sorry, but something went wrong (500)
+
+
+
+
+
+
+
+
+
We're sorry, but something went wrong.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/app/mailers/.keep b/dylan_eckert/controllersnviews/dojodash/public/apple-touch-icon-precomposed.png
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/app/mailers/.keep
rename to dylan_eckert/controllersnviews/dojodash/public/apple-touch-icon-precomposed.png
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/app/models/.keep b/dylan_eckert/controllersnviews/dojodash/public/apple-touch-icon.png
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/app/models/.keep
rename to dylan_eckert/controllersnviews/dojodash/public/apple-touch-icon.png
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/public/favicon.ico b/dylan_eckert/controllersnviews/dojodash/public/favicon.ico
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/public/favicon.ico
rename to dylan_eckert/controllersnviews/dojodash/public/favicon.ico
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/public/robots.txt b/dylan_eckert/controllersnviews/dojodash/public/robots.txt
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/public/robots.txt
rename to dylan_eckert/controllersnviews/dojodash/public/robots.txt
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/app/models/concerns/.keep b/dylan_eckert/controllersnviews/dojodash/test/controllers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/app/models/concerns/.keep
rename to dylan_eckert/controllersnviews/dojodash/test/controllers/.keep
diff --git a/dylan_eckert/controllersnviews/dojodash/test/controllers/dojos_controller_test.rb b/dylan_eckert/controllersnviews/dojodash/test/controllers/dojos_controller_test.rb
new file mode 100644
index 0000000..9481cf8
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/test/controllers/dojos_controller_test.rb
@@ -0,0 +1,7 @@
+require 'test_helper'
+
+class DojosControllerTest < ActionDispatch::IntegrationTest
+ # test "the truth" do
+ # assert true
+ # end
+end
diff --git a/dylan_eckert/controllersnviews/dojodash/test/controllers/students_controller_test.rb b/dylan_eckert/controllersnviews/dojodash/test/controllers/students_controller_test.rb
new file mode 100644
index 0000000..7e9924d
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/test/controllers/students_controller_test.rb
@@ -0,0 +1,7 @@
+require 'test_helper'
+
+class StudentsControllerTest < ActionDispatch::IntegrationTest
+ # test "the truth" do
+ # assert true
+ # end
+end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/lib/assets/.keep b/dylan_eckert/controllersnviews/dojodash/test/fixtures/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/lib/assets/.keep
rename to dylan_eckert/controllersnviews/dojodash/test/fixtures/.keep
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/test/fixtures/dojos.yml b/dylan_eckert/controllersnviews/dojodash/test/fixtures/dojos.yml
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/test/fixtures/dojos.yml
rename to dylan_eckert/controllersnviews/dojodash/test/fixtures/dojos.yml
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/lib/tasks/.keep b/dylan_eckert/controllersnviews/dojodash/test/fixtures/files/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/lib/tasks/.keep
rename to dylan_eckert/controllersnviews/dojodash/test/fixtures/files/.keep
diff --git a/dylan_eckert/controllersnviews/dojodash/test/fixtures/students.yml b/dylan_eckert/controllersnviews/dojodash/test/fixtures/students.yml
new file mode 100644
index 0000000..824fd23
--- /dev/null
+++ b/dylan_eckert/controllersnviews/dojodash/test/fixtures/students.yml
@@ -0,0 +1,13 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+one:
+ fname: MyString
+ lname: MyString
+ email: MyString
+ dojo: one
+
+two:
+ fname: MyString
+ lname: MyString
+ email: MyString
+ dojo: two
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/log/.keep b/dylan_eckert/controllersnviews/dojodash/test/helpers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/log/.keep
rename to dylan_eckert/controllersnviews/dojodash/test/helpers/.keep
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/test/controllers/.keep b/dylan_eckert/controllersnviews/dojodash/test/integration/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/test/controllers/.keep
rename to dylan_eckert/controllersnviews/dojodash/test/integration/.keep
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/test/fixtures/.keep b/dylan_eckert/controllersnviews/dojodash/test/mailers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/test/fixtures/.keep
rename to dylan_eckert/controllersnviews/dojodash/test/mailers/.keep
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/test/helpers/.keep b/dylan_eckert/controllersnviews/dojodash/test/models/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/test/helpers/.keep
rename to dylan_eckert/controllersnviews/dojodash/test/models/.keep
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/test/models/dojo_test.rb b/dylan_eckert/controllersnviews/dojodash/test/models/dojo_test.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/test/models/dojo_test.rb
rename to dylan_eckert/controllersnviews/dojodash/test/models/dojo_test.rb
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/models/student_test.rb b/dylan_eckert/controllersnviews/dojodash/test/models/student_test.rb
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /student_dashboard/test/models/student_test.rb
rename to dylan_eckert/controllersnviews/dojodash/test/models/student_test.rb
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/test/test_helper.rb b/dylan_eckert/controllersnviews/dojodash/test/test_helper.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/test/test_helper.rb
rename to dylan_eckert/controllersnviews/dojodash/test/test_helper.rb
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/test/integration/.keep b/dylan_eckert/controllersnviews/dojodash/tmp/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/test/integration/.keep
rename to dylan_eckert/controllersnviews/dojodash/tmp/.keep
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/test/mailers/.keep b/dylan_eckert/controllersnviews/dojodash/vendor/assets/javascripts/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/test/mailers/.keep
rename to dylan_eckert/controllersnviews/dojodash/vendor/assets/javascripts/.keep
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/test/models/.keep b/dylan_eckert/controllersnviews/dojodash/vendor/assets/stylesheets/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/test/models/.keep
rename to dylan_eckert/controllersnviews/dojodash/vendor/assets/stylesheets/.keep
diff --git a/dylan_eckert/controllersnviews/dojodash1.zip b/dylan_eckert/controllersnviews/dojodash1.zip
new file mode 100644
index 0000000..0a10277
Binary files /dev/null and b/dylan_eckert/controllersnviews/dojodash1.zip differ
diff --git a/dylan_eckert/controllersnviews/dojodash2.zip b/dylan_eckert/controllersnviews/dojodash2.zip
new file mode 100644
index 0000000..8580c78
Binary files /dev/null and b/dylan_eckert/controllersnviews/dojodash2.zip differ
diff --git a/dylan_eckert/controllersnviews/dojodash3.zip b/dylan_eckert/controllersnviews/dojodash3.zip
new file mode 100644
index 0000000..8580c78
Binary files /dev/null and b/dylan_eckert/controllersnviews/dojodash3.zip differ
diff --git a/dylan_eckert/controllersnviews/integratemodels/.gitignore b/dylan_eckert/controllersnviews/integratemodels/.gitignore
new file mode 100644
index 0000000..bab620d
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/.gitignore
@@ -0,0 +1,21 @@
+# See https://help.github.com/articles/ignoring-files for more about ignoring files.
+#
+# If you find yourself ignoring temporary files generated by your text editor
+# or operating system, you probably want to add a global ignore instead:
+# git config --global core.excludesfile '~/.gitignore_global'
+
+# Ignore bundler config.
+/.bundle
+
+# Ignore the default SQLite database.
+/db/*.sqlite3
+/db/*.sqlite3-journal
+
+# Ignore all logfiles and tempfiles.
+/log/*
+/tmp/*
+!/log/.keep
+!/tmp/.keep
+
+# Ignore Byebug command history file.
+.byebug_history
diff --git a/dylan_eckert/controllersnviews/integratemodels/Gemfile b/dylan_eckert/controllersnviews/integratemodels/Gemfile
new file mode 100644
index 0000000..59d57f6
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/Gemfile
@@ -0,0 +1,53 @@
+source 'https://rubygems.org'
+
+git_source(:github) do |repo_name|
+ repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
+ "https://github.com/#{repo_name}.git"
+end
+
+
+# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
+gem 'rails', '~> 5.0.6'
+# Use sqlite3 as the database for Active Record
+gem 'sqlite3'
+# Use Puma as the app server
+gem 'puma', '~> 3.0'
+# Use SCSS for stylesheets
+gem 'sass-rails', '~> 5.0'
+# Use Uglifier as compressor for JavaScript assets
+gem 'uglifier', '>= 1.3.0'
+# Use CoffeeScript for .coffee assets and views
+gem 'coffee-rails', '~> 4.2'
+# See https://github.com/rails/execjs#readme for more supported runtimes
+# gem 'therubyracer', platforms: :ruby
+
+# Use jquery as the JavaScript library
+gem 'jquery-rails'
+# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
+gem 'turbolinks', '~> 5'
+# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
+gem 'jbuilder', '~> 2.5'
+# Use Redis adapter to run Action Cable in production
+# gem 'redis', '~> 3.0'
+# Use ActiveModel has_secure_password
+# gem 'bcrypt', '~> 3.1.7'
+
+# Use Capistrano for deployment
+# gem 'capistrano-rails', group: :development
+
+group :development, :test do
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
+ gem 'byebug', platform: :mri
+end
+
+group :development do
+ # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
+ gem 'web-console', '>= 3.3.0'
+ gem 'listen', '~> 3.0.5'
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
+ gem 'spring'
+ gem 'spring-watcher-listen', '~> 2.0.0'
+end
+
+# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
+gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
diff --git a/dylan_eckert/controllersnviews/integratemodels/Gemfile.lock b/dylan_eckert/controllersnviews/integratemodels/Gemfile.lock
new file mode 100644
index 0000000..fabcef5
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/Gemfile.lock
@@ -0,0 +1,179 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actioncable (5.0.6)
+ actionpack (= 5.0.6)
+ nio4r (>= 1.2, < 3.0)
+ websocket-driver (~> 0.6.1)
+ actionmailer (5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ mail (~> 2.5, >= 2.5.4)
+ rails-dom-testing (~> 2.0)
+ actionpack (5.0.6)
+ actionview (= 5.0.6)
+ activesupport (= 5.0.6)
+ rack (~> 2.0)
+ rack-test (~> 0.6.3)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
+ actionview (5.0.6)
+ activesupport (= 5.0.6)
+ builder (~> 3.1)
+ erubis (~> 2.7.0)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
+ activejob (5.0.6)
+ activesupport (= 5.0.6)
+ globalid (>= 0.3.6)
+ activemodel (5.0.6)
+ activesupport (= 5.0.6)
+ activerecord (5.0.6)
+ activemodel (= 5.0.6)
+ activesupport (= 5.0.6)
+ arel (~> 7.0)
+ activesupport (5.0.6)
+ concurrent-ruby (~> 1.0, >= 1.0.2)
+ i18n (~> 0.7)
+ minitest (~> 5.1)
+ tzinfo (~> 1.1)
+ arel (7.1.4)
+ bindex (0.5.0)
+ builder (3.2.3)
+ byebug (9.1.0)
+ coffee-rails (4.2.2)
+ coffee-script (>= 2.2.0)
+ railties (>= 4.0.0)
+ coffee-script (2.4.1)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.12.2)
+ concurrent-ruby (1.0.5)
+ crass (1.0.3)
+ erubis (2.7.0)
+ execjs (2.7.0)
+ ffi (1.9.18)
+ globalid (0.4.1)
+ activesupport (>= 4.2.0)
+ i18n (0.9.1)
+ concurrent-ruby (~> 1.0)
+ jbuilder (2.7.0)
+ activesupport (>= 4.2.0)
+ multi_json (>= 1.2)
+ jquery-rails (4.3.1)
+ rails-dom-testing (>= 1, < 3)
+ railties (>= 4.2.0)
+ thor (>= 0.14, < 2.0)
+ listen (3.0.8)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ loofah (2.1.1)
+ crass (~> 1.0.2)
+ nokogiri (>= 1.5.9)
+ mail (2.7.0)
+ mini_mime (>= 0.1.1)
+ method_source (0.9.0)
+ mini_mime (1.0.0)
+ mini_portile2 (2.3.0)
+ minitest (5.10.3)
+ multi_json (1.12.2)
+ nio4r (2.1.0)
+ nokogiri (1.8.1)
+ mini_portile2 (~> 2.3.0)
+ puma (3.11.0)
+ rack (2.0.3)
+ rack-test (0.6.3)
+ rack (>= 1.0)
+ rails (5.0.6)
+ actioncable (= 5.0.6)
+ actionmailer (= 5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ activemodel (= 5.0.6)
+ activerecord (= 5.0.6)
+ activesupport (= 5.0.6)
+ bundler (>= 1.3.0)
+ railties (= 5.0.6)
+ sprockets-rails (>= 2.0.0)
+ rails-dom-testing (2.0.3)
+ activesupport (>= 4.2.0)
+ nokogiri (>= 1.6)
+ rails-html-sanitizer (1.0.3)
+ loofah (~> 2.0)
+ railties (5.0.6)
+ actionpack (= 5.0.6)
+ activesupport (= 5.0.6)
+ method_source
+ rake (>= 0.8.7)
+ thor (>= 0.18.1, < 2.0)
+ rake (12.3.0)
+ rb-fsevent (0.10.2)
+ rb-inotify (0.9.10)
+ ffi (>= 0.5.0, < 2)
+ sass (3.5.3)
+ sass-listen (~> 4.0.0)
+ sass-listen (4.0.0)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ sass-rails (5.0.7)
+ railties (>= 4.0.0, < 6)
+ sass (~> 3.1)
+ sprockets (>= 2.8, < 4.0)
+ sprockets-rails (>= 2.0, < 4.0)
+ tilt (>= 1.1, < 3)
+ spring (2.0.2)
+ activesupport (>= 4.2)
+ spring-watcher-listen (2.0.1)
+ listen (>= 2.7, < 4.0)
+ spring (>= 1.2, < 3.0)
+ sprockets (3.7.1)
+ concurrent-ruby (~> 1.0)
+ rack (> 1, < 3)
+ sprockets-rails (3.2.1)
+ actionpack (>= 4.0)
+ activesupport (>= 4.0)
+ sprockets (>= 3.0.0)
+ sqlite3 (1.3.13)
+ thor (0.20.0)
+ thread_safe (0.3.6)
+ tilt (2.0.8)
+ turbolinks (5.0.1)
+ turbolinks-source (~> 5)
+ turbolinks-source (5.0.3)
+ tzinfo (1.2.4)
+ thread_safe (~> 0.1)
+ uglifier (4.0.1)
+ execjs (>= 0.3.0, < 3)
+ web-console (3.5.1)
+ actionview (>= 5.0)
+ activemodel (>= 5.0)
+ bindex (>= 0.4.0)
+ railties (>= 5.0)
+ websocket-driver (0.6.5)
+ websocket-extensions (>= 0.1.0)
+ websocket-extensions (0.1.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ byebug
+ coffee-rails (~> 4.2)
+ jbuilder (~> 2.5)
+ jquery-rails
+ listen (~> 3.0.5)
+ puma (~> 3.0)
+ rails (~> 5.0.6)
+ sass-rails (~> 5.0)
+ spring
+ spring-watcher-listen (~> 2.0.0)
+ sqlite3
+ turbolinks (~> 5)
+ tzinfo-data
+ uglifier (>= 1.3.0)
+ web-console (>= 3.3.0)
+
+BUNDLED WITH
+ 1.16.0
diff --git a/dylan_eckert/controllersnviews/integratemodels/README.md b/dylan_eckert/controllersnviews/integratemodels/README.md
new file mode 100644
index 0000000..7db80e4
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/README.md
@@ -0,0 +1,24 @@
+# README
+
+This README would normally document whatever steps are necessary to get the
+application up and running.
+
+Things you may want to cover:
+
+* Ruby version
+
+* System dependencies
+
+* Configuration
+
+* Database creation
+
+* Database initialization
+
+* How to run the test suite
+
+* Services (job queues, cache servers, search engines, etc.)
+
+* Deployment instructions
+
+* ...
diff --git a/dylan_eckert/controllersnviews/integratemodels/Rakefile b/dylan_eckert/controllersnviews/integratemodels/Rakefile
new file mode 100644
index 0000000..e85f913
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/Rakefile
@@ -0,0 +1,6 @@
+# Add your own tasks in files placed in lib/tasks ending in .rake,
+# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
+
+require_relative 'config/application'
+
+Rails.application.load_tasks
diff --git a/dylan_eckert/controllersnviews/integratemodels/app/assets/config/manifest.js b/dylan_eckert/controllersnviews/integratemodels/app/assets/config/manifest.js
new file mode 100644
index 0000000..b16e53d
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/app/assets/config/manifest.js
@@ -0,0 +1,3 @@
+//= link_tree ../images
+//= link_directory ../javascripts .js
+//= link_directory ../stylesheets .css
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/vendor/assets/javascripts/.keep b/dylan_eckert/controllersnviews/integratemodels/app/assets/images/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/vendor/assets/javascripts/.keep
rename to dylan_eckert/controllersnviews/integratemodels/app/assets/images/.keep
diff --git a/dylan_eckert/controllersnviews/integratemodels/app/assets/javascripts/application.js b/dylan_eckert/controllersnviews/integratemodels/app/assets/javascripts/application.js
new file mode 100644
index 0000000..b12018d
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/app/assets/javascripts/application.js
@@ -0,0 +1,16 @@
+// This is a manifest file that'll be compiled into application.js, which will include all the files
+// listed below.
+//
+// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
+// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
+//
+// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
+// compiled file. JavaScript code in this file should be added after the last require_* statement.
+//
+// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
+// about supported directives.
+//
+//= require jquery
+//= require jquery_ujs
+//= require turbolinks
+//= require_tree .
diff --git a/dylan_eckert/controllersnviews/integratemodels/app/assets/javascripts/cable.js b/dylan_eckert/controllersnviews/integratemodels/app/assets/javascripts/cable.js
new file mode 100644
index 0000000..71ee1e6
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/app/assets/javascripts/cable.js
@@ -0,0 +1,13 @@
+// Action Cable provides the framework to deal with WebSockets in Rails.
+// You can generate new channels where WebSocket features live using the rails generate channel command.
+//
+//= require action_cable
+//= require_self
+//= require_tree ./channels
+
+(function() {
+ this.App || (this.App = {});
+
+ App.cable = ActionCable.createConsumer();
+
+}).call(this);
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/vendor/assets/stylesheets/.keep b/dylan_eckert/controllersnviews/integratemodels/app/assets/javascripts/channels/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/vendor/assets/stylesheets/.keep
rename to dylan_eckert/controllersnviews/integratemodels/app/assets/javascripts/channels/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/assets/javascripts/users.coffee b/dylan_eckert/controllersnviews/integratemodels/app/assets/javascripts/users.coffee
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/assets/javascripts/users.coffee
rename to dylan_eckert/controllersnviews/integratemodels/app/assets/javascripts/users.coffee
diff --git a/dylan_eckert/controllersnviews/integratemodels/app/assets/stylesheets/application.css b/dylan_eckert/controllersnviews/integratemodels/app/assets/stylesheets/application.css
new file mode 100644
index 0000000..0ebd7fe
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/app/assets/stylesheets/application.css
@@ -0,0 +1,15 @@
+/*
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
+ * listed below.
+ *
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
+ * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
+ *
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
+ * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
+ * files in this directory. Styles in this file should be added after the last require_* statement.
+ * It is generally better to create a new file per style scope.
+ *
+ *= require_tree .
+ *= require_self
+ */
diff --git a/dylan_eckert/controllersnviews/integratemodels/app/assets/stylesheets/users.scss b/dylan_eckert/controllersnviews/integratemodels/app/assets/stylesheets/users.scss
new file mode 100644
index 0000000..1efc835
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/app/assets/stylesheets/users.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the users controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/dylan_eckert/controllersnviews/integratemodels/app/channels/application_cable/channel.rb b/dylan_eckert/controllersnviews/integratemodels/app/channels/application_cable/channel.rb
new file mode 100644
index 0000000..d672697
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/app/channels/application_cable/channel.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Channel < ActionCable::Channel::Base
+ end
+end
diff --git a/dylan_eckert/controllersnviews/integratemodels/app/channels/application_cable/connection.rb b/dylan_eckert/controllersnviews/integratemodels/app/channels/application_cable/connection.rb
new file mode 100644
index 0000000..0ff5442
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/app/channels/application_cable/connection.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Connection < ActionCable::Connection::Base
+ end
+end
diff --git a/dylan_eckert/controllersnviews/integratemodels/app/controllers/application_controller.rb b/dylan_eckert/controllersnviews/integratemodels/app/controllers/application_controller.rb
new file mode 100644
index 0000000..1c07694
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/app/controllers/application_controller.rb
@@ -0,0 +1,3 @@
+class ApplicationController < ActionController::Base
+ protect_from_forgery with: :exception
+end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/app/assets/images/.keep b/dylan_eckert/controllersnviews/integratemodels/app/controllers/concerns/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/app/assets/images/.keep
rename to dylan_eckert/controllersnviews/integratemodels/app/controllers/concerns/.keep
diff --git a/dylan_eckert/controllersnviews/integratemodels/app/controllers/users_controller.rb b/dylan_eckert/controllersnviews/integratemodels/app/controllers/users_controller.rb
new file mode 100644
index 0000000..7a6726f
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/app/controllers/users_controller.rb
@@ -0,0 +1,35 @@
+class UsersController < ApplicationController
+ def index
+ render json: User.all
+ end
+
+ def new
+ puts 'here'
+ render "new"
+ end
+
+ def create
+ User.create(name: params[:name])
+ redirect_to "/users"
+ end
+
+ def show
+ render json: User.find(params[:id])
+ end
+
+ def edit
+ @user = User.find(params[:id])
+ end
+
+ def total
+ render json: User.all.count
+ end
+
+ def update
+
+ end
+
+ def destroy
+
+ end
+end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/app/helpers/application_helper.rb b/dylan_eckert/controllersnviews/integratemodels/app/helpers/application_helper.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/app/helpers/application_helper.rb
rename to dylan_eckert/controllersnviews/integratemodels/app/helpers/application_helper.rb
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/app/helpers/users_helper.rb b/dylan_eckert/controllersnviews/integratemodels/app/helpers/users_helper.rb
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/app/helpers/users_helper.rb
rename to dylan_eckert/controllersnviews/integratemodels/app/helpers/users_helper.rb
diff --git a/dylan_eckert/controllersnviews/integratemodels/app/jobs/application_job.rb b/dylan_eckert/controllersnviews/integratemodels/app/jobs/application_job.rb
new file mode 100644
index 0000000..a009ace
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/app/jobs/application_job.rb
@@ -0,0 +1,2 @@
+class ApplicationJob < ActiveJob::Base
+end
diff --git a/dylan_eckert/controllersnviews/integratemodels/app/mailers/application_mailer.rb b/dylan_eckert/controllersnviews/integratemodels/app/mailers/application_mailer.rb
new file mode 100644
index 0000000..286b223
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/app/mailers/application_mailer.rb
@@ -0,0 +1,4 @@
+class ApplicationMailer < ActionMailer::Base
+ default from: 'from@example.com'
+ layout 'mailer'
+end
diff --git a/dylan_eckert/controllersnviews/integratemodels/app/models/application_record.rb b/dylan_eckert/controllersnviews/integratemodels/app/models/application_record.rb
new file mode 100644
index 0000000..10a4cba
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/app/models/application_record.rb
@@ -0,0 +1,3 @@
+class ApplicationRecord < ActiveRecord::Base
+ self.abstract_class = true
+end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/app/controllers/concerns/.keep b/dylan_eckert/controllersnviews/integratemodels/app/models/concerns/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/app/controllers/concerns/.keep
rename to dylan_eckert/controllersnviews/integratemodels/app/models/concerns/.keep
diff --git a/dylan_eckert/controllersnviews/integratemodels/app/models/user.rb b/dylan_eckert/controllersnviews/integratemodels/app/models/user.rb
new file mode 100644
index 0000000..379658a
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/app/models/user.rb
@@ -0,0 +1,2 @@
+class User < ApplicationRecord
+end
diff --git a/dylan_eckert/controllersnviews/integratemodels/app/views/layouts/application.html.erb b/dylan_eckert/controllersnviews/integratemodels/app/views/layouts/application.html.erb
new file mode 100644
index 0000000..053d7ba
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/app/views/layouts/application.html.erb
@@ -0,0 +1,14 @@
+
+
+
+ Integratemodels
+ <%= csrf_meta_tags %>
+
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
+ <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
+
+
+
+ <%= yield %>
+
+
diff --git a/dylan_eckert/controllersnviews/integratemodels/app/views/layouts/mailer.html.erb b/dylan_eckert/controllersnviews/integratemodels/app/views/layouts/mailer.html.erb
new file mode 100644
index 0000000..cbd34d2
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/app/views/layouts/mailer.html.erb
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+ <%= yield %>
+
+
diff --git a/dylan_eckert/controllersnviews/integratemodels/app/views/layouts/mailer.text.erb b/dylan_eckert/controllersnviews/integratemodels/app/views/layouts/mailer.text.erb
new file mode 100644
index 0000000..37f0bdd
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/app/views/layouts/mailer.text.erb
@@ -0,0 +1 @@
+<%= yield %>
diff --git a/dylan_eckert/controllersnviews/integratemodels/app/views/users/edit.html.erb b/dylan_eckert/controllersnviews/integratemodels/app/views/users/edit.html.erb
new file mode 100644
index 0000000..cf07dfc
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/app/views/users/edit.html.erb
@@ -0,0 +1,16 @@
+
+
+
+
+ new user
+
+
+
+
Edit <%= @user.name %>
+
+
+
diff --git a/dylan_eckert/controllersnviews/integratemodels/app/views/users/index.html.erb b/dylan_eckert/controllersnviews/integratemodels/app/views/users/index.html.erb
new file mode 100644
index 0000000..5b8ba09
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/app/views/users/index.html.erb
@@ -0,0 +1,11 @@
+
+
+
+
+ index
+
+
+
All Users
+ <% for user in User.all %>
+
+
diff --git a/dylan_eckert/controllersnviews/integratemodels/app/views/users/new.html.erb b/dylan_eckert/controllersnviews/integratemodels/app/views/users/new.html.erb
new file mode 100644
index 0000000..8bfa32b
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/app/views/users/new.html.erb
@@ -0,0 +1,15 @@
+
+
+
+
+ new user
+
+
+
Add a User
+
+
+
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/bin/bundle b/dylan_eckert/controllersnviews/integratemodels/bin/bundle
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/bin/bundle
rename to dylan_eckert/controllersnviews/integratemodels/bin/bundle
diff --git a/dylan_eckert/controllersnviews/integratemodels/bin/rails b/dylan_eckert/controllersnviews/integratemodels/bin/rails
new file mode 100755
index 0000000..5badb2f
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/bin/rails
@@ -0,0 +1,9 @@
+#!/usr/bin/env ruby
+begin
+ load File.expand_path('../spring', __FILE__)
+rescue LoadError => e
+ raise unless e.message.include?('spring')
+end
+APP_PATH = File.expand_path('../config/application', __dir__)
+require_relative '../config/boot'
+require 'rails/commands'
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/bin/rake b/dylan_eckert/controllersnviews/integratemodels/bin/rake
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/bin/rake
rename to dylan_eckert/controllersnviews/integratemodels/bin/rake
diff --git a/dylan_eckert/controllersnviews/integratemodels/bin/setup b/dylan_eckert/controllersnviews/integratemodels/bin/setup
new file mode 100755
index 0000000..e620b4d
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/bin/setup
@@ -0,0 +1,34 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a starting point to setup your application.
+ # Add necessary setup steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ # puts "\n== Copying sample files =="
+ # unless File.exist?('config/database.yml')
+ # cp 'config/database.yml.sample', 'config/database.yml'
+ # end
+
+ puts "\n== Preparing database =="
+ system! 'bin/rails db:setup'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/bin/spring b/dylan_eckert/controllersnviews/integratemodels/bin/spring
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/bin/spring
rename to dylan_eckert/controllersnviews/integratemodels/bin/spring
diff --git a/dylan_eckert/controllersnviews/integratemodels/bin/update b/dylan_eckert/controllersnviews/integratemodels/bin/update
new file mode 100755
index 0000000..a8e4462
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/bin/update
@@ -0,0 +1,29 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a way to update your development environment automatically.
+ # Add necessary update steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ puts "\n== Updating database =="
+ system! 'bin/rails db:migrate'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/dylan_eckert/controllersnviews/integratemodels/config.ru b/dylan_eckert/controllersnviews/integratemodels/config.ru
new file mode 100644
index 0000000..f7ba0b5
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/config.ru
@@ -0,0 +1,5 @@
+# This file is used by Rack-based servers to start the application.
+
+require_relative 'config/environment'
+
+run Rails.application
diff --git a/dylan_eckert/controllersnviews/integratemodels/config/application.rb b/dylan_eckert/controllersnviews/integratemodels/config/application.rb
new file mode 100644
index 0000000..7e04970
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/config/application.rb
@@ -0,0 +1,15 @@
+require_relative 'boot'
+
+require 'rails/all'
+
+# Require the gems listed in Gemfile, including any gems
+# you've limited to :test, :development, or :production.
+Bundler.require(*Rails.groups)
+
+module Integratemodels
+ class Application < Rails::Application
+ # Settings in config/environments/* take precedence over those specified here.
+ # Application configuration should go into files in config/initializers
+ # -- all .rb files in that directory are automatically loaded.
+ end
+end
diff --git a/dylan_eckert/controllersnviews/integratemodels/config/boot.rb b/dylan_eckert/controllersnviews/integratemodels/config/boot.rb
new file mode 100644
index 0000000..30f5120
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/config/boot.rb
@@ -0,0 +1,3 @@
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
+
+require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/dylan_eckert/controllersnviews/integratemodels/config/cable.yml b/dylan_eckert/controllersnviews/integratemodels/config/cable.yml
new file mode 100644
index 0000000..0bbde6f
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/config/cable.yml
@@ -0,0 +1,9 @@
+development:
+ adapter: async
+
+test:
+ adapter: async
+
+production:
+ adapter: redis
+ url: redis://localhost:6379/1
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/config/database.yml b/dylan_eckert/controllersnviews/integratemodels/config/database.yml
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/config/database.yml
rename to dylan_eckert/controllersnviews/integratemodels/config/database.yml
diff --git a/dylan_eckert/controllersnviews/integratemodels/config/environment.rb b/dylan_eckert/controllersnviews/integratemodels/config/environment.rb
new file mode 100644
index 0000000..426333b
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/config/environment.rb
@@ -0,0 +1,5 @@
+# Load the Rails application.
+require_relative 'application'
+
+# Initialize the Rails application.
+Rails.application.initialize!
diff --git a/dylan_eckert/controllersnviews/integratemodels/config/environments/development.rb b/dylan_eckert/controllersnviews/integratemodels/config/environments/development.rb
new file mode 100644
index 0000000..1795ef5
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/config/environments/development.rb
@@ -0,0 +1,55 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # In the development environment your application's code is reloaded on
+ # every request. This slows down response time but is perfect for development
+ # since you don't have to restart the web server when you make code changes.
+ config.cache_classes = false
+ config.reload_classes_only_on_change = false
+
+ # Do not eager load code on boot.
+ config.eager_load = false
+
+ # Show full error reports.
+ config.consider_all_requests_local = true
+
+ # Enable/disable caching. By default caching is disabled.
+ if Rails.root.join('tmp/caching-dev.txt').exist?
+ config.action_controller.perform_caching = true
+
+ config.cache_store = :memory_store
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=172800'
+ }
+ else
+ config.action_controller.perform_caching = false
+
+ config.cache_store = :null_store
+ end
+
+ # Don't care if the mailer can't send.
+ config.action_mailer.raise_delivery_errors = false
+
+ config.action_mailer.perform_caching = false
+
+ # Print deprecation notices to the Rails logger.
+ config.active_support.deprecation = :log
+
+ # Raise an error on page load if there are pending migrations.
+ config.active_record.migration_error = :page_load
+
+ # Debug mode disables concatenation and preprocessing of assets.
+ # This option may cause significant delays in view rendering with a large
+ # number of complex assets.
+ config.assets.debug = true
+
+ # Suppress logger output for asset requests.
+ config.assets.quiet = true
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+
+ # Use an evented file watcher to asynchronously detect changes in source code,
+ # routes, locales, etc. This feature depends on the listen gem.
+ config.file_watcher = ActiveSupport::EventedFileUpdateChecker
+end
diff --git a/dylan_eckert/controllersnviews/integratemodels/config/environments/production.rb b/dylan_eckert/controllersnviews/integratemodels/config/environments/production.rb
new file mode 100644
index 0000000..a09ca28
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/config/environments/production.rb
@@ -0,0 +1,86 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # Code is not reloaded between requests.
+ config.cache_classes = true
+
+ # Eager load code on boot. This eager loads most of Rails and
+ # your application in memory, allowing both threaded web servers
+ # and those relying on copy on write to perform better.
+ # Rake tasks automatically ignore this option for performance.
+ config.eager_load = true
+
+ # Full error reports are disabled and caching is turned on.
+ config.consider_all_requests_local = false
+ config.action_controller.perform_caching = true
+
+ # Disable serving static files from the `/public` folder by default since
+ # Apache or NGINX already handles this.
+ config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
+
+ # Compress JavaScripts and CSS.
+ config.assets.js_compressor = :uglifier
+ # config.assets.css_compressor = :sass
+
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
+ config.assets.compile = false
+
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
+
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
+ # config.action_controller.asset_host = 'http://assets.example.com'
+
+ # Specifies the header that your server uses for sending files.
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
+
+ # Mount Action Cable outside main process or domain
+ # config.action_cable.mount_path = nil
+ # config.action_cable.url = 'wss://example.com/cable'
+ # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
+
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
+ # config.force_ssl = true
+
+ # Use the lowest log level to ensure availability of diagnostic information
+ # when problems arise.
+ config.log_level = :debug
+
+ # Prepend all log lines with the following tags.
+ config.log_tags = [ :request_id ]
+
+ # Use a different cache store in production.
+ # config.cache_store = :mem_cache_store
+
+ # Use a real queuing backend for Active Job (and separate queues per environment)
+ # config.active_job.queue_adapter = :resque
+ # config.active_job.queue_name_prefix = "integratemodels_#{Rails.env}"
+ config.action_mailer.perform_caching = false
+
+ # Ignore bad email addresses and do not raise email delivery errors.
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
+ # config.action_mailer.raise_delivery_errors = false
+
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
+ # the I18n.default_locale when a translation cannot be found).
+ config.i18n.fallbacks = true
+
+ # Send deprecation notices to registered listeners.
+ config.active_support.deprecation = :notify
+
+ # Use default logging formatter so that PID and timestamp are not suppressed.
+ config.log_formatter = ::Logger::Formatter.new
+
+ # Use a different logger for distributed setups.
+ # require 'syslog/logger'
+ # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
+
+ if ENV["RAILS_LOG_TO_STDOUT"].present?
+ logger = ActiveSupport::Logger.new(STDOUT)
+ logger.formatter = config.log_formatter
+ config.logger = ActiveSupport::TaggedLogging.new(logger)
+ end
+
+ # Do not dump schema after migrations.
+ config.active_record.dump_schema_after_migration = false
+end
diff --git a/dylan_eckert/controllersnviews/integratemodels/config/environments/test.rb b/dylan_eckert/controllersnviews/integratemodels/config/environments/test.rb
new file mode 100644
index 0000000..30587ef
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/config/environments/test.rb
@@ -0,0 +1,42 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # The test environment is used exclusively to run your application's
+ # test suite. You never need to work with it otherwise. Remember that
+ # your test database is "scratch space" for the test suite and is wiped
+ # and recreated between test runs. Don't rely on the data there!
+ config.cache_classes = true
+
+ # Do not eager load code on boot. This avoids loading your whole application
+ # just for the purpose of running a single test. If you are using a tool that
+ # preloads Rails for running tests, you may have to set it to true.
+ config.eager_load = false
+
+ # Configure public file server for tests with Cache-Control for performance.
+ config.public_file_server.enabled = true
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=3600'
+ }
+
+ # Show full error reports and disable caching.
+ config.consider_all_requests_local = true
+ config.action_controller.perform_caching = false
+
+ # Raise exceptions instead of rendering exception templates.
+ config.action_dispatch.show_exceptions = false
+
+ # Disable request forgery protection in test environment.
+ config.action_controller.allow_forgery_protection = false
+ config.action_mailer.perform_caching = false
+
+ # Tell Action Mailer not to deliver emails to the real world.
+ # The :test delivery method accumulates sent emails in the
+ # ActionMailer::Base.deliveries array.
+ config.action_mailer.delivery_method = :test
+
+ # Print deprecation notices to the stderr.
+ config.active_support.deprecation = :stderr
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+end
diff --git a/dylan_eckert/controllersnviews/integratemodels/config/initializers/application_controller_renderer.rb b/dylan_eckert/controllersnviews/integratemodels/config/initializers/application_controller_renderer.rb
new file mode 100644
index 0000000..89d2efa
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/config/initializers/application_controller_renderer.rb
@@ -0,0 +1,8 @@
+# Be sure to restart your server when you modify this file.
+
+# ActiveSupport::Reloader.to_prepare do
+# ApplicationController.renderer.defaults.merge!(
+# http_host: 'example.org',
+# https: false
+# )
+# end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/config/initializers/assets.rb b/dylan_eckert/controllersnviews/integratemodels/config/initializers/assets.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/config/initializers/assets.rb
rename to dylan_eckert/controllersnviews/integratemodels/config/initializers/assets.rb
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/config/initializers/backtrace_silencers.rb b/dylan_eckert/controllersnviews/integratemodels/config/initializers/backtrace_silencers.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/config/initializers/backtrace_silencers.rb
rename to dylan_eckert/controllersnviews/integratemodels/config/initializers/backtrace_silencers.rb
diff --git a/dylan_eckert/controllersnviews/integratemodels/config/initializers/cookies_serializer.rb b/dylan_eckert/controllersnviews/integratemodels/config/initializers/cookies_serializer.rb
new file mode 100644
index 0000000..5a6a32d
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/config/initializers/cookies_serializer.rb
@@ -0,0 +1,5 @@
+# Be sure to restart your server when you modify this file.
+
+# Specify a serializer for the signed and encrypted cookie jars.
+# Valid options are :json, :marshal, and :hybrid.
+Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/config/initializers/filter_parameter_logging.rb b/dylan_eckert/controllersnviews/integratemodels/config/initializers/filter_parameter_logging.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/config/initializers/filter_parameter_logging.rb
rename to dylan_eckert/controllersnviews/integratemodels/config/initializers/filter_parameter_logging.rb
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/config/initializers/inflections.rb b/dylan_eckert/controllersnviews/integratemodels/config/initializers/inflections.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/config/initializers/inflections.rb
rename to dylan_eckert/controllersnviews/integratemodels/config/initializers/inflections.rb
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/config/initializers/mime_types.rb b/dylan_eckert/controllersnviews/integratemodels/config/initializers/mime_types.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/config/initializers/mime_types.rb
rename to dylan_eckert/controllersnviews/integratemodels/config/initializers/mime_types.rb
diff --git a/dylan_eckert/controllersnviews/integratemodels/config/initializers/new_framework_defaults.rb b/dylan_eckert/controllersnviews/integratemodels/config/initializers/new_framework_defaults.rb
new file mode 100644
index 0000000..dd236b5
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/config/initializers/new_framework_defaults.rb
@@ -0,0 +1,26 @@
+# Be sure to restart your server when you modify this file.
+#
+# This file contains migration options to ease your Rails 5.0 upgrade.
+#
+# Read the Guide for Upgrading Ruby on Rails for more info on each option.
+
+Rails.application.config.action_controller.raise_on_unfiltered_parameters = true
+
+# Enable per-form CSRF tokens. Previous versions had false.
+Rails.application.config.action_controller.per_form_csrf_tokens = true
+
+# Enable origin-checking CSRF mitigation. Previous versions had false.
+Rails.application.config.action_controller.forgery_protection_origin_check = true
+
+# Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`.
+# Previous versions had false.
+ActiveSupport.to_time_preserves_timezone = true
+
+# Require `belongs_to` associations by default. Previous versions had false.
+Rails.application.config.active_record.belongs_to_required_by_default = true
+
+# Do not halt callback chains when a callback returns false. Previous versions had true.
+ActiveSupport.halt_callback_chains_on_return_false = false
+
+# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
+Rails.application.config.ssl_options = { hsts: { subdomains: true } }
diff --git a/dylan_eckert/controllersnviews/integratemodels/config/initializers/session_store.rb b/dylan_eckert/controllersnviews/integratemodels/config/initializers/session_store.rb
new file mode 100644
index 0000000..971317a
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/config/initializers/session_store.rb
@@ -0,0 +1,3 @@
+# Be sure to restart your server when you modify this file.
+
+Rails.application.config.session_store :cookie_store, key: '_integratemodels_session'
diff --git a/dylan_eckert/controllersnviews/integratemodels/config/initializers/wrap_parameters.rb b/dylan_eckert/controllersnviews/integratemodels/config/initializers/wrap_parameters.rb
new file mode 100644
index 0000000..bbfc396
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/config/initializers/wrap_parameters.rb
@@ -0,0 +1,14 @@
+# Be sure to restart your server when you modify this file.
+
+# This file contains settings for ActionController::ParamsWrapper which
+# is enabled by default.
+
+# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
+ActiveSupport.on_load(:action_controller) do
+ wrap_parameters format: [:json]
+end
+
+# To enable root element in JSON for ActiveRecord objects.
+# ActiveSupport.on_load(:active_record) do
+# self.include_root_in_json = true
+# end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/config/locales/en.yml b/dylan_eckert/controllersnviews/integratemodels/config/locales/en.yml
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/config/locales/en.yml
rename to dylan_eckert/controllersnviews/integratemodels/config/locales/en.yml
diff --git a/dylan_eckert/controllersnviews/integratemodels/config/puma.rb b/dylan_eckert/controllersnviews/integratemodels/config/puma.rb
new file mode 100644
index 0000000..c7f311f
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/config/puma.rb
@@ -0,0 +1,47 @@
+# Puma can serve each request in a thread from an internal thread pool.
+# The `threads` method setting takes two numbers a minimum and maximum.
+# Any libraries that use thread pools should be configured to match
+# the maximum value specified for Puma. Default is set to 5 threads for minimum
+# and maximum, this matches the default thread size of Active Record.
+#
+threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i
+threads threads_count, threads_count
+
+# Specifies the `port` that Puma will listen on to receive requests, default is 3000.
+#
+port ENV.fetch("PORT") { 3000 }
+
+# Specifies the `environment` that Puma will run in.
+#
+environment ENV.fetch("RAILS_ENV") { "development" }
+
+# Specifies the number of `workers` to boot in clustered mode.
+# Workers are forked webserver processes. If using threads and workers together
+# the concurrency of the application would be max `threads` * `workers`.
+# Workers do not work on JRuby or Windows (both of which do not support
+# processes).
+#
+# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
+
+# Use the `preload_app!` method when specifying a `workers` number.
+# This directive tells Puma to first boot the application and load code
+# before forking the application. This takes advantage of Copy On Write
+# process behavior so workers use less memory. If you use this option
+# you need to make sure to reconnect any threads in the `on_worker_boot`
+# block.
+#
+# preload_app!
+
+# The code in the `on_worker_boot` will be called if you are using
+# clustered mode by specifying a number of `workers`. After each worker
+# process is booted this block will be run, if you are using `preload_app!`
+# option you will want to use this block to reconnect to any threads
+# or connections that may have been created at application boot, Ruby
+# cannot share connections between processes.
+#
+# on_worker_boot do
+# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
+# end
+
+# Allow puma to be restarted by `rails restart` command.
+plugin :tmp_restart
diff --git a/dylan_eckert/controllersnviews/integratemodels/config/routes.rb b/dylan_eckert/controllersnviews/integratemodels/config/routes.rb
new file mode 100644
index 0000000..d0dfc2b
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/config/routes.rb
@@ -0,0 +1,16 @@
+Rails.application.routes.draw do
+ get 'users' => "users#index"
+
+ get 'users/new' => "users#new"
+
+ post 'users' => "users#create"
+
+ get 'users/total' => "users#total"
+
+ get 'users/:id' => "users#show"
+
+ get 'users/:id/edit' => "users#edit"
+
+ # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
+
+end
diff --git a/dylan_eckert/controllersnviews/integratemodels/config/secrets.yml b/dylan_eckert/controllersnviews/integratemodels/config/secrets.yml
new file mode 100644
index 0000000..dae5c87
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/config/secrets.yml
@@ -0,0 +1,22 @@
+# Be sure to restart your server when you modify this file.
+
+# Your secret key is used for verifying the integrity of signed cookies.
+# If you change this key, all old signed cookies will become invalid!
+
+# Make sure the secret is at least 30 characters and all random,
+# no regular words or you'll be exposed to dictionary attacks.
+# You can use `rails secret` to generate a secure secret key.
+
+# Make sure the secrets in this file are kept private
+# if you're sharing your code publicly.
+
+development:
+ secret_key_base: f11bde0dfd249a3b5348fca0002575f53d1ea5a0691531d853bead5bce232c117bf2e544e87daca8d579d035dcedb9a7ee89f663232c3cd0232ff04aafcb307e
+
+test:
+ secret_key_base: 6b49f6859769cd4cba1e3b94c2485bafaf48653cb8549885903fb9e42ce1d707a3f9a8c11a382d131ae75b3240ed47aa3d557739a05f1f952edf9a1b0c59dbed
+
+# Do not keep production secrets in the repository,
+# instead read values from the environment.
+production:
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/dylan_eckert/controllersnviews/integratemodels/config/spring.rb b/dylan_eckert/controllersnviews/integratemodels/config/spring.rb
new file mode 100644
index 0000000..c9119b4
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/config/spring.rb
@@ -0,0 +1,6 @@
+%w(
+ .ruby-version
+ .rbenv-vars
+ tmp/restart.txt
+ tmp/caching-dev.txt
+).each { |path| Spring.watch(path) }
diff --git a/dylan_eckert/controllersnviews/integratemodels/db/migrate/20171204185211_create_users.rb b/dylan_eckert/controllersnviews/integratemodels/db/migrate/20171204185211_create_users.rb
new file mode 100644
index 0000000..9b622cd
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/db/migrate/20171204185211_create_users.rb
@@ -0,0 +1,9 @@
+class CreateUsers < ActiveRecord::Migration[5.0]
+ def change
+ create_table :users do |t|
+ t.string :name
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/controllersnviews/integratemodels/db/schema.rb b/dylan_eckert/controllersnviews/integratemodels/db/schema.rb
new file mode 100644
index 0000000..943c4a3
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/db/schema.rb
@@ -0,0 +1,21 @@
+# This file is auto-generated from the current state of the database. Instead
+# of editing this file, please use the migrations feature of Active Record to
+# incrementally modify your database, and then regenerate this schema definition.
+#
+# Note that this schema.rb definition is the authoritative source for your
+# database schema. If you need to create the application database on another
+# system, you should be using db:schema:load, not running all the migrations
+# from scratch. The latter is a flawed and unsustainable approach (the more migrations
+# you'll amass, the slower it'll run and the greater likelihood for issues).
+#
+# It's strongly recommended that you check this file into your version control system.
+
+ActiveRecord::Schema.define(version: 20171204185211) do
+
+ create_table "users", force: :cascade do |t|
+ t.string "name"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ end
+
+end
diff --git a/dylan_eckert/controllersnviews/integratemodels/db/seeds.rb b/dylan_eckert/controllersnviews/integratemodels/db/seeds.rb
new file mode 100644
index 0000000..1beea2a
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/db/seeds.rb
@@ -0,0 +1,7 @@
+# This file should contain all the record creation needed to seed the database with its default values.
+# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
+#
+# Examples:
+#
+# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
+# Character.create(name: 'Luke', movie: movies.first)
diff --git a/dylan_eckert/controllersnviews/integratemodels/files.zip b/dylan_eckert/controllersnviews/integratemodels/files.zip
new file mode 100644
index 0000000..7bf8b59
Binary files /dev/null and b/dylan_eckert/controllersnviews/integratemodels/files.zip differ
diff --git a/dylan_eckert/controllersnviews/integratemodels/files/edit.html.erb b/dylan_eckert/controllersnviews/integratemodels/files/edit.html.erb
new file mode 100644
index 0000000..cf07dfc
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/files/edit.html.erb
@@ -0,0 +1,16 @@
+
+
+
+
+ new user
+
+
+
+
Edit <%= @user.name %>
+
+
+
diff --git a/dylan_eckert/controllersnviews/integratemodels/files/new.html.erb b/dylan_eckert/controllersnviews/integratemodels/files/new.html.erb
new file mode 100644
index 0000000..8bfa32b
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/files/new.html.erb
@@ -0,0 +1,15 @@
+
+
+
+
+ new user
+
+
+
Add a User
+
+
+
diff --git a/dylan_eckert/controllersnviews/integratemodels/files/routes.rb b/dylan_eckert/controllersnviews/integratemodels/files/routes.rb
new file mode 100644
index 0000000..d0dfc2b
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/files/routes.rb
@@ -0,0 +1,16 @@
+Rails.application.routes.draw do
+ get 'users' => "users#index"
+
+ get 'users/new' => "users#new"
+
+ post 'users' => "users#create"
+
+ get 'users/total' => "users#total"
+
+ get 'users/:id' => "users#show"
+
+ get 'users/:id/edit' => "users#edit"
+
+ # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
+
+end
diff --git a/dylan_eckert/controllersnviews/integratemodels/files/user.rb b/dylan_eckert/controllersnviews/integratemodels/files/user.rb
new file mode 100644
index 0000000..379658a
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/files/user.rb
@@ -0,0 +1,2 @@
+class User < ApplicationRecord
+end
diff --git a/dylan_eckert/controllersnviews/integratemodels/files/users_controller.rb b/dylan_eckert/controllersnviews/integratemodels/files/users_controller.rb
new file mode 100644
index 0000000..7a6726f
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/files/users_controller.rb
@@ -0,0 +1,35 @@
+class UsersController < ApplicationController
+ def index
+ render json: User.all
+ end
+
+ def new
+ puts 'here'
+ render "new"
+ end
+
+ def create
+ User.create(name: params[:name])
+ redirect_to "/users"
+ end
+
+ def show
+ render json: User.find(params[:id])
+ end
+
+ def edit
+ @user = User.find(params[:id])
+ end
+
+ def total
+ render json: User.all.count
+ end
+
+ def update
+
+ end
+
+ def destroy
+
+ end
+end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/app/mailers/.keep b/dylan_eckert/controllersnviews/integratemodels/lib/assets/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/app/mailers/.keep
rename to dylan_eckert/controllersnviews/integratemodels/lib/assets/.keep
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/app/models/.keep b/dylan_eckert/controllersnviews/integratemodels/lib/tasks/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/app/models/.keep
rename to dylan_eckert/controllersnviews/integratemodels/lib/tasks/.keep
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/app/models/concerns/.keep b/dylan_eckert/controllersnviews/integratemodels/log/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/app/models/concerns/.keep
rename to dylan_eckert/controllersnviews/integratemodels/log/.keep
diff --git a/dylan_eckert/controllersnviews/integratemodels/public/404.html b/dylan_eckert/controllersnviews/integratemodels/public/404.html
new file mode 100644
index 0000000..2be3af2
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/public/404.html
@@ -0,0 +1,67 @@
+
+
+
+ The page you were looking for doesn't exist (404)
+
+
+
+
+
+
+
+
+
The page you were looking for doesn't exist.
+
You may have mistyped the address or the page may have moved.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/controllersnviews/integratemodels/public/422.html b/dylan_eckert/controllersnviews/integratemodels/public/422.html
new file mode 100644
index 0000000..c08eac0
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/public/422.html
@@ -0,0 +1,67 @@
+
+
+
+ The change you wanted was rejected (422)
+
+
+
+
+
+
+
+
+
The change you wanted was rejected.
+
Maybe you tried to change something you didn't have access to.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/controllersnviews/integratemodels/public/500.html b/dylan_eckert/controllersnviews/integratemodels/public/500.html
new file mode 100644
index 0000000..78a030a
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/public/500.html
@@ -0,0 +1,66 @@
+
+
+
+ We're sorry, but something went wrong (500)
+
+
+
+
+
+
+
+
+
We're sorry, but something went wrong.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/lib/assets/.keep b/dylan_eckert/controllersnviews/integratemodels/public/apple-touch-icon-precomposed.png
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/lib/assets/.keep
rename to dylan_eckert/controllersnviews/integratemodels/public/apple-touch-icon-precomposed.png
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/lib/tasks/.keep b/dylan_eckert/controllersnviews/integratemodels/public/apple-touch-icon.png
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/lib/tasks/.keep
rename to dylan_eckert/controllersnviews/integratemodels/public/apple-touch-icon.png
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/public/favicon.ico b/dylan_eckert/controllersnviews/integratemodels/public/favicon.ico
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/public/favicon.ico
rename to dylan_eckert/controllersnviews/integratemodels/public/favicon.ico
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/public/robots.txt b/dylan_eckert/controllersnviews/integratemodels/public/robots.txt
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/public/robots.txt
rename to dylan_eckert/controllersnviews/integratemodels/public/robots.txt
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/log/.keep b/dylan_eckert/controllersnviews/integratemodels/test/controllers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/log/.keep
rename to dylan_eckert/controllersnviews/integratemodels/test/controllers/.keep
diff --git a/dylan_eckert/controllersnviews/integratemodels/test/controllers/users_controller_test.rb b/dylan_eckert/controllersnviews/integratemodels/test/controllers/users_controller_test.rb
new file mode 100644
index 0000000..6c3da77
--- /dev/null
+++ b/dylan_eckert/controllersnviews/integratemodels/test/controllers/users_controller_test.rb
@@ -0,0 +1,7 @@
+require 'test_helper'
+
+class UsersControllerTest < ActionDispatch::IntegrationTest
+ # test "the truth" do
+ # assert true
+ # end
+end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/test/controllers/.keep b/dylan_eckert/controllersnviews/integratemodels/test/fixtures/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/test/controllers/.keep
rename to dylan_eckert/controllersnviews/integratemodels/test/fixtures/.keep
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/test/fixtures/.keep b/dylan_eckert/controllersnviews/integratemodels/test/fixtures/files/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/test/fixtures/.keep
rename to dylan_eckert/controllersnviews/integratemodels/test/fixtures/files/.keep
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/test/fixtures/users.yml b/dylan_eckert/controllersnviews/integratemodels/test/fixtures/users.yml
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/test/fixtures/users.yml
rename to dylan_eckert/controllersnviews/integratemodels/test/fixtures/users.yml
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/test/helpers/.keep b/dylan_eckert/controllersnviews/integratemodels/test/helpers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/test/helpers/.keep
rename to dylan_eckert/controllersnviews/integratemodels/test/helpers/.keep
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/test/integration/.keep b/dylan_eckert/controllersnviews/integratemodels/test/integration/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/test/integration/.keep
rename to dylan_eckert/controllersnviews/integratemodels/test/integration/.keep
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/test/mailers/.keep b/dylan_eckert/controllersnviews/integratemodels/test/mailers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/test/mailers/.keep
rename to dylan_eckert/controllersnviews/integratemodels/test/mailers/.keep
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/test/models/.keep b/dylan_eckert/controllersnviews/integratemodels/test/models/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/test/models/.keep
rename to dylan_eckert/controllersnviews/integratemodels/test/models/.keep
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/test/models/user_test.rb b/dylan_eckert/controllersnviews/integratemodels/test/models/user_test.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/test/models/user_test.rb
rename to dylan_eckert/controllersnviews/integratemodels/test/models/user_test.rb
diff --git a/Rodolfo_Valdivieso/controllers/dashboard/test/test_helper.rb b/dylan_eckert/controllersnviews/integratemodels/test/test_helper.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard/test/test_helper.rb
rename to dylan_eckert/controllersnviews/integratemodels/test/test_helper.rb
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/vendor/assets/javascripts/.keep b/dylan_eckert/controllersnviews/integratemodels/tmp/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/vendor/assets/javascripts/.keep
rename to dylan_eckert/controllersnviews/integratemodels/tmp/.keep
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/vendor/assets/stylesheets/.keep b/dylan_eckert/controllersnviews/integratemodels/vendor/assets/javascripts/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/vendor/assets/stylesheets/.keep
rename to dylan_eckert/controllersnviews/integratemodels/vendor/assets/javascripts/.keep
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/app/assets/images/.keep b/dylan_eckert/controllersnviews/integratemodels/vendor/assets/stylesheets/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/app/assets/images/.keep
rename to dylan_eckert/controllersnviews/integratemodels/vendor/assets/stylesheets/.keep
diff --git a/dylan_eckert/controllersnviews/layouts.zip b/dylan_eckert/controllersnviews/layouts.zip
new file mode 100644
index 0000000..aadd623
Binary files /dev/null and b/dylan_eckert/controllersnviews/layouts.zip differ
diff --git a/dylan_eckert/controllersnviews/layouts/.gitignore b/dylan_eckert/controllersnviews/layouts/.gitignore
new file mode 100644
index 0000000..bab620d
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/.gitignore
@@ -0,0 +1,21 @@
+# See https://help.github.com/articles/ignoring-files for more about ignoring files.
+#
+# If you find yourself ignoring temporary files generated by your text editor
+# or operating system, you probably want to add a global ignore instead:
+# git config --global core.excludesfile '~/.gitignore_global'
+
+# Ignore bundler config.
+/.bundle
+
+# Ignore the default SQLite database.
+/db/*.sqlite3
+/db/*.sqlite3-journal
+
+# Ignore all logfiles and tempfiles.
+/log/*
+/tmp/*
+!/log/.keep
+!/tmp/.keep
+
+# Ignore Byebug command history file.
+.byebug_history
diff --git a/dylan_eckert/controllersnviews/layouts/Gemfile b/dylan_eckert/controllersnviews/layouts/Gemfile
new file mode 100644
index 0000000..59d57f6
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/Gemfile
@@ -0,0 +1,53 @@
+source 'https://rubygems.org'
+
+git_source(:github) do |repo_name|
+ repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
+ "https://github.com/#{repo_name}.git"
+end
+
+
+# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
+gem 'rails', '~> 5.0.6'
+# Use sqlite3 as the database for Active Record
+gem 'sqlite3'
+# Use Puma as the app server
+gem 'puma', '~> 3.0'
+# Use SCSS for stylesheets
+gem 'sass-rails', '~> 5.0'
+# Use Uglifier as compressor for JavaScript assets
+gem 'uglifier', '>= 1.3.0'
+# Use CoffeeScript for .coffee assets and views
+gem 'coffee-rails', '~> 4.2'
+# See https://github.com/rails/execjs#readme for more supported runtimes
+# gem 'therubyracer', platforms: :ruby
+
+# Use jquery as the JavaScript library
+gem 'jquery-rails'
+# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
+gem 'turbolinks', '~> 5'
+# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
+gem 'jbuilder', '~> 2.5'
+# Use Redis adapter to run Action Cable in production
+# gem 'redis', '~> 3.0'
+# Use ActiveModel has_secure_password
+# gem 'bcrypt', '~> 3.1.7'
+
+# Use Capistrano for deployment
+# gem 'capistrano-rails', group: :development
+
+group :development, :test do
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
+ gem 'byebug', platform: :mri
+end
+
+group :development do
+ # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
+ gem 'web-console', '>= 3.3.0'
+ gem 'listen', '~> 3.0.5'
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
+ gem 'spring'
+ gem 'spring-watcher-listen', '~> 2.0.0'
+end
+
+# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
+gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
diff --git a/dylan_eckert/controllersnviews/layouts/Gemfile.lock b/dylan_eckert/controllersnviews/layouts/Gemfile.lock
new file mode 100644
index 0000000..fabcef5
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/Gemfile.lock
@@ -0,0 +1,179 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actioncable (5.0.6)
+ actionpack (= 5.0.6)
+ nio4r (>= 1.2, < 3.0)
+ websocket-driver (~> 0.6.1)
+ actionmailer (5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ mail (~> 2.5, >= 2.5.4)
+ rails-dom-testing (~> 2.0)
+ actionpack (5.0.6)
+ actionview (= 5.0.6)
+ activesupport (= 5.0.6)
+ rack (~> 2.0)
+ rack-test (~> 0.6.3)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
+ actionview (5.0.6)
+ activesupport (= 5.0.6)
+ builder (~> 3.1)
+ erubis (~> 2.7.0)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
+ activejob (5.0.6)
+ activesupport (= 5.0.6)
+ globalid (>= 0.3.6)
+ activemodel (5.0.6)
+ activesupport (= 5.0.6)
+ activerecord (5.0.6)
+ activemodel (= 5.0.6)
+ activesupport (= 5.0.6)
+ arel (~> 7.0)
+ activesupport (5.0.6)
+ concurrent-ruby (~> 1.0, >= 1.0.2)
+ i18n (~> 0.7)
+ minitest (~> 5.1)
+ tzinfo (~> 1.1)
+ arel (7.1.4)
+ bindex (0.5.0)
+ builder (3.2.3)
+ byebug (9.1.0)
+ coffee-rails (4.2.2)
+ coffee-script (>= 2.2.0)
+ railties (>= 4.0.0)
+ coffee-script (2.4.1)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.12.2)
+ concurrent-ruby (1.0.5)
+ crass (1.0.3)
+ erubis (2.7.0)
+ execjs (2.7.0)
+ ffi (1.9.18)
+ globalid (0.4.1)
+ activesupport (>= 4.2.0)
+ i18n (0.9.1)
+ concurrent-ruby (~> 1.0)
+ jbuilder (2.7.0)
+ activesupport (>= 4.2.0)
+ multi_json (>= 1.2)
+ jquery-rails (4.3.1)
+ rails-dom-testing (>= 1, < 3)
+ railties (>= 4.2.0)
+ thor (>= 0.14, < 2.0)
+ listen (3.0.8)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ loofah (2.1.1)
+ crass (~> 1.0.2)
+ nokogiri (>= 1.5.9)
+ mail (2.7.0)
+ mini_mime (>= 0.1.1)
+ method_source (0.9.0)
+ mini_mime (1.0.0)
+ mini_portile2 (2.3.0)
+ minitest (5.10.3)
+ multi_json (1.12.2)
+ nio4r (2.1.0)
+ nokogiri (1.8.1)
+ mini_portile2 (~> 2.3.0)
+ puma (3.11.0)
+ rack (2.0.3)
+ rack-test (0.6.3)
+ rack (>= 1.0)
+ rails (5.0.6)
+ actioncable (= 5.0.6)
+ actionmailer (= 5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ activemodel (= 5.0.6)
+ activerecord (= 5.0.6)
+ activesupport (= 5.0.6)
+ bundler (>= 1.3.0)
+ railties (= 5.0.6)
+ sprockets-rails (>= 2.0.0)
+ rails-dom-testing (2.0.3)
+ activesupport (>= 4.2.0)
+ nokogiri (>= 1.6)
+ rails-html-sanitizer (1.0.3)
+ loofah (~> 2.0)
+ railties (5.0.6)
+ actionpack (= 5.0.6)
+ activesupport (= 5.0.6)
+ method_source
+ rake (>= 0.8.7)
+ thor (>= 0.18.1, < 2.0)
+ rake (12.3.0)
+ rb-fsevent (0.10.2)
+ rb-inotify (0.9.10)
+ ffi (>= 0.5.0, < 2)
+ sass (3.5.3)
+ sass-listen (~> 4.0.0)
+ sass-listen (4.0.0)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ sass-rails (5.0.7)
+ railties (>= 4.0.0, < 6)
+ sass (~> 3.1)
+ sprockets (>= 2.8, < 4.0)
+ sprockets-rails (>= 2.0, < 4.0)
+ tilt (>= 1.1, < 3)
+ spring (2.0.2)
+ activesupport (>= 4.2)
+ spring-watcher-listen (2.0.1)
+ listen (>= 2.7, < 4.0)
+ spring (>= 1.2, < 3.0)
+ sprockets (3.7.1)
+ concurrent-ruby (~> 1.0)
+ rack (> 1, < 3)
+ sprockets-rails (3.2.1)
+ actionpack (>= 4.0)
+ activesupport (>= 4.0)
+ sprockets (>= 3.0.0)
+ sqlite3 (1.3.13)
+ thor (0.20.0)
+ thread_safe (0.3.6)
+ tilt (2.0.8)
+ turbolinks (5.0.1)
+ turbolinks-source (~> 5)
+ turbolinks-source (5.0.3)
+ tzinfo (1.2.4)
+ thread_safe (~> 0.1)
+ uglifier (4.0.1)
+ execjs (>= 0.3.0, < 3)
+ web-console (3.5.1)
+ actionview (>= 5.0)
+ activemodel (>= 5.0)
+ bindex (>= 0.4.0)
+ railties (>= 5.0)
+ websocket-driver (0.6.5)
+ websocket-extensions (>= 0.1.0)
+ websocket-extensions (0.1.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ byebug
+ coffee-rails (~> 4.2)
+ jbuilder (~> 2.5)
+ jquery-rails
+ listen (~> 3.0.5)
+ puma (~> 3.0)
+ rails (~> 5.0.6)
+ sass-rails (~> 5.0)
+ spring
+ spring-watcher-listen (~> 2.0.0)
+ sqlite3
+ turbolinks (~> 5)
+ tzinfo-data
+ uglifier (>= 1.3.0)
+ web-console (>= 3.3.0)
+
+BUNDLED WITH
+ 1.16.0
diff --git a/dylan_eckert/controllersnviews/layouts/README.md b/dylan_eckert/controllersnviews/layouts/README.md
new file mode 100644
index 0000000..7db80e4
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/README.md
@@ -0,0 +1,24 @@
+# README
+
+This README would normally document whatever steps are necessary to get the
+application up and running.
+
+Things you may want to cover:
+
+* Ruby version
+
+* System dependencies
+
+* Configuration
+
+* Database creation
+
+* Database initialization
+
+* How to run the test suite
+
+* Services (job queues, cache servers, search engines, etc.)
+
+* Deployment instructions
+
+* ...
diff --git a/dylan_eckert/controllersnviews/layouts/Rakefile b/dylan_eckert/controllersnviews/layouts/Rakefile
new file mode 100644
index 0000000..e85f913
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/Rakefile
@@ -0,0 +1,6 @@
+# Add your own tasks in files placed in lib/tasks ending in .rake,
+# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
+
+require_relative 'config/application'
+
+Rails.application.load_tasks
diff --git a/dylan_eckert/controllersnviews/layouts/app/assets/config/manifest.js b/dylan_eckert/controllersnviews/layouts/app/assets/config/manifest.js
new file mode 100644
index 0000000..b16e53d
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/app/assets/config/manifest.js
@@ -0,0 +1,3 @@
+//= link_tree ../images
+//= link_directory ../javascripts .js
+//= link_directory ../stylesheets .css
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/app/controllers/concerns/.keep b/dylan_eckert/controllersnviews/layouts/app/assets/images/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/app/controllers/concerns/.keep
rename to dylan_eckert/controllersnviews/layouts/app/assets/images/.keep
diff --git a/dylan_eckert/controllersnviews/layouts/app/assets/javascripts/application.js b/dylan_eckert/controllersnviews/layouts/app/assets/javascripts/application.js
new file mode 100644
index 0000000..2c268fb
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/app/assets/javascripts/application.js
@@ -0,0 +1,17 @@
+// This is a manifest file that'll be compiled into application.js, which will include all the files
+// listed below.
+//
+// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
+// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
+//
+// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
+// compiled file.
+//
+// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
+// about supported directives.
+//
+//= require jquery
+//= require jquery_ujs
+//= require turbolinks
+//= require bootstrap.min
+//= require_tree .
diff --git a/dylan_eckert/controllersnviews/layouts/app/assets/javascripts/cable.js b/dylan_eckert/controllersnviews/layouts/app/assets/javascripts/cable.js
new file mode 100644
index 0000000..71ee1e6
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/app/assets/javascripts/cable.js
@@ -0,0 +1,13 @@
+// Action Cable provides the framework to deal with WebSockets in Rails.
+// You can generate new channels where WebSocket features live using the rails generate channel command.
+//
+//= require action_cable
+//= require_self
+//= require_tree ./channels
+
+(function() {
+ this.App || (this.App = {});
+
+ App.cable = ActionCable.createConsumer();
+
+}).call(this);
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/app/mailers/.keep b/dylan_eckert/controllersnviews/layouts/app/assets/javascripts/channels/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/app/mailers/.keep
rename to dylan_eckert/controllersnviews/layouts/app/assets/javascripts/channels/.keep
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/app/assets/javascripts/dojos.coffee b/dylan_eckert/controllersnviews/layouts/app/assets/javascripts/posts.coffee
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/app/assets/javascripts/dojos.coffee
rename to dylan_eckert/controllersnviews/layouts/app/assets/javascripts/posts.coffee
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/app/assets/javascripts/users.coffee b/dylan_eckert/controllersnviews/layouts/app/assets/javascripts/users.coffee
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /intergrating_m/app/assets/javascripts/users.coffee
rename to dylan_eckert/controllersnviews/layouts/app/assets/javascripts/users.coffee
diff --git a/dylan_eckert/controllersnviews/layouts/app/assets/stylesheets/application.css b/dylan_eckert/controllersnviews/layouts/app/assets/stylesheets/application.css
new file mode 100644
index 0000000..3bdf5f6
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/app/assets/stylesheets/application.css
@@ -0,0 +1,16 @@
+/*
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
+ * listed below.
+ *
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
+ * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
+ *
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
+ * compiled file so the styles you add here take precedence over styles defined in any styles
+ * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
+ * file per style scope.
+ *
+ *= require bootstrap.min
+ *= require_tree .
+ *= require_self
+ */
diff --git a/dylan_eckert/controllersnviews/layouts/app/assets/stylesheets/posts.scss b/dylan_eckert/controllersnviews/layouts/app/assets/stylesheets/posts.scss
new file mode 100644
index 0000000..ed4dfd1
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/app/assets/stylesheets/posts.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the Posts controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/app/assets/stylesheets/users.scss b/dylan_eckert/controllersnviews/layouts/app/assets/stylesheets/users.scss
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/app/assets/stylesheets/users.scss
rename to dylan_eckert/controllersnviews/layouts/app/assets/stylesheets/users.scss
diff --git a/dylan_eckert/controllersnviews/layouts/app/channels/application_cable/channel.rb b/dylan_eckert/controllersnviews/layouts/app/channels/application_cable/channel.rb
new file mode 100644
index 0000000..d672697
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/app/channels/application_cable/channel.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Channel < ActionCable::Channel::Base
+ end
+end
diff --git a/dylan_eckert/controllersnviews/layouts/app/channels/application_cable/connection.rb b/dylan_eckert/controllersnviews/layouts/app/channels/application_cable/connection.rb
new file mode 100644
index 0000000..0ff5442
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/app/channels/application_cable/connection.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Connection < ActionCable::Connection::Base
+ end
+end
diff --git a/dylan_eckert/controllersnviews/layouts/app/controllers/application_controller.rb b/dylan_eckert/controllersnviews/layouts/app/controllers/application_controller.rb
new file mode 100644
index 0000000..1c07694
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/app/controllers/application_controller.rb
@@ -0,0 +1,3 @@
+class ApplicationController < ActionController::Base
+ protect_from_forgery with: :exception
+end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/app/models/.keep b/dylan_eckert/controllersnviews/layouts/app/controllers/concerns/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/app/models/.keep
rename to dylan_eckert/controllersnviews/layouts/app/controllers/concerns/.keep
diff --git a/dylan_eckert/controllersnviews/layouts/app/controllers/posts_controller.rb b/dylan_eckert/controllersnviews/layouts/app/controllers/posts_controller.rb
new file mode 100644
index 0000000..3dc85c6
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/app/controllers/posts_controller.rb
@@ -0,0 +1,16 @@
+class PostsController < ApplicationController
+ layout "three_col"
+ def index
+ @posts = Post.all
+ puts @posts
+ @users = User.all
+ end
+ def create
+ Post.create(post_params)
+ redirect_to "/posts"
+ end
+ private
+ def post_params
+ params.require(:post).permit(:title, :content, :user_id)
+ end
+end
diff --git a/dylan_eckert/controllersnviews/layouts/app/controllers/users_controller.rb b/dylan_eckert/controllersnviews/layouts/app/controllers/users_controller.rb
new file mode 100644
index 0000000..aefb02b
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/app/controllers/users_controller.rb
@@ -0,0 +1,14 @@
+class UsersController < ApplicationController
+ layout "two_col"
+ def index
+ @users = User.all
+ end
+ def create
+ User.create(user_params)
+ redirect_to "/users"
+ end
+ private
+ def user_params
+ params.require(:user).permit(:fname, :lname, :language)
+ end
+end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/app/helpers/application_helper.rb b/dylan_eckert/controllersnviews/layouts/app/helpers/application_helper.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/app/helpers/application_helper.rb
rename to dylan_eckert/controllersnviews/layouts/app/helpers/application_helper.rb
diff --git a/dylan_eckert/controllersnviews/layouts/app/helpers/posts_helper.rb b/dylan_eckert/controllersnviews/layouts/app/helpers/posts_helper.rb
new file mode 100644
index 0000000..a7b8cec
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/app/helpers/posts_helper.rb
@@ -0,0 +1,2 @@
+module PostsHelper
+end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/helpers/users_helper.rb b/dylan_eckert/controllersnviews/layouts/app/helpers/users_helper.rb
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/helpers/users_helper.rb
rename to dylan_eckert/controllersnviews/layouts/app/helpers/users_helper.rb
diff --git a/dylan_eckert/controllersnviews/layouts/app/jobs/application_job.rb b/dylan_eckert/controllersnviews/layouts/app/jobs/application_job.rb
new file mode 100644
index 0000000..a009ace
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/app/jobs/application_job.rb
@@ -0,0 +1,2 @@
+class ApplicationJob < ActiveJob::Base
+end
diff --git a/dylan_eckert/controllersnviews/layouts/app/mailers/application_mailer.rb b/dylan_eckert/controllersnviews/layouts/app/mailers/application_mailer.rb
new file mode 100644
index 0000000..286b223
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/app/mailers/application_mailer.rb
@@ -0,0 +1,4 @@
+class ApplicationMailer < ActionMailer::Base
+ default from: 'from@example.com'
+ layout 'mailer'
+end
diff --git a/dylan_eckert/controllersnviews/layouts/app/models/application_record.rb b/dylan_eckert/controllersnviews/layouts/app/models/application_record.rb
new file mode 100644
index 0000000..10a4cba
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/app/models/application_record.rb
@@ -0,0 +1,3 @@
+class ApplicationRecord < ActiveRecord::Base
+ self.abstract_class = true
+end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/app/models/concerns/.keep b/dylan_eckert/controllersnviews/layouts/app/models/concerns/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/app/models/concerns/.keep
rename to dylan_eckert/controllersnviews/layouts/app/models/concerns/.keep
diff --git a/dylan_eckert/controllersnviews/layouts/app/models/post.rb b/dylan_eckert/controllersnviews/layouts/app/models/post.rb
new file mode 100644
index 0000000..4b295fa
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/app/models/post.rb
@@ -0,0 +1,4 @@
+class Post < ApplicationRecord
+ belongs_to :user
+ validates :title, :content, presence: :true
+end
diff --git a/dylan_eckert/controllersnviews/layouts/app/models/user.rb b/dylan_eckert/controllersnviews/layouts/app/models/user.rb
new file mode 100644
index 0000000..3d346e5
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/app/models/user.rb
@@ -0,0 +1,3 @@
+class User < ApplicationRecord
+ validates :fname, :lname, :language, presence: :true
+end
diff --git a/dylan_eckert/controllersnviews/layouts/app/views/layouts/application.html.erb b/dylan_eckert/controllersnviews/layouts/app/views/layouts/application.html.erb
new file mode 100644
index 0000000..cbab9bf
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/app/views/layouts/application.html.erb
@@ -0,0 +1,14 @@
+
+
+
+ Layouts
+ <%= csrf_meta_tags %>
+
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
+ <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
+
+
+
+ <%= yield %>
+
+
diff --git a/dylan_eckert/controllersnviews/layouts/app/views/layouts/mailer.html.erb b/dylan_eckert/controllersnviews/layouts/app/views/layouts/mailer.html.erb
new file mode 100644
index 0000000..cbd34d2
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/app/views/layouts/mailer.html.erb
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+ <%= yield %>
+
+
diff --git a/dylan_eckert/controllersnviews/layouts/app/views/layouts/mailer.text.erb b/dylan_eckert/controllersnviews/layouts/app/views/layouts/mailer.text.erb
new file mode 100644
index 0000000..37f0bdd
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/app/views/layouts/mailer.text.erb
@@ -0,0 +1 @@
+<%= yield %>
diff --git a/dylan_eckert/controllersnviews/layouts/app/views/layouts/three_col.html.erb b/dylan_eckert/controllersnviews/layouts/app/views/layouts/three_col.html.erb
new file mode 100644
index 0000000..306a391
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/app/views/layouts/three_col.html.erb
@@ -0,0 +1,24 @@
+
+
+
+ Layouts
+ <%= csrf_meta_tags %>
+
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
+ <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
+
+
+
+
+
+
diff --git a/dylan_eckert/controllersnviews/layouts/app/views/posts/index.html.erb b/dylan_eckert/controllersnviews/layouts/app/views/posts/index.html.erb
new file mode 100644
index 0000000..b48b4cd
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/app/views/posts/index.html.erb
@@ -0,0 +1,42 @@
+<% content_for :posts do %>
+
All Posts
+
+
+
+
Title
+
Content
+
Author
+
+
+
+ <% @posts.each do |post| %>
+
+
<%= post.title %>
+
<%= post.content %>
+
<%= post.user.fname %>
+
+ <% end %>
+
+
+<% end %>
+<% content_for :postform do %>
+
New Post
+
+<% end %>
+<% content_for :postnav do %>
+
Go to Users Page
+ All Users
+<% end %>
diff --git a/dylan_eckert/controllersnviews/layouts/app/views/users/index.html.erb b/dylan_eckert/controllersnviews/layouts/app/views/users/index.html.erb
new file mode 100644
index 0000000..f3e9d02
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/app/views/users/index.html.erb
@@ -0,0 +1,36 @@
+<% content_for :users do %>
+
All Users
+
+
+
+
First Name
+
Last Name
+
Favourite Language
+
+
+
+ <% @users.each do |user| %>
+
+
<%= user.fname %>
+
<%= user.lname %>
+
<%= user.language %>
+
+ <% end %>
+
+
+<% end %>
+
+<% content_for :userform do %>
+
New User
+
+ All posts
+<% end %>
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/bin/bundle b/dylan_eckert/controllersnviews/layouts/bin/bundle
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/bin/bundle
rename to dylan_eckert/controllersnviews/layouts/bin/bundle
diff --git a/dylan_eckert/controllersnviews/layouts/bin/rails b/dylan_eckert/controllersnviews/layouts/bin/rails
new file mode 100755
index 0000000..5badb2f
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/bin/rails
@@ -0,0 +1,9 @@
+#!/usr/bin/env ruby
+begin
+ load File.expand_path('../spring', __FILE__)
+rescue LoadError => e
+ raise unless e.message.include?('spring')
+end
+APP_PATH = File.expand_path('../config/application', __dir__)
+require_relative '../config/boot'
+require 'rails/commands'
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/bin/rake b/dylan_eckert/controllersnviews/layouts/bin/rake
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/bin/rake
rename to dylan_eckert/controllersnviews/layouts/bin/rake
diff --git a/dylan_eckert/controllersnviews/layouts/bin/setup b/dylan_eckert/controllersnviews/layouts/bin/setup
new file mode 100755
index 0000000..e620b4d
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/bin/setup
@@ -0,0 +1,34 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a starting point to setup your application.
+ # Add necessary setup steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ # puts "\n== Copying sample files =="
+ # unless File.exist?('config/database.yml')
+ # cp 'config/database.yml.sample', 'config/database.yml'
+ # end
+
+ puts "\n== Preparing database =="
+ system! 'bin/rails db:setup'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/bin/spring b/dylan_eckert/controllersnviews/layouts/bin/spring
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/bin/spring
rename to dylan_eckert/controllersnviews/layouts/bin/spring
diff --git a/dylan_eckert/controllersnviews/layouts/bin/update b/dylan_eckert/controllersnviews/layouts/bin/update
new file mode 100755
index 0000000..a8e4462
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/bin/update
@@ -0,0 +1,29 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a way to update your development environment automatically.
+ # Add necessary update steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ puts "\n== Updating database =="
+ system! 'bin/rails db:migrate'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/dylan_eckert/controllersnviews/layouts/config.ru b/dylan_eckert/controllersnviews/layouts/config.ru
new file mode 100644
index 0000000..f7ba0b5
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/config.ru
@@ -0,0 +1,5 @@
+# This file is used by Rack-based servers to start the application.
+
+require_relative 'config/environment'
+
+run Rails.application
diff --git a/dylan_eckert/controllersnviews/layouts/config/application.rb b/dylan_eckert/controllersnviews/layouts/config/application.rb
new file mode 100644
index 0000000..68d6cd5
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/config/application.rb
@@ -0,0 +1,15 @@
+require_relative 'boot'
+
+require 'rails/all'
+
+# Require the gems listed in Gemfile, including any gems
+# you've limited to :test, :development, or :production.
+Bundler.require(*Rails.groups)
+
+module Layouts
+ class Application < Rails::Application
+ # Settings in config/environments/* take precedence over those specified here.
+ # Application configuration should go into files in config/initializers
+ # -- all .rb files in that directory are automatically loaded.
+ end
+end
diff --git a/dylan_eckert/controllersnviews/layouts/config/boot.rb b/dylan_eckert/controllersnviews/layouts/config/boot.rb
new file mode 100644
index 0000000..30f5120
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/config/boot.rb
@@ -0,0 +1,3 @@
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
+
+require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/dylan_eckert/controllersnviews/layouts/config/cable.yml b/dylan_eckert/controllersnviews/layouts/config/cable.yml
new file mode 100644
index 0000000..0bbde6f
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/config/cable.yml
@@ -0,0 +1,9 @@
+development:
+ adapter: async
+
+test:
+ adapter: async
+
+production:
+ adapter: redis
+ url: redis://localhost:6379/1
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/config/database.yml b/dylan_eckert/controllersnviews/layouts/config/database.yml
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/config/database.yml
rename to dylan_eckert/controllersnviews/layouts/config/database.yml
diff --git a/dylan_eckert/controllersnviews/layouts/config/environment.rb b/dylan_eckert/controllersnviews/layouts/config/environment.rb
new file mode 100644
index 0000000..426333b
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/config/environment.rb
@@ -0,0 +1,5 @@
+# Load the Rails application.
+require_relative 'application'
+
+# Initialize the Rails application.
+Rails.application.initialize!
diff --git a/dylan_eckert/controllersnviews/layouts/config/environments/development.rb b/dylan_eckert/controllersnviews/layouts/config/environments/development.rb
new file mode 100644
index 0000000..6f71970
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/config/environments/development.rb
@@ -0,0 +1,54 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # In the development environment your application's code is reloaded on
+ # every request. This slows down response time but is perfect for development
+ # since you don't have to restart the web server when you make code changes.
+ config.cache_classes = false
+
+ # Do not eager load code on boot.
+ config.eager_load = false
+
+ # Show full error reports.
+ config.consider_all_requests_local = true
+
+ # Enable/disable caching. By default caching is disabled.
+ if Rails.root.join('tmp/caching-dev.txt').exist?
+ config.action_controller.perform_caching = true
+
+ config.cache_store = :memory_store
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=172800'
+ }
+ else
+ config.action_controller.perform_caching = false
+
+ config.cache_store = :null_store
+ end
+
+ # Don't care if the mailer can't send.
+ config.action_mailer.raise_delivery_errors = false
+
+ config.action_mailer.perform_caching = false
+
+ # Print deprecation notices to the Rails logger.
+ config.active_support.deprecation = :log
+
+ # Raise an error on page load if there are pending migrations.
+ config.active_record.migration_error = :page_load
+
+ # Debug mode disables concatenation and preprocessing of assets.
+ # This option may cause significant delays in view rendering with a large
+ # number of complex assets.
+ config.assets.debug = true
+
+ # Suppress logger output for asset requests.
+ config.assets.quiet = true
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+
+ # Use an evented file watcher to asynchronously detect changes in source code,
+ # routes, locales, etc. This feature depends on the listen gem.
+ config.file_watcher = ActiveSupport::EventedFileUpdateChecker
+end
diff --git a/dylan_eckert/controllersnviews/layouts/config/environments/production.rb b/dylan_eckert/controllersnviews/layouts/config/environments/production.rb
new file mode 100644
index 0000000..21a467f
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/config/environments/production.rb
@@ -0,0 +1,86 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # Code is not reloaded between requests.
+ config.cache_classes = true
+
+ # Eager load code on boot. This eager loads most of Rails and
+ # your application in memory, allowing both threaded web servers
+ # and those relying on copy on write to perform better.
+ # Rake tasks automatically ignore this option for performance.
+ config.eager_load = true
+
+ # Full error reports are disabled and caching is turned on.
+ config.consider_all_requests_local = false
+ config.action_controller.perform_caching = true
+
+ # Disable serving static files from the `/public` folder by default since
+ # Apache or NGINX already handles this.
+ config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
+
+ # Compress JavaScripts and CSS.
+ config.assets.js_compressor = :uglifier
+ # config.assets.css_compressor = :sass
+
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
+ config.assets.compile = false
+
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
+
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
+ # config.action_controller.asset_host = 'http://assets.example.com'
+
+ # Specifies the header that your server uses for sending files.
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
+
+ # Mount Action Cable outside main process or domain
+ # config.action_cable.mount_path = nil
+ # config.action_cable.url = 'wss://example.com/cable'
+ # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
+
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
+ # config.force_ssl = true
+
+ # Use the lowest log level to ensure availability of diagnostic information
+ # when problems arise.
+ config.log_level = :debug
+
+ # Prepend all log lines with the following tags.
+ config.log_tags = [ :request_id ]
+
+ # Use a different cache store in production.
+ # config.cache_store = :mem_cache_store
+
+ # Use a real queuing backend for Active Job (and separate queues per environment)
+ # config.active_job.queue_adapter = :resque
+ # config.active_job.queue_name_prefix = "layouts_#{Rails.env}"
+ config.action_mailer.perform_caching = false
+
+ # Ignore bad email addresses and do not raise email delivery errors.
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
+ # config.action_mailer.raise_delivery_errors = false
+
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
+ # the I18n.default_locale when a translation cannot be found).
+ config.i18n.fallbacks = true
+
+ # Send deprecation notices to registered listeners.
+ config.active_support.deprecation = :notify
+
+ # Use default logging formatter so that PID and timestamp are not suppressed.
+ config.log_formatter = ::Logger::Formatter.new
+
+ # Use a different logger for distributed setups.
+ # require 'syslog/logger'
+ # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
+
+ if ENV["RAILS_LOG_TO_STDOUT"].present?
+ logger = ActiveSupport::Logger.new(STDOUT)
+ logger.formatter = config.log_formatter
+ config.logger = ActiveSupport::TaggedLogging.new(logger)
+ end
+
+ # Do not dump schema after migrations.
+ config.active_record.dump_schema_after_migration = false
+end
diff --git a/dylan_eckert/controllersnviews/layouts/config/environments/test.rb b/dylan_eckert/controllersnviews/layouts/config/environments/test.rb
new file mode 100644
index 0000000..30587ef
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/config/environments/test.rb
@@ -0,0 +1,42 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # The test environment is used exclusively to run your application's
+ # test suite. You never need to work with it otherwise. Remember that
+ # your test database is "scratch space" for the test suite and is wiped
+ # and recreated between test runs. Don't rely on the data there!
+ config.cache_classes = true
+
+ # Do not eager load code on boot. This avoids loading your whole application
+ # just for the purpose of running a single test. If you are using a tool that
+ # preloads Rails for running tests, you may have to set it to true.
+ config.eager_load = false
+
+ # Configure public file server for tests with Cache-Control for performance.
+ config.public_file_server.enabled = true
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=3600'
+ }
+
+ # Show full error reports and disable caching.
+ config.consider_all_requests_local = true
+ config.action_controller.perform_caching = false
+
+ # Raise exceptions instead of rendering exception templates.
+ config.action_dispatch.show_exceptions = false
+
+ # Disable request forgery protection in test environment.
+ config.action_controller.allow_forgery_protection = false
+ config.action_mailer.perform_caching = false
+
+ # Tell Action Mailer not to deliver emails to the real world.
+ # The :test delivery method accumulates sent emails in the
+ # ActionMailer::Base.deliveries array.
+ config.action_mailer.delivery_method = :test
+
+ # Print deprecation notices to the stderr.
+ config.active_support.deprecation = :stderr
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+end
diff --git a/dylan_eckert/controllersnviews/layouts/config/initializers/application_controller_renderer.rb b/dylan_eckert/controllersnviews/layouts/config/initializers/application_controller_renderer.rb
new file mode 100644
index 0000000..89d2efa
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/config/initializers/application_controller_renderer.rb
@@ -0,0 +1,8 @@
+# Be sure to restart your server when you modify this file.
+
+# ActiveSupport::Reloader.to_prepare do
+# ApplicationController.renderer.defaults.merge!(
+# http_host: 'example.org',
+# https: false
+# )
+# end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/config/initializers/assets.rb b/dylan_eckert/controllersnviews/layouts/config/initializers/assets.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/config/initializers/assets.rb
rename to dylan_eckert/controllersnviews/layouts/config/initializers/assets.rb
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/config/initializers/backtrace_silencers.rb b/dylan_eckert/controllersnviews/layouts/config/initializers/backtrace_silencers.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/config/initializers/backtrace_silencers.rb
rename to dylan_eckert/controllersnviews/layouts/config/initializers/backtrace_silencers.rb
diff --git a/dylan_eckert/controllersnviews/layouts/config/initializers/cookies_serializer.rb b/dylan_eckert/controllersnviews/layouts/config/initializers/cookies_serializer.rb
new file mode 100644
index 0000000..5a6a32d
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/config/initializers/cookies_serializer.rb
@@ -0,0 +1,5 @@
+# Be sure to restart your server when you modify this file.
+
+# Specify a serializer for the signed and encrypted cookie jars.
+# Valid options are :json, :marshal, and :hybrid.
+Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/config/initializers/filter_parameter_logging.rb b/dylan_eckert/controllersnviews/layouts/config/initializers/filter_parameter_logging.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/config/initializers/filter_parameter_logging.rb
rename to dylan_eckert/controllersnviews/layouts/config/initializers/filter_parameter_logging.rb
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/config/initializers/inflections.rb b/dylan_eckert/controllersnviews/layouts/config/initializers/inflections.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/config/initializers/inflections.rb
rename to dylan_eckert/controllersnviews/layouts/config/initializers/inflections.rb
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/config/initializers/mime_types.rb b/dylan_eckert/controllersnviews/layouts/config/initializers/mime_types.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/config/initializers/mime_types.rb
rename to dylan_eckert/controllersnviews/layouts/config/initializers/mime_types.rb
diff --git a/dylan_eckert/controllersnviews/layouts/config/initializers/new_framework_defaults.rb b/dylan_eckert/controllersnviews/layouts/config/initializers/new_framework_defaults.rb
new file mode 100644
index 0000000..dd236b5
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/config/initializers/new_framework_defaults.rb
@@ -0,0 +1,26 @@
+# Be sure to restart your server when you modify this file.
+#
+# This file contains migration options to ease your Rails 5.0 upgrade.
+#
+# Read the Guide for Upgrading Ruby on Rails for more info on each option.
+
+Rails.application.config.action_controller.raise_on_unfiltered_parameters = true
+
+# Enable per-form CSRF tokens. Previous versions had false.
+Rails.application.config.action_controller.per_form_csrf_tokens = true
+
+# Enable origin-checking CSRF mitigation. Previous versions had false.
+Rails.application.config.action_controller.forgery_protection_origin_check = true
+
+# Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`.
+# Previous versions had false.
+ActiveSupport.to_time_preserves_timezone = true
+
+# Require `belongs_to` associations by default. Previous versions had false.
+Rails.application.config.active_record.belongs_to_required_by_default = true
+
+# Do not halt callback chains when a callback returns false. Previous versions had true.
+ActiveSupport.halt_callback_chains_on_return_false = false
+
+# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
+Rails.application.config.ssl_options = { hsts: { subdomains: true } }
diff --git a/dylan_eckert/controllersnviews/layouts/config/initializers/session_store.rb b/dylan_eckert/controllersnviews/layouts/config/initializers/session_store.rb
new file mode 100644
index 0000000..1903d12
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/config/initializers/session_store.rb
@@ -0,0 +1,3 @@
+# Be sure to restart your server when you modify this file.
+
+Rails.application.config.session_store :cookie_store, key: '_layouts_session'
diff --git a/dylan_eckert/controllersnviews/layouts/config/initializers/wrap_parameters.rb b/dylan_eckert/controllersnviews/layouts/config/initializers/wrap_parameters.rb
new file mode 100644
index 0000000..bbfc396
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/config/initializers/wrap_parameters.rb
@@ -0,0 +1,14 @@
+# Be sure to restart your server when you modify this file.
+
+# This file contains settings for ActionController::ParamsWrapper which
+# is enabled by default.
+
+# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
+ActiveSupport.on_load(:action_controller) do
+ wrap_parameters format: [:json]
+end
+
+# To enable root element in JSON for ActiveRecord objects.
+# ActiveSupport.on_load(:active_record) do
+# self.include_root_in_json = true
+# end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/config/locales/en.yml b/dylan_eckert/controllersnviews/layouts/config/locales/en.yml
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/config/locales/en.yml
rename to dylan_eckert/controllersnviews/layouts/config/locales/en.yml
diff --git a/dylan_eckert/controllersnviews/layouts/config/puma.rb b/dylan_eckert/controllersnviews/layouts/config/puma.rb
new file mode 100644
index 0000000..c7f311f
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/config/puma.rb
@@ -0,0 +1,47 @@
+# Puma can serve each request in a thread from an internal thread pool.
+# The `threads` method setting takes two numbers a minimum and maximum.
+# Any libraries that use thread pools should be configured to match
+# the maximum value specified for Puma. Default is set to 5 threads for minimum
+# and maximum, this matches the default thread size of Active Record.
+#
+threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i
+threads threads_count, threads_count
+
+# Specifies the `port` that Puma will listen on to receive requests, default is 3000.
+#
+port ENV.fetch("PORT") { 3000 }
+
+# Specifies the `environment` that Puma will run in.
+#
+environment ENV.fetch("RAILS_ENV") { "development" }
+
+# Specifies the number of `workers` to boot in clustered mode.
+# Workers are forked webserver processes. If using threads and workers together
+# the concurrency of the application would be max `threads` * `workers`.
+# Workers do not work on JRuby or Windows (both of which do not support
+# processes).
+#
+# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
+
+# Use the `preload_app!` method when specifying a `workers` number.
+# This directive tells Puma to first boot the application and load code
+# before forking the application. This takes advantage of Copy On Write
+# process behavior so workers use less memory. If you use this option
+# you need to make sure to reconnect any threads in the `on_worker_boot`
+# block.
+#
+# preload_app!
+
+# The code in the `on_worker_boot` will be called if you are using
+# clustered mode by specifying a number of `workers`. After each worker
+# process is booted this block will be run, if you are using `preload_app!`
+# option you will want to use this block to reconnect to any threads
+# or connections that may have been created at application boot, Ruby
+# cannot share connections between processes.
+#
+# on_worker_boot do
+# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
+# end
+
+# Allow puma to be restarted by `rails restart` command.
+plugin :tmp_restart
diff --git a/dylan_eckert/controllersnviews/layouts/config/routes.rb b/dylan_eckert/controllersnviews/layouts/config/routes.rb
new file mode 100644
index 0000000..12ee108
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/config/routes.rb
@@ -0,0 +1,7 @@
+Rails.application.routes.draw do
+ # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
+ get '/users' => 'users#index', as: 'users'
+ post '/users' => 'users#create', as: 'create_user'
+ get '/posts' => 'posts#index', as: 'posts'
+ post '/posts' => 'posts#create', as: 'create_post'
+end
diff --git a/dylan_eckert/controllersnviews/layouts/config/secrets.yml b/dylan_eckert/controllersnviews/layouts/config/secrets.yml
new file mode 100644
index 0000000..23e9af1
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/config/secrets.yml
@@ -0,0 +1,22 @@
+# Be sure to restart your server when you modify this file.
+
+# Your secret key is used for verifying the integrity of signed cookies.
+# If you change this key, all old signed cookies will become invalid!
+
+# Make sure the secret is at least 30 characters and all random,
+# no regular words or you'll be exposed to dictionary attacks.
+# You can use `rails secret` to generate a secure secret key.
+
+# Make sure the secrets in this file are kept private
+# if you're sharing your code publicly.
+
+development:
+ secret_key_base: ceae2b55493bda5733adc45a0d97dad29ef6e2c657bcac5432da9560fe79f3568409f049fb329b7362b52e3ec3b5216adf2c0110658e492764eac9a38c01c2c3
+
+test:
+ secret_key_base: 23d240b48e395f373679a55f466ab7cb55f7274c94cc53ca1f9b62d92e7730ffab9debbbfc6f65efcd17ea2868fe312091f8043e4a47da3cad375412c10c18fb
+
+# Do not keep production secrets in the repository,
+# instead read values from the environment.
+production:
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/dylan_eckert/controllersnviews/layouts/config/spring.rb b/dylan_eckert/controllersnviews/layouts/config/spring.rb
new file mode 100644
index 0000000..c9119b4
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/config/spring.rb
@@ -0,0 +1,6 @@
+%w(
+ .ruby-version
+ .rbenv-vars
+ tmp/restart.txt
+ tmp/caching-dev.txt
+).each { |path| Spring.watch(path) }
diff --git a/dylan_eckert/controllersnviews/layouts/db/migrate/20171206203956_create_users.rb b/dylan_eckert/controllersnviews/layouts/db/migrate/20171206203956_create_users.rb
new file mode 100644
index 0000000..4bf9ad4
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/db/migrate/20171206203956_create_users.rb
@@ -0,0 +1,11 @@
+class CreateUsers < ActiveRecord::Migration[5.0]
+ def change
+ create_table :users do |t|
+ t.string :fname
+ t.string :lname
+ t.string :language
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/controllersnviews/layouts/db/migrate/20171206204010_create_posts.rb b/dylan_eckert/controllersnviews/layouts/db/migrate/20171206204010_create_posts.rb
new file mode 100644
index 0000000..426e73a
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/db/migrate/20171206204010_create_posts.rb
@@ -0,0 +1,11 @@
+class CreatePosts < ActiveRecord::Migration[5.0]
+ def change
+ create_table :posts do |t|
+ t.string :title
+ t.text :content
+ t.references :user, foreign_key: true
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/controllersnviews/layouts/db/schema.rb b/dylan_eckert/controllersnviews/layouts/db/schema.rb
new file mode 100644
index 0000000..17057e9
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/db/schema.rb
@@ -0,0 +1,32 @@
+# This file is auto-generated from the current state of the database. Instead
+# of editing this file, please use the migrations feature of Active Record to
+# incrementally modify your database, and then regenerate this schema definition.
+#
+# Note that this schema.rb definition is the authoritative source for your
+# database schema. If you need to create the application database on another
+# system, you should be using db:schema:load, not running all the migrations
+# from scratch. The latter is a flawed and unsustainable approach (the more migrations
+# you'll amass, the slower it'll run and the greater likelihood for issues).
+#
+# It's strongly recommended that you check this file into your version control system.
+
+ActiveRecord::Schema.define(version: 20171206204010) do
+
+ create_table "posts", force: :cascade do |t|
+ t.string "title"
+ t.text "content"
+ t.integer "user_id"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.index ["user_id"], name: "index_posts_on_user_id"
+ end
+
+ create_table "users", force: :cascade do |t|
+ t.string "fname"
+ t.string "lname"
+ t.string "language"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ end
+
+end
diff --git a/dylan_eckert/controllersnviews/layouts/db/seeds.rb b/dylan_eckert/controllersnviews/layouts/db/seeds.rb
new file mode 100644
index 0000000..1beea2a
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/db/seeds.rb
@@ -0,0 +1,7 @@
+# This file should contain all the record creation needed to seed the database with its default values.
+# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
+#
+# Examples:
+#
+# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
+# Character.create(name: 'Luke', movie: movies.first)
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/lib/assets/.keep b/dylan_eckert/controllersnviews/layouts/lib/assets/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/lib/assets/.keep
rename to dylan_eckert/controllersnviews/layouts/lib/assets/.keep
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/lib/tasks/.keep b/dylan_eckert/controllersnviews/layouts/lib/tasks/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/lib/tasks/.keep
rename to dylan_eckert/controllersnviews/layouts/lib/tasks/.keep
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/log/.keep b/dylan_eckert/controllersnviews/layouts/log/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/log/.keep
rename to dylan_eckert/controllersnviews/layouts/log/.keep
diff --git a/dylan_eckert/controllersnviews/layouts/public/404.html b/dylan_eckert/controllersnviews/layouts/public/404.html
new file mode 100644
index 0000000..2be3af2
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/public/404.html
@@ -0,0 +1,67 @@
+
+
+
+ The page you were looking for doesn't exist (404)
+
+
+
+
+
+
+
+
+
The page you were looking for doesn't exist.
+
You may have mistyped the address or the page may have moved.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/controllersnviews/layouts/public/422.html b/dylan_eckert/controllersnviews/layouts/public/422.html
new file mode 100644
index 0000000..c08eac0
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/public/422.html
@@ -0,0 +1,67 @@
+
+
+
+ The change you wanted was rejected (422)
+
+
+
+
+
+
+
+
+
The change you wanted was rejected.
+
Maybe you tried to change something you didn't have access to.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/controllersnviews/layouts/public/500.html b/dylan_eckert/controllersnviews/layouts/public/500.html
new file mode 100644
index 0000000..78a030a
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/public/500.html
@@ -0,0 +1,66 @@
+
+
+
+ We're sorry, but something went wrong (500)
+
+
+
+
+
+
+
+
+
We're sorry, but something went wrong.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/test/controllers/.keep b/dylan_eckert/controllersnviews/layouts/public/apple-touch-icon-precomposed.png
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/test/controllers/.keep
rename to dylan_eckert/controllersnviews/layouts/public/apple-touch-icon-precomposed.png
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/test/fixtures/.keep b/dylan_eckert/controllersnviews/layouts/public/apple-touch-icon.png
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/test/fixtures/.keep
rename to dylan_eckert/controllersnviews/layouts/public/apple-touch-icon.png
diff --git a/Rodolfo_Valdivieso/controllers/ninjaGold/public/favicon.ico b/dylan_eckert/controllersnviews/layouts/public/favicon.ico
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/ninjaGold/public/favicon.ico
rename to dylan_eckert/controllersnviews/layouts/public/favicon.ico
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/public/robots.txt b/dylan_eckert/controllersnviews/layouts/public/robots.txt
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/public/robots.txt
rename to dylan_eckert/controllersnviews/layouts/public/robots.txt
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/test/helpers/.keep b/dylan_eckert/controllersnviews/layouts/test/controllers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/test/helpers/.keep
rename to dylan_eckert/controllersnviews/layouts/test/controllers/.keep
diff --git a/dylan_eckert/controllersnviews/layouts/test/controllers/posts_controller_test.rb b/dylan_eckert/controllersnviews/layouts/test/controllers/posts_controller_test.rb
new file mode 100644
index 0000000..12c4a7f
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/test/controllers/posts_controller_test.rb
@@ -0,0 +1,7 @@
+require 'test_helper'
+
+class PostsControllerTest < ActionDispatch::IntegrationTest
+ # test "the truth" do
+ # assert true
+ # end
+end
diff --git a/dylan_eckert/controllersnviews/layouts/test/controllers/users_controller_test.rb b/dylan_eckert/controllersnviews/layouts/test/controllers/users_controller_test.rb
new file mode 100644
index 0000000..6c3da77
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/test/controllers/users_controller_test.rb
@@ -0,0 +1,7 @@
+require 'test_helper'
+
+class UsersControllerTest < ActionDispatch::IntegrationTest
+ # test "the truth" do
+ # assert true
+ # end
+end
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/test/integration/.keep b/dylan_eckert/controllersnviews/layouts/test/fixtures/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/test/integration/.keep
rename to dylan_eckert/controllersnviews/layouts/test/fixtures/.keep
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/test/mailers/.keep b/dylan_eckert/controllersnviews/layouts/test/fixtures/files/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/test/mailers/.keep
rename to dylan_eckert/controllersnviews/layouts/test/fixtures/files/.keep
diff --git a/dylan_eckert/controllersnviews/layouts/test/fixtures/posts.yml b/dylan_eckert/controllersnviews/layouts/test/fixtures/posts.yml
new file mode 100644
index 0000000..0d1fffa
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/test/fixtures/posts.yml
@@ -0,0 +1,11 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+one:
+ title: MyString
+ content: MyText
+ user: one
+
+two:
+ title: MyString
+ content: MyText
+ user: two
diff --git a/dylan_eckert/controllersnviews/layouts/test/fixtures/users.yml b/dylan_eckert/controllersnviews/layouts/test/fixtures/users.yml
new file mode 100644
index 0000000..8bab066
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/test/fixtures/users.yml
@@ -0,0 +1,11 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+one:
+ fname: MyString
+ lname: MyString
+ language: MyString
+
+two:
+ fname: MyString
+ lname: MyString
+ language: MyString
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/test/models/.keep b/dylan_eckert/controllersnviews/layouts/test/helpers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/test/models/.keep
rename to dylan_eckert/controllersnviews/layouts/test/helpers/.keep
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/vendor/assets/javascripts/.keep b/dylan_eckert/controllersnviews/layouts/test/integration/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/vendor/assets/javascripts/.keep
rename to dylan_eckert/controllersnviews/layouts/test/integration/.keep
diff --git a/Rodolfo_Valdivieso/controllers/dashboard3/vendor/assets/stylesheets/.keep b/dylan_eckert/controllersnviews/layouts/test/mailers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard3/vendor/assets/stylesheets/.keep
rename to dylan_eckert/controllersnviews/layouts/test/mailers/.keep
diff --git a/Rodolfo_Valdivieso/controllers/ninjaGold/app/assets/images/.keep b/dylan_eckert/controllersnviews/layouts/test/models/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/ninjaGold/app/assets/images/.keep
rename to dylan_eckert/controllersnviews/layouts/test/models/.keep
diff --git a/Rodolfo_Valdivieso/models/blogs/test/models/post_test.rb b/dylan_eckert/controllersnviews/layouts/test/models/post_test.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/test/models/post_test.rb
rename to dylan_eckert/controllersnviews/layouts/test/models/post_test.rb
diff --git a/Rodolfo_Valdivieso/models/blogs2/test/models/user_test.rb b/dylan_eckert/controllersnviews/layouts/test/models/user_test.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/test/models/user_test.rb
rename to dylan_eckert/controllersnviews/layouts/test/models/user_test.rb
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/test/test_helper.rb b/dylan_eckert/controllersnviews/layouts/test/test_helper.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/test/test_helper.rb
rename to dylan_eckert/controllersnviews/layouts/test/test_helper.rb
diff --git a/Rodolfo_Valdivieso/controllers/ninjaGold/app/controllers/concerns/.keep b/dylan_eckert/controllersnviews/layouts/tmp/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/ninjaGold/app/controllers/concerns/.keep
rename to dylan_eckert/controllersnviews/layouts/tmp/.keep
diff --git a/Rodolfo_Valdivieso/controllers/ninjaGold/app/mailers/.keep b/dylan_eckert/controllersnviews/layouts/vendor/assets/javascripts/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/ninjaGold/app/mailers/.keep
rename to dylan_eckert/controllersnviews/layouts/vendor/assets/javascripts/.keep
diff --git a/dylan_eckert/controllersnviews/layouts/vendor/assets/javascripts/bootstrap.min.js b/dylan_eckert/controllersnviews/layouts/vendor/assets/javascripts/bootstrap.min.js
new file mode 100644
index 0000000..9bcd2fc
--- /dev/null
+++ b/dylan_eckert/controllersnviews/layouts/vendor/assets/javascripts/bootstrap.min.js
@@ -0,0 +1,7 @@
+/*!
+ * Bootstrap v3.3.7 (http://getbootstrap.com)
+ * Copyright 2011-2016 Twitter, Inc.
+ * Licensed under the MIT license
+ */
+if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1||b[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){if(a(b.target).is(this))return b.handleObj.handler.apply(this,arguments)}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.7",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a("#"===f?[]:f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.7",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c).prop(c,!0)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c).prop(c,!1))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target).closest(".btn");b.call(d,"toggle"),a(c.target).is('input[type="radio"], input[type="checkbox"]')||(c.preventDefault(),d.is("input,button")?d.trigger("focus"):d.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.7",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(a>this.$items.length-1||a<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){if(!this.sliding)return this.slide("next")},c.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.7",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger(a.Event("hidden.bs.dropdown",f)))))}))}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.7",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger(a.Event("shown.bs.dropdown",h))}return!1}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&jdocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var b=document.documentElement.getBoundingClientRect();a=b.right-Math.abs(b.left)}this.bodyIsOverflowing=document.body.clientWidth',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(a.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusin"==b.type?"focus":"hover"]=!0),c.tip().hasClass("in")||"in"==c.hoverState?void(c.hoverState="in"):(clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.isInStateTrue=function(){for(var a in this.inState)if(this.inState[a])return!0;return!1},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);if(c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusout"==b.type?"focus":"hover"]=!1),!c.isInStateTrue())return clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide()},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.getPosition(this.$viewport);h="bottom"==h&&k.bottom+m>o.bottom?"top":"top"==h&&k.top-mo.width?"left":"left"==h&&k.left-lg.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;jg.right&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),b?(c.inState.click=!c.inState.click,c.isInStateTrue()?c.enter(c):c.leave(c)):c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null,a.$element=null})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;!e&&/destroy|hide/.test(b)||(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.7",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'
+ Go Back
+
+
diff --git a/Rodolfo_Valdivieso/controllers/routes/bin/bundle b/dylan_eckert/controllersnviews/suerveyform/bin/bundle
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/routes/bin/bundle
rename to dylan_eckert/controllersnviews/suerveyform/bin/bundle
diff --git a/dylan_eckert/controllersnviews/suerveyform/bin/rails b/dylan_eckert/controllersnviews/suerveyform/bin/rails
new file mode 100755
index 0000000..5badb2f
--- /dev/null
+++ b/dylan_eckert/controllersnviews/suerveyform/bin/rails
@@ -0,0 +1,9 @@
+#!/usr/bin/env ruby
+begin
+ load File.expand_path('../spring', __FILE__)
+rescue LoadError => e
+ raise unless e.message.include?('spring')
+end
+APP_PATH = File.expand_path('../config/application', __dir__)
+require_relative '../config/boot'
+require 'rails/commands'
diff --git a/Rodolfo_Valdivieso/controllers/routes/bin/rake b/dylan_eckert/controllersnviews/suerveyform/bin/rake
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/routes/bin/rake
rename to dylan_eckert/controllersnviews/suerveyform/bin/rake
diff --git a/dylan_eckert/controllersnviews/suerveyform/bin/setup b/dylan_eckert/controllersnviews/suerveyform/bin/setup
new file mode 100755
index 0000000..e620b4d
--- /dev/null
+++ b/dylan_eckert/controllersnviews/suerveyform/bin/setup
@@ -0,0 +1,34 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a starting point to setup your application.
+ # Add necessary setup steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ # puts "\n== Copying sample files =="
+ # unless File.exist?('config/database.yml')
+ # cp 'config/database.yml.sample', 'config/database.yml'
+ # end
+
+ puts "\n== Preparing database =="
+ system! 'bin/rails db:setup'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/Rodolfo_Valdivieso/controllers/routes/bin/spring b/dylan_eckert/controllersnviews/suerveyform/bin/spring
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/routes/bin/spring
rename to dylan_eckert/controllersnviews/suerveyform/bin/spring
diff --git a/dylan_eckert/controllersnviews/suerveyform/bin/update b/dylan_eckert/controllersnviews/suerveyform/bin/update
new file mode 100755
index 0000000..a8e4462
--- /dev/null
+++ b/dylan_eckert/controllersnviews/suerveyform/bin/update
@@ -0,0 +1,29 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a way to update your development environment automatically.
+ # Add necessary update steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ puts "\n== Updating database =="
+ system! 'bin/rails db:migrate'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/dylan_eckert/controllersnviews/suerveyform/config.ru b/dylan_eckert/controllersnviews/suerveyform/config.ru
new file mode 100644
index 0000000..f7ba0b5
--- /dev/null
+++ b/dylan_eckert/controllersnviews/suerveyform/config.ru
@@ -0,0 +1,5 @@
+# This file is used by Rack-based servers to start the application.
+
+require_relative 'config/environment'
+
+run Rails.application
diff --git a/dylan_eckert/controllersnviews/suerveyform/config/application.rb b/dylan_eckert/controllersnviews/suerveyform/config/application.rb
new file mode 100644
index 0000000..5edf615
--- /dev/null
+++ b/dylan_eckert/controllersnviews/suerveyform/config/application.rb
@@ -0,0 +1,15 @@
+require_relative 'boot'
+
+require 'rails/all'
+
+# Require the gems listed in Gemfile, including any gems
+# you've limited to :test, :development, or :production.
+Bundler.require(*Rails.groups)
+
+module Suerveyform
+ class Application < Rails::Application
+ # Settings in config/environments/* take precedence over those specified here.
+ # Application configuration should go into files in config/initializers
+ # -- all .rb files in that directory are automatically loaded.
+ end
+end
diff --git a/dylan_eckert/controllersnviews/suerveyform/config/boot.rb b/dylan_eckert/controllersnviews/suerveyform/config/boot.rb
new file mode 100644
index 0000000..30f5120
--- /dev/null
+++ b/dylan_eckert/controllersnviews/suerveyform/config/boot.rb
@@ -0,0 +1,3 @@
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
+
+require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/dylan_eckert/controllersnviews/suerveyform/config/cable.yml b/dylan_eckert/controllersnviews/suerveyform/config/cable.yml
new file mode 100644
index 0000000..0bbde6f
--- /dev/null
+++ b/dylan_eckert/controllersnviews/suerveyform/config/cable.yml
@@ -0,0 +1,9 @@
+development:
+ adapter: async
+
+test:
+ adapter: async
+
+production:
+ adapter: redis
+ url: redis://localhost:6379/1
diff --git a/Rodolfo_Valdivieso/controllers/ninjaGold/config/database.yml b/dylan_eckert/controllersnviews/suerveyform/config/database.yml
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/ninjaGold/config/database.yml
rename to dylan_eckert/controllersnviews/suerveyform/config/database.yml
diff --git a/dylan_eckert/controllersnviews/suerveyform/config/environment.rb b/dylan_eckert/controllersnviews/suerveyform/config/environment.rb
new file mode 100644
index 0000000..426333b
--- /dev/null
+++ b/dylan_eckert/controllersnviews/suerveyform/config/environment.rb
@@ -0,0 +1,5 @@
+# Load the Rails application.
+require_relative 'application'
+
+# Initialize the Rails application.
+Rails.application.initialize!
diff --git a/dylan_eckert/controllersnviews/suerveyform/config/environments/development.rb b/dylan_eckert/controllersnviews/suerveyform/config/environments/development.rb
new file mode 100644
index 0000000..1795ef5
--- /dev/null
+++ b/dylan_eckert/controllersnviews/suerveyform/config/environments/development.rb
@@ -0,0 +1,55 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # In the development environment your application's code is reloaded on
+ # every request. This slows down response time but is perfect for development
+ # since you don't have to restart the web server when you make code changes.
+ config.cache_classes = false
+ config.reload_classes_only_on_change = false
+
+ # Do not eager load code on boot.
+ config.eager_load = false
+
+ # Show full error reports.
+ config.consider_all_requests_local = true
+
+ # Enable/disable caching. By default caching is disabled.
+ if Rails.root.join('tmp/caching-dev.txt').exist?
+ config.action_controller.perform_caching = true
+
+ config.cache_store = :memory_store
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=172800'
+ }
+ else
+ config.action_controller.perform_caching = false
+
+ config.cache_store = :null_store
+ end
+
+ # Don't care if the mailer can't send.
+ config.action_mailer.raise_delivery_errors = false
+
+ config.action_mailer.perform_caching = false
+
+ # Print deprecation notices to the Rails logger.
+ config.active_support.deprecation = :log
+
+ # Raise an error on page load if there are pending migrations.
+ config.active_record.migration_error = :page_load
+
+ # Debug mode disables concatenation and preprocessing of assets.
+ # This option may cause significant delays in view rendering with a large
+ # number of complex assets.
+ config.assets.debug = true
+
+ # Suppress logger output for asset requests.
+ config.assets.quiet = true
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+
+ # Use an evented file watcher to asynchronously detect changes in source code,
+ # routes, locales, etc. This feature depends on the listen gem.
+ config.file_watcher = ActiveSupport::EventedFileUpdateChecker
+end
diff --git a/dylan_eckert/controllersnviews/suerveyform/config/environments/production.rb b/dylan_eckert/controllersnviews/suerveyform/config/environments/production.rb
new file mode 100644
index 0000000..9be53a1
--- /dev/null
+++ b/dylan_eckert/controllersnviews/suerveyform/config/environments/production.rb
@@ -0,0 +1,86 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # Code is not reloaded between requests.
+ config.cache_classes = true
+
+ # Eager load code on boot. This eager loads most of Rails and
+ # your application in memory, allowing both threaded web servers
+ # and those relying on copy on write to perform better.
+ # Rake tasks automatically ignore this option for performance.
+ config.eager_load = true
+
+ # Full error reports are disabled and caching is turned on.
+ config.consider_all_requests_local = false
+ config.action_controller.perform_caching = true
+
+ # Disable serving static files from the `/public` folder by default since
+ # Apache or NGINX already handles this.
+ config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
+
+ # Compress JavaScripts and CSS.
+ config.assets.js_compressor = :uglifier
+ # config.assets.css_compressor = :sass
+
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
+ config.assets.compile = false
+
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
+
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
+ # config.action_controller.asset_host = 'http://assets.example.com'
+
+ # Specifies the header that your server uses for sending files.
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
+
+ # Mount Action Cable outside main process or domain
+ # config.action_cable.mount_path = nil
+ # config.action_cable.url = 'wss://example.com/cable'
+ # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
+
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
+ # config.force_ssl = true
+
+ # Use the lowest log level to ensure availability of diagnostic information
+ # when problems arise.
+ config.log_level = :debug
+
+ # Prepend all log lines with the following tags.
+ config.log_tags = [ :request_id ]
+
+ # Use a different cache store in production.
+ # config.cache_store = :mem_cache_store
+
+ # Use a real queuing backend for Active Job (and separate queues per environment)
+ # config.active_job.queue_adapter = :resque
+ # config.active_job.queue_name_prefix = "suerveyform_#{Rails.env}"
+ config.action_mailer.perform_caching = false
+
+ # Ignore bad email addresses and do not raise email delivery errors.
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
+ # config.action_mailer.raise_delivery_errors = false
+
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
+ # the I18n.default_locale when a translation cannot be found).
+ config.i18n.fallbacks = true
+
+ # Send deprecation notices to registered listeners.
+ config.active_support.deprecation = :notify
+
+ # Use default logging formatter so that PID and timestamp are not suppressed.
+ config.log_formatter = ::Logger::Formatter.new
+
+ # Use a different logger for distributed setups.
+ # require 'syslog/logger'
+ # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
+
+ if ENV["RAILS_LOG_TO_STDOUT"].present?
+ logger = ActiveSupport::Logger.new(STDOUT)
+ logger.formatter = config.log_formatter
+ config.logger = ActiveSupport::TaggedLogging.new(logger)
+ end
+
+ # Do not dump schema after migrations.
+ config.active_record.dump_schema_after_migration = false
+end
diff --git a/dylan_eckert/controllersnviews/suerveyform/config/environments/test.rb b/dylan_eckert/controllersnviews/suerveyform/config/environments/test.rb
new file mode 100644
index 0000000..30587ef
--- /dev/null
+++ b/dylan_eckert/controllersnviews/suerveyform/config/environments/test.rb
@@ -0,0 +1,42 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # The test environment is used exclusively to run your application's
+ # test suite. You never need to work with it otherwise. Remember that
+ # your test database is "scratch space" for the test suite and is wiped
+ # and recreated between test runs. Don't rely on the data there!
+ config.cache_classes = true
+
+ # Do not eager load code on boot. This avoids loading your whole application
+ # just for the purpose of running a single test. If you are using a tool that
+ # preloads Rails for running tests, you may have to set it to true.
+ config.eager_load = false
+
+ # Configure public file server for tests with Cache-Control for performance.
+ config.public_file_server.enabled = true
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=3600'
+ }
+
+ # Show full error reports and disable caching.
+ config.consider_all_requests_local = true
+ config.action_controller.perform_caching = false
+
+ # Raise exceptions instead of rendering exception templates.
+ config.action_dispatch.show_exceptions = false
+
+ # Disable request forgery protection in test environment.
+ config.action_controller.allow_forgery_protection = false
+ config.action_mailer.perform_caching = false
+
+ # Tell Action Mailer not to deliver emails to the real world.
+ # The :test delivery method accumulates sent emails in the
+ # ActionMailer::Base.deliveries array.
+ config.action_mailer.delivery_method = :test
+
+ # Print deprecation notices to the stderr.
+ config.active_support.deprecation = :stderr
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+end
diff --git a/dylan_eckert/controllersnviews/suerveyform/config/initializers/application_controller_renderer.rb b/dylan_eckert/controllersnviews/suerveyform/config/initializers/application_controller_renderer.rb
new file mode 100644
index 0000000..89d2efa
--- /dev/null
+++ b/dylan_eckert/controllersnviews/suerveyform/config/initializers/application_controller_renderer.rb
@@ -0,0 +1,8 @@
+# Be sure to restart your server when you modify this file.
+
+# ActiveSupport::Reloader.to_prepare do
+# ApplicationController.renderer.defaults.merge!(
+# http_host: 'example.org',
+# https: false
+# )
+# end
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/config/initializers/assets.rb b/dylan_eckert/controllersnviews/suerveyform/config/initializers/assets.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/config/initializers/assets.rb
rename to dylan_eckert/controllersnviews/suerveyform/config/initializers/assets.rb
diff --git a/Rodolfo_Valdivieso/controllers/routes/config/initializers/backtrace_silencers.rb b/dylan_eckert/controllersnviews/suerveyform/config/initializers/backtrace_silencers.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/routes/config/initializers/backtrace_silencers.rb
rename to dylan_eckert/controllersnviews/suerveyform/config/initializers/backtrace_silencers.rb
diff --git a/dylan_eckert/controllersnviews/suerveyform/config/initializers/cookies_serializer.rb b/dylan_eckert/controllersnviews/suerveyform/config/initializers/cookies_serializer.rb
new file mode 100644
index 0000000..5a6a32d
--- /dev/null
+++ b/dylan_eckert/controllersnviews/suerveyform/config/initializers/cookies_serializer.rb
@@ -0,0 +1,5 @@
+# Be sure to restart your server when you modify this file.
+
+# Specify a serializer for the signed and encrypted cookie jars.
+# Valid options are :json, :marshal, and :hybrid.
+Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Rodolfo_Valdivieso/controllers/routes/config/initializers/filter_parameter_logging.rb b/dylan_eckert/controllersnviews/suerveyform/config/initializers/filter_parameter_logging.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/routes/config/initializers/filter_parameter_logging.rb
rename to dylan_eckert/controllersnviews/suerveyform/config/initializers/filter_parameter_logging.rb
diff --git a/Rodolfo_Valdivieso/controllers/routes/config/initializers/inflections.rb b/dylan_eckert/controllersnviews/suerveyform/config/initializers/inflections.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/routes/config/initializers/inflections.rb
rename to dylan_eckert/controllersnviews/suerveyform/config/initializers/inflections.rb
diff --git a/Rodolfo_Valdivieso/controllers/routes/config/initializers/mime_types.rb b/dylan_eckert/controllersnviews/suerveyform/config/initializers/mime_types.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/routes/config/initializers/mime_types.rb
rename to dylan_eckert/controllersnviews/suerveyform/config/initializers/mime_types.rb
diff --git a/dylan_eckert/controllersnviews/suerveyform/config/initializers/new_framework_defaults.rb b/dylan_eckert/controllersnviews/suerveyform/config/initializers/new_framework_defaults.rb
new file mode 100644
index 0000000..dd236b5
--- /dev/null
+++ b/dylan_eckert/controllersnviews/suerveyform/config/initializers/new_framework_defaults.rb
@@ -0,0 +1,26 @@
+# Be sure to restart your server when you modify this file.
+#
+# This file contains migration options to ease your Rails 5.0 upgrade.
+#
+# Read the Guide for Upgrading Ruby on Rails for more info on each option.
+
+Rails.application.config.action_controller.raise_on_unfiltered_parameters = true
+
+# Enable per-form CSRF tokens. Previous versions had false.
+Rails.application.config.action_controller.per_form_csrf_tokens = true
+
+# Enable origin-checking CSRF mitigation. Previous versions had false.
+Rails.application.config.action_controller.forgery_protection_origin_check = true
+
+# Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`.
+# Previous versions had false.
+ActiveSupport.to_time_preserves_timezone = true
+
+# Require `belongs_to` associations by default. Previous versions had false.
+Rails.application.config.active_record.belongs_to_required_by_default = true
+
+# Do not halt callback chains when a callback returns false. Previous versions had true.
+ActiveSupport.halt_callback_chains_on_return_false = false
+
+# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
+Rails.application.config.ssl_options = { hsts: { subdomains: true } }
diff --git a/dylan_eckert/controllersnviews/suerveyform/config/initializers/session_store.rb b/dylan_eckert/controllersnviews/suerveyform/config/initializers/session_store.rb
new file mode 100644
index 0000000..a506b38
--- /dev/null
+++ b/dylan_eckert/controllersnviews/suerveyform/config/initializers/session_store.rb
@@ -0,0 +1,3 @@
+# Be sure to restart your server when you modify this file.
+
+Rails.application.config.session_store :cookie_store, key: '_suerveyform_session'
diff --git a/dylan_eckert/controllersnviews/suerveyform/config/initializers/wrap_parameters.rb b/dylan_eckert/controllersnviews/suerveyform/config/initializers/wrap_parameters.rb
new file mode 100644
index 0000000..bbfc396
--- /dev/null
+++ b/dylan_eckert/controllersnviews/suerveyform/config/initializers/wrap_parameters.rb
@@ -0,0 +1,14 @@
+# Be sure to restart your server when you modify this file.
+
+# This file contains settings for ActionController::ParamsWrapper which
+# is enabled by default.
+
+# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
+ActiveSupport.on_load(:action_controller) do
+ wrap_parameters format: [:json]
+end
+
+# To enable root element in JSON for ActiveRecord objects.
+# ActiveSupport.on_load(:active_record) do
+# self.include_root_in_json = true
+# end
diff --git a/Rodolfo_Valdivieso/controllers/routes/config/locales/en.yml b/dylan_eckert/controllersnviews/suerveyform/config/locales/en.yml
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/routes/config/locales/en.yml
rename to dylan_eckert/controllersnviews/suerveyform/config/locales/en.yml
diff --git a/dylan_eckert/controllersnviews/suerveyform/config/puma.rb b/dylan_eckert/controllersnviews/suerveyform/config/puma.rb
new file mode 100644
index 0000000..c7f311f
--- /dev/null
+++ b/dylan_eckert/controllersnviews/suerveyform/config/puma.rb
@@ -0,0 +1,47 @@
+# Puma can serve each request in a thread from an internal thread pool.
+# The `threads` method setting takes two numbers a minimum and maximum.
+# Any libraries that use thread pools should be configured to match
+# the maximum value specified for Puma. Default is set to 5 threads for minimum
+# and maximum, this matches the default thread size of Active Record.
+#
+threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i
+threads threads_count, threads_count
+
+# Specifies the `port` that Puma will listen on to receive requests, default is 3000.
+#
+port ENV.fetch("PORT") { 3000 }
+
+# Specifies the `environment` that Puma will run in.
+#
+environment ENV.fetch("RAILS_ENV") { "development" }
+
+# Specifies the number of `workers` to boot in clustered mode.
+# Workers are forked webserver processes. If using threads and workers together
+# the concurrency of the application would be max `threads` * `workers`.
+# Workers do not work on JRuby or Windows (both of which do not support
+# processes).
+#
+# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
+
+# Use the `preload_app!` method when specifying a `workers` number.
+# This directive tells Puma to first boot the application and load code
+# before forking the application. This takes advantage of Copy On Write
+# process behavior so workers use less memory. If you use this option
+# you need to make sure to reconnect any threads in the `on_worker_boot`
+# block.
+#
+# preload_app!
+
+# The code in the `on_worker_boot` will be called if you are using
+# clustered mode by specifying a number of `workers`. After each worker
+# process is booted this block will be run, if you are using `preload_app!`
+# option you will want to use this block to reconnect to any threads
+# or connections that may have been created at application boot, Ruby
+# cannot share connections between processes.
+#
+# on_worker_boot do
+# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
+# end
+
+# Allow puma to be restarted by `rails restart` command.
+plugin :tmp_restart
diff --git a/dylan_eckert/controllersnviews/suerveyform/config/routes.rb b/dylan_eckert/controllersnviews/suerveyform/config/routes.rb
new file mode 100644
index 0000000..1e9bb8c
--- /dev/null
+++ b/dylan_eckert/controllersnviews/suerveyform/config/routes.rb
@@ -0,0 +1,8 @@
+Rails.application.routes.draw do
+ # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
+
+ root "users#index"
+ get "/result" => "users#result"
+ post "/result" => "users#create"
+
+end
diff --git a/dylan_eckert/controllersnviews/suerveyform/config/secrets.yml b/dylan_eckert/controllersnviews/suerveyform/config/secrets.yml
new file mode 100644
index 0000000..5fdb6d5
--- /dev/null
+++ b/dylan_eckert/controllersnviews/suerveyform/config/secrets.yml
@@ -0,0 +1,22 @@
+# Be sure to restart your server when you modify this file.
+
+# Your secret key is used for verifying the integrity of signed cookies.
+# If you change this key, all old signed cookies will become invalid!
+
+# Make sure the secret is at least 30 characters and all random,
+# no regular words or you'll be exposed to dictionary attacks.
+# You can use `rails secret` to generate a secure secret key.
+
+# Make sure the secrets in this file are kept private
+# if you're sharing your code publicly.
+
+development:
+ secret_key_base: 14fae96785964afc30b9245946b90a61282327ab10a4596b4a9d5f58405d71f41cdd043f83e89a85ba73475df1d3eb3e1ecd6265f579a804a9dbff9dda2e1d77
+
+test:
+ secret_key_base: c47434466053fcb50a6f59383dcb19fe671ea152f9e7b940f1dfd3611a8ae82da1fc1472fc7447d39482bc8efb4678cd6137d11096e4c6a1556afc972e4c9be6
+
+# Do not keep production secrets in the repository,
+# instead read values from the environment.
+production:
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/dylan_eckert/controllersnviews/suerveyform/config/spring.rb b/dylan_eckert/controllersnviews/suerveyform/config/spring.rb
new file mode 100644
index 0000000..c9119b4
--- /dev/null
+++ b/dylan_eckert/controllersnviews/suerveyform/config/spring.rb
@@ -0,0 +1,6 @@
+%w(
+ .ruby-version
+ .rbenv-vars
+ tmp/restart.txt
+ tmp/caching-dev.txt
+).each { |path| Spring.watch(path) }
diff --git a/dylan_eckert/controllersnviews/suerveyform/db/migrate/20171205161536_create_users.rb b/dylan_eckert/controllersnviews/suerveyform/db/migrate/20171205161536_create_users.rb
new file mode 100644
index 0000000..64fe20b
--- /dev/null
+++ b/dylan_eckert/controllersnviews/suerveyform/db/migrate/20171205161536_create_users.rb
@@ -0,0 +1,12 @@
+class CreateUsers < ActiveRecord::Migration[5.0]
+ def change
+ create_table :users do |t|
+ t.string :name
+ t.string :location
+ t.string :language
+ t.text :comment
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/controllersnviews/suerveyform/db/schema.rb b/dylan_eckert/controllersnviews/suerveyform/db/schema.rb
new file mode 100644
index 0000000..346dd3a
--- /dev/null
+++ b/dylan_eckert/controllersnviews/suerveyform/db/schema.rb
@@ -0,0 +1,24 @@
+# This file is auto-generated from the current state of the database. Instead
+# of editing this file, please use the migrations feature of Active Record to
+# incrementally modify your database, and then regenerate this schema definition.
+#
+# Note that this schema.rb definition is the authoritative source for your
+# database schema. If you need to create the application database on another
+# system, you should be using db:schema:load, not running all the migrations
+# from scratch. The latter is a flawed and unsustainable approach (the more migrations
+# you'll amass, the slower it'll run and the greater likelihood for issues).
+#
+# It's strongly recommended that you check this file into your version control system.
+
+ActiveRecord::Schema.define(version: 20171205161536) do
+
+ create_table "users", force: :cascade do |t|
+ t.string "name"
+ t.string "location"
+ t.string "language"
+ t.text "comment"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ end
+
+end
diff --git a/dylan_eckert/controllersnviews/suerveyform/db/seeds.rb b/dylan_eckert/controllersnviews/suerveyform/db/seeds.rb
new file mode 100644
index 0000000..1beea2a
--- /dev/null
+++ b/dylan_eckert/controllersnviews/suerveyform/db/seeds.rb
@@ -0,0 +1,7 @@
+# This file should contain all the record creation needed to seed the database with its default values.
+# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
+#
+# Examples:
+#
+# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
+# Character.create(name: 'Luke', movie: movies.first)
diff --git a/Rodolfo_Valdivieso/controllers/routes/test/integration/.keep b/dylan_eckert/controllersnviews/suerveyform/lib/assets/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/routes/test/integration/.keep
rename to dylan_eckert/controllersnviews/suerveyform/lib/assets/.keep
diff --git a/Rodolfo_Valdivieso/controllers/routes/test/mailers/.keep b/dylan_eckert/controllersnviews/suerveyform/lib/tasks/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/routes/test/mailers/.keep
rename to dylan_eckert/controllersnviews/suerveyform/lib/tasks/.keep
diff --git a/Rodolfo_Valdivieso/controllers/routes/test/models/.keep b/dylan_eckert/controllersnviews/suerveyform/log/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/routes/test/models/.keep
rename to dylan_eckert/controllersnviews/suerveyform/log/.keep
diff --git a/dylan_eckert/controllersnviews/suerveyform/public/404.html b/dylan_eckert/controllersnviews/suerveyform/public/404.html
new file mode 100644
index 0000000..2be3af2
--- /dev/null
+++ b/dylan_eckert/controllersnviews/suerveyform/public/404.html
@@ -0,0 +1,67 @@
+
+
+
+ The page you were looking for doesn't exist (404)
+
+
+
+
+
+
+
+
+
The page you were looking for doesn't exist.
+
You may have mistyped the address or the page may have moved.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/controllersnviews/suerveyform/public/422.html b/dylan_eckert/controllersnviews/suerveyform/public/422.html
new file mode 100644
index 0000000..c08eac0
--- /dev/null
+++ b/dylan_eckert/controllersnviews/suerveyform/public/422.html
@@ -0,0 +1,67 @@
+
+
+
+ The change you wanted was rejected (422)
+
+
+
+
+
+
+
+
+
The change you wanted was rejected.
+
Maybe you tried to change something you didn't have access to.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/controllersnviews/suerveyform/public/500.html b/dylan_eckert/controllersnviews/suerveyform/public/500.html
new file mode 100644
index 0000000..78a030a
--- /dev/null
+++ b/dylan_eckert/controllersnviews/suerveyform/public/500.html
@@ -0,0 +1,66 @@
+
+
+
+ We're sorry, but something went wrong (500)
+
+
+
+
+
+
+
+
+
We're sorry, but something went wrong.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/Rodolfo_Valdivieso/controllers/routes/vendor/assets/javascripts/.keep b/dylan_eckert/controllersnviews/suerveyform/public/apple-touch-icon-precomposed.png
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/routes/vendor/assets/javascripts/.keep
rename to dylan_eckert/controllersnviews/suerveyform/public/apple-touch-icon-precomposed.png
diff --git a/Rodolfo_Valdivieso/controllers/routes/vendor/assets/stylesheets/.keep b/dylan_eckert/controllersnviews/suerveyform/public/apple-touch-icon.png
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/routes/vendor/assets/stylesheets/.keep
rename to dylan_eckert/controllersnviews/suerveyform/public/apple-touch-icon.png
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/public/favicon.ico b/dylan_eckert/controllersnviews/suerveyform/public/favicon.ico
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/public/favicon.ico
rename to dylan_eckert/controllersnviews/suerveyform/public/favicon.ico
diff --git a/Rodolfo_Valdivieso/controllers/routes/public/robots.txt b/dylan_eckert/controllersnviews/suerveyform/public/robots.txt
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/routes/public/robots.txt
rename to dylan_eckert/controllersnviews/suerveyform/public/robots.txt
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/app/assets/images/.keep b/dylan_eckert/controllersnviews/suerveyform/test/controllers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/app/assets/images/.keep
rename to dylan_eckert/controllersnviews/suerveyform/test/controllers/.keep
diff --git a/dylan_eckert/controllersnviews/suerveyform/test/controllers/users_controller_test.rb b/dylan_eckert/controllersnviews/suerveyform/test/controllers/users_controller_test.rb
new file mode 100644
index 0000000..6c3da77
--- /dev/null
+++ b/dylan_eckert/controllersnviews/suerveyform/test/controllers/users_controller_test.rb
@@ -0,0 +1,7 @@
+require 'test_helper'
+
+class UsersControllerTest < ActionDispatch::IntegrationTest
+ # test "the truth" do
+ # assert true
+ # end
+end
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/app/controllers/concerns/.keep b/dylan_eckert/controllersnviews/suerveyform/test/fixtures/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/app/controllers/concerns/.keep
rename to dylan_eckert/controllersnviews/suerveyform/test/fixtures/.keep
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/app/mailers/.keep b/dylan_eckert/controllersnviews/suerveyform/test/fixtures/files/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/app/mailers/.keep
rename to dylan_eckert/controllersnviews/suerveyform/test/fixtures/files/.keep
diff --git a/dylan_eckert/controllersnviews/suerveyform/test/fixtures/users.yml b/dylan_eckert/controllersnviews/suerveyform/test/fixtures/users.yml
new file mode 100644
index 0000000..0ed3e41
--- /dev/null
+++ b/dylan_eckert/controllersnviews/suerveyform/test/fixtures/users.yml
@@ -0,0 +1,13 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+one:
+ name: MyString
+ location: MyString
+ language: MyString
+ comment: MyText
+
+two:
+ name: MyString
+ location: MyString
+ language: MyString
+ comment: MyText
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/app/models/.keep b/dylan_eckert/controllersnviews/suerveyform/test/helpers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/app/models/.keep
rename to dylan_eckert/controllersnviews/suerveyform/test/helpers/.keep
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/app/models/concerns/.keep b/dylan_eckert/controllersnviews/suerveyform/test/integration/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/app/models/concerns/.keep
rename to dylan_eckert/controllersnviews/suerveyform/test/integration/.keep
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/lib/assets/.keep b/dylan_eckert/controllersnviews/suerveyform/test/mailers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/lib/assets/.keep
rename to dylan_eckert/controllersnviews/suerveyform/test/mailers/.keep
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/lib/tasks/.keep b/dylan_eckert/controllersnviews/suerveyform/test/models/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/lib/tasks/.keep
rename to dylan_eckert/controllersnviews/suerveyform/test/models/.keep
diff --git a/Rodolfo_Valdivieso/models/self_join/test/models/user_test.rb b/dylan_eckert/controllersnviews/suerveyform/test/models/user_test.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/test/models/user_test.rb
rename to dylan_eckert/controllersnviews/suerveyform/test/models/user_test.rb
diff --git a/Rodolfo_Valdivieso/controllers/ninjaGold/test/test_helper.rb b/dylan_eckert/controllersnviews/suerveyform/test/test_helper.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/ninjaGold/test/test_helper.rb
rename to dylan_eckert/controllersnviews/suerveyform/test/test_helper.rb
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/log/.keep b/dylan_eckert/controllersnviews/suerveyform/tmp/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/log/.keep
rename to dylan_eckert/controllersnviews/suerveyform/tmp/.keep
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/test/controllers/.keep b/dylan_eckert/controllersnviews/suerveyform/vendor/assets/javascripts/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/test/controllers/.keep
rename to dylan_eckert/controllersnviews/suerveyform/vendor/assets/javascripts/.keep
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/test/fixtures/.keep b/dylan_eckert/controllersnviews/suerveyform/vendor/assets/stylesheets/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/test/fixtures/.keep
rename to dylan_eckert/controllersnviews/suerveyform/vendor/assets/stylesheets/.keep
diff --git a/dylan_eckert/controllersnviews/timedisp/.gitignore b/dylan_eckert/controllersnviews/timedisp/.gitignore
new file mode 100644
index 0000000..bab620d
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/.gitignore
@@ -0,0 +1,21 @@
+# See https://help.github.com/articles/ignoring-files for more about ignoring files.
+#
+# If you find yourself ignoring temporary files generated by your text editor
+# or operating system, you probably want to add a global ignore instead:
+# git config --global core.excludesfile '~/.gitignore_global'
+
+# Ignore bundler config.
+/.bundle
+
+# Ignore the default SQLite database.
+/db/*.sqlite3
+/db/*.sqlite3-journal
+
+# Ignore all logfiles and tempfiles.
+/log/*
+/tmp/*
+!/log/.keep
+!/tmp/.keep
+
+# Ignore Byebug command history file.
+.byebug_history
diff --git a/dylan_eckert/controllersnviews/timedisp/Gemfile b/dylan_eckert/controllersnviews/timedisp/Gemfile
new file mode 100644
index 0000000..59d57f6
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/Gemfile
@@ -0,0 +1,53 @@
+source 'https://rubygems.org'
+
+git_source(:github) do |repo_name|
+ repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
+ "https://github.com/#{repo_name}.git"
+end
+
+
+# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
+gem 'rails', '~> 5.0.6'
+# Use sqlite3 as the database for Active Record
+gem 'sqlite3'
+# Use Puma as the app server
+gem 'puma', '~> 3.0'
+# Use SCSS for stylesheets
+gem 'sass-rails', '~> 5.0'
+# Use Uglifier as compressor for JavaScript assets
+gem 'uglifier', '>= 1.3.0'
+# Use CoffeeScript for .coffee assets and views
+gem 'coffee-rails', '~> 4.2'
+# See https://github.com/rails/execjs#readme for more supported runtimes
+# gem 'therubyracer', platforms: :ruby
+
+# Use jquery as the JavaScript library
+gem 'jquery-rails'
+# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
+gem 'turbolinks', '~> 5'
+# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
+gem 'jbuilder', '~> 2.5'
+# Use Redis adapter to run Action Cable in production
+# gem 'redis', '~> 3.0'
+# Use ActiveModel has_secure_password
+# gem 'bcrypt', '~> 3.1.7'
+
+# Use Capistrano for deployment
+# gem 'capistrano-rails', group: :development
+
+group :development, :test do
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
+ gem 'byebug', platform: :mri
+end
+
+group :development do
+ # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
+ gem 'web-console', '>= 3.3.0'
+ gem 'listen', '~> 3.0.5'
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
+ gem 'spring'
+ gem 'spring-watcher-listen', '~> 2.0.0'
+end
+
+# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
+gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
diff --git a/dylan_eckert/controllersnviews/timedisp/Gemfile.lock b/dylan_eckert/controllersnviews/timedisp/Gemfile.lock
new file mode 100644
index 0000000..fabcef5
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/Gemfile.lock
@@ -0,0 +1,179 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actioncable (5.0.6)
+ actionpack (= 5.0.6)
+ nio4r (>= 1.2, < 3.0)
+ websocket-driver (~> 0.6.1)
+ actionmailer (5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ mail (~> 2.5, >= 2.5.4)
+ rails-dom-testing (~> 2.0)
+ actionpack (5.0.6)
+ actionview (= 5.0.6)
+ activesupport (= 5.0.6)
+ rack (~> 2.0)
+ rack-test (~> 0.6.3)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
+ actionview (5.0.6)
+ activesupport (= 5.0.6)
+ builder (~> 3.1)
+ erubis (~> 2.7.0)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
+ activejob (5.0.6)
+ activesupport (= 5.0.6)
+ globalid (>= 0.3.6)
+ activemodel (5.0.6)
+ activesupport (= 5.0.6)
+ activerecord (5.0.6)
+ activemodel (= 5.0.6)
+ activesupport (= 5.0.6)
+ arel (~> 7.0)
+ activesupport (5.0.6)
+ concurrent-ruby (~> 1.0, >= 1.0.2)
+ i18n (~> 0.7)
+ minitest (~> 5.1)
+ tzinfo (~> 1.1)
+ arel (7.1.4)
+ bindex (0.5.0)
+ builder (3.2.3)
+ byebug (9.1.0)
+ coffee-rails (4.2.2)
+ coffee-script (>= 2.2.0)
+ railties (>= 4.0.0)
+ coffee-script (2.4.1)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.12.2)
+ concurrent-ruby (1.0.5)
+ crass (1.0.3)
+ erubis (2.7.0)
+ execjs (2.7.0)
+ ffi (1.9.18)
+ globalid (0.4.1)
+ activesupport (>= 4.2.0)
+ i18n (0.9.1)
+ concurrent-ruby (~> 1.0)
+ jbuilder (2.7.0)
+ activesupport (>= 4.2.0)
+ multi_json (>= 1.2)
+ jquery-rails (4.3.1)
+ rails-dom-testing (>= 1, < 3)
+ railties (>= 4.2.0)
+ thor (>= 0.14, < 2.0)
+ listen (3.0.8)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ loofah (2.1.1)
+ crass (~> 1.0.2)
+ nokogiri (>= 1.5.9)
+ mail (2.7.0)
+ mini_mime (>= 0.1.1)
+ method_source (0.9.0)
+ mini_mime (1.0.0)
+ mini_portile2 (2.3.0)
+ minitest (5.10.3)
+ multi_json (1.12.2)
+ nio4r (2.1.0)
+ nokogiri (1.8.1)
+ mini_portile2 (~> 2.3.0)
+ puma (3.11.0)
+ rack (2.0.3)
+ rack-test (0.6.3)
+ rack (>= 1.0)
+ rails (5.0.6)
+ actioncable (= 5.0.6)
+ actionmailer (= 5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ activemodel (= 5.0.6)
+ activerecord (= 5.0.6)
+ activesupport (= 5.0.6)
+ bundler (>= 1.3.0)
+ railties (= 5.0.6)
+ sprockets-rails (>= 2.0.0)
+ rails-dom-testing (2.0.3)
+ activesupport (>= 4.2.0)
+ nokogiri (>= 1.6)
+ rails-html-sanitizer (1.0.3)
+ loofah (~> 2.0)
+ railties (5.0.6)
+ actionpack (= 5.0.6)
+ activesupport (= 5.0.6)
+ method_source
+ rake (>= 0.8.7)
+ thor (>= 0.18.1, < 2.0)
+ rake (12.3.0)
+ rb-fsevent (0.10.2)
+ rb-inotify (0.9.10)
+ ffi (>= 0.5.0, < 2)
+ sass (3.5.3)
+ sass-listen (~> 4.0.0)
+ sass-listen (4.0.0)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ sass-rails (5.0.7)
+ railties (>= 4.0.0, < 6)
+ sass (~> 3.1)
+ sprockets (>= 2.8, < 4.0)
+ sprockets-rails (>= 2.0, < 4.0)
+ tilt (>= 1.1, < 3)
+ spring (2.0.2)
+ activesupport (>= 4.2)
+ spring-watcher-listen (2.0.1)
+ listen (>= 2.7, < 4.0)
+ spring (>= 1.2, < 3.0)
+ sprockets (3.7.1)
+ concurrent-ruby (~> 1.0)
+ rack (> 1, < 3)
+ sprockets-rails (3.2.1)
+ actionpack (>= 4.0)
+ activesupport (>= 4.0)
+ sprockets (>= 3.0.0)
+ sqlite3 (1.3.13)
+ thor (0.20.0)
+ thread_safe (0.3.6)
+ tilt (2.0.8)
+ turbolinks (5.0.1)
+ turbolinks-source (~> 5)
+ turbolinks-source (5.0.3)
+ tzinfo (1.2.4)
+ thread_safe (~> 0.1)
+ uglifier (4.0.1)
+ execjs (>= 0.3.0, < 3)
+ web-console (3.5.1)
+ actionview (>= 5.0)
+ activemodel (>= 5.0)
+ bindex (>= 0.4.0)
+ railties (>= 5.0)
+ websocket-driver (0.6.5)
+ websocket-extensions (>= 0.1.0)
+ websocket-extensions (0.1.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ byebug
+ coffee-rails (~> 4.2)
+ jbuilder (~> 2.5)
+ jquery-rails
+ listen (~> 3.0.5)
+ puma (~> 3.0)
+ rails (~> 5.0.6)
+ sass-rails (~> 5.0)
+ spring
+ spring-watcher-listen (~> 2.0.0)
+ sqlite3
+ turbolinks (~> 5)
+ tzinfo-data
+ uglifier (>= 1.3.0)
+ web-console (>= 3.3.0)
+
+BUNDLED WITH
+ 1.16.0
diff --git a/dylan_eckert/controllersnviews/timedisp/README.md b/dylan_eckert/controllersnviews/timedisp/README.md
new file mode 100644
index 0000000..7db80e4
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/README.md
@@ -0,0 +1,24 @@
+# README
+
+This README would normally document whatever steps are necessary to get the
+application up and running.
+
+Things you may want to cover:
+
+* Ruby version
+
+* System dependencies
+
+* Configuration
+
+* Database creation
+
+* Database initialization
+
+* How to run the test suite
+
+* Services (job queues, cache servers, search engines, etc.)
+
+* Deployment instructions
+
+* ...
diff --git a/dylan_eckert/controllersnviews/timedisp/Rakefile b/dylan_eckert/controllersnviews/timedisp/Rakefile
new file mode 100644
index 0000000..e85f913
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/Rakefile
@@ -0,0 +1,6 @@
+# Add your own tasks in files placed in lib/tasks ending in .rake,
+# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
+
+require_relative 'config/application'
+
+Rails.application.load_tasks
diff --git a/dylan_eckert/controllersnviews/timedisp/app/assets/config/manifest.js b/dylan_eckert/controllersnviews/timedisp/app/assets/config/manifest.js
new file mode 100644
index 0000000..b16e53d
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/app/assets/config/manifest.js
@@ -0,0 +1,3 @@
+//= link_tree ../images
+//= link_directory ../javascripts .js
+//= link_directory ../stylesheets .css
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/test/helpers/.keep b/dylan_eckert/controllersnviews/timedisp/app/assets/images/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/test/helpers/.keep
rename to dylan_eckert/controllersnviews/timedisp/app/assets/images/.keep
diff --git a/dylan_eckert/controllersnviews/timedisp/app/assets/javascripts/application.js b/dylan_eckert/controllersnviews/timedisp/app/assets/javascripts/application.js
new file mode 100644
index 0000000..b12018d
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/app/assets/javascripts/application.js
@@ -0,0 +1,16 @@
+// This is a manifest file that'll be compiled into application.js, which will include all the files
+// listed below.
+//
+// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
+// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
+//
+// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
+// compiled file. JavaScript code in this file should be added after the last require_* statement.
+//
+// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
+// about supported directives.
+//
+//= require jquery
+//= require jquery_ujs
+//= require turbolinks
+//= require_tree .
diff --git a/dylan_eckert/controllersnviews/timedisp/app/assets/javascripts/cable.js b/dylan_eckert/controllersnviews/timedisp/app/assets/javascripts/cable.js
new file mode 100644
index 0000000..71ee1e6
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/app/assets/javascripts/cable.js
@@ -0,0 +1,13 @@
+// Action Cable provides the framework to deal with WebSockets in Rails.
+// You can generate new channels where WebSocket features live using the rails generate channel command.
+//
+//= require action_cable
+//= require_self
+//= require_tree ./channels
+
+(function() {
+ this.App || (this.App = {});
+
+ App.cable = ActionCable.createConsumer();
+
+}).call(this);
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/test/integration/.keep b/dylan_eckert/controllersnviews/timedisp/app/assets/javascripts/channels/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/test/integration/.keep
rename to dylan_eckert/controllersnviews/timedisp/app/assets/javascripts/channels/.keep
diff --git a/Rodolfo_Valdivieso/controllers/time_display/app/assets/javascripts/times.coffee b/dylan_eckert/controllersnviews/timedisp/app/assets/javascripts/times.coffee
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/app/assets/javascripts/times.coffee
rename to dylan_eckert/controllersnviews/timedisp/app/assets/javascripts/times.coffee
diff --git a/dylan_eckert/controllersnviews/timedisp/app/assets/stylesheets/application.css b/dylan_eckert/controllersnviews/timedisp/app/assets/stylesheets/application.css
new file mode 100644
index 0000000..0ebd7fe
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/app/assets/stylesheets/application.css
@@ -0,0 +1,15 @@
+/*
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
+ * listed below.
+ *
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
+ * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
+ *
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
+ * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
+ * files in this directory. Styles in this file should be added after the last require_* statement.
+ * It is generally better to create a new file per style scope.
+ *
+ *= require_tree .
+ *= require_self
+ */
diff --git a/Rodolfo_Valdivieso/controllers/time_display/app/assets/stylesheets/times.scss b/dylan_eckert/controllersnviews/timedisp/app/assets/stylesheets/times.scss
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/app/assets/stylesheets/times.scss
rename to dylan_eckert/controllersnviews/timedisp/app/assets/stylesheets/times.scss
diff --git a/dylan_eckert/controllersnviews/timedisp/app/channels/application_cable/channel.rb b/dylan_eckert/controllersnviews/timedisp/app/channels/application_cable/channel.rb
new file mode 100644
index 0000000..d672697
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/app/channels/application_cable/channel.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Channel < ActionCable::Channel::Base
+ end
+end
diff --git a/dylan_eckert/controllersnviews/timedisp/app/channels/application_cable/connection.rb b/dylan_eckert/controllersnviews/timedisp/app/channels/application_cable/connection.rb
new file mode 100644
index 0000000..0ff5442
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/app/channels/application_cable/connection.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Connection < ActionCable::Connection::Base
+ end
+end
diff --git a/dylan_eckert/controllersnviews/timedisp/app/controllers/application_controller.rb b/dylan_eckert/controllersnviews/timedisp/app/controllers/application_controller.rb
new file mode 100644
index 0000000..1c07694
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/app/controllers/application_controller.rb
@@ -0,0 +1,3 @@
+class ApplicationController < ActionController::Base
+ protect_from_forgery with: :exception
+end
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/test/mailers/.keep b/dylan_eckert/controllersnviews/timedisp/app/controllers/concerns/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/test/mailers/.keep
rename to dylan_eckert/controllersnviews/timedisp/app/controllers/concerns/.keep
diff --git a/dylan_eckert/controllersnviews/timedisp/app/controllers/times_controller.rb b/dylan_eckert/controllersnviews/timedisp/app/controllers/times_controller.rb
new file mode 100644
index 0000000..1cc2a09
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/app/controllers/times_controller.rb
@@ -0,0 +1,5 @@
+class TimesController < ApplicationController
+ def main
+ @curTime = Time.new
+ end
+end
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/app/helpers/application_helper.rb b/dylan_eckert/controllersnviews/timedisp/app/helpers/application_helper.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/app/helpers/application_helper.rb
rename to dylan_eckert/controllersnviews/timedisp/app/helpers/application_helper.rb
diff --git a/Rodolfo_Valdivieso/controllers/time_display/app/helpers/times_helper.rb b/dylan_eckert/controllersnviews/timedisp/app/helpers/times_helper.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/app/helpers/times_helper.rb
rename to dylan_eckert/controllersnviews/timedisp/app/helpers/times_helper.rb
diff --git a/dylan_eckert/controllersnviews/timedisp/app/jobs/application_job.rb b/dylan_eckert/controllersnviews/timedisp/app/jobs/application_job.rb
new file mode 100644
index 0000000..a009ace
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/app/jobs/application_job.rb
@@ -0,0 +1,2 @@
+class ApplicationJob < ActiveJob::Base
+end
diff --git a/dylan_eckert/controllersnviews/timedisp/app/mailers/application_mailer.rb b/dylan_eckert/controllersnviews/timedisp/app/mailers/application_mailer.rb
new file mode 100644
index 0000000..286b223
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/app/mailers/application_mailer.rb
@@ -0,0 +1,4 @@
+class ApplicationMailer < ActionMailer::Base
+ default from: 'from@example.com'
+ layout 'mailer'
+end
diff --git a/dylan_eckert/controllersnviews/timedisp/app/models/application_record.rb b/dylan_eckert/controllersnviews/timedisp/app/models/application_record.rb
new file mode 100644
index 0000000..10a4cba
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/app/models/application_record.rb
@@ -0,0 +1,3 @@
+class ApplicationRecord < ActiveRecord::Base
+ self.abstract_class = true
+end
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/test/models/.keep b/dylan_eckert/controllersnviews/timedisp/app/models/concerns/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/test/models/.keep
rename to dylan_eckert/controllersnviews/timedisp/app/models/concerns/.keep
diff --git a/dylan_eckert/controllersnviews/timedisp/app/views/layouts/application.html.erb b/dylan_eckert/controllersnviews/timedisp/app/views/layouts/application.html.erb
new file mode 100644
index 0000000..59ba73f
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/app/views/layouts/application.html.erb
@@ -0,0 +1,14 @@
+
+
+
+ Timedisp
+ <%= csrf_meta_tags %>
+
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
+ <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
+
+
+
+ <%= yield %>
+
+
diff --git a/dylan_eckert/controllersnviews/timedisp/app/views/layouts/mailer.html.erb b/dylan_eckert/controllersnviews/timedisp/app/views/layouts/mailer.html.erb
new file mode 100644
index 0000000..cbd34d2
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/app/views/layouts/mailer.html.erb
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+ <%= yield %>
+
+
diff --git a/dylan_eckert/controllersnviews/timedisp/app/views/layouts/mailer.text.erb b/dylan_eckert/controllersnviews/timedisp/app/views/layouts/mailer.text.erb
new file mode 100644
index 0000000..37f0bdd
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/app/views/layouts/mailer.text.erb
@@ -0,0 +1 @@
+<%= yield %>
diff --git a/dylan_eckert/controllersnviews/timedisp/app/views/times/main.html.erb b/dylan_eckert/controllersnviews/timedisp/app/views/times/main.html.erb
new file mode 100644
index 0000000..0da5bd9
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/app/views/times/main.html.erb
@@ -0,0 +1,11 @@
+
+
+
+
+ Time Display
+
+
+
The Current Time
+
<%= @curTime %>
+
+
diff --git a/dylan_eckert/controllersnviews/timedisp/assignment.zip b/dylan_eckert/controllersnviews/timedisp/assignment.zip
new file mode 100644
index 0000000..e4c69fb
Binary files /dev/null and b/dylan_eckert/controllersnviews/timedisp/assignment.zip differ
diff --git a/dylan_eckert/controllersnviews/timedisp/assignment/main.html.erb b/dylan_eckert/controllersnviews/timedisp/assignment/main.html.erb
new file mode 100644
index 0000000..0da5bd9
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/assignment/main.html.erb
@@ -0,0 +1,11 @@
+
+
+
+
+ Time Display
+
+
+
The Current Time
+
<%= @curTime %>
+
+
diff --git a/dylan_eckert/controllersnviews/timedisp/assignment/routes.rb b/dylan_eckert/controllersnviews/timedisp/assignment/routes.rb
new file mode 100644
index 0000000..a2bd921
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/assignment/routes.rb
@@ -0,0 +1,5 @@
+Rails.application.routes.draw do
+ # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
+ root "times#main"
+
+end
diff --git a/dylan_eckert/controllersnviews/timedisp/assignment/times_controller.rb b/dylan_eckert/controllersnviews/timedisp/assignment/times_controller.rb
new file mode 100644
index 0000000..1cc2a09
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/assignment/times_controller.rb
@@ -0,0 +1,5 @@
+class TimesController < ApplicationController
+ def main
+ @curTime = Time.new
+ end
+end
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/bin/bundle b/dylan_eckert/controllersnviews/timedisp/bin/bundle
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/bin/bundle
rename to dylan_eckert/controllersnviews/timedisp/bin/bundle
diff --git a/dylan_eckert/controllersnviews/timedisp/bin/rails b/dylan_eckert/controllersnviews/timedisp/bin/rails
new file mode 100755
index 0000000..5badb2f
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/bin/rails
@@ -0,0 +1,9 @@
+#!/usr/bin/env ruby
+begin
+ load File.expand_path('../spring', __FILE__)
+rescue LoadError => e
+ raise unless e.message.include?('spring')
+end
+APP_PATH = File.expand_path('../config/application', __dir__)
+require_relative '../config/boot'
+require 'rails/commands'
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/bin/rake b/dylan_eckert/controllersnviews/timedisp/bin/rake
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/bin/rake
rename to dylan_eckert/controllersnviews/timedisp/bin/rake
diff --git a/dylan_eckert/controllersnviews/timedisp/bin/setup b/dylan_eckert/controllersnviews/timedisp/bin/setup
new file mode 100755
index 0000000..e620b4d
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/bin/setup
@@ -0,0 +1,34 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a starting point to setup your application.
+ # Add necessary setup steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ # puts "\n== Copying sample files =="
+ # unless File.exist?('config/database.yml')
+ # cp 'config/database.yml.sample', 'config/database.yml'
+ # end
+
+ puts "\n== Preparing database =="
+ system! 'bin/rails db:setup'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/bin/spring b/dylan_eckert/controllersnviews/timedisp/bin/spring
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/bin/spring
rename to dylan_eckert/controllersnviews/timedisp/bin/spring
diff --git a/dylan_eckert/controllersnviews/timedisp/bin/update b/dylan_eckert/controllersnviews/timedisp/bin/update
new file mode 100755
index 0000000..a8e4462
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/bin/update
@@ -0,0 +1,29 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a way to update your development environment automatically.
+ # Add necessary update steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ puts "\n== Updating database =="
+ system! 'bin/rails db:migrate'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/dylan_eckert/controllersnviews/timedisp/config.ru b/dylan_eckert/controllersnviews/timedisp/config.ru
new file mode 100644
index 0000000..f7ba0b5
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/config.ru
@@ -0,0 +1,5 @@
+# This file is used by Rack-based servers to start the application.
+
+require_relative 'config/environment'
+
+run Rails.application
diff --git a/dylan_eckert/controllersnviews/timedisp/config/application.rb b/dylan_eckert/controllersnviews/timedisp/config/application.rb
new file mode 100644
index 0000000..09bb816
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/config/application.rb
@@ -0,0 +1,15 @@
+require_relative 'boot'
+
+require 'rails/all'
+
+# Require the gems listed in Gemfile, including any gems
+# you've limited to :test, :development, or :production.
+Bundler.require(*Rails.groups)
+
+module Timedisp
+ class Application < Rails::Application
+ # Settings in config/environments/* take precedence over those specified here.
+ # Application configuration should go into files in config/initializers
+ # -- all .rb files in that directory are automatically loaded.
+ end
+end
diff --git a/dylan_eckert/controllersnviews/timedisp/config/boot.rb b/dylan_eckert/controllersnviews/timedisp/config/boot.rb
new file mode 100644
index 0000000..30f5120
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/config/boot.rb
@@ -0,0 +1,3 @@
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
+
+require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/dylan_eckert/controllersnviews/timedisp/config/cable.yml b/dylan_eckert/controllersnviews/timedisp/config/cable.yml
new file mode 100644
index 0000000..0bbde6f
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/config/cable.yml
@@ -0,0 +1,9 @@
+development:
+ adapter: async
+
+test:
+ adapter: async
+
+production:
+ adapter: redis
+ url: redis://localhost:6379/1
diff --git a/Rodolfo_Valdivieso/controllers/routes/config/database.yml b/dylan_eckert/controllersnviews/timedisp/config/database.yml
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/routes/config/database.yml
rename to dylan_eckert/controllersnviews/timedisp/config/database.yml
diff --git a/dylan_eckert/controllersnviews/timedisp/config/environment.rb b/dylan_eckert/controllersnviews/timedisp/config/environment.rb
new file mode 100644
index 0000000..426333b
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/config/environment.rb
@@ -0,0 +1,5 @@
+# Load the Rails application.
+require_relative 'application'
+
+# Initialize the Rails application.
+Rails.application.initialize!
diff --git a/dylan_eckert/controllersnviews/timedisp/config/environments/development.rb b/dylan_eckert/controllersnviews/timedisp/config/environments/development.rb
new file mode 100644
index 0000000..6f71970
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/config/environments/development.rb
@@ -0,0 +1,54 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # In the development environment your application's code is reloaded on
+ # every request. This slows down response time but is perfect for development
+ # since you don't have to restart the web server when you make code changes.
+ config.cache_classes = false
+
+ # Do not eager load code on boot.
+ config.eager_load = false
+
+ # Show full error reports.
+ config.consider_all_requests_local = true
+
+ # Enable/disable caching. By default caching is disabled.
+ if Rails.root.join('tmp/caching-dev.txt').exist?
+ config.action_controller.perform_caching = true
+
+ config.cache_store = :memory_store
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=172800'
+ }
+ else
+ config.action_controller.perform_caching = false
+
+ config.cache_store = :null_store
+ end
+
+ # Don't care if the mailer can't send.
+ config.action_mailer.raise_delivery_errors = false
+
+ config.action_mailer.perform_caching = false
+
+ # Print deprecation notices to the Rails logger.
+ config.active_support.deprecation = :log
+
+ # Raise an error on page load if there are pending migrations.
+ config.active_record.migration_error = :page_load
+
+ # Debug mode disables concatenation and preprocessing of assets.
+ # This option may cause significant delays in view rendering with a large
+ # number of complex assets.
+ config.assets.debug = true
+
+ # Suppress logger output for asset requests.
+ config.assets.quiet = true
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+
+ # Use an evented file watcher to asynchronously detect changes in source code,
+ # routes, locales, etc. This feature depends on the listen gem.
+ config.file_watcher = ActiveSupport::EventedFileUpdateChecker
+end
diff --git a/dylan_eckert/controllersnviews/timedisp/config/environments/production.rb b/dylan_eckert/controllersnviews/timedisp/config/environments/production.rb
new file mode 100644
index 0000000..9c0ab4d
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/config/environments/production.rb
@@ -0,0 +1,86 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # Code is not reloaded between requests.
+ config.cache_classes = true
+
+ # Eager load code on boot. This eager loads most of Rails and
+ # your application in memory, allowing both threaded web servers
+ # and those relying on copy on write to perform better.
+ # Rake tasks automatically ignore this option for performance.
+ config.eager_load = true
+
+ # Full error reports are disabled and caching is turned on.
+ config.consider_all_requests_local = false
+ config.action_controller.perform_caching = true
+
+ # Disable serving static files from the `/public` folder by default since
+ # Apache or NGINX already handles this.
+ config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
+
+ # Compress JavaScripts and CSS.
+ config.assets.js_compressor = :uglifier
+ # config.assets.css_compressor = :sass
+
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
+ config.assets.compile = false
+
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
+
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
+ # config.action_controller.asset_host = 'http://assets.example.com'
+
+ # Specifies the header that your server uses for sending files.
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
+
+ # Mount Action Cable outside main process or domain
+ # config.action_cable.mount_path = nil
+ # config.action_cable.url = 'wss://example.com/cable'
+ # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
+
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
+ # config.force_ssl = true
+
+ # Use the lowest log level to ensure availability of diagnostic information
+ # when problems arise.
+ config.log_level = :debug
+
+ # Prepend all log lines with the following tags.
+ config.log_tags = [ :request_id ]
+
+ # Use a different cache store in production.
+ # config.cache_store = :mem_cache_store
+
+ # Use a real queuing backend for Active Job (and separate queues per environment)
+ # config.active_job.queue_adapter = :resque
+ # config.active_job.queue_name_prefix = "timedisp_#{Rails.env}"
+ config.action_mailer.perform_caching = false
+
+ # Ignore bad email addresses and do not raise email delivery errors.
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
+ # config.action_mailer.raise_delivery_errors = false
+
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
+ # the I18n.default_locale when a translation cannot be found).
+ config.i18n.fallbacks = true
+
+ # Send deprecation notices to registered listeners.
+ config.active_support.deprecation = :notify
+
+ # Use default logging formatter so that PID and timestamp are not suppressed.
+ config.log_formatter = ::Logger::Formatter.new
+
+ # Use a different logger for distributed setups.
+ # require 'syslog/logger'
+ # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
+
+ if ENV["RAILS_LOG_TO_STDOUT"].present?
+ logger = ActiveSupport::Logger.new(STDOUT)
+ logger.formatter = config.log_formatter
+ config.logger = ActiveSupport::TaggedLogging.new(logger)
+ end
+
+ # Do not dump schema after migrations.
+ config.active_record.dump_schema_after_migration = false
+end
diff --git a/dylan_eckert/controllersnviews/timedisp/config/environments/test.rb b/dylan_eckert/controllersnviews/timedisp/config/environments/test.rb
new file mode 100644
index 0000000..30587ef
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/config/environments/test.rb
@@ -0,0 +1,42 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # The test environment is used exclusively to run your application's
+ # test suite. You never need to work with it otherwise. Remember that
+ # your test database is "scratch space" for the test suite and is wiped
+ # and recreated between test runs. Don't rely on the data there!
+ config.cache_classes = true
+
+ # Do not eager load code on boot. This avoids loading your whole application
+ # just for the purpose of running a single test. If you are using a tool that
+ # preloads Rails for running tests, you may have to set it to true.
+ config.eager_load = false
+
+ # Configure public file server for tests with Cache-Control for performance.
+ config.public_file_server.enabled = true
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=3600'
+ }
+
+ # Show full error reports and disable caching.
+ config.consider_all_requests_local = true
+ config.action_controller.perform_caching = false
+
+ # Raise exceptions instead of rendering exception templates.
+ config.action_dispatch.show_exceptions = false
+
+ # Disable request forgery protection in test environment.
+ config.action_controller.allow_forgery_protection = false
+ config.action_mailer.perform_caching = false
+
+ # Tell Action Mailer not to deliver emails to the real world.
+ # The :test delivery method accumulates sent emails in the
+ # ActionMailer::Base.deliveries array.
+ config.action_mailer.delivery_method = :test
+
+ # Print deprecation notices to the stderr.
+ config.active_support.deprecation = :stderr
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+end
diff --git a/dylan_eckert/controllersnviews/timedisp/config/initializers/application_controller_renderer.rb b/dylan_eckert/controllersnviews/timedisp/config/initializers/application_controller_renderer.rb
new file mode 100644
index 0000000..89d2efa
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/config/initializers/application_controller_renderer.rb
@@ -0,0 +1,8 @@
+# Be sure to restart your server when you modify this file.
+
+# ActiveSupport::Reloader.to_prepare do
+# ApplicationController.renderer.defaults.merge!(
+# http_host: 'example.org',
+# https: false
+# )
+# end
diff --git a/Rodolfo_Valdivieso/controllers/time_display/config/initializers/assets.rb b/dylan_eckert/controllersnviews/timedisp/config/initializers/assets.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/config/initializers/assets.rb
rename to dylan_eckert/controllersnviews/timedisp/config/initializers/assets.rb
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/config/initializers/backtrace_silencers.rb b/dylan_eckert/controllersnviews/timedisp/config/initializers/backtrace_silencers.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/config/initializers/backtrace_silencers.rb
rename to dylan_eckert/controllersnviews/timedisp/config/initializers/backtrace_silencers.rb
diff --git a/dylan_eckert/controllersnviews/timedisp/config/initializers/cookies_serializer.rb b/dylan_eckert/controllersnviews/timedisp/config/initializers/cookies_serializer.rb
new file mode 100644
index 0000000..5a6a32d
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/config/initializers/cookies_serializer.rb
@@ -0,0 +1,5 @@
+# Be sure to restart your server when you modify this file.
+
+# Specify a serializer for the signed and encrypted cookie jars.
+# Valid options are :json, :marshal, and :hybrid.
+Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/config/initializers/filter_parameter_logging.rb b/dylan_eckert/controllersnviews/timedisp/config/initializers/filter_parameter_logging.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/config/initializers/filter_parameter_logging.rb
rename to dylan_eckert/controllersnviews/timedisp/config/initializers/filter_parameter_logging.rb
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/config/initializers/inflections.rb b/dylan_eckert/controllersnviews/timedisp/config/initializers/inflections.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/config/initializers/inflections.rb
rename to dylan_eckert/controllersnviews/timedisp/config/initializers/inflections.rb
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/config/initializers/mime_types.rb b/dylan_eckert/controllersnviews/timedisp/config/initializers/mime_types.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/config/initializers/mime_types.rb
rename to dylan_eckert/controllersnviews/timedisp/config/initializers/mime_types.rb
diff --git a/dylan_eckert/controllersnviews/timedisp/config/initializers/new_framework_defaults.rb b/dylan_eckert/controllersnviews/timedisp/config/initializers/new_framework_defaults.rb
new file mode 100644
index 0000000..dd236b5
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/config/initializers/new_framework_defaults.rb
@@ -0,0 +1,26 @@
+# Be sure to restart your server when you modify this file.
+#
+# This file contains migration options to ease your Rails 5.0 upgrade.
+#
+# Read the Guide for Upgrading Ruby on Rails for more info on each option.
+
+Rails.application.config.action_controller.raise_on_unfiltered_parameters = true
+
+# Enable per-form CSRF tokens. Previous versions had false.
+Rails.application.config.action_controller.per_form_csrf_tokens = true
+
+# Enable origin-checking CSRF mitigation. Previous versions had false.
+Rails.application.config.action_controller.forgery_protection_origin_check = true
+
+# Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`.
+# Previous versions had false.
+ActiveSupport.to_time_preserves_timezone = true
+
+# Require `belongs_to` associations by default. Previous versions had false.
+Rails.application.config.active_record.belongs_to_required_by_default = true
+
+# Do not halt callback chains when a callback returns false. Previous versions had true.
+ActiveSupport.halt_callback_chains_on_return_false = false
+
+# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
+Rails.application.config.ssl_options = { hsts: { subdomains: true } }
diff --git a/dylan_eckert/controllersnviews/timedisp/config/initializers/session_store.rb b/dylan_eckert/controllersnviews/timedisp/config/initializers/session_store.rb
new file mode 100644
index 0000000..f92192e
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/config/initializers/session_store.rb
@@ -0,0 +1,3 @@
+# Be sure to restart your server when you modify this file.
+
+Rails.application.config.session_store :cookie_store, key: '_timedisp_session'
diff --git a/dylan_eckert/controllersnviews/timedisp/config/initializers/wrap_parameters.rb b/dylan_eckert/controllersnviews/timedisp/config/initializers/wrap_parameters.rb
new file mode 100644
index 0000000..bbfc396
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/config/initializers/wrap_parameters.rb
@@ -0,0 +1,14 @@
+# Be sure to restart your server when you modify this file.
+
+# This file contains settings for ActionController::ParamsWrapper which
+# is enabled by default.
+
+# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
+ActiveSupport.on_load(:action_controller) do
+ wrap_parameters format: [:json]
+end
+
+# To enable root element in JSON for ActiveRecord objects.
+# ActiveSupport.on_load(:active_record) do
+# self.include_root_in_json = true
+# end
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/config/locales/en.yml b/dylan_eckert/controllersnviews/timedisp/config/locales/en.yml
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/config/locales/en.yml
rename to dylan_eckert/controllersnviews/timedisp/config/locales/en.yml
diff --git a/dylan_eckert/controllersnviews/timedisp/config/puma.rb b/dylan_eckert/controllersnviews/timedisp/config/puma.rb
new file mode 100644
index 0000000..c7f311f
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/config/puma.rb
@@ -0,0 +1,47 @@
+# Puma can serve each request in a thread from an internal thread pool.
+# The `threads` method setting takes two numbers a minimum and maximum.
+# Any libraries that use thread pools should be configured to match
+# the maximum value specified for Puma. Default is set to 5 threads for minimum
+# and maximum, this matches the default thread size of Active Record.
+#
+threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i
+threads threads_count, threads_count
+
+# Specifies the `port` that Puma will listen on to receive requests, default is 3000.
+#
+port ENV.fetch("PORT") { 3000 }
+
+# Specifies the `environment` that Puma will run in.
+#
+environment ENV.fetch("RAILS_ENV") { "development" }
+
+# Specifies the number of `workers` to boot in clustered mode.
+# Workers are forked webserver processes. If using threads and workers together
+# the concurrency of the application would be max `threads` * `workers`.
+# Workers do not work on JRuby or Windows (both of which do not support
+# processes).
+#
+# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
+
+# Use the `preload_app!` method when specifying a `workers` number.
+# This directive tells Puma to first boot the application and load code
+# before forking the application. This takes advantage of Copy On Write
+# process behavior so workers use less memory. If you use this option
+# you need to make sure to reconnect any threads in the `on_worker_boot`
+# block.
+#
+# preload_app!
+
+# The code in the `on_worker_boot` will be called if you are using
+# clustered mode by specifying a number of `workers`. After each worker
+# process is booted this block will be run, if you are using `preload_app!`
+# option you will want to use this block to reconnect to any threads
+# or connections that may have been created at application boot, Ruby
+# cannot share connections between processes.
+#
+# on_worker_boot do
+# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
+# end
+
+# Allow puma to be restarted by `rails restart` command.
+plugin :tmp_restart
diff --git a/dylan_eckert/controllersnviews/timedisp/config/routes.rb b/dylan_eckert/controllersnviews/timedisp/config/routes.rb
new file mode 100644
index 0000000..a2bd921
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/config/routes.rb
@@ -0,0 +1,5 @@
+Rails.application.routes.draw do
+ # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
+ root "times#main"
+
+end
diff --git a/dylan_eckert/controllersnviews/timedisp/config/secrets.yml b/dylan_eckert/controllersnviews/timedisp/config/secrets.yml
new file mode 100644
index 0000000..254899a
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/config/secrets.yml
@@ -0,0 +1,22 @@
+# Be sure to restart your server when you modify this file.
+
+# Your secret key is used for verifying the integrity of signed cookies.
+# If you change this key, all old signed cookies will become invalid!
+
+# Make sure the secret is at least 30 characters and all random,
+# no regular words or you'll be exposed to dictionary attacks.
+# You can use `rails secret` to generate a secure secret key.
+
+# Make sure the secrets in this file are kept private
+# if you're sharing your code publicly.
+
+development:
+ secret_key_base: 0be5ad77dedd86425334e249a66518242b2d502322aa29dfc3c9865e6648763de7ee553609ff148f5b7213b817edcce11f51ff8c8fb64fa91137c744a4ede7ad
+
+test:
+ secret_key_base: be252691576099f34fb48deb381a34a62850de758fff3efb53ed580bb027fa430e6b15f7ecb8393ef0f2f0e58def618887526e5bf847a5f7ec526b05dcc082bc
+
+# Do not keep production secrets in the repository,
+# instead read values from the environment.
+production:
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/dylan_eckert/controllersnviews/timedisp/config/spring.rb b/dylan_eckert/controllersnviews/timedisp/config/spring.rb
new file mode 100644
index 0000000..c9119b4
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/config/spring.rb
@@ -0,0 +1,6 @@
+%w(
+ .ruby-version
+ .rbenv-vars
+ tmp/restart.txt
+ tmp/caching-dev.txt
+).each { |path| Spring.watch(path) }
diff --git a/dylan_eckert/controllersnviews/timedisp/db/seeds.rb b/dylan_eckert/controllersnviews/timedisp/db/seeds.rb
new file mode 100644
index 0000000..1beea2a
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/db/seeds.rb
@@ -0,0 +1,7 @@
+# This file should contain all the record creation needed to seed the database with its default values.
+# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
+#
+# Examples:
+#
+# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
+# Character.create(name: 'Luke', movie: movies.first)
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/vendor/assets/javascripts/.keep b/dylan_eckert/controllersnviews/timedisp/lib/assets/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/vendor/assets/javascripts/.keep
rename to dylan_eckert/controllersnviews/timedisp/lib/assets/.keep
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/vendor/assets/stylesheets/.keep b/dylan_eckert/controllersnviews/timedisp/lib/tasks/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/vendor/assets/stylesheets/.keep
rename to dylan_eckert/controllersnviews/timedisp/lib/tasks/.keep
diff --git a/Rodolfo_Valdivieso/controllers/time_display/app/assets/images/.keep b/dylan_eckert/controllersnviews/timedisp/log/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/app/assets/images/.keep
rename to dylan_eckert/controllersnviews/timedisp/log/.keep
diff --git a/dylan_eckert/controllersnviews/timedisp/public/404.html b/dylan_eckert/controllersnviews/timedisp/public/404.html
new file mode 100644
index 0000000..2be3af2
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/public/404.html
@@ -0,0 +1,67 @@
+
+
+
+ The page you were looking for doesn't exist (404)
+
+
+
+
+
+
+
+
+
The page you were looking for doesn't exist.
+
You may have mistyped the address or the page may have moved.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/controllersnviews/timedisp/public/422.html b/dylan_eckert/controllersnviews/timedisp/public/422.html
new file mode 100644
index 0000000..c08eac0
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/public/422.html
@@ -0,0 +1,67 @@
+
+
+
+ The change you wanted was rejected (422)
+
+
+
+
+
+
+
+
+
The change you wanted was rejected.
+
Maybe you tried to change something you didn't have access to.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/controllersnviews/timedisp/public/500.html b/dylan_eckert/controllersnviews/timedisp/public/500.html
new file mode 100644
index 0000000..78a030a
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/public/500.html
@@ -0,0 +1,66 @@
+
+
+
+ We're sorry, but something went wrong (500)
+
+
+
+
+
+
+
+
+
We're sorry, but something went wrong.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/Rodolfo_Valdivieso/controllers/time_display/app/controllers/concerns/.keep b/dylan_eckert/controllersnviews/timedisp/public/apple-touch-icon-precomposed.png
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/app/controllers/concerns/.keep
rename to dylan_eckert/controllersnviews/timedisp/public/apple-touch-icon-precomposed.png
diff --git a/Rodolfo_Valdivieso/controllers/time_display/app/mailers/.keep b/dylan_eckert/controllersnviews/timedisp/public/apple-touch-icon.png
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/app/mailers/.keep
rename to dylan_eckert/controllersnviews/timedisp/public/apple-touch-icon.png
diff --git a/Rodolfo_Valdivieso/controllers/time_display/public/favicon.ico b/dylan_eckert/controllersnviews/timedisp/public/favicon.ico
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/public/favicon.ico
rename to dylan_eckert/controllersnviews/timedisp/public/favicon.ico
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/public/robots.txt b/dylan_eckert/controllersnviews/timedisp/public/robots.txt
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/public/robots.txt
rename to dylan_eckert/controllersnviews/timedisp/public/robots.txt
diff --git a/Rodolfo_Valdivieso/controllers/time_display/app/models/.keep b/dylan_eckert/controllersnviews/timedisp/test/controllers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/app/models/.keep
rename to dylan_eckert/controllersnviews/timedisp/test/controllers/.keep
diff --git a/dylan_eckert/controllersnviews/timedisp/test/controllers/times_controller_test.rb b/dylan_eckert/controllersnviews/timedisp/test/controllers/times_controller_test.rb
new file mode 100644
index 0000000..0975994
--- /dev/null
+++ b/dylan_eckert/controllersnviews/timedisp/test/controllers/times_controller_test.rb
@@ -0,0 +1,7 @@
+require 'test_helper'
+
+class TimesControllerTest < ActionDispatch::IntegrationTest
+ # test "the truth" do
+ # assert true
+ # end
+end
diff --git a/Rodolfo_Valdivieso/controllers/time_display/app/models/concerns/.keep b/dylan_eckert/controllersnviews/timedisp/test/fixtures/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/app/models/concerns/.keep
rename to dylan_eckert/controllersnviews/timedisp/test/fixtures/.keep
diff --git a/Rodolfo_Valdivieso/controllers/time_display/lib/assets/.keep b/dylan_eckert/controllersnviews/timedisp/test/fixtures/files/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/lib/assets/.keep
rename to dylan_eckert/controllersnviews/timedisp/test/fixtures/files/.keep
diff --git a/Rodolfo_Valdivieso/controllers/time_display/lib/tasks/.keep b/dylan_eckert/controllersnviews/timedisp/test/helpers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/lib/tasks/.keep
rename to dylan_eckert/controllersnviews/timedisp/test/helpers/.keep
diff --git a/Rodolfo_Valdivieso/controllers/time_display/log/.keep b/dylan_eckert/controllersnviews/timedisp/test/integration/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/log/.keep
rename to dylan_eckert/controllersnviews/timedisp/test/integration/.keep
diff --git a/Rodolfo_Valdivieso/controllers/time_display/test/controllers/.keep b/dylan_eckert/controllersnviews/timedisp/test/mailers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/test/controllers/.keep
rename to dylan_eckert/controllersnviews/timedisp/test/mailers/.keep
diff --git a/Rodolfo_Valdivieso/controllers/time_display/test/fixtures/.keep b/dylan_eckert/controllersnviews/timedisp/test/models/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/test/fixtures/.keep
rename to dylan_eckert/controllersnviews/timedisp/test/models/.keep
diff --git a/Rodolfo_Valdivieso/controllers/routes/test/test_helper.rb b/dylan_eckert/controllersnviews/timedisp/test/test_helper.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/routes/test/test_helper.rb
rename to dylan_eckert/controllersnviews/timedisp/test/test_helper.rb
diff --git a/Rodolfo_Valdivieso/controllers/time_display/test/helpers/.keep b/dylan_eckert/controllersnviews/timedisp/tmp/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/test/helpers/.keep
rename to dylan_eckert/controllersnviews/timedisp/tmp/.keep
diff --git a/Rodolfo_Valdivieso/controllers/time_display/test/integration/.keep b/dylan_eckert/controllersnviews/timedisp/vendor/assets/javascripts/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/test/integration/.keep
rename to dylan_eckert/controllersnviews/timedisp/vendor/assets/javascripts/.keep
diff --git a/Rodolfo_Valdivieso/controllers/time_display/test/mailers/.keep b/dylan_eckert/controllersnviews/timedisp/vendor/assets/stylesheets/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/test/mailers/.keep
rename to dylan_eckert/controllersnviews/timedisp/vendor/assets/stylesheets/.keep
diff --git a/dylan_eckert/fundamentals/arrays.rb b/dylan_eckert/fundamentals/arrays.rb
new file mode 100644
index 0000000..e3f2629
--- /dev/null
+++ b/dylan_eckert/fundamentals/arrays.rb
@@ -0,0 +1,27 @@
+puts "array .at through .delete"
+array = [1,2,3,4,5,6]
+puts array
+puts array.at(2)
+puts array.fetch(3)
+puts array.delete(4)
+puts array
+
+puts "array2 .reverse through .sort"
+array2 = [3,4,8,1,5,2]
+puts array2
+puts array2.reverse
+puts array2.length
+puts array2.sort
+
+puts "array3 .slice through .insert"
+array3 = [1,2,3,4,5,6]
+puts array3
+puts array3.slice(0..2)
+puts array3.shuffle
+puts array3.insert(6, 20)
+
+puts "array4 .join .values_at"
+array4 = ["super","cali","fraga","listic","expi","ala","dotious"]
+puts array4
+puts array4.join
+puts array4.values_at(1, 3, 5)
diff --git a/dylan_eckert/fundamentals/basic13.rb b/dylan_eckert/fundamentals/basic13.rb
new file mode 100644
index 0000000..3885303
--- /dev/null
+++ b/dylan_eckert/fundamentals/basic13.rb
@@ -0,0 +1,92 @@
+puts "--- print 1-255"
+for i in 1..255
+ puts "#{i}"
+end
+
+puts "--- print ODD 1-255"
+for i in 1..255
+ if i.odd?
+ puts "#{i}"
+ end
+end
+
+puts "--- print 1-255 and sum of all existing nums"
+sum = 0
+for i in 0..255
+ sum += i
+ puts "number is #{i}"
+ puts "sum is #{sum}"
+end
+
+puts "--- iterating through an array"
+x = [1,3,5,7,9,13]
+def iterating arr
+ arr.each{|i| puts i}
+end
+iterating x
+
+puts "--- find max"
+y = [1,2,3,4,5]
+z = [-1,0,9,-45,2]
+zz = [-1,-3,-6,-7,-8]
+def find_max arr
+ arr.max
+end
+
+puts find_max y
+puts find_max z
+puts find_max zz
+
+puts "--- average"
+def get_avg arr
+ arr.inject{ |sum, x| sum += x } / arr.size.to_f
+end
+
+puts get_avg y
+puts get_avg z
+
+puts "--- array ODD 1-255"
+p (1..255).select { |i| i if i.odd? }
+# def odd_arr
+# newarr = []
+# for i in 1..255
+# if i.odd?
+# newarr.push(i)
+# end
+# end
+# return newarr
+# end
+
+puts "--- greater than y"
+gtyarr = [1, 3, 5, 7]
+y = 3
+puts gtyarr.count { |i| i > y }
+
+puts "--- square numbers"
+sqarr = [2,6,8,13]
+puts sqarr.map! { |i| i*i}
+# to create a new array use map
+
+puts "--- eliminate negatives"
+elimarr = [-24, 2, -3, 5]
+puts elimarr.each_index { |i| elimarr[i] = 0 if elimarr[i] < 0 }
+
+puts "--- min max avg"
+mmaarr = [1, 5, 10, -2]
+puts "max"
+puts mmaarr.max
+puts "min"
+puts mmaarr.min
+puts "avg"
+puts mmaarr.inject{ |sum, x| sum += x } / mmaarr.size.to_f
+
+puts "--- shifting values"
+shiftarr = [1, 5, 10, 7, -2]
+shiftarr = [1, 5, 10, 7, -2]
+shiftarr.rotate!(1)[shiftarr.length-1] = 0
+puts shiftarr
+
+puts "--- num to str"
+
+wordarr = [-1, -3, 2]
+puts wordarr.each_index { |i| wordarr[i] = "Dojo" if wordarr[i] < 0 }
diff --git a/dylan_eckert/fundamentals/guessnum.rb b/dylan_eckert/fundamentals/guessnum.rb
new file mode 100644
index 0000000..f65c208
--- /dev/null
+++ b/dylan_eckert/fundamentals/guessnum.rb
@@ -0,0 +1,14 @@
+def guess_number guess
+ number = 25
+ if guess == number
+ puts "You got it!"
+ elsif guess < number
+ puts "#{guess} was too low!"
+ else
+ puts "#{guess} was too high!"
+ end
+end
+
+guess_number 12
+guess_number 50
+guess_number 25
diff --git a/dylan_eckert/fundamentals/hashes.rb b/dylan_eckert/fundamentals/hashes.rb
new file mode 100644
index 0000000..f07c1d8
--- /dev/null
+++ b/dylan_eckert/fundamentals/hashes.rb
@@ -0,0 +1,11 @@
+def new_user greeting= "welcome", fname: "first", lname: "last"
+ puts "#{greeting}, #{fname} #{lname}"
+end
+me = {fname: "Dylan", lname: "Eckert"}
+new_user "Hello", me
+
+me.delete(:fname)
+p me
+p me.empty?
+p me.has_key?(:fname)
+p me.has_value?("Eckert")
diff --git a/dylan_eckert/fundamentals/myenumerable.rb b/dylan_eckert/fundamentals/myenumerable.rb
new file mode 100644
index 0000000..cfe2e8d
--- /dev/null
+++ b/dylan_eckert/fundamentals/myenumerable.rb
@@ -0,0 +1,12 @@
+module MyEnumerable
+ def my_each
+ for i in 0...self.length
+ yield self[i]
+ end
+ end
+end
+class Array
+ include MyEnumerable
+end
+[1,2,3,4].my_each { |i| puts i } # => 1 2 3 4
+[1,2,3,4].my_each { |i| puts i * 10 } # => 10 20 30 40
diff --git a/dylan_eckert/fundamentals/names.rb b/dylan_eckert/fundamentals/names.rb
new file mode 100644
index 0000000..70c33d7
--- /dev/null
+++ b/dylan_eckert/fundamentals/names.rb
@@ -0,0 +1,19 @@
+a = {first_name: "Michael", last_name: "Choi"}
+b = {first_name: "John", last_name: "Doe"}
+c = {first_name: "Jane", last_name: "Doe"}
+d = {first_name: "James", last_name: "Smith"}
+e = {first_name: "Jennifer", last_name: "Smith"}
+names = [a, b, c, d, e]
+
+namec = names.count
+p "You have #{namec} names in the 'names' array"
+
+def names greeting= "Name:", first_name: "first", last_name: "last"
+ puts "#{greeting} '#{first_name} #{last_name}'"
+end
+
+puts names a
+puts names b
+puts names c
+puts names d
+puts names e
diff --git a/dylan_eckert/fundamentals/range.rb b/dylan_eckert/fundamentals/range.rb
new file mode 100644
index 0000000..cde507e
--- /dev/null
+++ b/dylan_eckert/fundamentals/range.rb
@@ -0,0 +1,6 @@
+animals = ["cat", "dog", "bird", "lion"]
+numbers = [1,2,3,4,5]
+puts animals.include?("cat")
+puts animals.last
+puts numbers.max
+puts numbers.min
diff --git a/dylan_eckert/fundamentals/rubypuzzles.rb b/dylan_eckert/fundamentals/rubypuzzles.rb
new file mode 100644
index 0000000..fbe7627
--- /dev/null
+++ b/dylan_eckert/fundamentals/rubypuzzles.rb
@@ -0,0 +1,57 @@
+puts "----- puzzle 1"
+sum = 0
+puts "sum"
+[3,5,1,2,7,9,8,13,25,32].each { |i| sum += i}
+p sum
+puts "greater than 10"
+p [3,5,1,2,7,9,8,13,25,32].select { |i| i if i>10 }
+
+puts "----- puzzle 2"
+puts "suffle"
+p ["John","KB","Oliver","Corey","Matthew","Christopher"].shuffle
+puts "longer than 5"
+p ["John","KB","Oliver","Corey","Matthew","Christopher"].select { |i| i if i.length>5 }
+puts "----- puzzle 3"
+alphabet = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"]
+vowels = ["a","e","i","o","u"]
+puts "suffle show last and first if vowel show message"
+alphabet.shuffle!
+p "last"
+p alphabet.last
+first = alphabet.first
+p "first"
+if vowels.detect { |i| i == first }
+ puts first
+ puts "VOWEL"
+else
+ puts first
+end
+
+puts "----- puzzle 4"
+randarr = []
+10.times{randarr.push(rand(55..100))}
+p randarr
+
+puts "----- puzzle 5"
+randarr2 = []
+10.times{randarr2.push(rand(55..100))}
+p "sorted"
+p randarr2.sort
+p "max"
+p randarr2.max
+p "min"
+p randarr2.min
+
+puts "----- puzzle 6"
+randstr = ""
+5.times{randstr.concat((65+rand(26)).chr)}
+p randstr
+
+puts "----- puzzle 7"
+randarr3 = []
+10.times do
+ randstr2 = ""
+ 5.times{randstr2.concat((65+rand(26)).chr)}
+ randarr3.push(randstr2)
+end
+p randarr3
diff --git a/dylan_eckert/fundamentals/test.rb b/dylan_eckert/fundamentals/test.rb
new file mode 100644
index 0000000..e175990
--- /dev/null
+++ b/dylan_eckert/fundamentals/test.rb
@@ -0,0 +1,59 @@
+puts "--- Testing Fundamentals ---"
+puts "-- Loop testing"
+
+puts "- while loop testing"
+# declare runner and endpoint before running while loop
+runner = 0
+endpoint = 5
+while runner < endpoint do
+ puts "run #{runner}"
+ runner += 1
+ #can break out of the loop early with a break condition
+ # break must be after what you want to puts/print
+ break if runner == 3
+ # run 0 run 1 run 2
+end
+
+puts "- for loop .. testing"
+# .. includes both 0 and 5
+# 0 1 2 3 4 5
+for i in 0..5
+ puts "#{i}"
+ #can break out of the loop early with a break condition
+ # break must be after what you want to puts/print
+ break if i == 3
+ # 0 1 2 3
+end
+
+puts "- for loop ... testing"
+# ... EXCLUDES 5
+# 0 1 2 3 4
+for i in 0...5
+ # can skip an index in the loop using next condition
+ # next must be before what you want to puts/print
+ next if i == 3
+ # 0 1 2 4
+ puts "#{i}"
+end
+
+puts "-- Methods Testing"
+# define the method name with def, end the method with end
+def hello_world
+ puts "hello world"
+end
+# call upon the method by typing the name of the method
+hello_world
+
+puts "- input method testing"
+# declare parameters after naming the method, separated by commas
+def say_hello name1, name2
+ puts "hello, #{name1} and #{name2}"
+end
+say_hello "dylan", "liam" # => "hello, dylan and liam"
+puts "- default params"
+# declare default parameters like this
+def say_hellos name1="dylan", name2="liam"
+ puts "hello, #{name1} and #{name2}"
+end
+say_hellos # => "hello, dylan and liam"
+say_hellos "bob" # => "hello, bob and liam"
diff --git a/dylan_eckert/models/bpm/.gitignore b/dylan_eckert/models/bpm/.gitignore
new file mode 100644
index 0000000..bab620d
--- /dev/null
+++ b/dylan_eckert/models/bpm/.gitignore
@@ -0,0 +1,21 @@
+# See https://help.github.com/articles/ignoring-files for more about ignoring files.
+#
+# If you find yourself ignoring temporary files generated by your text editor
+# or operating system, you probably want to add a global ignore instead:
+# git config --global core.excludesfile '~/.gitignore_global'
+
+# Ignore bundler config.
+/.bundle
+
+# Ignore the default SQLite database.
+/db/*.sqlite3
+/db/*.sqlite3-journal
+
+# Ignore all logfiles and tempfiles.
+/log/*
+/tmp/*
+!/log/.keep
+!/tmp/.keep
+
+# Ignore Byebug command history file.
+.byebug_history
diff --git a/dylan_eckert/models/bpm/Gemfile b/dylan_eckert/models/bpm/Gemfile
new file mode 100644
index 0000000..cef91e9
--- /dev/null
+++ b/dylan_eckert/models/bpm/Gemfile
@@ -0,0 +1,53 @@
+source 'https://rubygems.org'
+
+git_source(:github) do |repo_name|
+ repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
+ "https://github.com/#{repo_name}.git"
+end
+
+gem 'hirb'
+# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
+gem 'rails', '~> 5.0.6'
+# Use sqlite3 as the database for Active Record
+gem 'sqlite3'
+# Use Puma as the app server
+gem 'puma', '~> 3.0'
+# Use SCSS for stylesheets
+gem 'sass-rails', '~> 5.0'
+# Use Uglifier as compressor for JavaScript assets
+gem 'uglifier', '>= 1.3.0'
+# Use CoffeeScript for .coffee assets and views
+gem 'coffee-rails', '~> 4.2'
+# See https://github.com/rails/execjs#readme for more supported runtimes
+# gem 'therubyracer', platforms: :ruby
+
+# Use jquery as the JavaScript library
+gem 'jquery-rails'
+# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
+gem 'turbolinks', '~> 5'
+# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
+gem 'jbuilder', '~> 2.5'
+# Use Redis adapter to run Action Cable in production
+# gem 'redis', '~> 3.0'
+# Use ActiveModel has_secure_password
+# gem 'bcrypt', '~> 3.1.7'
+
+# Use Capistrano for deployment
+# gem 'capistrano-rails', group: :development
+
+group :development, :test do
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
+ gem 'byebug', platform: :mri
+end
+
+group :development do
+ # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
+ gem 'web-console', '>= 3.3.0'
+ gem 'listen', '~> 3.0.5'
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
+ gem 'spring'
+ gem 'spring-watcher-listen', '~> 2.0.0'
+end
+
+# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
+gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
diff --git a/dylan_eckert/models/bpm/Gemfile.lock b/dylan_eckert/models/bpm/Gemfile.lock
new file mode 100644
index 0000000..666314f
--- /dev/null
+++ b/dylan_eckert/models/bpm/Gemfile.lock
@@ -0,0 +1,181 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actioncable (5.0.6)
+ actionpack (= 5.0.6)
+ nio4r (>= 1.2, < 3.0)
+ websocket-driver (~> 0.6.1)
+ actionmailer (5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ mail (~> 2.5, >= 2.5.4)
+ rails-dom-testing (~> 2.0)
+ actionpack (5.0.6)
+ actionview (= 5.0.6)
+ activesupport (= 5.0.6)
+ rack (~> 2.0)
+ rack-test (~> 0.6.3)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
+ actionview (5.0.6)
+ activesupport (= 5.0.6)
+ builder (~> 3.1)
+ erubis (~> 2.7.0)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
+ activejob (5.0.6)
+ activesupport (= 5.0.6)
+ globalid (>= 0.3.6)
+ activemodel (5.0.6)
+ activesupport (= 5.0.6)
+ activerecord (5.0.6)
+ activemodel (= 5.0.6)
+ activesupport (= 5.0.6)
+ arel (~> 7.0)
+ activesupport (5.0.6)
+ concurrent-ruby (~> 1.0, >= 1.0.2)
+ i18n (~> 0.7)
+ minitest (~> 5.1)
+ tzinfo (~> 1.1)
+ arel (7.1.4)
+ bindex (0.5.0)
+ builder (3.2.3)
+ byebug (9.1.0)
+ coffee-rails (4.2.2)
+ coffee-script (>= 2.2.0)
+ railties (>= 4.0.0)
+ coffee-script (2.4.1)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.12.2)
+ concurrent-ruby (1.0.5)
+ crass (1.0.3)
+ erubis (2.7.0)
+ execjs (2.7.0)
+ ffi (1.9.18)
+ globalid (0.4.1)
+ activesupport (>= 4.2.0)
+ hirb (0.7.3)
+ i18n (0.9.1)
+ concurrent-ruby (~> 1.0)
+ jbuilder (2.7.0)
+ activesupport (>= 4.2.0)
+ multi_json (>= 1.2)
+ jquery-rails (4.3.1)
+ rails-dom-testing (>= 1, < 3)
+ railties (>= 4.2.0)
+ thor (>= 0.14, < 2.0)
+ listen (3.0.8)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ loofah (2.1.1)
+ crass (~> 1.0.2)
+ nokogiri (>= 1.5.9)
+ mail (2.7.0)
+ mini_mime (>= 0.1.1)
+ method_source (0.9.0)
+ mini_mime (1.0.0)
+ mini_portile2 (2.3.0)
+ minitest (5.10.3)
+ multi_json (1.12.2)
+ nio4r (2.1.0)
+ nokogiri (1.8.1)
+ mini_portile2 (~> 2.3.0)
+ puma (3.11.0)
+ rack (2.0.3)
+ rack-test (0.6.3)
+ rack (>= 1.0)
+ rails (5.0.6)
+ actioncable (= 5.0.6)
+ actionmailer (= 5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ activemodel (= 5.0.6)
+ activerecord (= 5.0.6)
+ activesupport (= 5.0.6)
+ bundler (>= 1.3.0)
+ railties (= 5.0.6)
+ sprockets-rails (>= 2.0.0)
+ rails-dom-testing (2.0.3)
+ activesupport (>= 4.2.0)
+ nokogiri (>= 1.6)
+ rails-html-sanitizer (1.0.3)
+ loofah (~> 2.0)
+ railties (5.0.6)
+ actionpack (= 5.0.6)
+ activesupport (= 5.0.6)
+ method_source
+ rake (>= 0.8.7)
+ thor (>= 0.18.1, < 2.0)
+ rake (12.3.0)
+ rb-fsevent (0.10.2)
+ rb-inotify (0.9.10)
+ ffi (>= 0.5.0, < 2)
+ sass (3.5.3)
+ sass-listen (~> 4.0.0)
+ sass-listen (4.0.0)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ sass-rails (5.0.7)
+ railties (>= 4.0.0, < 6)
+ sass (~> 3.1)
+ sprockets (>= 2.8, < 4.0)
+ sprockets-rails (>= 2.0, < 4.0)
+ tilt (>= 1.1, < 3)
+ spring (2.0.2)
+ activesupport (>= 4.2)
+ spring-watcher-listen (2.0.1)
+ listen (>= 2.7, < 4.0)
+ spring (>= 1.2, < 3.0)
+ sprockets (3.7.1)
+ concurrent-ruby (~> 1.0)
+ rack (> 1, < 3)
+ sprockets-rails (3.2.1)
+ actionpack (>= 4.0)
+ activesupport (>= 4.0)
+ sprockets (>= 3.0.0)
+ sqlite3 (1.3.13)
+ thor (0.20.0)
+ thread_safe (0.3.6)
+ tilt (2.0.8)
+ turbolinks (5.0.1)
+ turbolinks-source (~> 5)
+ turbolinks-source (5.0.3)
+ tzinfo (1.2.4)
+ thread_safe (~> 0.1)
+ uglifier (3.2.0)
+ execjs (>= 0.3.0, < 3)
+ web-console (3.5.1)
+ actionview (>= 5.0)
+ activemodel (>= 5.0)
+ bindex (>= 0.4.0)
+ railties (>= 5.0)
+ websocket-driver (0.6.5)
+ websocket-extensions (>= 0.1.0)
+ websocket-extensions (0.1.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ byebug
+ coffee-rails (~> 4.2)
+ hirb
+ jbuilder (~> 2.5)
+ jquery-rails
+ listen (~> 3.0.5)
+ puma (~> 3.0)
+ rails (~> 5.0.6)
+ sass-rails (~> 5.0)
+ spring
+ spring-watcher-listen (~> 2.0.0)
+ sqlite3
+ turbolinks (~> 5)
+ tzinfo-data
+ uglifier (>= 1.3.0)
+ web-console (>= 3.3.0)
+
+BUNDLED WITH
+ 1.12.5
diff --git a/dylan_eckert/models/bpm/README.md b/dylan_eckert/models/bpm/README.md
new file mode 100644
index 0000000..7db80e4
--- /dev/null
+++ b/dylan_eckert/models/bpm/README.md
@@ -0,0 +1,24 @@
+# README
+
+This README would normally document whatever steps are necessary to get the
+application up and running.
+
+Things you may want to cover:
+
+* Ruby version
+
+* System dependencies
+
+* Configuration
+
+* Database creation
+
+* Database initialization
+
+* How to run the test suite
+
+* Services (job queues, cache servers, search engines, etc.)
+
+* Deployment instructions
+
+* ...
diff --git a/dylan_eckert/models/bpm/Rakefile b/dylan_eckert/models/bpm/Rakefile
new file mode 100644
index 0000000..e85f913
--- /dev/null
+++ b/dylan_eckert/models/bpm/Rakefile
@@ -0,0 +1,6 @@
+# Add your own tasks in files placed in lib/tasks ending in .rake,
+# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
+
+require_relative 'config/application'
+
+Rails.application.load_tasks
diff --git a/dylan_eckert/models/bpm/app/assets/config/manifest.js b/dylan_eckert/models/bpm/app/assets/config/manifest.js
new file mode 100644
index 0000000..b16e53d
--- /dev/null
+++ b/dylan_eckert/models/bpm/app/assets/config/manifest.js
@@ -0,0 +1,3 @@
+//= link_tree ../images
+//= link_directory ../javascripts .js
+//= link_directory ../stylesheets .css
diff --git a/Rodolfo_Valdivieso/controllers/time_display/test/models/.keep b/dylan_eckert/models/bpm/app/assets/images/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/test/models/.keep
rename to dylan_eckert/models/bpm/app/assets/images/.keep
diff --git a/dylan_eckert/models/bpm/app/assets/javascripts/application.js b/dylan_eckert/models/bpm/app/assets/javascripts/application.js
new file mode 100644
index 0000000..b12018d
--- /dev/null
+++ b/dylan_eckert/models/bpm/app/assets/javascripts/application.js
@@ -0,0 +1,16 @@
+// This is a manifest file that'll be compiled into application.js, which will include all the files
+// listed below.
+//
+// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
+// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
+//
+// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
+// compiled file. JavaScript code in this file should be added after the last require_* statement.
+//
+// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
+// about supported directives.
+//
+//= require jquery
+//= require jquery_ujs
+//= require turbolinks
+//= require_tree .
diff --git a/dylan_eckert/models/bpm/app/assets/javascripts/cable.js b/dylan_eckert/models/bpm/app/assets/javascripts/cable.js
new file mode 100644
index 0000000..71ee1e6
--- /dev/null
+++ b/dylan_eckert/models/bpm/app/assets/javascripts/cable.js
@@ -0,0 +1,13 @@
+// Action Cable provides the framework to deal with WebSockets in Rails.
+// You can generate new channels where WebSocket features live using the rails generate channel command.
+//
+//= require action_cable
+//= require_self
+//= require_tree ./channels
+
+(function() {
+ this.App || (this.App = {});
+
+ App.cable = ActionCable.createConsumer();
+
+}).call(this);
diff --git a/Rodolfo_Valdivieso/controllers/time_display/vendor/assets/javascripts/.keep b/dylan_eckert/models/bpm/app/assets/javascripts/channels/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/vendor/assets/javascripts/.keep
rename to dylan_eckert/models/bpm/app/assets/javascripts/channels/.keep
diff --git a/dylan_eckert/models/bpm/app/assets/stylesheets/application.css b/dylan_eckert/models/bpm/app/assets/stylesheets/application.css
new file mode 100644
index 0000000..0ebd7fe
--- /dev/null
+++ b/dylan_eckert/models/bpm/app/assets/stylesheets/application.css
@@ -0,0 +1,15 @@
+/*
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
+ * listed below.
+ *
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
+ * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
+ *
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
+ * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
+ * files in this directory. Styles in this file should be added after the last require_* statement.
+ * It is generally better to create a new file per style scope.
+ *
+ *= require_tree .
+ *= require_self
+ */
diff --git a/dylan_eckert/models/bpm/app/channels/application_cable/channel.rb b/dylan_eckert/models/bpm/app/channels/application_cable/channel.rb
new file mode 100644
index 0000000..d672697
--- /dev/null
+++ b/dylan_eckert/models/bpm/app/channels/application_cable/channel.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Channel < ActionCable::Channel::Base
+ end
+end
diff --git a/dylan_eckert/models/bpm/app/channels/application_cable/connection.rb b/dylan_eckert/models/bpm/app/channels/application_cable/connection.rb
new file mode 100644
index 0000000..0ff5442
--- /dev/null
+++ b/dylan_eckert/models/bpm/app/channels/application_cable/connection.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Connection < ActionCable::Connection::Base
+ end
+end
diff --git a/dylan_eckert/models/bpm/app/controllers/application_controller.rb b/dylan_eckert/models/bpm/app/controllers/application_controller.rb
new file mode 100644
index 0000000..1c07694
--- /dev/null
+++ b/dylan_eckert/models/bpm/app/controllers/application_controller.rb
@@ -0,0 +1,3 @@
+class ApplicationController < ActionController::Base
+ protect_from_forgery with: :exception
+end
diff --git a/Rodolfo_Valdivieso/controllers/time_display/vendor/assets/stylesheets/.keep b/dylan_eckert/models/bpm/app/controllers/concerns/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/vendor/assets/stylesheets/.keep
rename to dylan_eckert/models/bpm/app/controllers/concerns/.keep
diff --git a/Rodolfo_Valdivieso/controllers/time_display/app/helpers/application_helper.rb b/dylan_eckert/models/bpm/app/helpers/application_helper.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/app/helpers/application_helper.rb
rename to dylan_eckert/models/bpm/app/helpers/application_helper.rb
diff --git a/dylan_eckert/models/bpm/app/jobs/application_job.rb b/dylan_eckert/models/bpm/app/jobs/application_job.rb
new file mode 100644
index 0000000..a009ace
--- /dev/null
+++ b/dylan_eckert/models/bpm/app/jobs/application_job.rb
@@ -0,0 +1,2 @@
+class ApplicationJob < ActiveJob::Base
+end
diff --git a/dylan_eckert/models/bpm/app/mailers/application_mailer.rb b/dylan_eckert/models/bpm/app/mailers/application_mailer.rb
new file mode 100644
index 0000000..286b223
--- /dev/null
+++ b/dylan_eckert/models/bpm/app/mailers/application_mailer.rb
@@ -0,0 +1,4 @@
+class ApplicationMailer < ActionMailer::Base
+ default from: 'from@example.com'
+ layout 'mailer'
+end
diff --git a/dylan_eckert/models/bpm/app/models/application_record.rb b/dylan_eckert/models/bpm/app/models/application_record.rb
new file mode 100644
index 0000000..10a4cba
--- /dev/null
+++ b/dylan_eckert/models/bpm/app/models/application_record.rb
@@ -0,0 +1,3 @@
+class ApplicationRecord < ActiveRecord::Base
+ self.abstract_class = true
+end
diff --git a/dylan_eckert/models/bpm/app/models/blog.rb b/dylan_eckert/models/bpm/app/models/blog.rb
new file mode 100644
index 0000000..2b3751d
--- /dev/null
+++ b/dylan_eckert/models/bpm/app/models/blog.rb
@@ -0,0 +1,5 @@
+class Blog < ApplicationRecord
+ has_many :posts, dependent: :destroy
+
+ validates :name, :description, presence: true
+end
diff --git a/Rodolfo_Valdivieso/models/blogs/app/assets/images/.keep b/dylan_eckert/models/bpm/app/models/concerns/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/app/assets/images/.keep
rename to dylan_eckert/models/bpm/app/models/concerns/.keep
diff --git a/dylan_eckert/models/bpm/app/models/message.rb b/dylan_eckert/models/bpm/app/models/message.rb
new file mode 100644
index 0000000..b45b564
--- /dev/null
+++ b/dylan_eckert/models/bpm/app/models/message.rb
@@ -0,0 +1,6 @@
+class Message < ApplicationRecord
+ belongs_to :post
+
+ validates :author, :message, presence: true
+ validates :message, length:{minimum:15}
+end
diff --git a/dylan_eckert/models/bpm/app/models/post.rb b/dylan_eckert/models/bpm/app/models/post.rb
new file mode 100644
index 0000000..5d339b8
--- /dev/null
+++ b/dylan_eckert/models/bpm/app/models/post.rb
@@ -0,0 +1,7 @@
+class Post < ApplicationRecord
+ belongs_to :blog
+ has_many :messages, dependent: :destroy
+
+ validates :title, :content, presence: true
+ validates :title, length:{minimum: 7}
+end
diff --git a/dylan_eckert/models/bpm/app/views/layouts/application.html.erb b/dylan_eckert/models/bpm/app/views/layouts/application.html.erb
new file mode 100644
index 0000000..421a115
--- /dev/null
+++ b/dylan_eckert/models/bpm/app/views/layouts/application.html.erb
@@ -0,0 +1,14 @@
+
+
+
+ Bpm
+ <%= csrf_meta_tags %>
+
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
+ <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
+
+
+
+ <%= yield %>
+
+
diff --git a/dylan_eckert/models/bpm/app/views/layouts/mailer.html.erb b/dylan_eckert/models/bpm/app/views/layouts/mailer.html.erb
new file mode 100644
index 0000000..cbd34d2
--- /dev/null
+++ b/dylan_eckert/models/bpm/app/views/layouts/mailer.html.erb
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+ <%= yield %>
+
+
diff --git a/dylan_eckert/models/bpm/app/views/layouts/mailer.text.erb b/dylan_eckert/models/bpm/app/views/layouts/mailer.text.erb
new file mode 100644
index 0000000..37f0bdd
--- /dev/null
+++ b/dylan_eckert/models/bpm/app/views/layouts/mailer.text.erb
@@ -0,0 +1 @@
+<%= yield %>
diff --git a/Rodolfo_Valdivieso/controllers/time_display/bin/bundle b/dylan_eckert/models/bpm/bin/bundle
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/bin/bundle
rename to dylan_eckert/models/bpm/bin/bundle
diff --git a/dylan_eckert/models/bpm/bin/rails b/dylan_eckert/models/bpm/bin/rails
new file mode 100755
index 0000000..5badb2f
--- /dev/null
+++ b/dylan_eckert/models/bpm/bin/rails
@@ -0,0 +1,9 @@
+#!/usr/bin/env ruby
+begin
+ load File.expand_path('../spring', __FILE__)
+rescue LoadError => e
+ raise unless e.message.include?('spring')
+end
+APP_PATH = File.expand_path('../config/application', __dir__)
+require_relative '../config/boot'
+require 'rails/commands'
diff --git a/Rodolfo_Valdivieso/controllers/time_display/bin/rake b/dylan_eckert/models/bpm/bin/rake
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/bin/rake
rename to dylan_eckert/models/bpm/bin/rake
diff --git a/dylan_eckert/models/bpm/bin/setup b/dylan_eckert/models/bpm/bin/setup
new file mode 100755
index 0000000..e620b4d
--- /dev/null
+++ b/dylan_eckert/models/bpm/bin/setup
@@ -0,0 +1,34 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a starting point to setup your application.
+ # Add necessary setup steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ # puts "\n== Copying sample files =="
+ # unless File.exist?('config/database.yml')
+ # cp 'config/database.yml.sample', 'config/database.yml'
+ # end
+
+ puts "\n== Preparing database =="
+ system! 'bin/rails db:setup'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/Rodolfo_Valdivieso/controllers/time_display/bin/spring b/dylan_eckert/models/bpm/bin/spring
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/bin/spring
rename to dylan_eckert/models/bpm/bin/spring
diff --git a/dylan_eckert/models/bpm/bin/update b/dylan_eckert/models/bpm/bin/update
new file mode 100755
index 0000000..a8e4462
--- /dev/null
+++ b/dylan_eckert/models/bpm/bin/update
@@ -0,0 +1,29 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a way to update your development environment automatically.
+ # Add necessary update steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ puts "\n== Updating database =="
+ system! 'bin/rails db:migrate'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/dylan_eckert/models/bpm/commands.txt b/dylan_eckert/models/bpm/commands.txt
new file mode 100644
index 0000000..93b7ea2
--- /dev/null
+++ b/dylan_eckert/models/bpm/commands.txt
@@ -0,0 +1,45 @@
+rails g model Blog name:string description:text
+
+rails g model Post title:string content:text blog:references
+
+rails g model Message author:string message:text post:references
+
+class Blog < ActiveRecord::Base
+ has_many :posts
+
+ validates :name, :description, presence: true
+end
+
+class Post < ActiveRecord::Base
+ has_many :messages
+ belongs_to :blog
+
+ validates :content, presence: true
+ validates :title, length: { minimum: 7 }
+end
+
+class Message < ActiveRecord::Base
+ belongs_to :post
+
+ validates :author, :message, presence: true
+end
+
+# create one blog at a time
+Blog.create(name:"blog1",description:"blog 1 desc")
+# create all 5 blogs using a block with one line
+1.upto(5) { |i| Blog.create(name: "Blog #{i}", description: "This is the description for Blog #{i}") }
+
+# one post at a a time
+Post.create(title:"ptitle1", content:"content 1", blog:Blog.find(1))
+
+Message.create(author:"bob", message: "this is a message 1", post:Post.find(1))
+
+
+Blog.first.posts
+
+Blog.last.posts.order('title DESC')
+
+Post.first.update(title: "new title 1")
+
+Blog.all
+Blog.where("id < ?", 5)
diff --git a/dylan_eckert/models/bpm/config.ru b/dylan_eckert/models/bpm/config.ru
new file mode 100644
index 0000000..f7ba0b5
--- /dev/null
+++ b/dylan_eckert/models/bpm/config.ru
@@ -0,0 +1,5 @@
+# This file is used by Rack-based servers to start the application.
+
+require_relative 'config/environment'
+
+run Rails.application
diff --git a/dylan_eckert/models/bpm/config/application.rb b/dylan_eckert/models/bpm/config/application.rb
new file mode 100644
index 0000000..ae0b038
--- /dev/null
+++ b/dylan_eckert/models/bpm/config/application.rb
@@ -0,0 +1,15 @@
+require_relative 'boot'
+
+require 'rails/all'
+
+# Require the gems listed in Gemfile, including any gems
+# you've limited to :test, :development, or :production.
+Bundler.require(*Rails.groups)
+
+module Bpm
+ class Application < Rails::Application
+ # Settings in config/environments/* take precedence over those specified here.
+ # Application configuration should go into files in config/initializers
+ # -- all .rb files in that directory are automatically loaded.
+ end
+end
diff --git a/dylan_eckert/models/bpm/config/boot.rb b/dylan_eckert/models/bpm/config/boot.rb
new file mode 100644
index 0000000..30f5120
--- /dev/null
+++ b/dylan_eckert/models/bpm/config/boot.rb
@@ -0,0 +1,3 @@
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
+
+require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/dylan_eckert/models/bpm/config/cable.yml b/dylan_eckert/models/bpm/config/cable.yml
new file mode 100644
index 0000000..0bbde6f
--- /dev/null
+++ b/dylan_eckert/models/bpm/config/cable.yml
@@ -0,0 +1,9 @@
+development:
+ adapter: async
+
+test:
+ adapter: async
+
+production:
+ adapter: redis
+ url: redis://localhost:6379/1
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/config/database.yml b/dylan_eckert/models/bpm/config/database.yml
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/config/database.yml
rename to dylan_eckert/models/bpm/config/database.yml
diff --git a/dylan_eckert/models/bpm/config/environment.rb b/dylan_eckert/models/bpm/config/environment.rb
new file mode 100644
index 0000000..426333b
--- /dev/null
+++ b/dylan_eckert/models/bpm/config/environment.rb
@@ -0,0 +1,5 @@
+# Load the Rails application.
+require_relative 'application'
+
+# Initialize the Rails application.
+Rails.application.initialize!
diff --git a/dylan_eckert/models/bpm/config/environments/development.rb b/dylan_eckert/models/bpm/config/environments/development.rb
new file mode 100644
index 0000000..6f71970
--- /dev/null
+++ b/dylan_eckert/models/bpm/config/environments/development.rb
@@ -0,0 +1,54 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # In the development environment your application's code is reloaded on
+ # every request. This slows down response time but is perfect for development
+ # since you don't have to restart the web server when you make code changes.
+ config.cache_classes = false
+
+ # Do not eager load code on boot.
+ config.eager_load = false
+
+ # Show full error reports.
+ config.consider_all_requests_local = true
+
+ # Enable/disable caching. By default caching is disabled.
+ if Rails.root.join('tmp/caching-dev.txt').exist?
+ config.action_controller.perform_caching = true
+
+ config.cache_store = :memory_store
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=172800'
+ }
+ else
+ config.action_controller.perform_caching = false
+
+ config.cache_store = :null_store
+ end
+
+ # Don't care if the mailer can't send.
+ config.action_mailer.raise_delivery_errors = false
+
+ config.action_mailer.perform_caching = false
+
+ # Print deprecation notices to the Rails logger.
+ config.active_support.deprecation = :log
+
+ # Raise an error on page load if there are pending migrations.
+ config.active_record.migration_error = :page_load
+
+ # Debug mode disables concatenation and preprocessing of assets.
+ # This option may cause significant delays in view rendering with a large
+ # number of complex assets.
+ config.assets.debug = true
+
+ # Suppress logger output for asset requests.
+ config.assets.quiet = true
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+
+ # Use an evented file watcher to asynchronously detect changes in source code,
+ # routes, locales, etc. This feature depends on the listen gem.
+ config.file_watcher = ActiveSupport::EventedFileUpdateChecker
+end
diff --git a/dylan_eckert/models/bpm/config/environments/production.rb b/dylan_eckert/models/bpm/config/environments/production.rb
new file mode 100644
index 0000000..e327f97
--- /dev/null
+++ b/dylan_eckert/models/bpm/config/environments/production.rb
@@ -0,0 +1,86 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # Code is not reloaded between requests.
+ config.cache_classes = true
+
+ # Eager load code on boot. This eager loads most of Rails and
+ # your application in memory, allowing both threaded web servers
+ # and those relying on copy on write to perform better.
+ # Rake tasks automatically ignore this option for performance.
+ config.eager_load = true
+
+ # Full error reports are disabled and caching is turned on.
+ config.consider_all_requests_local = false
+ config.action_controller.perform_caching = true
+
+ # Disable serving static files from the `/public` folder by default since
+ # Apache or NGINX already handles this.
+ config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
+
+ # Compress JavaScripts and CSS.
+ config.assets.js_compressor = :uglifier
+ # config.assets.css_compressor = :sass
+
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
+ config.assets.compile = false
+
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
+
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
+ # config.action_controller.asset_host = 'http://assets.example.com'
+
+ # Specifies the header that your server uses for sending files.
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
+
+ # Mount Action Cable outside main process or domain
+ # config.action_cable.mount_path = nil
+ # config.action_cable.url = 'wss://example.com/cable'
+ # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
+
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
+ # config.force_ssl = true
+
+ # Use the lowest log level to ensure availability of diagnostic information
+ # when problems arise.
+ config.log_level = :debug
+
+ # Prepend all log lines with the following tags.
+ config.log_tags = [ :request_id ]
+
+ # Use a different cache store in production.
+ # config.cache_store = :mem_cache_store
+
+ # Use a real queuing backend for Active Job (and separate queues per environment)
+ # config.active_job.queue_adapter = :resque
+ # config.active_job.queue_name_prefix = "bpm_#{Rails.env}"
+ config.action_mailer.perform_caching = false
+
+ # Ignore bad email addresses and do not raise email delivery errors.
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
+ # config.action_mailer.raise_delivery_errors = false
+
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
+ # the I18n.default_locale when a translation cannot be found).
+ config.i18n.fallbacks = true
+
+ # Send deprecation notices to registered listeners.
+ config.active_support.deprecation = :notify
+
+ # Use default logging formatter so that PID and timestamp are not suppressed.
+ config.log_formatter = ::Logger::Formatter.new
+
+ # Use a different logger for distributed setups.
+ # require 'syslog/logger'
+ # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
+
+ if ENV["RAILS_LOG_TO_STDOUT"].present?
+ logger = ActiveSupport::Logger.new(STDOUT)
+ logger.formatter = config.log_formatter
+ config.logger = ActiveSupport::TaggedLogging.new(logger)
+ end
+
+ # Do not dump schema after migrations.
+ config.active_record.dump_schema_after_migration = false
+end
diff --git a/dylan_eckert/models/bpm/config/environments/test.rb b/dylan_eckert/models/bpm/config/environments/test.rb
new file mode 100644
index 0000000..30587ef
--- /dev/null
+++ b/dylan_eckert/models/bpm/config/environments/test.rb
@@ -0,0 +1,42 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # The test environment is used exclusively to run your application's
+ # test suite. You never need to work with it otherwise. Remember that
+ # your test database is "scratch space" for the test suite and is wiped
+ # and recreated between test runs. Don't rely on the data there!
+ config.cache_classes = true
+
+ # Do not eager load code on boot. This avoids loading your whole application
+ # just for the purpose of running a single test. If you are using a tool that
+ # preloads Rails for running tests, you may have to set it to true.
+ config.eager_load = false
+
+ # Configure public file server for tests with Cache-Control for performance.
+ config.public_file_server.enabled = true
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=3600'
+ }
+
+ # Show full error reports and disable caching.
+ config.consider_all_requests_local = true
+ config.action_controller.perform_caching = false
+
+ # Raise exceptions instead of rendering exception templates.
+ config.action_dispatch.show_exceptions = false
+
+ # Disable request forgery protection in test environment.
+ config.action_controller.allow_forgery_protection = false
+ config.action_mailer.perform_caching = false
+
+ # Tell Action Mailer not to deliver emails to the real world.
+ # The :test delivery method accumulates sent emails in the
+ # ActionMailer::Base.deliveries array.
+ config.action_mailer.delivery_method = :test
+
+ # Print deprecation notices to the stderr.
+ config.active_support.deprecation = :stderr
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+end
diff --git a/dylan_eckert/models/bpm/config/initializers/application_controller_renderer.rb b/dylan_eckert/models/bpm/config/initializers/application_controller_renderer.rb
new file mode 100644
index 0000000..89d2efa
--- /dev/null
+++ b/dylan_eckert/models/bpm/config/initializers/application_controller_renderer.rb
@@ -0,0 +1,8 @@
+# Be sure to restart your server when you modify this file.
+
+# ActiveSupport::Reloader.to_prepare do
+# ApplicationController.renderer.defaults.merge!(
+# http_host: 'example.org',
+# https: false
+# )
+# end
diff --git a/Rodolfo_Valdivieso/models/blogs/config/initializers/assets.rb b/dylan_eckert/models/bpm/config/initializers/assets.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/config/initializers/assets.rb
rename to dylan_eckert/models/bpm/config/initializers/assets.rb
diff --git a/Rodolfo_Valdivieso/controllers/time_display/config/initializers/backtrace_silencers.rb b/dylan_eckert/models/bpm/config/initializers/backtrace_silencers.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/config/initializers/backtrace_silencers.rb
rename to dylan_eckert/models/bpm/config/initializers/backtrace_silencers.rb
diff --git a/dylan_eckert/models/bpm/config/initializers/cookies_serializer.rb b/dylan_eckert/models/bpm/config/initializers/cookies_serializer.rb
new file mode 100644
index 0000000..5a6a32d
--- /dev/null
+++ b/dylan_eckert/models/bpm/config/initializers/cookies_serializer.rb
@@ -0,0 +1,5 @@
+# Be sure to restart your server when you modify this file.
+
+# Specify a serializer for the signed and encrypted cookie jars.
+# Valid options are :json, :marshal, and :hybrid.
+Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Rodolfo_Valdivieso/controllers/time_display/config/initializers/filter_parameter_logging.rb b/dylan_eckert/models/bpm/config/initializers/filter_parameter_logging.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/config/initializers/filter_parameter_logging.rb
rename to dylan_eckert/models/bpm/config/initializers/filter_parameter_logging.rb
diff --git a/Rodolfo_Valdivieso/controllers/time_display/config/initializers/inflections.rb b/dylan_eckert/models/bpm/config/initializers/inflections.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/config/initializers/inflections.rb
rename to dylan_eckert/models/bpm/config/initializers/inflections.rb
diff --git a/Rodolfo_Valdivieso/controllers/time_display/config/initializers/mime_types.rb b/dylan_eckert/models/bpm/config/initializers/mime_types.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/config/initializers/mime_types.rb
rename to dylan_eckert/models/bpm/config/initializers/mime_types.rb
diff --git a/dylan_eckert/models/bpm/config/initializers/new_framework_defaults.rb b/dylan_eckert/models/bpm/config/initializers/new_framework_defaults.rb
new file mode 100644
index 0000000..dd236b5
--- /dev/null
+++ b/dylan_eckert/models/bpm/config/initializers/new_framework_defaults.rb
@@ -0,0 +1,26 @@
+# Be sure to restart your server when you modify this file.
+#
+# This file contains migration options to ease your Rails 5.0 upgrade.
+#
+# Read the Guide for Upgrading Ruby on Rails for more info on each option.
+
+Rails.application.config.action_controller.raise_on_unfiltered_parameters = true
+
+# Enable per-form CSRF tokens. Previous versions had false.
+Rails.application.config.action_controller.per_form_csrf_tokens = true
+
+# Enable origin-checking CSRF mitigation. Previous versions had false.
+Rails.application.config.action_controller.forgery_protection_origin_check = true
+
+# Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`.
+# Previous versions had false.
+ActiveSupport.to_time_preserves_timezone = true
+
+# Require `belongs_to` associations by default. Previous versions had false.
+Rails.application.config.active_record.belongs_to_required_by_default = true
+
+# Do not halt callback chains when a callback returns false. Previous versions had true.
+ActiveSupport.halt_callback_chains_on_return_false = false
+
+# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
+Rails.application.config.ssl_options = { hsts: { subdomains: true } }
diff --git a/brittney_jackson/rails/bpm/config/initializers/session_store.rb b/dylan_eckert/models/bpm/config/initializers/session_store.rb
similarity index 100%
rename from brittney_jackson/rails/bpm/config/initializers/session_store.rb
rename to dylan_eckert/models/bpm/config/initializers/session_store.rb
diff --git a/dylan_eckert/models/bpm/config/initializers/wrap_parameters.rb b/dylan_eckert/models/bpm/config/initializers/wrap_parameters.rb
new file mode 100644
index 0000000..bbfc396
--- /dev/null
+++ b/dylan_eckert/models/bpm/config/initializers/wrap_parameters.rb
@@ -0,0 +1,14 @@
+# Be sure to restart your server when you modify this file.
+
+# This file contains settings for ActionController::ParamsWrapper which
+# is enabled by default.
+
+# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
+ActiveSupport.on_load(:action_controller) do
+ wrap_parameters format: [:json]
+end
+
+# To enable root element in JSON for ActiveRecord objects.
+# ActiveSupport.on_load(:active_record) do
+# self.include_root_in_json = true
+# end
diff --git a/Rodolfo_Valdivieso/controllers/time_display/config/locales/en.yml b/dylan_eckert/models/bpm/config/locales/en.yml
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/config/locales/en.yml
rename to dylan_eckert/models/bpm/config/locales/en.yml
diff --git a/dylan_eckert/models/bpm/config/puma.rb b/dylan_eckert/models/bpm/config/puma.rb
new file mode 100644
index 0000000..c7f311f
--- /dev/null
+++ b/dylan_eckert/models/bpm/config/puma.rb
@@ -0,0 +1,47 @@
+# Puma can serve each request in a thread from an internal thread pool.
+# The `threads` method setting takes two numbers a minimum and maximum.
+# Any libraries that use thread pools should be configured to match
+# the maximum value specified for Puma. Default is set to 5 threads for minimum
+# and maximum, this matches the default thread size of Active Record.
+#
+threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i
+threads threads_count, threads_count
+
+# Specifies the `port` that Puma will listen on to receive requests, default is 3000.
+#
+port ENV.fetch("PORT") { 3000 }
+
+# Specifies the `environment` that Puma will run in.
+#
+environment ENV.fetch("RAILS_ENV") { "development" }
+
+# Specifies the number of `workers` to boot in clustered mode.
+# Workers are forked webserver processes. If using threads and workers together
+# the concurrency of the application would be max `threads` * `workers`.
+# Workers do not work on JRuby or Windows (both of which do not support
+# processes).
+#
+# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
+
+# Use the `preload_app!` method when specifying a `workers` number.
+# This directive tells Puma to first boot the application and load code
+# before forking the application. This takes advantage of Copy On Write
+# process behavior so workers use less memory. If you use this option
+# you need to make sure to reconnect any threads in the `on_worker_boot`
+# block.
+#
+# preload_app!
+
+# The code in the `on_worker_boot` will be called if you are using
+# clustered mode by specifying a number of `workers`. After each worker
+# process is booted this block will be run, if you are using `preload_app!`
+# option you will want to use this block to reconnect to any threads
+# or connections that may have been created at application boot, Ruby
+# cannot share connections between processes.
+#
+# on_worker_boot do
+# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
+# end
+
+# Allow puma to be restarted by `rails restart` command.
+plugin :tmp_restart
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/config/routes.rb b/dylan_eckert/models/bpm/config/routes.rb
similarity index 100%
rename from Tamisha_Damas/Rails/Models /Friends(self_join)/config/routes.rb
rename to dylan_eckert/models/bpm/config/routes.rb
diff --git a/dylan_eckert/models/bpm/config/secrets.yml b/dylan_eckert/models/bpm/config/secrets.yml
new file mode 100644
index 0000000..ae8320a
--- /dev/null
+++ b/dylan_eckert/models/bpm/config/secrets.yml
@@ -0,0 +1,22 @@
+# Be sure to restart your server when you modify this file.
+
+# Your secret key is used for verifying the integrity of signed cookies.
+# If you change this key, all old signed cookies will become invalid!
+
+# Make sure the secret is at least 30 characters and all random,
+# no regular words or you'll be exposed to dictionary attacks.
+# You can use `rails secret` to generate a secure secret key.
+
+# Make sure the secrets in this file are kept private
+# if you're sharing your code publicly.
+
+development:
+ secret_key_base: 87997cbb260216d6fc56449c64d253ea42daeb384a23de0d0fce8e356b46e1e4286a69ce13f079f403f6e546c8afa368b4652ae48d61d4719fd7ed7e58495732
+
+test:
+ secret_key_base: 43bac4dc9097e8bc32ed4c5cbc26e75c92c3c25982ada528c20b1898b7dad4653191ca41fff30c9f63b2f784b40bc9f5af3d14b1ad4ebe35a2dfe096d601d604
+
+# Do not keep production secrets in the repository,
+# instead read values from the environment.
+production:
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/dylan_eckert/models/bpm/config/spring.rb b/dylan_eckert/models/bpm/config/spring.rb
new file mode 100644
index 0000000..c9119b4
--- /dev/null
+++ b/dylan_eckert/models/bpm/config/spring.rb
@@ -0,0 +1,6 @@
+%w(
+ .ruby-version
+ .rbenv-vars
+ tmp/restart.txt
+ tmp/caching-dev.txt
+).each { |path| Spring.watch(path) }
diff --git a/dylan_eckert/models/bpm/db/migrate/20171130173044_create_blogs.rb b/dylan_eckert/models/bpm/db/migrate/20171130173044_create_blogs.rb
new file mode 100644
index 0000000..8c4166f
--- /dev/null
+++ b/dylan_eckert/models/bpm/db/migrate/20171130173044_create_blogs.rb
@@ -0,0 +1,10 @@
+class CreateBlogs < ActiveRecord::Migration[5.0]
+ def change
+ create_table :blogs do |t|
+ t.string :name
+ t.text :description
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/models/bpm/db/migrate/20171130173057_create_posts.rb b/dylan_eckert/models/bpm/db/migrate/20171130173057_create_posts.rb
new file mode 100644
index 0000000..8268f5a
--- /dev/null
+++ b/dylan_eckert/models/bpm/db/migrate/20171130173057_create_posts.rb
@@ -0,0 +1,11 @@
+class CreatePosts < ActiveRecord::Migration[5.0]
+ def change
+ create_table :posts do |t|
+ t.string :title
+ t.text :content
+ t.references :blog, foreign_key: true
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/models/bpm/db/migrate/20171130173105_create_messages.rb b/dylan_eckert/models/bpm/db/migrate/20171130173105_create_messages.rb
new file mode 100644
index 0000000..433835f
--- /dev/null
+++ b/dylan_eckert/models/bpm/db/migrate/20171130173105_create_messages.rb
@@ -0,0 +1,11 @@
+class CreateMessages < ActiveRecord::Migration[5.0]
+ def change
+ create_table :messages do |t|
+ t.string :author
+ t.text :message
+ t.references :post, foreign_key: true
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/models/bpm/db/schema.rb b/dylan_eckert/models/bpm/db/schema.rb
new file mode 100644
index 0000000..0b7d86c
--- /dev/null
+++ b/dylan_eckert/models/bpm/db/schema.rb
@@ -0,0 +1,40 @@
+# This file is auto-generated from the current state of the database. Instead
+# of editing this file, please use the migrations feature of Active Record to
+# incrementally modify your database, and then regenerate this schema definition.
+#
+# Note that this schema.rb definition is the authoritative source for your
+# database schema. If you need to create the application database on another
+# system, you should be using db:schema:load, not running all the migrations
+# from scratch. The latter is a flawed and unsustainable approach (the more migrations
+# you'll amass, the slower it'll run and the greater likelihood for issues).
+#
+# It's strongly recommended that you check this file into your version control system.
+
+ActiveRecord::Schema.define(version: 20171130173105) do
+
+ create_table "blogs", force: :cascade do |t|
+ t.string "name"
+ t.text "description"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ end
+
+ create_table "messages", force: :cascade do |t|
+ t.string "author"
+ t.text "message"
+ t.integer "post_id"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.index ["post_id"], name: "index_messages_on_post_id"
+ end
+
+ create_table "posts", force: :cascade do |t|
+ t.string "title"
+ t.text "content"
+ t.integer "blog_id"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.index ["blog_id"], name: "index_posts_on_blog_id"
+ end
+
+end
diff --git a/dylan_eckert/models/bpm/db/seeds.rb b/dylan_eckert/models/bpm/db/seeds.rb
new file mode 100644
index 0000000..1beea2a
--- /dev/null
+++ b/dylan_eckert/models/bpm/db/seeds.rb
@@ -0,0 +1,7 @@
+# This file should contain all the record creation needed to seed the database with its default values.
+# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
+#
+# Examples:
+#
+# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
+# Character.create(name: 'Luke', movie: movies.first)
diff --git a/Rodolfo_Valdivieso/models/blogs/app/controllers/concerns/.keep b/dylan_eckert/models/bpm/lib/assets/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/app/controllers/concerns/.keep
rename to dylan_eckert/models/bpm/lib/assets/.keep
diff --git a/Rodolfo_Valdivieso/models/blogs/app/mailers/.keep b/dylan_eckert/models/bpm/lib/tasks/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/app/mailers/.keep
rename to dylan_eckert/models/bpm/lib/tasks/.keep
diff --git a/Rodolfo_Valdivieso/models/blogs/app/models/.keep b/dylan_eckert/models/bpm/log/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/app/models/.keep
rename to dylan_eckert/models/bpm/log/.keep
diff --git a/dylan_eckert/models/bpm/public/404.html b/dylan_eckert/models/bpm/public/404.html
new file mode 100644
index 0000000..2be3af2
--- /dev/null
+++ b/dylan_eckert/models/bpm/public/404.html
@@ -0,0 +1,67 @@
+
+
+
+ The page you were looking for doesn't exist (404)
+
+
+
+
+
+
+
+
+
The page you were looking for doesn't exist.
+
You may have mistyped the address or the page may have moved.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/models/bpm/public/422.html b/dylan_eckert/models/bpm/public/422.html
new file mode 100644
index 0000000..c08eac0
--- /dev/null
+++ b/dylan_eckert/models/bpm/public/422.html
@@ -0,0 +1,67 @@
+
+
+
+ The change you wanted was rejected (422)
+
+
+
+
+
+
+
+
+
The change you wanted was rejected.
+
Maybe you tried to change something you didn't have access to.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/models/bpm/public/500.html b/dylan_eckert/models/bpm/public/500.html
new file mode 100644
index 0000000..78a030a
--- /dev/null
+++ b/dylan_eckert/models/bpm/public/500.html
@@ -0,0 +1,66 @@
+
+
+
+ We're sorry, but something went wrong (500)
+
+
+
+
+
+
+
+
+
We're sorry, but something went wrong.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/Rodolfo_Valdivieso/models/blogs/app/models/concerns/.keep b/dylan_eckert/models/bpm/public/apple-touch-icon-precomposed.png
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/app/models/concerns/.keep
rename to dylan_eckert/models/bpm/public/apple-touch-icon-precomposed.png
diff --git a/Rodolfo_Valdivieso/models/blogs/lib/assets/.keep b/dylan_eckert/models/bpm/public/apple-touch-icon.png
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/lib/assets/.keep
rename to dylan_eckert/models/bpm/public/apple-touch-icon.png
diff --git a/Rodolfo_Valdivieso/models/blogs/public/favicon.ico b/dylan_eckert/models/bpm/public/favicon.ico
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/public/favicon.ico
rename to dylan_eckert/models/bpm/public/favicon.ico
diff --git a/Rodolfo_Valdivieso/controllers/time_display/public/robots.txt b/dylan_eckert/models/bpm/public/robots.txt
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/public/robots.txt
rename to dylan_eckert/models/bpm/public/robots.txt
diff --git a/Rodolfo_Valdivieso/models/blogs/lib/tasks/.keep b/dylan_eckert/models/bpm/test/controllers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/lib/tasks/.keep
rename to dylan_eckert/models/bpm/test/controllers/.keep
diff --git a/Rodolfo_Valdivieso/models/blogs/log/.keep b/dylan_eckert/models/bpm/test/fixtures/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/log/.keep
rename to dylan_eckert/models/bpm/test/fixtures/.keep
diff --git a/Rodolfo_Valdivieso/models/blogs/test/fixtures/blogs.yml b/dylan_eckert/models/bpm/test/fixtures/blogs.yml
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/test/fixtures/blogs.yml
rename to dylan_eckert/models/bpm/test/fixtures/blogs.yml
diff --git a/Rodolfo_Valdivieso/models/blogs/test/controllers/.keep b/dylan_eckert/models/bpm/test/fixtures/files/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/test/controllers/.keep
rename to dylan_eckert/models/bpm/test/fixtures/files/.keep
diff --git a/dylan_eckert/models/bpm/test/fixtures/messages.yml b/dylan_eckert/models/bpm/test/fixtures/messages.yml
new file mode 100644
index 0000000..797ba19
--- /dev/null
+++ b/dylan_eckert/models/bpm/test/fixtures/messages.yml
@@ -0,0 +1,11 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+one:
+ author: MyString
+ message: MyText
+ post: one
+
+two:
+ author: MyString
+ message: MyText
+ post: two
diff --git a/dylan_eckert/models/bpm/test/fixtures/posts.yml b/dylan_eckert/models/bpm/test/fixtures/posts.yml
new file mode 100644
index 0000000..1fbe384
--- /dev/null
+++ b/dylan_eckert/models/bpm/test/fixtures/posts.yml
@@ -0,0 +1,11 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+one:
+ title: MyString
+ content: MyText
+ blog: one
+
+two:
+ title: MyString
+ content: MyText
+ blog: two
diff --git a/Rodolfo_Valdivieso/models/blogs/test/fixtures/.keep b/dylan_eckert/models/bpm/test/helpers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/test/fixtures/.keep
rename to dylan_eckert/models/bpm/test/helpers/.keep
diff --git a/Rodolfo_Valdivieso/models/blogs/test/helpers/.keep b/dylan_eckert/models/bpm/test/integration/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/test/helpers/.keep
rename to dylan_eckert/models/bpm/test/integration/.keep
diff --git a/Rodolfo_Valdivieso/models/blogs/test/integration/.keep b/dylan_eckert/models/bpm/test/mailers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/test/integration/.keep
rename to dylan_eckert/models/bpm/test/mailers/.keep
diff --git a/Rodolfo_Valdivieso/models/blogs/test/mailers/.keep b/dylan_eckert/models/bpm/test/models/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/test/mailers/.keep
rename to dylan_eckert/models/bpm/test/models/.keep
diff --git a/Rodolfo_Valdivieso/models/blogs/test/models/blog_test.rb b/dylan_eckert/models/bpm/test/models/blog_test.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/test/models/blog_test.rb
rename to dylan_eckert/models/bpm/test/models/blog_test.rb
diff --git a/Rodolfo_Valdivieso/models/blogs/test/models/message_test.rb b/dylan_eckert/models/bpm/test/models/message_test.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/test/models/message_test.rb
rename to dylan_eckert/models/bpm/test/models/message_test.rb
diff --git a/Rodolfo_Valdivieso/models/blogs2/test/models/post_test.rb b/dylan_eckert/models/bpm/test/models/post_test.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/test/models/post_test.rb
rename to dylan_eckert/models/bpm/test/models/post_test.rb
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/test/test_helper.rb b/dylan_eckert/models/bpm/test/test_helper.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/test/test_helper.rb
rename to dylan_eckert/models/bpm/test/test_helper.rb
diff --git a/Rodolfo_Valdivieso/models/blogs/test/models/.keep b/dylan_eckert/models/bpm/tmp/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/test/models/.keep
rename to dylan_eckert/models/bpm/tmp/.keep
diff --git a/Rodolfo_Valdivieso/models/blogs/vendor/assets/javascripts/.keep b/dylan_eckert/models/bpm/vendor/assets/javascripts/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/vendor/assets/javascripts/.keep
rename to dylan_eckert/models/bpm/vendor/assets/javascripts/.keep
diff --git a/Rodolfo_Valdivieso/models/blogs/vendor/assets/stylesheets/.keep b/dylan_eckert/models/bpm/vendor/assets/stylesheets/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/vendor/assets/stylesheets/.keep
rename to dylan_eckert/models/bpm/vendor/assets/stylesheets/.keep
diff --git a/dylan_eckert/models/bpm2/.gitignore b/dylan_eckert/models/bpm2/.gitignore
new file mode 100644
index 0000000..bab620d
--- /dev/null
+++ b/dylan_eckert/models/bpm2/.gitignore
@@ -0,0 +1,21 @@
+# See https://help.github.com/articles/ignoring-files for more about ignoring files.
+#
+# If you find yourself ignoring temporary files generated by your text editor
+# or operating system, you probably want to add a global ignore instead:
+# git config --global core.excludesfile '~/.gitignore_global'
+
+# Ignore bundler config.
+/.bundle
+
+# Ignore the default SQLite database.
+/db/*.sqlite3
+/db/*.sqlite3-journal
+
+# Ignore all logfiles and tempfiles.
+/log/*
+/tmp/*
+!/log/.keep
+!/tmp/.keep
+
+# Ignore Byebug command history file.
+.byebug_history
diff --git a/dylan_eckert/models/bpm2/Gemfile b/dylan_eckert/models/bpm2/Gemfile
new file mode 100644
index 0000000..cef91e9
--- /dev/null
+++ b/dylan_eckert/models/bpm2/Gemfile
@@ -0,0 +1,53 @@
+source 'https://rubygems.org'
+
+git_source(:github) do |repo_name|
+ repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
+ "https://github.com/#{repo_name}.git"
+end
+
+gem 'hirb'
+# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
+gem 'rails', '~> 5.0.6'
+# Use sqlite3 as the database for Active Record
+gem 'sqlite3'
+# Use Puma as the app server
+gem 'puma', '~> 3.0'
+# Use SCSS for stylesheets
+gem 'sass-rails', '~> 5.0'
+# Use Uglifier as compressor for JavaScript assets
+gem 'uglifier', '>= 1.3.0'
+# Use CoffeeScript for .coffee assets and views
+gem 'coffee-rails', '~> 4.2'
+# See https://github.com/rails/execjs#readme for more supported runtimes
+# gem 'therubyracer', platforms: :ruby
+
+# Use jquery as the JavaScript library
+gem 'jquery-rails'
+# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
+gem 'turbolinks', '~> 5'
+# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
+gem 'jbuilder', '~> 2.5'
+# Use Redis adapter to run Action Cable in production
+# gem 'redis', '~> 3.0'
+# Use ActiveModel has_secure_password
+# gem 'bcrypt', '~> 3.1.7'
+
+# Use Capistrano for deployment
+# gem 'capistrano-rails', group: :development
+
+group :development, :test do
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
+ gem 'byebug', platform: :mri
+end
+
+group :development do
+ # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
+ gem 'web-console', '>= 3.3.0'
+ gem 'listen', '~> 3.0.5'
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
+ gem 'spring'
+ gem 'spring-watcher-listen', '~> 2.0.0'
+end
+
+# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
+gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
diff --git a/dylan_eckert/models/bpm2/Gemfile.lock b/dylan_eckert/models/bpm2/Gemfile.lock
new file mode 100644
index 0000000..666314f
--- /dev/null
+++ b/dylan_eckert/models/bpm2/Gemfile.lock
@@ -0,0 +1,181 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actioncable (5.0.6)
+ actionpack (= 5.0.6)
+ nio4r (>= 1.2, < 3.0)
+ websocket-driver (~> 0.6.1)
+ actionmailer (5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ mail (~> 2.5, >= 2.5.4)
+ rails-dom-testing (~> 2.0)
+ actionpack (5.0.6)
+ actionview (= 5.0.6)
+ activesupport (= 5.0.6)
+ rack (~> 2.0)
+ rack-test (~> 0.6.3)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
+ actionview (5.0.6)
+ activesupport (= 5.0.6)
+ builder (~> 3.1)
+ erubis (~> 2.7.0)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
+ activejob (5.0.6)
+ activesupport (= 5.0.6)
+ globalid (>= 0.3.6)
+ activemodel (5.0.6)
+ activesupport (= 5.0.6)
+ activerecord (5.0.6)
+ activemodel (= 5.0.6)
+ activesupport (= 5.0.6)
+ arel (~> 7.0)
+ activesupport (5.0.6)
+ concurrent-ruby (~> 1.0, >= 1.0.2)
+ i18n (~> 0.7)
+ minitest (~> 5.1)
+ tzinfo (~> 1.1)
+ arel (7.1.4)
+ bindex (0.5.0)
+ builder (3.2.3)
+ byebug (9.1.0)
+ coffee-rails (4.2.2)
+ coffee-script (>= 2.2.0)
+ railties (>= 4.0.0)
+ coffee-script (2.4.1)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.12.2)
+ concurrent-ruby (1.0.5)
+ crass (1.0.3)
+ erubis (2.7.0)
+ execjs (2.7.0)
+ ffi (1.9.18)
+ globalid (0.4.1)
+ activesupport (>= 4.2.0)
+ hirb (0.7.3)
+ i18n (0.9.1)
+ concurrent-ruby (~> 1.0)
+ jbuilder (2.7.0)
+ activesupport (>= 4.2.0)
+ multi_json (>= 1.2)
+ jquery-rails (4.3.1)
+ rails-dom-testing (>= 1, < 3)
+ railties (>= 4.2.0)
+ thor (>= 0.14, < 2.0)
+ listen (3.0.8)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ loofah (2.1.1)
+ crass (~> 1.0.2)
+ nokogiri (>= 1.5.9)
+ mail (2.7.0)
+ mini_mime (>= 0.1.1)
+ method_source (0.9.0)
+ mini_mime (1.0.0)
+ mini_portile2 (2.3.0)
+ minitest (5.10.3)
+ multi_json (1.12.2)
+ nio4r (2.1.0)
+ nokogiri (1.8.1)
+ mini_portile2 (~> 2.3.0)
+ puma (3.11.0)
+ rack (2.0.3)
+ rack-test (0.6.3)
+ rack (>= 1.0)
+ rails (5.0.6)
+ actioncable (= 5.0.6)
+ actionmailer (= 5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ activemodel (= 5.0.6)
+ activerecord (= 5.0.6)
+ activesupport (= 5.0.6)
+ bundler (>= 1.3.0)
+ railties (= 5.0.6)
+ sprockets-rails (>= 2.0.0)
+ rails-dom-testing (2.0.3)
+ activesupport (>= 4.2.0)
+ nokogiri (>= 1.6)
+ rails-html-sanitizer (1.0.3)
+ loofah (~> 2.0)
+ railties (5.0.6)
+ actionpack (= 5.0.6)
+ activesupport (= 5.0.6)
+ method_source
+ rake (>= 0.8.7)
+ thor (>= 0.18.1, < 2.0)
+ rake (12.3.0)
+ rb-fsevent (0.10.2)
+ rb-inotify (0.9.10)
+ ffi (>= 0.5.0, < 2)
+ sass (3.5.3)
+ sass-listen (~> 4.0.0)
+ sass-listen (4.0.0)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ sass-rails (5.0.7)
+ railties (>= 4.0.0, < 6)
+ sass (~> 3.1)
+ sprockets (>= 2.8, < 4.0)
+ sprockets-rails (>= 2.0, < 4.0)
+ tilt (>= 1.1, < 3)
+ spring (2.0.2)
+ activesupport (>= 4.2)
+ spring-watcher-listen (2.0.1)
+ listen (>= 2.7, < 4.0)
+ spring (>= 1.2, < 3.0)
+ sprockets (3.7.1)
+ concurrent-ruby (~> 1.0)
+ rack (> 1, < 3)
+ sprockets-rails (3.2.1)
+ actionpack (>= 4.0)
+ activesupport (>= 4.0)
+ sprockets (>= 3.0.0)
+ sqlite3 (1.3.13)
+ thor (0.20.0)
+ thread_safe (0.3.6)
+ tilt (2.0.8)
+ turbolinks (5.0.1)
+ turbolinks-source (~> 5)
+ turbolinks-source (5.0.3)
+ tzinfo (1.2.4)
+ thread_safe (~> 0.1)
+ uglifier (3.2.0)
+ execjs (>= 0.3.0, < 3)
+ web-console (3.5.1)
+ actionview (>= 5.0)
+ activemodel (>= 5.0)
+ bindex (>= 0.4.0)
+ railties (>= 5.0)
+ websocket-driver (0.6.5)
+ websocket-extensions (>= 0.1.0)
+ websocket-extensions (0.1.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ byebug
+ coffee-rails (~> 4.2)
+ hirb
+ jbuilder (~> 2.5)
+ jquery-rails
+ listen (~> 3.0.5)
+ puma (~> 3.0)
+ rails (~> 5.0.6)
+ sass-rails (~> 5.0)
+ spring
+ spring-watcher-listen (~> 2.0.0)
+ sqlite3
+ turbolinks (~> 5)
+ tzinfo-data
+ uglifier (>= 1.3.0)
+ web-console (>= 3.3.0)
+
+BUNDLED WITH
+ 1.12.5
diff --git a/dylan_eckert/models/bpm2/README.md b/dylan_eckert/models/bpm2/README.md
new file mode 100644
index 0000000..7db80e4
--- /dev/null
+++ b/dylan_eckert/models/bpm2/README.md
@@ -0,0 +1,24 @@
+# README
+
+This README would normally document whatever steps are necessary to get the
+application up and running.
+
+Things you may want to cover:
+
+* Ruby version
+
+* System dependencies
+
+* Configuration
+
+* Database creation
+
+* Database initialization
+
+* How to run the test suite
+
+* Services (job queues, cache servers, search engines, etc.)
+
+* Deployment instructions
+
+* ...
diff --git a/dylan_eckert/models/bpm2/Rakefile b/dylan_eckert/models/bpm2/Rakefile
new file mode 100644
index 0000000..e85f913
--- /dev/null
+++ b/dylan_eckert/models/bpm2/Rakefile
@@ -0,0 +1,6 @@
+# Add your own tasks in files placed in lib/tasks ending in .rake,
+# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
+
+require_relative 'config/application'
+
+Rails.application.load_tasks
diff --git a/dylan_eckert/models/bpm2/app/assets/config/manifest.js b/dylan_eckert/models/bpm2/app/assets/config/manifest.js
new file mode 100644
index 0000000..b16e53d
--- /dev/null
+++ b/dylan_eckert/models/bpm2/app/assets/config/manifest.js
@@ -0,0 +1,3 @@
+//= link_tree ../images
+//= link_directory ../javascripts .js
+//= link_directory ../stylesheets .css
diff --git a/Rodolfo_Valdivieso/models/blogs2/app/assets/images/.keep b/dylan_eckert/models/bpm2/app/assets/images/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/app/assets/images/.keep
rename to dylan_eckert/models/bpm2/app/assets/images/.keep
diff --git a/dylan_eckert/models/bpm2/app/assets/javascripts/application.js b/dylan_eckert/models/bpm2/app/assets/javascripts/application.js
new file mode 100644
index 0000000..b12018d
--- /dev/null
+++ b/dylan_eckert/models/bpm2/app/assets/javascripts/application.js
@@ -0,0 +1,16 @@
+// This is a manifest file that'll be compiled into application.js, which will include all the files
+// listed below.
+//
+// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
+// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
+//
+// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
+// compiled file. JavaScript code in this file should be added after the last require_* statement.
+//
+// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
+// about supported directives.
+//
+//= require jquery
+//= require jquery_ujs
+//= require turbolinks
+//= require_tree .
diff --git a/dylan_eckert/models/bpm2/app/assets/javascripts/cable.js b/dylan_eckert/models/bpm2/app/assets/javascripts/cable.js
new file mode 100644
index 0000000..71ee1e6
--- /dev/null
+++ b/dylan_eckert/models/bpm2/app/assets/javascripts/cable.js
@@ -0,0 +1,13 @@
+// Action Cable provides the framework to deal with WebSockets in Rails.
+// You can generate new channels where WebSocket features live using the rails generate channel command.
+//
+//= require action_cable
+//= require_self
+//= require_tree ./channels
+
+(function() {
+ this.App || (this.App = {});
+
+ App.cable = ActionCable.createConsumer();
+
+}).call(this);
diff --git a/Rodolfo_Valdivieso/models/blogs2/app/controllers/concerns/.keep b/dylan_eckert/models/bpm2/app/assets/javascripts/channels/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/app/controllers/concerns/.keep
rename to dylan_eckert/models/bpm2/app/assets/javascripts/channels/.keep
diff --git a/dylan_eckert/models/bpm2/app/assets/stylesheets/application.css b/dylan_eckert/models/bpm2/app/assets/stylesheets/application.css
new file mode 100644
index 0000000..0ebd7fe
--- /dev/null
+++ b/dylan_eckert/models/bpm2/app/assets/stylesheets/application.css
@@ -0,0 +1,15 @@
+/*
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
+ * listed below.
+ *
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
+ * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
+ *
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
+ * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
+ * files in this directory. Styles in this file should be added after the last require_* statement.
+ * It is generally better to create a new file per style scope.
+ *
+ *= require_tree .
+ *= require_self
+ */
diff --git a/dylan_eckert/models/bpm2/app/channels/application_cable/channel.rb b/dylan_eckert/models/bpm2/app/channels/application_cable/channel.rb
new file mode 100644
index 0000000..d672697
--- /dev/null
+++ b/dylan_eckert/models/bpm2/app/channels/application_cable/channel.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Channel < ActionCable::Channel::Base
+ end
+end
diff --git a/dylan_eckert/models/bpm2/app/channels/application_cable/connection.rb b/dylan_eckert/models/bpm2/app/channels/application_cable/connection.rb
new file mode 100644
index 0000000..0ff5442
--- /dev/null
+++ b/dylan_eckert/models/bpm2/app/channels/application_cable/connection.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Connection < ActionCable::Connection::Base
+ end
+end
diff --git a/dylan_eckert/models/bpm2/app/controllers/application_controller.rb b/dylan_eckert/models/bpm2/app/controllers/application_controller.rb
new file mode 100644
index 0000000..1c07694
--- /dev/null
+++ b/dylan_eckert/models/bpm2/app/controllers/application_controller.rb
@@ -0,0 +1,3 @@
+class ApplicationController < ActionController::Base
+ protect_from_forgery with: :exception
+end
diff --git a/Rodolfo_Valdivieso/models/blogs2/app/mailers/.keep b/dylan_eckert/models/bpm2/app/controllers/concerns/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/app/mailers/.keep
rename to dylan_eckert/models/bpm2/app/controllers/concerns/.keep
diff --git a/Rodolfo_Valdivieso/models/blogs/app/helpers/application_helper.rb b/dylan_eckert/models/bpm2/app/helpers/application_helper.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/app/helpers/application_helper.rb
rename to dylan_eckert/models/bpm2/app/helpers/application_helper.rb
diff --git a/dylan_eckert/models/bpm2/app/jobs/application_job.rb b/dylan_eckert/models/bpm2/app/jobs/application_job.rb
new file mode 100644
index 0000000..a009ace
--- /dev/null
+++ b/dylan_eckert/models/bpm2/app/jobs/application_job.rb
@@ -0,0 +1,2 @@
+class ApplicationJob < ActiveJob::Base
+end
diff --git a/dylan_eckert/models/bpm2/app/mailers/application_mailer.rb b/dylan_eckert/models/bpm2/app/mailers/application_mailer.rb
new file mode 100644
index 0000000..286b223
--- /dev/null
+++ b/dylan_eckert/models/bpm2/app/mailers/application_mailer.rb
@@ -0,0 +1,4 @@
+class ApplicationMailer < ActionMailer::Base
+ default from: 'from@example.com'
+ layout 'mailer'
+end
diff --git a/dylan_eckert/models/bpm2/app/models/application_record.rb b/dylan_eckert/models/bpm2/app/models/application_record.rb
new file mode 100644
index 0000000..10a4cba
--- /dev/null
+++ b/dylan_eckert/models/bpm2/app/models/application_record.rb
@@ -0,0 +1,3 @@
+class ApplicationRecord < ActiveRecord::Base
+ self.abstract_class = true
+end
diff --git a/dylan_eckert/models/bpm2/app/models/blog.rb b/dylan_eckert/models/bpm2/app/models/blog.rb
new file mode 100644
index 0000000..897bbf7
--- /dev/null
+++ b/dylan_eckert/models/bpm2/app/models/blog.rb
@@ -0,0 +1,8 @@
+class Blog < ApplicationRecord
+ has_many :owners
+ has_many :users, through: :owners
+ has_many :posts
+ has_many :comments, as: :commentable
+
+ validates :name, :desc, presence: true
+end
diff --git a/dylan_eckert/models/bpm2/app/models/comment.rb b/dylan_eckert/models/bpm2/app/models/comment.rb
new file mode 100644
index 0000000..cee06ca
--- /dev/null
+++ b/dylan_eckert/models/bpm2/app/models/comment.rb
@@ -0,0 +1,3 @@
+class Comment < ApplicationRecord
+ belongs_to :commentable, polymorphic: true
+end
diff --git a/Rodolfo_Valdivieso/models/blogs2/app/models/.keep b/dylan_eckert/models/bpm2/app/models/concerns/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/app/models/.keep
rename to dylan_eckert/models/bpm2/app/models/concerns/.keep
diff --git a/dylan_eckert/models/bpm2/app/models/message.rb b/dylan_eckert/models/bpm2/app/models/message.rb
new file mode 100644
index 0000000..a96ef8b
--- /dev/null
+++ b/dylan_eckert/models/bpm2/app/models/message.rb
@@ -0,0 +1,7 @@
+class Message < ApplicationRecord
+ belongs_to :post, dependent: :destroy
+ belongs_to :user, dependent: :destroy
+ has_many :comments, as: :commentable
+
+ validates :author, :msg, presence: true
+end
diff --git a/dylan_eckert/models/bpm2/app/models/owner.rb b/dylan_eckert/models/bpm2/app/models/owner.rb
new file mode 100644
index 0000000..4c437c3
--- /dev/null
+++ b/dylan_eckert/models/bpm2/app/models/owner.rb
@@ -0,0 +1,4 @@
+class Owner < ApplicationRecord
+ belongs_to :user, dependent: :destroy
+ belongs_to :blog, dependent: :destroy
+end
diff --git a/dylan_eckert/models/bpm2/app/models/post.rb b/dylan_eckert/models/bpm2/app/models/post.rb
new file mode 100644
index 0000000..77ef26c
--- /dev/null
+++ b/dylan_eckert/models/bpm2/app/models/post.rb
@@ -0,0 +1,8 @@
+class Post < ApplicationRecord
+ belongs_to :user, dependent: :destroy
+ belongs_to :blog, dependent: :destroy
+ has_many :messages
+ has_many :comments, as: :commentable
+
+ validates :title, :content, presence: true
+end
diff --git a/dylan_eckert/models/bpm2/app/models/user.rb b/dylan_eckert/models/bpm2/app/models/user.rb
new file mode 100644
index 0000000..cf2093c
--- /dev/null
+++ b/dylan_eckert/models/bpm2/app/models/user.rb
@@ -0,0 +1,10 @@
+class User < ApplicationRecord
+ has_many :owners
+ has_many :blogs, through: :owners
+ has_many :posts
+ has_many :messages
+ has_many :comments, as: :commentable
+
+
+ validates :fname, :lname, :email, presence: true
+end
diff --git a/dylan_eckert/models/bpm2/app/views/layouts/application.html.erb b/dylan_eckert/models/bpm2/app/views/layouts/application.html.erb
new file mode 100644
index 0000000..ebc17d2
--- /dev/null
+++ b/dylan_eckert/models/bpm2/app/views/layouts/application.html.erb
@@ -0,0 +1,14 @@
+
+
+
+ Bpm2
+ <%= csrf_meta_tags %>
+
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
+ <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
+
+
+
+ <%= yield %>
+
+
diff --git a/dylan_eckert/models/bpm2/app/views/layouts/mailer.html.erb b/dylan_eckert/models/bpm2/app/views/layouts/mailer.html.erb
new file mode 100644
index 0000000..cbd34d2
--- /dev/null
+++ b/dylan_eckert/models/bpm2/app/views/layouts/mailer.html.erb
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+ <%= yield %>
+
+
diff --git a/dylan_eckert/models/bpm2/app/views/layouts/mailer.text.erb b/dylan_eckert/models/bpm2/app/views/layouts/mailer.text.erb
new file mode 100644
index 0000000..37f0bdd
--- /dev/null
+++ b/dylan_eckert/models/bpm2/app/views/layouts/mailer.text.erb
@@ -0,0 +1 @@
+<%= yield %>
diff --git a/Rodolfo_Valdivieso/models/blogs/bin/bundle b/dylan_eckert/models/bpm2/bin/bundle
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/bin/bundle
rename to dylan_eckert/models/bpm2/bin/bundle
diff --git a/dylan_eckert/models/bpm2/bin/rails b/dylan_eckert/models/bpm2/bin/rails
new file mode 100755
index 0000000..5badb2f
--- /dev/null
+++ b/dylan_eckert/models/bpm2/bin/rails
@@ -0,0 +1,9 @@
+#!/usr/bin/env ruby
+begin
+ load File.expand_path('../spring', __FILE__)
+rescue LoadError => e
+ raise unless e.message.include?('spring')
+end
+APP_PATH = File.expand_path('../config/application', __dir__)
+require_relative '../config/boot'
+require 'rails/commands'
diff --git a/Rodolfo_Valdivieso/models/blogs/bin/rake b/dylan_eckert/models/bpm2/bin/rake
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/bin/rake
rename to dylan_eckert/models/bpm2/bin/rake
diff --git a/dylan_eckert/models/bpm2/bin/setup b/dylan_eckert/models/bpm2/bin/setup
new file mode 100755
index 0000000..e620b4d
--- /dev/null
+++ b/dylan_eckert/models/bpm2/bin/setup
@@ -0,0 +1,34 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a starting point to setup your application.
+ # Add necessary setup steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ # puts "\n== Copying sample files =="
+ # unless File.exist?('config/database.yml')
+ # cp 'config/database.yml.sample', 'config/database.yml'
+ # end
+
+ puts "\n== Preparing database =="
+ system! 'bin/rails db:setup'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/Rodolfo_Valdivieso/models/blogs/bin/spring b/dylan_eckert/models/bpm2/bin/spring
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/bin/spring
rename to dylan_eckert/models/bpm2/bin/spring
diff --git a/dylan_eckert/models/bpm2/bin/update b/dylan_eckert/models/bpm2/bin/update
new file mode 100755
index 0000000..a8e4462
--- /dev/null
+++ b/dylan_eckert/models/bpm2/bin/update
@@ -0,0 +1,29 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a way to update your development environment automatically.
+ # Add necessary update steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ puts "\n== Updating database =="
+ system! 'bin/rails db:migrate'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/dylan_eckert/models/bpm2/commands.txt b/dylan_eckert/models/bpm2/commands.txt
new file mode 100644
index 0000000..6212f92
--- /dev/null
+++ b/dylan_eckert/models/bpm2/commands.txt
@@ -0,0 +1,53 @@
+5 users
+User.create(fname:"bob", lname:"bobbers", email:"email")
+
+5 blogs
+Blog.create(name:"blog1", desc:"blog desc 1")
+
+Creating the blog owners by linking user id and blog id to owners table
+Owner.create(blog:Blog.find(2), user:User.find(1))
+
+first user create 3 posts for 2nd blog
+Post.create(user:User.first, blog:Blog.find(2), title:"b1 p1 title", content:"b1 p1 content")
+
+2nd user create 5 posts for last blog
+Post.create(user:User.find(2), blog:Blog.last, title:"b5 p1 title", content:"b5 p1 content")
+
+3rd user several posts for different blogs
+Post.create(user:User.find(3), blog:Blog.find(3), title:"b3 p1 title", content:"b3 p1 content")
+Post.create(user:User.find(3), blog:Blog.find(2), title:"b2 p4 title", content:"b2 p4 content")
+Post.create(user:User.find(3), blog:Blog.find(4), title:"b4 p1 title", content:"b4 p1 content")
+
+3rd user 2 msg 1st post created and 3 msg 2nd post created
+Message.create(user:User.find(3), post:Post.first, author:"p1 m1 author", msg:"p1 m1 msg")
+Message.create(user:User.find(3), post:Post.find(2), author:"p2 m1 author", msg:"p2 m1 msg")
+
+4th user 3 msg last post created
+Message.create(user:User.find(4), post:Post.last, author:"plast m1 author", msg:"plast m1 msg")
+
+change owner of 2nd post to last user
+Post.find(2).update(user:User.last)
+
+change 2nd post content to something else
+Post.find(2).update(content:"new content")
+
+get all blogs owned by 3rd user
+User.find(3).blogs
+
+get all posts owned by 3rd user
+User.find(3).posts
+
+get all messages owned by 3rd user
+User.find(3).messages
+
+get all posts belonging to blog 5 and display their authors (user who wrote the post)
+Post.joins(:user, :blog).where("blogs.id = ?", 5).select("*")
+
+get all messages belonging to blog 5 and display their authors (user who wrote the message)
+Message.joins(:user).where(post: Blog.find(5).posts).select("*")
+
+get all user info who own blog 1
+Blog.first.users
+
+remove first user as an owner to blog 1
+Owner.where("id = ? AND user_id = ?", 1,1).update_all("user_id = null")
diff --git a/dylan_eckert/models/bpm2/config.ru b/dylan_eckert/models/bpm2/config.ru
new file mode 100644
index 0000000..f7ba0b5
--- /dev/null
+++ b/dylan_eckert/models/bpm2/config.ru
@@ -0,0 +1,5 @@
+# This file is used by Rack-based servers to start the application.
+
+require_relative 'config/environment'
+
+run Rails.application
diff --git a/dylan_eckert/models/bpm2/config/application.rb b/dylan_eckert/models/bpm2/config/application.rb
new file mode 100644
index 0000000..ecb4ffb
--- /dev/null
+++ b/dylan_eckert/models/bpm2/config/application.rb
@@ -0,0 +1,15 @@
+require_relative 'boot'
+
+require 'rails/all'
+
+# Require the gems listed in Gemfile, including any gems
+# you've limited to :test, :development, or :production.
+Bundler.require(*Rails.groups)
+
+module Bpm2
+ class Application < Rails::Application
+ # Settings in config/environments/* take precedence over those specified here.
+ # Application configuration should go into files in config/initializers
+ # -- all .rb files in that directory are automatically loaded.
+ end
+end
diff --git a/dylan_eckert/models/bpm2/config/boot.rb b/dylan_eckert/models/bpm2/config/boot.rb
new file mode 100644
index 0000000..30f5120
--- /dev/null
+++ b/dylan_eckert/models/bpm2/config/boot.rb
@@ -0,0 +1,3 @@
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
+
+require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/dylan_eckert/models/bpm2/config/cable.yml b/dylan_eckert/models/bpm2/config/cable.yml
new file mode 100644
index 0000000..0bbde6f
--- /dev/null
+++ b/dylan_eckert/models/bpm2/config/cable.yml
@@ -0,0 +1,9 @@
+development:
+ adapter: async
+
+test:
+ adapter: async
+
+production:
+ adapter: redis
+ url: redis://localhost:6379/1
diff --git a/Rodolfo_Valdivieso/controllers/time_display/config/database.yml b/dylan_eckert/models/bpm2/config/database.yml
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/config/database.yml
rename to dylan_eckert/models/bpm2/config/database.yml
diff --git a/dylan_eckert/models/bpm2/config/environment.rb b/dylan_eckert/models/bpm2/config/environment.rb
new file mode 100644
index 0000000..426333b
--- /dev/null
+++ b/dylan_eckert/models/bpm2/config/environment.rb
@@ -0,0 +1,5 @@
+# Load the Rails application.
+require_relative 'application'
+
+# Initialize the Rails application.
+Rails.application.initialize!
diff --git a/dylan_eckert/models/bpm2/config/environments/development.rb b/dylan_eckert/models/bpm2/config/environments/development.rb
new file mode 100644
index 0000000..6f71970
--- /dev/null
+++ b/dylan_eckert/models/bpm2/config/environments/development.rb
@@ -0,0 +1,54 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # In the development environment your application's code is reloaded on
+ # every request. This slows down response time but is perfect for development
+ # since you don't have to restart the web server when you make code changes.
+ config.cache_classes = false
+
+ # Do not eager load code on boot.
+ config.eager_load = false
+
+ # Show full error reports.
+ config.consider_all_requests_local = true
+
+ # Enable/disable caching. By default caching is disabled.
+ if Rails.root.join('tmp/caching-dev.txt').exist?
+ config.action_controller.perform_caching = true
+
+ config.cache_store = :memory_store
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=172800'
+ }
+ else
+ config.action_controller.perform_caching = false
+
+ config.cache_store = :null_store
+ end
+
+ # Don't care if the mailer can't send.
+ config.action_mailer.raise_delivery_errors = false
+
+ config.action_mailer.perform_caching = false
+
+ # Print deprecation notices to the Rails logger.
+ config.active_support.deprecation = :log
+
+ # Raise an error on page load if there are pending migrations.
+ config.active_record.migration_error = :page_load
+
+ # Debug mode disables concatenation and preprocessing of assets.
+ # This option may cause significant delays in view rendering with a large
+ # number of complex assets.
+ config.assets.debug = true
+
+ # Suppress logger output for asset requests.
+ config.assets.quiet = true
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+
+ # Use an evented file watcher to asynchronously detect changes in source code,
+ # routes, locales, etc. This feature depends on the listen gem.
+ config.file_watcher = ActiveSupport::EventedFileUpdateChecker
+end
diff --git a/dylan_eckert/models/bpm2/config/environments/production.rb b/dylan_eckert/models/bpm2/config/environments/production.rb
new file mode 100644
index 0000000..6e8e9f3
--- /dev/null
+++ b/dylan_eckert/models/bpm2/config/environments/production.rb
@@ -0,0 +1,86 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # Code is not reloaded between requests.
+ config.cache_classes = true
+
+ # Eager load code on boot. This eager loads most of Rails and
+ # your application in memory, allowing both threaded web servers
+ # and those relying on copy on write to perform better.
+ # Rake tasks automatically ignore this option for performance.
+ config.eager_load = true
+
+ # Full error reports are disabled and caching is turned on.
+ config.consider_all_requests_local = false
+ config.action_controller.perform_caching = true
+
+ # Disable serving static files from the `/public` folder by default since
+ # Apache or NGINX already handles this.
+ config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
+
+ # Compress JavaScripts and CSS.
+ config.assets.js_compressor = :uglifier
+ # config.assets.css_compressor = :sass
+
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
+ config.assets.compile = false
+
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
+
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
+ # config.action_controller.asset_host = 'http://assets.example.com'
+
+ # Specifies the header that your server uses for sending files.
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
+
+ # Mount Action Cable outside main process or domain
+ # config.action_cable.mount_path = nil
+ # config.action_cable.url = 'wss://example.com/cable'
+ # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
+
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
+ # config.force_ssl = true
+
+ # Use the lowest log level to ensure availability of diagnostic information
+ # when problems arise.
+ config.log_level = :debug
+
+ # Prepend all log lines with the following tags.
+ config.log_tags = [ :request_id ]
+
+ # Use a different cache store in production.
+ # config.cache_store = :mem_cache_store
+
+ # Use a real queuing backend for Active Job (and separate queues per environment)
+ # config.active_job.queue_adapter = :resque
+ # config.active_job.queue_name_prefix = "bpm2_#{Rails.env}"
+ config.action_mailer.perform_caching = false
+
+ # Ignore bad email addresses and do not raise email delivery errors.
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
+ # config.action_mailer.raise_delivery_errors = false
+
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
+ # the I18n.default_locale when a translation cannot be found).
+ config.i18n.fallbacks = true
+
+ # Send deprecation notices to registered listeners.
+ config.active_support.deprecation = :notify
+
+ # Use default logging formatter so that PID and timestamp are not suppressed.
+ config.log_formatter = ::Logger::Formatter.new
+
+ # Use a different logger for distributed setups.
+ # require 'syslog/logger'
+ # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
+
+ if ENV["RAILS_LOG_TO_STDOUT"].present?
+ logger = ActiveSupport::Logger.new(STDOUT)
+ logger.formatter = config.log_formatter
+ config.logger = ActiveSupport::TaggedLogging.new(logger)
+ end
+
+ # Do not dump schema after migrations.
+ config.active_record.dump_schema_after_migration = false
+end
diff --git a/dylan_eckert/models/bpm2/config/environments/test.rb b/dylan_eckert/models/bpm2/config/environments/test.rb
new file mode 100644
index 0000000..30587ef
--- /dev/null
+++ b/dylan_eckert/models/bpm2/config/environments/test.rb
@@ -0,0 +1,42 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # The test environment is used exclusively to run your application's
+ # test suite. You never need to work with it otherwise. Remember that
+ # your test database is "scratch space" for the test suite and is wiped
+ # and recreated between test runs. Don't rely on the data there!
+ config.cache_classes = true
+
+ # Do not eager load code on boot. This avoids loading your whole application
+ # just for the purpose of running a single test. If you are using a tool that
+ # preloads Rails for running tests, you may have to set it to true.
+ config.eager_load = false
+
+ # Configure public file server for tests with Cache-Control for performance.
+ config.public_file_server.enabled = true
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=3600'
+ }
+
+ # Show full error reports and disable caching.
+ config.consider_all_requests_local = true
+ config.action_controller.perform_caching = false
+
+ # Raise exceptions instead of rendering exception templates.
+ config.action_dispatch.show_exceptions = false
+
+ # Disable request forgery protection in test environment.
+ config.action_controller.allow_forgery_protection = false
+ config.action_mailer.perform_caching = false
+
+ # Tell Action Mailer not to deliver emails to the real world.
+ # The :test delivery method accumulates sent emails in the
+ # ActionMailer::Base.deliveries array.
+ config.action_mailer.delivery_method = :test
+
+ # Print deprecation notices to the stderr.
+ config.active_support.deprecation = :stderr
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+end
diff --git a/dylan_eckert/models/bpm2/config/initializers/application_controller_renderer.rb b/dylan_eckert/models/bpm2/config/initializers/application_controller_renderer.rb
new file mode 100644
index 0000000..89d2efa
--- /dev/null
+++ b/dylan_eckert/models/bpm2/config/initializers/application_controller_renderer.rb
@@ -0,0 +1,8 @@
+# Be sure to restart your server when you modify this file.
+
+# ActiveSupport::Reloader.to_prepare do
+# ApplicationController.renderer.defaults.merge!(
+# http_host: 'example.org',
+# https: false
+# )
+# end
diff --git a/Rodolfo_Valdivieso/models/blogs2/config/initializers/assets.rb b/dylan_eckert/models/bpm2/config/initializers/assets.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/config/initializers/assets.rb
rename to dylan_eckert/models/bpm2/config/initializers/assets.rb
diff --git a/Rodolfo_Valdivieso/models/blogs/config/initializers/backtrace_silencers.rb b/dylan_eckert/models/bpm2/config/initializers/backtrace_silencers.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/config/initializers/backtrace_silencers.rb
rename to dylan_eckert/models/bpm2/config/initializers/backtrace_silencers.rb
diff --git a/dylan_eckert/models/bpm2/config/initializers/cookies_serializer.rb b/dylan_eckert/models/bpm2/config/initializers/cookies_serializer.rb
new file mode 100644
index 0000000..5a6a32d
--- /dev/null
+++ b/dylan_eckert/models/bpm2/config/initializers/cookies_serializer.rb
@@ -0,0 +1,5 @@
+# Be sure to restart your server when you modify this file.
+
+# Specify a serializer for the signed and encrypted cookie jars.
+# Valid options are :json, :marshal, and :hybrid.
+Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Rodolfo_Valdivieso/models/blogs/config/initializers/filter_parameter_logging.rb b/dylan_eckert/models/bpm2/config/initializers/filter_parameter_logging.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/config/initializers/filter_parameter_logging.rb
rename to dylan_eckert/models/bpm2/config/initializers/filter_parameter_logging.rb
diff --git a/Rodolfo_Valdivieso/models/blogs/config/initializers/inflections.rb b/dylan_eckert/models/bpm2/config/initializers/inflections.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/config/initializers/inflections.rb
rename to dylan_eckert/models/bpm2/config/initializers/inflections.rb
diff --git a/Rodolfo_Valdivieso/models/blogs/config/initializers/mime_types.rb b/dylan_eckert/models/bpm2/config/initializers/mime_types.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/config/initializers/mime_types.rb
rename to dylan_eckert/models/bpm2/config/initializers/mime_types.rb
diff --git a/dylan_eckert/models/bpm2/config/initializers/new_framework_defaults.rb b/dylan_eckert/models/bpm2/config/initializers/new_framework_defaults.rb
new file mode 100644
index 0000000..dd236b5
--- /dev/null
+++ b/dylan_eckert/models/bpm2/config/initializers/new_framework_defaults.rb
@@ -0,0 +1,26 @@
+# Be sure to restart your server when you modify this file.
+#
+# This file contains migration options to ease your Rails 5.0 upgrade.
+#
+# Read the Guide for Upgrading Ruby on Rails for more info on each option.
+
+Rails.application.config.action_controller.raise_on_unfiltered_parameters = true
+
+# Enable per-form CSRF tokens. Previous versions had false.
+Rails.application.config.action_controller.per_form_csrf_tokens = true
+
+# Enable origin-checking CSRF mitigation. Previous versions had false.
+Rails.application.config.action_controller.forgery_protection_origin_check = true
+
+# Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`.
+# Previous versions had false.
+ActiveSupport.to_time_preserves_timezone = true
+
+# Require `belongs_to` associations by default. Previous versions had false.
+Rails.application.config.active_record.belongs_to_required_by_default = true
+
+# Do not halt callback chains when a callback returns false. Previous versions had true.
+ActiveSupport.halt_callback_chains_on_return_false = false
+
+# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
+Rails.application.config.ssl_options = { hsts: { subdomains: true } }
diff --git a/dylan_eckert/models/bpm2/config/initializers/session_store.rb b/dylan_eckert/models/bpm2/config/initializers/session_store.rb
new file mode 100644
index 0000000..64baa16
--- /dev/null
+++ b/dylan_eckert/models/bpm2/config/initializers/session_store.rb
@@ -0,0 +1,3 @@
+# Be sure to restart your server when you modify this file.
+
+Rails.application.config.session_store :cookie_store, key: '_bpm2_session'
diff --git a/dylan_eckert/models/bpm2/config/initializers/wrap_parameters.rb b/dylan_eckert/models/bpm2/config/initializers/wrap_parameters.rb
new file mode 100644
index 0000000..bbfc396
--- /dev/null
+++ b/dylan_eckert/models/bpm2/config/initializers/wrap_parameters.rb
@@ -0,0 +1,14 @@
+# Be sure to restart your server when you modify this file.
+
+# This file contains settings for ActionController::ParamsWrapper which
+# is enabled by default.
+
+# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
+ActiveSupport.on_load(:action_controller) do
+ wrap_parameters format: [:json]
+end
+
+# To enable root element in JSON for ActiveRecord objects.
+# ActiveSupport.on_load(:active_record) do
+# self.include_root_in_json = true
+# end
diff --git a/Rodolfo_Valdivieso/models/blogs/config/locales/en.yml b/dylan_eckert/models/bpm2/config/locales/en.yml
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/config/locales/en.yml
rename to dylan_eckert/models/bpm2/config/locales/en.yml
diff --git a/dylan_eckert/models/bpm2/config/puma.rb b/dylan_eckert/models/bpm2/config/puma.rb
new file mode 100644
index 0000000..c7f311f
--- /dev/null
+++ b/dylan_eckert/models/bpm2/config/puma.rb
@@ -0,0 +1,47 @@
+# Puma can serve each request in a thread from an internal thread pool.
+# The `threads` method setting takes two numbers a minimum and maximum.
+# Any libraries that use thread pools should be configured to match
+# the maximum value specified for Puma. Default is set to 5 threads for minimum
+# and maximum, this matches the default thread size of Active Record.
+#
+threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i
+threads threads_count, threads_count
+
+# Specifies the `port` that Puma will listen on to receive requests, default is 3000.
+#
+port ENV.fetch("PORT") { 3000 }
+
+# Specifies the `environment` that Puma will run in.
+#
+environment ENV.fetch("RAILS_ENV") { "development" }
+
+# Specifies the number of `workers` to boot in clustered mode.
+# Workers are forked webserver processes. If using threads and workers together
+# the concurrency of the application would be max `threads` * `workers`.
+# Workers do not work on JRuby or Windows (both of which do not support
+# processes).
+#
+# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
+
+# Use the `preload_app!` method when specifying a `workers` number.
+# This directive tells Puma to first boot the application and load code
+# before forking the application. This takes advantage of Copy On Write
+# process behavior so workers use less memory. If you use this option
+# you need to make sure to reconnect any threads in the `on_worker_boot`
+# block.
+#
+# preload_app!
+
+# The code in the `on_worker_boot` will be called if you are using
+# clustered mode by specifying a number of `workers`. After each worker
+# process is booted this block will be run, if you are using `preload_app!`
+# option you will want to use this block to reconnect to any threads
+# or connections that may have been created at application boot, Ruby
+# cannot share connections between processes.
+#
+# on_worker_boot do
+# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
+# end
+
+# Allow puma to be restarted by `rails restart` command.
+plugin :tmp_restart
diff --git a/dylan_eckert/models/bpm2/config/routes.rb b/dylan_eckert/models/bpm2/config/routes.rb
new file mode 100644
index 0000000..787824f
--- /dev/null
+++ b/dylan_eckert/models/bpm2/config/routes.rb
@@ -0,0 +1,3 @@
+Rails.application.routes.draw do
+ # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
+end
diff --git a/dylan_eckert/models/bpm2/config/secrets.yml b/dylan_eckert/models/bpm2/config/secrets.yml
new file mode 100644
index 0000000..0604c2e
--- /dev/null
+++ b/dylan_eckert/models/bpm2/config/secrets.yml
@@ -0,0 +1,22 @@
+# Be sure to restart your server when you modify this file.
+
+# Your secret key is used for verifying the integrity of signed cookies.
+# If you change this key, all old signed cookies will become invalid!
+
+# Make sure the secret is at least 30 characters and all random,
+# no regular words or you'll be exposed to dictionary attacks.
+# You can use `rails secret` to generate a secure secret key.
+
+# Make sure the secrets in this file are kept private
+# if you're sharing your code publicly.
+
+development:
+ secret_key_base: 7def0be2405e568e66717be8e95220b7c66e30bbdfaa41dfc37a5d18c9ceb772c7ba1acc6c115985c0a7c8543561c69a70a0a721b588c7237a50f604c7c23f1f
+
+test:
+ secret_key_base: 5505af9ae96d031cc6d093d8b9e311c170bc5d1f4f3e25156b0e3204bc91c36b78a35cfe82291dab0d7d147751a9ed628fca6fc1775c5e0e1d6b3d84019336e3
+
+# Do not keep production secrets in the repository,
+# instead read values from the environment.
+production:
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/dylan_eckert/models/bpm2/config/spring.rb b/dylan_eckert/models/bpm2/config/spring.rb
new file mode 100644
index 0000000..c9119b4
--- /dev/null
+++ b/dylan_eckert/models/bpm2/config/spring.rb
@@ -0,0 +1,6 @@
+%w(
+ .ruby-version
+ .rbenv-vars
+ tmp/restart.txt
+ tmp/caching-dev.txt
+).each { |path| Spring.watch(path) }
diff --git a/dylan_eckert/models/bpm2/db/migrate/20171201201729_create_users.rb b/dylan_eckert/models/bpm2/db/migrate/20171201201729_create_users.rb
new file mode 100644
index 0000000..190878e
--- /dev/null
+++ b/dylan_eckert/models/bpm2/db/migrate/20171201201729_create_users.rb
@@ -0,0 +1,11 @@
+class CreateUsers < ActiveRecord::Migration[5.0]
+ def change
+ create_table :users do |t|
+ t.string :fname
+ t.string :lname
+ t.string :email
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/models/bpm2/db/migrate/20171201201821_create_blogs.rb b/dylan_eckert/models/bpm2/db/migrate/20171201201821_create_blogs.rb
new file mode 100644
index 0000000..f554c29
--- /dev/null
+++ b/dylan_eckert/models/bpm2/db/migrate/20171201201821_create_blogs.rb
@@ -0,0 +1,10 @@
+class CreateBlogs < ActiveRecord::Migration[5.0]
+ def change
+ create_table :blogs do |t|
+ t.string :name
+ t.text :desc
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/models/bpm2/db/migrate/20171201202102_create_owners.rb b/dylan_eckert/models/bpm2/db/migrate/20171201202102_create_owners.rb
new file mode 100644
index 0000000..447c1fd
--- /dev/null
+++ b/dylan_eckert/models/bpm2/db/migrate/20171201202102_create_owners.rb
@@ -0,0 +1,10 @@
+class CreateOwners < ActiveRecord::Migration[5.0]
+ def change
+ create_table :owners do |t|
+ t.references :user, foreign_key: true
+ t.references :blog, foreign_key: true
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/models/bpm2/db/migrate/20171201202247_create_posts.rb b/dylan_eckert/models/bpm2/db/migrate/20171201202247_create_posts.rb
new file mode 100644
index 0000000..f75ebc8
--- /dev/null
+++ b/dylan_eckert/models/bpm2/db/migrate/20171201202247_create_posts.rb
@@ -0,0 +1,12 @@
+class CreatePosts < ActiveRecord::Migration[5.0]
+ def change
+ create_table :posts do |t|
+ t.references :user, foreign_key: true
+ t.references :blog, foreign_key: true
+ t.string :title
+ t.text :content
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/models/bpm2/db/migrate/20171201202452_create_messages.rb b/dylan_eckert/models/bpm2/db/migrate/20171201202452_create_messages.rb
new file mode 100644
index 0000000..2f57903
--- /dev/null
+++ b/dylan_eckert/models/bpm2/db/migrate/20171201202452_create_messages.rb
@@ -0,0 +1,12 @@
+class CreateMessages < ActiveRecord::Migration[5.0]
+ def change
+ create_table :messages do |t|
+ t.references :post, foreign_key: true
+ t.references :user, foreign_key: true
+ t.string :author
+ t.text :msg
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/models/bpm2/db/migrate/20171204145319_create_comments.rb b/dylan_eckert/models/bpm2/db/migrate/20171204145319_create_comments.rb
new file mode 100644
index 0000000..a9e90e6
--- /dev/null
+++ b/dylan_eckert/models/bpm2/db/migrate/20171204145319_create_comments.rb
@@ -0,0 +1,9 @@
+class CreateComments < ActiveRecord::Migration[5.0]
+ def change
+ create_table :comments do |t|
+ t.references :commentable, polymorphic: true
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/models/bpm2/db/schema.rb b/dylan_eckert/models/bpm2/db/schema.rb
new file mode 100644
index 0000000..e153830
--- /dev/null
+++ b/dylan_eckert/models/bpm2/db/schema.rb
@@ -0,0 +1,69 @@
+# This file is auto-generated from the current state of the database. Instead
+# of editing this file, please use the migrations feature of Active Record to
+# incrementally modify your database, and then regenerate this schema definition.
+#
+# Note that this schema.rb definition is the authoritative source for your
+# database schema. If you need to create the application database on another
+# system, you should be using db:schema:load, not running all the migrations
+# from scratch. The latter is a flawed and unsustainable approach (the more migrations
+# you'll amass, the slower it'll run and the greater likelihood for issues).
+#
+# It's strongly recommended that you check this file into your version control system.
+
+ActiveRecord::Schema.define(version: 20171204145319) do
+
+ create_table "blogs", force: :cascade do |t|
+ t.string "name"
+ t.text "desc"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ end
+
+ create_table "comments", force: :cascade do |t|
+ t.string "commentable_type"
+ t.integer "commentable_id"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.index ["commentable_type", "commentable_id"], name: "index_comments_on_commentable_type_and_commentable_id"
+ end
+
+ create_table "messages", force: :cascade do |t|
+ t.integer "post_id"
+ t.integer "user_id"
+ t.string "author"
+ t.text "msg"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.index ["post_id"], name: "index_messages_on_post_id"
+ t.index ["user_id"], name: "index_messages_on_user_id"
+ end
+
+ create_table "owners", force: :cascade do |t|
+ t.integer "user_id"
+ t.integer "blog_id"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.index ["blog_id"], name: "index_owners_on_blog_id"
+ t.index ["user_id"], name: "index_owners_on_user_id"
+ end
+
+ create_table "posts", force: :cascade do |t|
+ t.integer "user_id"
+ t.integer "blog_id"
+ t.string "title"
+ t.text "content"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.index ["blog_id"], name: "index_posts_on_blog_id"
+ t.index ["user_id"], name: "index_posts_on_user_id"
+ end
+
+ create_table "users", force: :cascade do |t|
+ t.string "fname"
+ t.string "lname"
+ t.string "email"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ end
+
+end
diff --git a/dylan_eckert/models/bpm2/db/seeds.rb b/dylan_eckert/models/bpm2/db/seeds.rb
new file mode 100644
index 0000000..1beea2a
--- /dev/null
+++ b/dylan_eckert/models/bpm2/db/seeds.rb
@@ -0,0 +1,7 @@
+# This file should contain all the record creation needed to seed the database with its default values.
+# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
+#
+# Examples:
+#
+# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
+# Character.create(name: 'Luke', movie: movies.first)
diff --git a/Rodolfo_Valdivieso/models/blogs2/app/models/concerns/.keep b/dylan_eckert/models/bpm2/lib/assets/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/app/models/concerns/.keep
rename to dylan_eckert/models/bpm2/lib/assets/.keep
diff --git a/Rodolfo_Valdivieso/models/blogs2/lib/assets/.keep b/dylan_eckert/models/bpm2/lib/tasks/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/lib/assets/.keep
rename to dylan_eckert/models/bpm2/lib/tasks/.keep
diff --git a/Rodolfo_Valdivieso/models/blogs2/lib/tasks/.keep b/dylan_eckert/models/bpm2/log/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/lib/tasks/.keep
rename to dylan_eckert/models/bpm2/log/.keep
diff --git a/dylan_eckert/models/bpm2/public/404.html b/dylan_eckert/models/bpm2/public/404.html
new file mode 100644
index 0000000..2be3af2
--- /dev/null
+++ b/dylan_eckert/models/bpm2/public/404.html
@@ -0,0 +1,67 @@
+
+
+
+ The page you were looking for doesn't exist (404)
+
+
+
+
+
+
+
+
+
The page you were looking for doesn't exist.
+
You may have mistyped the address or the page may have moved.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/models/bpm2/public/422.html b/dylan_eckert/models/bpm2/public/422.html
new file mode 100644
index 0000000..c08eac0
--- /dev/null
+++ b/dylan_eckert/models/bpm2/public/422.html
@@ -0,0 +1,67 @@
+
+
+
+ The change you wanted was rejected (422)
+
+
+
+
+
+
+
+
+
The change you wanted was rejected.
+
Maybe you tried to change something you didn't have access to.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/models/bpm2/public/500.html b/dylan_eckert/models/bpm2/public/500.html
new file mode 100644
index 0000000..78a030a
--- /dev/null
+++ b/dylan_eckert/models/bpm2/public/500.html
@@ -0,0 +1,66 @@
+
+
+
+ We're sorry, but something went wrong (500)
+
+
+
+
+
+
+
+
+
We're sorry, but something went wrong.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/Rodolfo_Valdivieso/models/blogs2/log/.keep b/dylan_eckert/models/bpm2/public/apple-touch-icon-precomposed.png
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/log/.keep
rename to dylan_eckert/models/bpm2/public/apple-touch-icon-precomposed.png
diff --git a/Rodolfo_Valdivieso/models/blogs2/public/favicon.ico b/dylan_eckert/models/bpm2/public/apple-touch-icon.png
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/public/favicon.ico
rename to dylan_eckert/models/bpm2/public/apple-touch-icon.png
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/public/favicon.ico b/dylan_eckert/models/bpm2/public/favicon.ico
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/public/favicon.ico
rename to dylan_eckert/models/bpm2/public/favicon.ico
diff --git a/Rodolfo_Valdivieso/models/blogs/public/robots.txt b/dylan_eckert/models/bpm2/public/robots.txt
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/public/robots.txt
rename to dylan_eckert/models/bpm2/public/robots.txt
diff --git a/Rodolfo_Valdivieso/models/blogs2/test/controllers/.keep b/dylan_eckert/models/bpm2/test/controllers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/test/controllers/.keep
rename to dylan_eckert/models/bpm2/test/controllers/.keep
diff --git a/Rodolfo_Valdivieso/models/blogs2/test/fixtures/.keep b/dylan_eckert/models/bpm2/test/fixtures/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/test/fixtures/.keep
rename to dylan_eckert/models/bpm2/test/fixtures/.keep
diff --git a/dylan_eckert/models/bpm2/test/fixtures/blogs.yml b/dylan_eckert/models/bpm2/test/fixtures/blogs.yml
new file mode 100644
index 0000000..1c7a0ed
--- /dev/null
+++ b/dylan_eckert/models/bpm2/test/fixtures/blogs.yml
@@ -0,0 +1,9 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+one:
+ name: MyString
+ desc: MyText
+
+two:
+ name: MyString
+ desc: MyText
diff --git a/dylan_eckert/models/bpm2/test/fixtures/comments.yml b/dylan_eckert/models/bpm2/test/fixtures/comments.yml
new file mode 100644
index 0000000..1da90bc
--- /dev/null
+++ b/dylan_eckert/models/bpm2/test/fixtures/comments.yml
@@ -0,0 +1,9 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+one:
+ commentable: one
+ commentable_type: Commentable
+
+two:
+ commentable: two
+ commentable_type: Commentable
diff --git a/Rodolfo_Valdivieso/models/blogs2/test/helpers/.keep b/dylan_eckert/models/bpm2/test/fixtures/files/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/test/helpers/.keep
rename to dylan_eckert/models/bpm2/test/fixtures/files/.keep
diff --git a/dylan_eckert/models/bpm2/test/fixtures/messages.yml b/dylan_eckert/models/bpm2/test/fixtures/messages.yml
new file mode 100644
index 0000000..faf7db2
--- /dev/null
+++ b/dylan_eckert/models/bpm2/test/fixtures/messages.yml
@@ -0,0 +1,13 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+one:
+ post: one
+ user: one
+ author: MyString
+ msg: MyText
+
+two:
+ post: two
+ user: two
+ author: MyString
+ msg: MyText
diff --git a/dylan_eckert/models/bpm2/test/fixtures/owners.yml b/dylan_eckert/models/bpm2/test/fixtures/owners.yml
new file mode 100644
index 0000000..9dd8d08
--- /dev/null
+++ b/dylan_eckert/models/bpm2/test/fixtures/owners.yml
@@ -0,0 +1,9 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+one:
+ user: one
+ blog: one
+
+two:
+ user: two
+ blog: two
diff --git a/dylan_eckert/models/bpm2/test/fixtures/posts.yml b/dylan_eckert/models/bpm2/test/fixtures/posts.yml
new file mode 100644
index 0000000..28be038
--- /dev/null
+++ b/dylan_eckert/models/bpm2/test/fixtures/posts.yml
@@ -0,0 +1,13 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+one:
+ user: one
+ blog: one
+ title: MyString
+ content: MyText
+
+two:
+ user: two
+ blog: two
+ title: MyString
+ content: MyText
diff --git a/dylan_eckert/models/bpm2/test/fixtures/users.yml b/dylan_eckert/models/bpm2/test/fixtures/users.yml
new file mode 100644
index 0000000..1c3b45d
--- /dev/null
+++ b/dylan_eckert/models/bpm2/test/fixtures/users.yml
@@ -0,0 +1,11 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+one:
+ fname: MyString
+ lname: MyString
+ email: MyString
+
+two:
+ fname: MyString
+ lname: MyString
+ email: MyString
diff --git a/Rodolfo_Valdivieso/models/blogs2/test/integration/.keep b/dylan_eckert/models/bpm2/test/helpers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/test/integration/.keep
rename to dylan_eckert/models/bpm2/test/helpers/.keep
diff --git a/Rodolfo_Valdivieso/models/blogs2/test/mailers/.keep b/dylan_eckert/models/bpm2/test/integration/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/test/mailers/.keep
rename to dylan_eckert/models/bpm2/test/integration/.keep
diff --git a/Rodolfo_Valdivieso/models/blogs2/test/models/.keep b/dylan_eckert/models/bpm2/test/mailers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/test/models/.keep
rename to dylan_eckert/models/bpm2/test/mailers/.keep
diff --git a/Rodolfo_Valdivieso/models/blogs2/vendor/assets/javascripts/.keep b/dylan_eckert/models/bpm2/test/models/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/vendor/assets/javascripts/.keep
rename to dylan_eckert/models/bpm2/test/models/.keep
diff --git a/Rodolfo_Valdivieso/models/blogs2/test/models/blog_test.rb b/dylan_eckert/models/bpm2/test/models/blog_test.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/test/models/blog_test.rb
rename to dylan_eckert/models/bpm2/test/models/blog_test.rb
diff --git a/Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/models/comment_test.rb b/dylan_eckert/models/bpm2/test/models/comment_test.rb
similarity index 100%
rename from Tamisha_Damas/Rails/Models /blog_posts_messages_2_poly/test/models/comment_test.rb
rename to dylan_eckert/models/bpm2/test/models/comment_test.rb
diff --git a/Rodolfo_Valdivieso/models/blogs2/test/models/message_test.rb b/dylan_eckert/models/bpm2/test/models/message_test.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/test/models/message_test.rb
rename to dylan_eckert/models/bpm2/test/models/message_test.rb
diff --git a/Rodolfo_Valdivieso/models/blogs2/test/models/owner_test.rb b/dylan_eckert/models/bpm2/test/models/owner_test.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/test/models/owner_test.rb
rename to dylan_eckert/models/bpm2/test/models/owner_test.rb
diff --git a/Stephen Weil/Rails/Models/blogs_one/test/models/post_test.rb b/dylan_eckert/models/bpm2/test/models/post_test.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/test/models/post_test.rb
rename to dylan_eckert/models/bpm2/test/models/post_test.rb
diff --git a/Rodolfo_Valdivieso/models/user_login_project/test/models/user_test.rb b/dylan_eckert/models/bpm2/test/models/user_test.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/test/models/user_test.rb
rename to dylan_eckert/models/bpm2/test/models/user_test.rb
diff --git a/Rodolfo_Valdivieso/controllers/time_display/test/test_helper.rb b/dylan_eckert/models/bpm2/test/test_helper.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/time_display/test/test_helper.rb
rename to dylan_eckert/models/bpm2/test/test_helper.rb
diff --git a/Rodolfo_Valdivieso/models/blogs2/vendor/assets/stylesheets/.keep b/dylan_eckert/models/bpm2/tmp/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/vendor/assets/stylesheets/.keep
rename to dylan_eckert/models/bpm2/tmp/.keep
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/app/assets/images/.keep b/dylan_eckert/models/bpm2/vendor/assets/javascripts/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/app/assets/images/.keep
rename to dylan_eckert/models/bpm2/vendor/assets/javascripts/.keep
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/app/controllers/concerns/.keep b/dylan_eckert/models/bpm2/vendor/assets/stylesheets/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/app/controllers/concerns/.keep
rename to dylan_eckert/models/bpm2/vendor/assets/stylesheets/.keep
diff --git a/dylan_eckert/models/dojo_ninjas/.gitignore b/dylan_eckert/models/dojo_ninjas/.gitignore
new file mode 100644
index 0000000..bab620d
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/.gitignore
@@ -0,0 +1,21 @@
+# See https://help.github.com/articles/ignoring-files for more about ignoring files.
+#
+# If you find yourself ignoring temporary files generated by your text editor
+# or operating system, you probably want to add a global ignore instead:
+# git config --global core.excludesfile '~/.gitignore_global'
+
+# Ignore bundler config.
+/.bundle
+
+# Ignore the default SQLite database.
+/db/*.sqlite3
+/db/*.sqlite3-journal
+
+# Ignore all logfiles and tempfiles.
+/log/*
+/tmp/*
+!/log/.keep
+!/tmp/.keep
+
+# Ignore Byebug command history file.
+.byebug_history
diff --git a/dylan_eckert/models/dojo_ninjas/Gemfile b/dylan_eckert/models/dojo_ninjas/Gemfile
new file mode 100644
index 0000000..cef91e9
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/Gemfile
@@ -0,0 +1,53 @@
+source 'https://rubygems.org'
+
+git_source(:github) do |repo_name|
+ repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
+ "https://github.com/#{repo_name}.git"
+end
+
+gem 'hirb'
+# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
+gem 'rails', '~> 5.0.6'
+# Use sqlite3 as the database for Active Record
+gem 'sqlite3'
+# Use Puma as the app server
+gem 'puma', '~> 3.0'
+# Use SCSS for stylesheets
+gem 'sass-rails', '~> 5.0'
+# Use Uglifier as compressor for JavaScript assets
+gem 'uglifier', '>= 1.3.0'
+# Use CoffeeScript for .coffee assets and views
+gem 'coffee-rails', '~> 4.2'
+# See https://github.com/rails/execjs#readme for more supported runtimes
+# gem 'therubyracer', platforms: :ruby
+
+# Use jquery as the JavaScript library
+gem 'jquery-rails'
+# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
+gem 'turbolinks', '~> 5'
+# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
+gem 'jbuilder', '~> 2.5'
+# Use Redis adapter to run Action Cable in production
+# gem 'redis', '~> 3.0'
+# Use ActiveModel has_secure_password
+# gem 'bcrypt', '~> 3.1.7'
+
+# Use Capistrano for deployment
+# gem 'capistrano-rails', group: :development
+
+group :development, :test do
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
+ gem 'byebug', platform: :mri
+end
+
+group :development do
+ # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
+ gem 'web-console', '>= 3.3.0'
+ gem 'listen', '~> 3.0.5'
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
+ gem 'spring'
+ gem 'spring-watcher-listen', '~> 2.0.0'
+end
+
+# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
+gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
diff --git a/dylan_eckert/models/dojo_ninjas/Gemfile.lock b/dylan_eckert/models/dojo_ninjas/Gemfile.lock
new file mode 100644
index 0000000..666314f
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/Gemfile.lock
@@ -0,0 +1,181 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actioncable (5.0.6)
+ actionpack (= 5.0.6)
+ nio4r (>= 1.2, < 3.0)
+ websocket-driver (~> 0.6.1)
+ actionmailer (5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ mail (~> 2.5, >= 2.5.4)
+ rails-dom-testing (~> 2.0)
+ actionpack (5.0.6)
+ actionview (= 5.0.6)
+ activesupport (= 5.0.6)
+ rack (~> 2.0)
+ rack-test (~> 0.6.3)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
+ actionview (5.0.6)
+ activesupport (= 5.0.6)
+ builder (~> 3.1)
+ erubis (~> 2.7.0)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
+ activejob (5.0.6)
+ activesupport (= 5.0.6)
+ globalid (>= 0.3.6)
+ activemodel (5.0.6)
+ activesupport (= 5.0.6)
+ activerecord (5.0.6)
+ activemodel (= 5.0.6)
+ activesupport (= 5.0.6)
+ arel (~> 7.0)
+ activesupport (5.0.6)
+ concurrent-ruby (~> 1.0, >= 1.0.2)
+ i18n (~> 0.7)
+ minitest (~> 5.1)
+ tzinfo (~> 1.1)
+ arel (7.1.4)
+ bindex (0.5.0)
+ builder (3.2.3)
+ byebug (9.1.0)
+ coffee-rails (4.2.2)
+ coffee-script (>= 2.2.0)
+ railties (>= 4.0.0)
+ coffee-script (2.4.1)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.12.2)
+ concurrent-ruby (1.0.5)
+ crass (1.0.3)
+ erubis (2.7.0)
+ execjs (2.7.0)
+ ffi (1.9.18)
+ globalid (0.4.1)
+ activesupport (>= 4.2.0)
+ hirb (0.7.3)
+ i18n (0.9.1)
+ concurrent-ruby (~> 1.0)
+ jbuilder (2.7.0)
+ activesupport (>= 4.2.0)
+ multi_json (>= 1.2)
+ jquery-rails (4.3.1)
+ rails-dom-testing (>= 1, < 3)
+ railties (>= 4.2.0)
+ thor (>= 0.14, < 2.0)
+ listen (3.0.8)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ loofah (2.1.1)
+ crass (~> 1.0.2)
+ nokogiri (>= 1.5.9)
+ mail (2.7.0)
+ mini_mime (>= 0.1.1)
+ method_source (0.9.0)
+ mini_mime (1.0.0)
+ mini_portile2 (2.3.0)
+ minitest (5.10.3)
+ multi_json (1.12.2)
+ nio4r (2.1.0)
+ nokogiri (1.8.1)
+ mini_portile2 (~> 2.3.0)
+ puma (3.11.0)
+ rack (2.0.3)
+ rack-test (0.6.3)
+ rack (>= 1.0)
+ rails (5.0.6)
+ actioncable (= 5.0.6)
+ actionmailer (= 5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ activemodel (= 5.0.6)
+ activerecord (= 5.0.6)
+ activesupport (= 5.0.6)
+ bundler (>= 1.3.0)
+ railties (= 5.0.6)
+ sprockets-rails (>= 2.0.0)
+ rails-dom-testing (2.0.3)
+ activesupport (>= 4.2.0)
+ nokogiri (>= 1.6)
+ rails-html-sanitizer (1.0.3)
+ loofah (~> 2.0)
+ railties (5.0.6)
+ actionpack (= 5.0.6)
+ activesupport (= 5.0.6)
+ method_source
+ rake (>= 0.8.7)
+ thor (>= 0.18.1, < 2.0)
+ rake (12.3.0)
+ rb-fsevent (0.10.2)
+ rb-inotify (0.9.10)
+ ffi (>= 0.5.0, < 2)
+ sass (3.5.3)
+ sass-listen (~> 4.0.0)
+ sass-listen (4.0.0)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ sass-rails (5.0.7)
+ railties (>= 4.0.0, < 6)
+ sass (~> 3.1)
+ sprockets (>= 2.8, < 4.0)
+ sprockets-rails (>= 2.0, < 4.0)
+ tilt (>= 1.1, < 3)
+ spring (2.0.2)
+ activesupport (>= 4.2)
+ spring-watcher-listen (2.0.1)
+ listen (>= 2.7, < 4.0)
+ spring (>= 1.2, < 3.0)
+ sprockets (3.7.1)
+ concurrent-ruby (~> 1.0)
+ rack (> 1, < 3)
+ sprockets-rails (3.2.1)
+ actionpack (>= 4.0)
+ activesupport (>= 4.0)
+ sprockets (>= 3.0.0)
+ sqlite3 (1.3.13)
+ thor (0.20.0)
+ thread_safe (0.3.6)
+ tilt (2.0.8)
+ turbolinks (5.0.1)
+ turbolinks-source (~> 5)
+ turbolinks-source (5.0.3)
+ tzinfo (1.2.4)
+ thread_safe (~> 0.1)
+ uglifier (3.2.0)
+ execjs (>= 0.3.0, < 3)
+ web-console (3.5.1)
+ actionview (>= 5.0)
+ activemodel (>= 5.0)
+ bindex (>= 0.4.0)
+ railties (>= 5.0)
+ websocket-driver (0.6.5)
+ websocket-extensions (>= 0.1.0)
+ websocket-extensions (0.1.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ byebug
+ coffee-rails (~> 4.2)
+ hirb
+ jbuilder (~> 2.5)
+ jquery-rails
+ listen (~> 3.0.5)
+ puma (~> 3.0)
+ rails (~> 5.0.6)
+ sass-rails (~> 5.0)
+ spring
+ spring-watcher-listen (~> 2.0.0)
+ sqlite3
+ turbolinks (~> 5)
+ tzinfo-data
+ uglifier (>= 1.3.0)
+ web-console (>= 3.3.0)
+
+BUNDLED WITH
+ 1.12.5
diff --git a/dylan_eckert/models/dojo_ninjas/README.md b/dylan_eckert/models/dojo_ninjas/README.md
new file mode 100644
index 0000000..7db80e4
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/README.md
@@ -0,0 +1,24 @@
+# README
+
+This README would normally document whatever steps are necessary to get the
+application up and running.
+
+Things you may want to cover:
+
+* Ruby version
+
+* System dependencies
+
+* Configuration
+
+* Database creation
+
+* Database initialization
+
+* How to run the test suite
+
+* Services (job queues, cache servers, search engines, etc.)
+
+* Deployment instructions
+
+* ...
diff --git a/dylan_eckert/models/dojo_ninjas/Rakefile b/dylan_eckert/models/dojo_ninjas/Rakefile
new file mode 100644
index 0000000..e85f913
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/Rakefile
@@ -0,0 +1,6 @@
+# Add your own tasks in files placed in lib/tasks ending in .rake,
+# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
+
+require_relative 'config/application'
+
+Rails.application.load_tasks
diff --git a/dylan_eckert/models/dojo_ninjas/app/assets/config/manifest.js b/dylan_eckert/models/dojo_ninjas/app/assets/config/manifest.js
new file mode 100644
index 0000000..b16e53d
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/app/assets/config/manifest.js
@@ -0,0 +1,3 @@
+//= link_tree ../images
+//= link_directory ../javascripts .js
+//= link_directory ../stylesheets .css
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/app/mailers/.keep b/dylan_eckert/models/dojo_ninjas/app/assets/images/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/app/mailers/.keep
rename to dylan_eckert/models/dojo_ninjas/app/assets/images/.keep
diff --git a/dylan_eckert/models/dojo_ninjas/app/assets/javascripts/application.js b/dylan_eckert/models/dojo_ninjas/app/assets/javascripts/application.js
new file mode 100644
index 0000000..b12018d
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/app/assets/javascripts/application.js
@@ -0,0 +1,16 @@
+// This is a manifest file that'll be compiled into application.js, which will include all the files
+// listed below.
+//
+// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
+// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
+//
+// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
+// compiled file. JavaScript code in this file should be added after the last require_* statement.
+//
+// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
+// about supported directives.
+//
+//= require jquery
+//= require jquery_ujs
+//= require turbolinks
+//= require_tree .
diff --git a/dylan_eckert/models/dojo_ninjas/app/assets/javascripts/cable.js b/dylan_eckert/models/dojo_ninjas/app/assets/javascripts/cable.js
new file mode 100644
index 0000000..71ee1e6
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/app/assets/javascripts/cable.js
@@ -0,0 +1,13 @@
+// Action Cable provides the framework to deal with WebSockets in Rails.
+// You can generate new channels where WebSocket features live using the rails generate channel command.
+//
+//= require action_cable
+//= require_self
+//= require_tree ./channels
+
+(function() {
+ this.App || (this.App = {});
+
+ App.cable = ActionCable.createConsumer();
+
+}).call(this);
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/app/models/.keep b/dylan_eckert/models/dojo_ninjas/app/assets/javascripts/channels/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/app/models/.keep
rename to dylan_eckert/models/dojo_ninjas/app/assets/javascripts/channels/.keep
diff --git a/dylan_eckert/models/dojo_ninjas/app/assets/stylesheets/application.css b/dylan_eckert/models/dojo_ninjas/app/assets/stylesheets/application.css
new file mode 100644
index 0000000..0ebd7fe
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/app/assets/stylesheets/application.css
@@ -0,0 +1,15 @@
+/*
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
+ * listed below.
+ *
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
+ * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
+ *
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
+ * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
+ * files in this directory. Styles in this file should be added after the last require_* statement.
+ * It is generally better to create a new file per style scope.
+ *
+ *= require_tree .
+ *= require_self
+ */
diff --git a/dylan_eckert/models/dojo_ninjas/app/channels/application_cable/channel.rb b/dylan_eckert/models/dojo_ninjas/app/channels/application_cable/channel.rb
new file mode 100644
index 0000000..d672697
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/app/channels/application_cable/channel.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Channel < ActionCable::Channel::Base
+ end
+end
diff --git a/dylan_eckert/models/dojo_ninjas/app/channels/application_cable/connection.rb b/dylan_eckert/models/dojo_ninjas/app/channels/application_cable/connection.rb
new file mode 100644
index 0000000..0ff5442
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/app/channels/application_cable/connection.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Connection < ActionCable::Connection::Base
+ end
+end
diff --git a/dylan_eckert/models/dojo_ninjas/app/controllers/application_controller.rb b/dylan_eckert/models/dojo_ninjas/app/controllers/application_controller.rb
new file mode 100644
index 0000000..1c07694
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/app/controllers/application_controller.rb
@@ -0,0 +1,3 @@
+class ApplicationController < ActionController::Base
+ protect_from_forgery with: :exception
+end
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/app/models/concerns/.keep b/dylan_eckert/models/dojo_ninjas/app/controllers/concerns/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/app/models/concerns/.keep
rename to dylan_eckert/models/dojo_ninjas/app/controllers/concerns/.keep
diff --git a/Rodolfo_Valdivieso/models/blogs2/app/helpers/application_helper.rb b/dylan_eckert/models/dojo_ninjas/app/helpers/application_helper.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/app/helpers/application_helper.rb
rename to dylan_eckert/models/dojo_ninjas/app/helpers/application_helper.rb
diff --git a/dylan_eckert/models/dojo_ninjas/app/jobs/application_job.rb b/dylan_eckert/models/dojo_ninjas/app/jobs/application_job.rb
new file mode 100644
index 0000000..a009ace
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/app/jobs/application_job.rb
@@ -0,0 +1,2 @@
+class ApplicationJob < ActiveJob::Base
+end
diff --git a/dylan_eckert/models/dojo_ninjas/app/mailers/application_mailer.rb b/dylan_eckert/models/dojo_ninjas/app/mailers/application_mailer.rb
new file mode 100644
index 0000000..286b223
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/app/mailers/application_mailer.rb
@@ -0,0 +1,4 @@
+class ApplicationMailer < ActionMailer::Base
+ default from: 'from@example.com'
+ layout 'mailer'
+end
diff --git a/dylan_eckert/models/dojo_ninjas/app/models/application_record.rb b/dylan_eckert/models/dojo_ninjas/app/models/application_record.rb
new file mode 100644
index 0000000..10a4cba
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/app/models/application_record.rb
@@ -0,0 +1,3 @@
+class ApplicationRecord < ActiveRecord::Base
+ self.abstract_class = true
+end
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/lib/assets/.keep b/dylan_eckert/models/dojo_ninjas/app/models/concerns/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/lib/assets/.keep
rename to dylan_eckert/models/dojo_ninjas/app/models/concerns/.keep
diff --git a/dylan_eckert/models/dojo_ninjas/app/models/dojo.rb b/dylan_eckert/models/dojo_ninjas/app/models/dojo.rb
new file mode 100644
index 0000000..eee620c
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/app/models/dojo.rb
@@ -0,0 +1,5 @@
+class Dojo < ApplicationRecord
+ has_many :ninjas
+ validates :name, :city, :state , presence: true
+ validates :state, length:{is:2}
+end
diff --git a/dylan_eckert/models/dojo_ninjas/app/models/ninja.rb b/dylan_eckert/models/dojo_ninjas/app/models/ninja.rb
new file mode 100644
index 0000000..c0342b8
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/app/models/ninja.rb
@@ -0,0 +1,4 @@
+class Ninja < ApplicationRecord
+ belongs_to :dojo
+ validates :fname, :lname, presence: true
+end
diff --git a/dylan_eckert/models/dojo_ninjas/app/views/layouts/application.html.erb b/dylan_eckert/models/dojo_ninjas/app/views/layouts/application.html.erb
new file mode 100644
index 0000000..f660c1e
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/app/views/layouts/application.html.erb
@@ -0,0 +1,14 @@
+
+
+
+ DojoNinjas
+ <%= csrf_meta_tags %>
+
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
+ <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
+
+
+
+ <%= yield %>
+
+
diff --git a/dylan_eckert/models/dojo_ninjas/app/views/layouts/mailer.html.erb b/dylan_eckert/models/dojo_ninjas/app/views/layouts/mailer.html.erb
new file mode 100644
index 0000000..cbd34d2
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/app/views/layouts/mailer.html.erb
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+ <%= yield %>
+
+
diff --git a/dylan_eckert/models/dojo_ninjas/app/views/layouts/mailer.text.erb b/dylan_eckert/models/dojo_ninjas/app/views/layouts/mailer.text.erb
new file mode 100644
index 0000000..37f0bdd
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/app/views/layouts/mailer.text.erb
@@ -0,0 +1 @@
+<%= yield %>
diff --git a/Rodolfo_Valdivieso/models/blogs2/bin/bundle b/dylan_eckert/models/dojo_ninjas/bin/bundle
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/bin/bundle
rename to dylan_eckert/models/dojo_ninjas/bin/bundle
diff --git a/dylan_eckert/models/dojo_ninjas/bin/rails b/dylan_eckert/models/dojo_ninjas/bin/rails
new file mode 100755
index 0000000..5badb2f
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/bin/rails
@@ -0,0 +1,9 @@
+#!/usr/bin/env ruby
+begin
+ load File.expand_path('../spring', __FILE__)
+rescue LoadError => e
+ raise unless e.message.include?('spring')
+end
+APP_PATH = File.expand_path('../config/application', __dir__)
+require_relative '../config/boot'
+require 'rails/commands'
diff --git a/Rodolfo_Valdivieso/models/blogs2/bin/rake b/dylan_eckert/models/dojo_ninjas/bin/rake
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/bin/rake
rename to dylan_eckert/models/dojo_ninjas/bin/rake
diff --git a/dylan_eckert/models/dojo_ninjas/bin/setup b/dylan_eckert/models/dojo_ninjas/bin/setup
new file mode 100755
index 0000000..e620b4d
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/bin/setup
@@ -0,0 +1,34 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a starting point to setup your application.
+ # Add necessary setup steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ # puts "\n== Copying sample files =="
+ # unless File.exist?('config/database.yml')
+ # cp 'config/database.yml.sample', 'config/database.yml'
+ # end
+
+ puts "\n== Preparing database =="
+ system! 'bin/rails db:setup'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/Rodolfo_Valdivieso/models/blogs2/bin/spring b/dylan_eckert/models/dojo_ninjas/bin/spring
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/bin/spring
rename to dylan_eckert/models/dojo_ninjas/bin/spring
diff --git a/dylan_eckert/models/dojo_ninjas/bin/update b/dylan_eckert/models/dojo_ninjas/bin/update
new file mode 100755
index 0000000..a8e4462
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/bin/update
@@ -0,0 +1,29 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a way to update your development environment automatically.
+ # Add necessary update steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ puts "\n== Updating database =="
+ system! 'bin/rails db:migrate'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/dylan_eckert/models/dojo_ninjas/commands.txt b/dylan_eckert/models/dojo_ninjas/commands.txt
new file mode 100644
index 0000000..51438ae
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/commands.txt
@@ -0,0 +1,35 @@
+rails new dojo_ninjas
+
+rails g model Dojo name:string city:string state:string
+
+rails g model Ninja fname:string lname:string dojo:references
+
+class Ninja < ApplicationRecord
+ belongs_to :dojo
+ validates :fname, :lname, presence: true
+end
+
+class Dojo < ApplicationRecord
+ has_many :ninjas, dependent: :destroy
+ validates :name, :city, :state , presence: true
+ validates :state, length:{is:2}
+end
+
+Dojo.create(name:"bro")
+ (0.1ms) begin transaction
+ (0.1ms) rollback transaction
+=> #
+
+Dojo.create(name:"CD Silicon", city:"Mtn View", state:"CA")
+
+Dojo.destroy_all
+
+Ninja.create(fname:"cob", lname:"cobbers", dojo: Dojo.first)
+
+Ninja.create(fname:"bill", lname:"billers", dojo: Dojo.find(2))
+
+Ninja.create(fname:"bude", lname:"budely", dojo: Dojo.last)
+
+Dojo.first.ninjas.all
+
+Dojo.find(2).ninjas.select(:fname).order('created_at DESC')
diff --git a/dylan_eckert/models/dojo_ninjas/config.ru b/dylan_eckert/models/dojo_ninjas/config.ru
new file mode 100644
index 0000000..f7ba0b5
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/config.ru
@@ -0,0 +1,5 @@
+# This file is used by Rack-based servers to start the application.
+
+require_relative 'config/environment'
+
+run Rails.application
diff --git a/dylan_eckert/models/dojo_ninjas/config/application.rb b/dylan_eckert/models/dojo_ninjas/config/application.rb
new file mode 100644
index 0000000..cbe4837
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/config/application.rb
@@ -0,0 +1,15 @@
+require_relative 'boot'
+
+require 'rails/all'
+
+# Require the gems listed in Gemfile, including any gems
+# you've limited to :test, :development, or :production.
+Bundler.require(*Rails.groups)
+
+module DojoNinjas
+ class Application < Rails::Application
+ # Settings in config/environments/* take precedence over those specified here.
+ # Application configuration should go into files in config/initializers
+ # -- all .rb files in that directory are automatically loaded.
+ end
+end
diff --git a/dylan_eckert/models/dojo_ninjas/config/boot.rb b/dylan_eckert/models/dojo_ninjas/config/boot.rb
new file mode 100644
index 0000000..30f5120
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/config/boot.rb
@@ -0,0 +1,3 @@
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
+
+require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/dylan_eckert/models/dojo_ninjas/config/cable.yml b/dylan_eckert/models/dojo_ninjas/config/cable.yml
new file mode 100644
index 0000000..0bbde6f
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/config/cable.yml
@@ -0,0 +1,9 @@
+development:
+ adapter: async
+
+test:
+ adapter: async
+
+production:
+ adapter: redis
+ url: redis://localhost:6379/1
diff --git a/Rodolfo_Valdivieso/models/blogs/config/database.yml b/dylan_eckert/models/dojo_ninjas/config/database.yml
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/config/database.yml
rename to dylan_eckert/models/dojo_ninjas/config/database.yml
diff --git a/dylan_eckert/models/dojo_ninjas/config/environment.rb b/dylan_eckert/models/dojo_ninjas/config/environment.rb
new file mode 100644
index 0000000..426333b
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/config/environment.rb
@@ -0,0 +1,5 @@
+# Load the Rails application.
+require_relative 'application'
+
+# Initialize the Rails application.
+Rails.application.initialize!
diff --git a/dylan_eckert/models/dojo_ninjas/config/environments/development.rb b/dylan_eckert/models/dojo_ninjas/config/environments/development.rb
new file mode 100644
index 0000000..6f71970
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/config/environments/development.rb
@@ -0,0 +1,54 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # In the development environment your application's code is reloaded on
+ # every request. This slows down response time but is perfect for development
+ # since you don't have to restart the web server when you make code changes.
+ config.cache_classes = false
+
+ # Do not eager load code on boot.
+ config.eager_load = false
+
+ # Show full error reports.
+ config.consider_all_requests_local = true
+
+ # Enable/disable caching. By default caching is disabled.
+ if Rails.root.join('tmp/caching-dev.txt').exist?
+ config.action_controller.perform_caching = true
+
+ config.cache_store = :memory_store
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=172800'
+ }
+ else
+ config.action_controller.perform_caching = false
+
+ config.cache_store = :null_store
+ end
+
+ # Don't care if the mailer can't send.
+ config.action_mailer.raise_delivery_errors = false
+
+ config.action_mailer.perform_caching = false
+
+ # Print deprecation notices to the Rails logger.
+ config.active_support.deprecation = :log
+
+ # Raise an error on page load if there are pending migrations.
+ config.active_record.migration_error = :page_load
+
+ # Debug mode disables concatenation and preprocessing of assets.
+ # This option may cause significant delays in view rendering with a large
+ # number of complex assets.
+ config.assets.debug = true
+
+ # Suppress logger output for asset requests.
+ config.assets.quiet = true
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+
+ # Use an evented file watcher to asynchronously detect changes in source code,
+ # routes, locales, etc. This feature depends on the listen gem.
+ config.file_watcher = ActiveSupport::EventedFileUpdateChecker
+end
diff --git a/dylan_eckert/models/dojo_ninjas/config/environments/production.rb b/dylan_eckert/models/dojo_ninjas/config/environments/production.rb
new file mode 100644
index 0000000..de2ccd0
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/config/environments/production.rb
@@ -0,0 +1,86 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # Code is not reloaded between requests.
+ config.cache_classes = true
+
+ # Eager load code on boot. This eager loads most of Rails and
+ # your application in memory, allowing both threaded web servers
+ # and those relying on copy on write to perform better.
+ # Rake tasks automatically ignore this option for performance.
+ config.eager_load = true
+
+ # Full error reports are disabled and caching is turned on.
+ config.consider_all_requests_local = false
+ config.action_controller.perform_caching = true
+
+ # Disable serving static files from the `/public` folder by default since
+ # Apache or NGINX already handles this.
+ config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
+
+ # Compress JavaScripts and CSS.
+ config.assets.js_compressor = :uglifier
+ # config.assets.css_compressor = :sass
+
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
+ config.assets.compile = false
+
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
+
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
+ # config.action_controller.asset_host = 'http://assets.example.com'
+
+ # Specifies the header that your server uses for sending files.
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
+
+ # Mount Action Cable outside main process or domain
+ # config.action_cable.mount_path = nil
+ # config.action_cable.url = 'wss://example.com/cable'
+ # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
+
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
+ # config.force_ssl = true
+
+ # Use the lowest log level to ensure availability of diagnostic information
+ # when problems arise.
+ config.log_level = :debug
+
+ # Prepend all log lines with the following tags.
+ config.log_tags = [ :request_id ]
+
+ # Use a different cache store in production.
+ # config.cache_store = :mem_cache_store
+
+ # Use a real queuing backend for Active Job (and separate queues per environment)
+ # config.active_job.queue_adapter = :resque
+ # config.active_job.queue_name_prefix = "dojo_ninjas_#{Rails.env}"
+ config.action_mailer.perform_caching = false
+
+ # Ignore bad email addresses and do not raise email delivery errors.
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
+ # config.action_mailer.raise_delivery_errors = false
+
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
+ # the I18n.default_locale when a translation cannot be found).
+ config.i18n.fallbacks = true
+
+ # Send deprecation notices to registered listeners.
+ config.active_support.deprecation = :notify
+
+ # Use default logging formatter so that PID and timestamp are not suppressed.
+ config.log_formatter = ::Logger::Formatter.new
+
+ # Use a different logger for distributed setups.
+ # require 'syslog/logger'
+ # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
+
+ if ENV["RAILS_LOG_TO_STDOUT"].present?
+ logger = ActiveSupport::Logger.new(STDOUT)
+ logger.formatter = config.log_formatter
+ config.logger = ActiveSupport::TaggedLogging.new(logger)
+ end
+
+ # Do not dump schema after migrations.
+ config.active_record.dump_schema_after_migration = false
+end
diff --git a/dylan_eckert/models/dojo_ninjas/config/environments/test.rb b/dylan_eckert/models/dojo_ninjas/config/environments/test.rb
new file mode 100644
index 0000000..30587ef
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/config/environments/test.rb
@@ -0,0 +1,42 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # The test environment is used exclusively to run your application's
+ # test suite. You never need to work with it otherwise. Remember that
+ # your test database is "scratch space" for the test suite and is wiped
+ # and recreated between test runs. Don't rely on the data there!
+ config.cache_classes = true
+
+ # Do not eager load code on boot. This avoids loading your whole application
+ # just for the purpose of running a single test. If you are using a tool that
+ # preloads Rails for running tests, you may have to set it to true.
+ config.eager_load = false
+
+ # Configure public file server for tests with Cache-Control for performance.
+ config.public_file_server.enabled = true
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=3600'
+ }
+
+ # Show full error reports and disable caching.
+ config.consider_all_requests_local = true
+ config.action_controller.perform_caching = false
+
+ # Raise exceptions instead of rendering exception templates.
+ config.action_dispatch.show_exceptions = false
+
+ # Disable request forgery protection in test environment.
+ config.action_controller.allow_forgery_protection = false
+ config.action_mailer.perform_caching = false
+
+ # Tell Action Mailer not to deliver emails to the real world.
+ # The :test delivery method accumulates sent emails in the
+ # ActionMailer::Base.deliveries array.
+ config.action_mailer.delivery_method = :test
+
+ # Print deprecation notices to the stderr.
+ config.active_support.deprecation = :stderr
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+end
diff --git a/dylan_eckert/models/dojo_ninjas/config/initializers/application_controller_renderer.rb b/dylan_eckert/models/dojo_ninjas/config/initializers/application_controller_renderer.rb
new file mode 100644
index 0000000..89d2efa
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/config/initializers/application_controller_renderer.rb
@@ -0,0 +1,8 @@
+# Be sure to restart your server when you modify this file.
+
+# ActiveSupport::Reloader.to_prepare do
+# ApplicationController.renderer.defaults.merge!(
+# http_host: 'example.org',
+# https: false
+# )
+# end
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/config/initializers/assets.rb b/dylan_eckert/models/dojo_ninjas/config/initializers/assets.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/config/initializers/assets.rb
rename to dylan_eckert/models/dojo_ninjas/config/initializers/assets.rb
diff --git a/Rodolfo_Valdivieso/models/blogs2/config/initializers/backtrace_silencers.rb b/dylan_eckert/models/dojo_ninjas/config/initializers/backtrace_silencers.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/config/initializers/backtrace_silencers.rb
rename to dylan_eckert/models/dojo_ninjas/config/initializers/backtrace_silencers.rb
diff --git a/dylan_eckert/models/dojo_ninjas/config/initializers/cookies_serializer.rb b/dylan_eckert/models/dojo_ninjas/config/initializers/cookies_serializer.rb
new file mode 100644
index 0000000..5a6a32d
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/config/initializers/cookies_serializer.rb
@@ -0,0 +1,5 @@
+# Be sure to restart your server when you modify this file.
+
+# Specify a serializer for the signed and encrypted cookie jars.
+# Valid options are :json, :marshal, and :hybrid.
+Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Rodolfo_Valdivieso/models/blogs2/config/initializers/filter_parameter_logging.rb b/dylan_eckert/models/dojo_ninjas/config/initializers/filter_parameter_logging.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/config/initializers/filter_parameter_logging.rb
rename to dylan_eckert/models/dojo_ninjas/config/initializers/filter_parameter_logging.rb
diff --git a/Rodolfo_Valdivieso/models/blogs2/config/initializers/inflections.rb b/dylan_eckert/models/dojo_ninjas/config/initializers/inflections.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/config/initializers/inflections.rb
rename to dylan_eckert/models/dojo_ninjas/config/initializers/inflections.rb
diff --git a/Rodolfo_Valdivieso/models/blogs2/config/initializers/mime_types.rb b/dylan_eckert/models/dojo_ninjas/config/initializers/mime_types.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/config/initializers/mime_types.rb
rename to dylan_eckert/models/dojo_ninjas/config/initializers/mime_types.rb
diff --git a/dylan_eckert/models/dojo_ninjas/config/initializers/new_framework_defaults.rb b/dylan_eckert/models/dojo_ninjas/config/initializers/new_framework_defaults.rb
new file mode 100644
index 0000000..dd236b5
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/config/initializers/new_framework_defaults.rb
@@ -0,0 +1,26 @@
+# Be sure to restart your server when you modify this file.
+#
+# This file contains migration options to ease your Rails 5.0 upgrade.
+#
+# Read the Guide for Upgrading Ruby on Rails for more info on each option.
+
+Rails.application.config.action_controller.raise_on_unfiltered_parameters = true
+
+# Enable per-form CSRF tokens. Previous versions had false.
+Rails.application.config.action_controller.per_form_csrf_tokens = true
+
+# Enable origin-checking CSRF mitigation. Previous versions had false.
+Rails.application.config.action_controller.forgery_protection_origin_check = true
+
+# Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`.
+# Previous versions had false.
+ActiveSupport.to_time_preserves_timezone = true
+
+# Require `belongs_to` associations by default. Previous versions had false.
+Rails.application.config.active_record.belongs_to_required_by_default = true
+
+# Do not halt callback chains when a callback returns false. Previous versions had true.
+ActiveSupport.halt_callback_chains_on_return_false = false
+
+# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
+Rails.application.config.ssl_options = { hsts: { subdomains: true } }
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/config/initializers/session_store.rb b/dylan_eckert/models/dojo_ninjas/config/initializers/session_store.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/config/initializers/session_store.rb
rename to dylan_eckert/models/dojo_ninjas/config/initializers/session_store.rb
diff --git a/dylan_eckert/models/dojo_ninjas/config/initializers/wrap_parameters.rb b/dylan_eckert/models/dojo_ninjas/config/initializers/wrap_parameters.rb
new file mode 100644
index 0000000..bbfc396
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/config/initializers/wrap_parameters.rb
@@ -0,0 +1,14 @@
+# Be sure to restart your server when you modify this file.
+
+# This file contains settings for ActionController::ParamsWrapper which
+# is enabled by default.
+
+# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
+ActiveSupport.on_load(:action_controller) do
+ wrap_parameters format: [:json]
+end
+
+# To enable root element in JSON for ActiveRecord objects.
+# ActiveSupport.on_load(:active_record) do
+# self.include_root_in_json = true
+# end
diff --git a/Rodolfo_Valdivieso/models/blogs2/config/locales/en.yml b/dylan_eckert/models/dojo_ninjas/config/locales/en.yml
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/config/locales/en.yml
rename to dylan_eckert/models/dojo_ninjas/config/locales/en.yml
diff --git a/dylan_eckert/models/dojo_ninjas/config/puma.rb b/dylan_eckert/models/dojo_ninjas/config/puma.rb
new file mode 100644
index 0000000..c7f311f
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/config/puma.rb
@@ -0,0 +1,47 @@
+# Puma can serve each request in a thread from an internal thread pool.
+# The `threads` method setting takes two numbers a minimum and maximum.
+# Any libraries that use thread pools should be configured to match
+# the maximum value specified for Puma. Default is set to 5 threads for minimum
+# and maximum, this matches the default thread size of Active Record.
+#
+threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i
+threads threads_count, threads_count
+
+# Specifies the `port` that Puma will listen on to receive requests, default is 3000.
+#
+port ENV.fetch("PORT") { 3000 }
+
+# Specifies the `environment` that Puma will run in.
+#
+environment ENV.fetch("RAILS_ENV") { "development" }
+
+# Specifies the number of `workers` to boot in clustered mode.
+# Workers are forked webserver processes. If using threads and workers together
+# the concurrency of the application would be max `threads` * `workers`.
+# Workers do not work on JRuby or Windows (both of which do not support
+# processes).
+#
+# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
+
+# Use the `preload_app!` method when specifying a `workers` number.
+# This directive tells Puma to first boot the application and load code
+# before forking the application. This takes advantage of Copy On Write
+# process behavior so workers use less memory. If you use this option
+# you need to make sure to reconnect any threads in the `on_worker_boot`
+# block.
+#
+# preload_app!
+
+# The code in the `on_worker_boot` will be called if you are using
+# clustered mode by specifying a number of `workers`. After each worker
+# process is booted this block will be run, if you are using `preload_app!`
+# option you will want to use this block to reconnect to any threads
+# or connections that may have been created at application boot, Ruby
+# cannot share connections between processes.
+#
+# on_worker_boot do
+# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
+# end
+
+# Allow puma to be restarted by `rails restart` command.
+plugin :tmp_restart
diff --git a/dylan_eckert/models/dojo_ninjas/config/routes.rb b/dylan_eckert/models/dojo_ninjas/config/routes.rb
new file mode 100644
index 0000000..787824f
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/config/routes.rb
@@ -0,0 +1,3 @@
+Rails.application.routes.draw do
+ # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
+end
diff --git a/dylan_eckert/models/dojo_ninjas/config/secrets.yml b/dylan_eckert/models/dojo_ninjas/config/secrets.yml
new file mode 100644
index 0000000..6239b91
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/config/secrets.yml
@@ -0,0 +1,22 @@
+# Be sure to restart your server when you modify this file.
+
+# Your secret key is used for verifying the integrity of signed cookies.
+# If you change this key, all old signed cookies will become invalid!
+
+# Make sure the secret is at least 30 characters and all random,
+# no regular words or you'll be exposed to dictionary attacks.
+# You can use `rails secret` to generate a secure secret key.
+
+# Make sure the secrets in this file are kept private
+# if you're sharing your code publicly.
+
+development:
+ secret_key_base: fc6107f3b2a2ae9b90264d6a031a46aba21a010a6d674a017610b9f5026d99046a3c6a7629eb85ec747629f2363e4bd475d23b5b486d1534b5badc5e2563a3f8
+
+test:
+ secret_key_base: 8ca1bddf8b600e35cfe340b8dd81f17eed595330999db725d4b8b6c376a37547c244cff2c7119a8527b8b34bcd789b2d77ce66dc4537d02f2505702f7ad57340
+
+# Do not keep production secrets in the repository,
+# instead read values from the environment.
+production:
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/dylan_eckert/models/dojo_ninjas/config/spring.rb b/dylan_eckert/models/dojo_ninjas/config/spring.rb
new file mode 100644
index 0000000..c9119b4
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/config/spring.rb
@@ -0,0 +1,6 @@
+%w(
+ .ruby-version
+ .rbenv-vars
+ tmp/restart.txt
+ tmp/caching-dev.txt
+).each { |path| Spring.watch(path) }
diff --git a/dylan_eckert/models/dojo_ninjas/db/migrate/20171129223838_create_dojos.rb b/dylan_eckert/models/dojo_ninjas/db/migrate/20171129223838_create_dojos.rb
new file mode 100644
index 0000000..cae2a83
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/db/migrate/20171129223838_create_dojos.rb
@@ -0,0 +1,11 @@
+class CreateDojos < ActiveRecord::Migration[5.0]
+ def change
+ create_table :dojos do |t|
+ t.string :name
+ t.string :city
+ t.string :state
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/models/dojo_ninjas/db/migrate/20171129224118_create_ninjas.rb b/dylan_eckert/models/dojo_ninjas/db/migrate/20171129224118_create_ninjas.rb
new file mode 100644
index 0000000..3f65e5e
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/db/migrate/20171129224118_create_ninjas.rb
@@ -0,0 +1,11 @@
+class CreateNinjas < ActiveRecord::Migration[5.0]
+ def change
+ create_table :ninjas do |t|
+ t.string :fname
+ t.string :lname
+ t.references :dojo, foreign_key: true
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/models/dojo_ninjas/db/schema.rb b/dylan_eckert/models/dojo_ninjas/db/schema.rb
new file mode 100644
index 0000000..74094dd
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/db/schema.rb
@@ -0,0 +1,32 @@
+# This file is auto-generated from the current state of the database. Instead
+# of editing this file, please use the migrations feature of Active Record to
+# incrementally modify your database, and then regenerate this schema definition.
+#
+# Note that this schema.rb definition is the authoritative source for your
+# database schema. If you need to create the application database on another
+# system, you should be using db:schema:load, not running all the migrations
+# from scratch. The latter is a flawed and unsustainable approach (the more migrations
+# you'll amass, the slower it'll run and the greater likelihood for issues).
+#
+# It's strongly recommended that you check this file into your version control system.
+
+ActiveRecord::Schema.define(version: 20171129224118) do
+
+ create_table "dojos", force: :cascade do |t|
+ t.string "name"
+ t.string "city"
+ t.string "state"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ end
+
+ create_table "ninjas", force: :cascade do |t|
+ t.string "fname"
+ t.string "lname"
+ t.integer "dojo_id"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.index ["dojo_id"], name: "index_ninjas_on_dojo_id"
+ end
+
+end
diff --git a/dylan_eckert/models/dojo_ninjas/db/seeds.rb b/dylan_eckert/models/dojo_ninjas/db/seeds.rb
new file mode 100644
index 0000000..1beea2a
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/db/seeds.rb
@@ -0,0 +1,7 @@
+# This file should contain all the record creation needed to seed the database with its default values.
+# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
+#
+# Examples:
+#
+# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
+# Character.create(name: 'Luke', movie: movies.first)
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/lib/tasks/.keep b/dylan_eckert/models/dojo_ninjas/lib/assets/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/lib/tasks/.keep
rename to dylan_eckert/models/dojo_ninjas/lib/assets/.keep
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/log/.keep b/dylan_eckert/models/dojo_ninjas/lib/tasks/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/log/.keep
rename to dylan_eckert/models/dojo_ninjas/lib/tasks/.keep
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/test/controllers/.keep b/dylan_eckert/models/dojo_ninjas/log/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/test/controllers/.keep
rename to dylan_eckert/models/dojo_ninjas/log/.keep
diff --git a/dylan_eckert/models/dojo_ninjas/public/404.html b/dylan_eckert/models/dojo_ninjas/public/404.html
new file mode 100644
index 0000000..2be3af2
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/public/404.html
@@ -0,0 +1,67 @@
+
+
+
+ The page you were looking for doesn't exist (404)
+
+
+
+
+
+
+
+
+
The page you were looking for doesn't exist.
+
You may have mistyped the address or the page may have moved.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/models/dojo_ninjas/public/422.html b/dylan_eckert/models/dojo_ninjas/public/422.html
new file mode 100644
index 0000000..c08eac0
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/public/422.html
@@ -0,0 +1,67 @@
+
+
+
+ The change you wanted was rejected (422)
+
+
+
+
+
+
+
+
+
The change you wanted was rejected.
+
Maybe you tried to change something you didn't have access to.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/models/dojo_ninjas/public/500.html b/dylan_eckert/models/dojo_ninjas/public/500.html
new file mode 100644
index 0000000..78a030a
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/public/500.html
@@ -0,0 +1,66 @@
+
+
+
+ We're sorry, but something went wrong (500)
+
+
+
+
+
+
+
+
+
We're sorry, but something went wrong.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/test/fixtures/.keep b/dylan_eckert/models/dojo_ninjas/public/apple-touch-icon-precomposed.png
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/test/fixtures/.keep
rename to dylan_eckert/models/dojo_ninjas/public/apple-touch-icon-precomposed.png
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/test/helpers/.keep b/dylan_eckert/models/dojo_ninjas/public/apple-touch-icon.png
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/test/helpers/.keep
rename to dylan_eckert/models/dojo_ninjas/public/apple-touch-icon.png
diff --git a/Rodolfo_Valdivieso/models/optimize/public/favicon.ico b/dylan_eckert/models/dojo_ninjas/public/favicon.ico
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/public/favicon.ico
rename to dylan_eckert/models/dojo_ninjas/public/favicon.ico
diff --git a/Rodolfo_Valdivieso/models/blogs2/public/robots.txt b/dylan_eckert/models/dojo_ninjas/public/robots.txt
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/public/robots.txt
rename to dylan_eckert/models/dojo_ninjas/public/robots.txt
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/test/integration/.keep b/dylan_eckert/models/dojo_ninjas/test/controllers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/test/integration/.keep
rename to dylan_eckert/models/dojo_ninjas/test/controllers/.keep
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/test/mailers/.keep b/dylan_eckert/models/dojo_ninjas/test/fixtures/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/test/mailers/.keep
rename to dylan_eckert/models/dojo_ninjas/test/fixtures/.keep
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/test/fixtures/dojos.yml b/dylan_eckert/models/dojo_ninjas/test/fixtures/dojos.yml
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/test/fixtures/dojos.yml
rename to dylan_eckert/models/dojo_ninjas/test/fixtures/dojos.yml
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/test/models/.keep b/dylan_eckert/models/dojo_ninjas/test/fixtures/files/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/test/models/.keep
rename to dylan_eckert/models/dojo_ninjas/test/fixtures/files/.keep
diff --git a/dylan_eckert/models/dojo_ninjas/test/fixtures/ninjas.yml b/dylan_eckert/models/dojo_ninjas/test/fixtures/ninjas.yml
new file mode 100644
index 0000000..a4ca7c4
--- /dev/null
+++ b/dylan_eckert/models/dojo_ninjas/test/fixtures/ninjas.yml
@@ -0,0 +1,11 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+one:
+ fname: MyString
+ lname: MyString
+ dojo: one
+
+two:
+ fname: MyString
+ lname: MyString
+ dojo: two
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/vendor/assets/javascripts/.keep b/dylan_eckert/models/dojo_ninjas/test/helpers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/vendor/assets/javascripts/.keep
rename to dylan_eckert/models/dojo_ninjas/test/helpers/.keep
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/vendor/assets/stylesheets/.keep b/dylan_eckert/models/dojo_ninjas/test/integration/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/vendor/assets/stylesheets/.keep
rename to dylan_eckert/models/dojo_ninjas/test/integration/.keep
diff --git a/Rodolfo_Valdivieso/models/optimize/app/assets/images/.keep b/dylan_eckert/models/dojo_ninjas/test/mailers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/app/assets/images/.keep
rename to dylan_eckert/models/dojo_ninjas/test/mailers/.keep
diff --git a/Rodolfo_Valdivieso/models/optimize/app/controllers/concerns/.keep b/dylan_eckert/models/dojo_ninjas/test/models/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/app/controllers/concerns/.keep
rename to dylan_eckert/models/dojo_ninjas/test/models/.keep
diff --git a/Rodolfo_Valdivieso/controllers/dashboard2/test/models/dojo_test.rb b/dylan_eckert/models/dojo_ninjas/test/models/dojo_test.rb
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/dashboard2/test/models/dojo_test.rb
rename to dylan_eckert/models/dojo_ninjas/test/models/dojo_test.rb
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/test/models/ninja_test.rb b/dylan_eckert/models/dojo_ninjas/test/models/ninja_test.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/test/models/ninja_test.rb
rename to dylan_eckert/models/dojo_ninjas/test/models/ninja_test.rb
diff --git a/Rodolfo_Valdivieso/models/blogs/test/test_helper.rb b/dylan_eckert/models/dojo_ninjas/test/test_helper.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs/test/test_helper.rb
rename to dylan_eckert/models/dojo_ninjas/test/test_helper.rb
diff --git a/Rodolfo_Valdivieso/models/optimize/app/mailers/.keep b/dylan_eckert/models/dojo_ninjas/tmp/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/app/mailers/.keep
rename to dylan_eckert/models/dojo_ninjas/tmp/.keep
diff --git a/Rodolfo_Valdivieso/models/optimize/app/models/.keep b/dylan_eckert/models/dojo_ninjas/vendor/assets/javascripts/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/app/models/.keep
rename to dylan_eckert/models/dojo_ninjas/vendor/assets/javascripts/.keep
diff --git a/Rodolfo_Valdivieso/models/optimize/app/models/concerns/.keep b/dylan_eckert/models/dojo_ninjas/vendor/assets/stylesheets/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/app/models/concerns/.keep
rename to dylan_eckert/models/dojo_ninjas/vendor/assets/stylesheets/.keep
diff --git a/dylan_eckert/models/optimize/.gitignore b/dylan_eckert/models/optimize/.gitignore
new file mode 100644
index 0000000..bab620d
--- /dev/null
+++ b/dylan_eckert/models/optimize/.gitignore
@@ -0,0 +1,21 @@
+# See https://help.github.com/articles/ignoring-files for more about ignoring files.
+#
+# If you find yourself ignoring temporary files generated by your text editor
+# or operating system, you probably want to add a global ignore instead:
+# git config --global core.excludesfile '~/.gitignore_global'
+
+# Ignore bundler config.
+/.bundle
+
+# Ignore the default SQLite database.
+/db/*.sqlite3
+/db/*.sqlite3-journal
+
+# Ignore all logfiles and tempfiles.
+/log/*
+/tmp/*
+!/log/.keep
+!/tmp/.keep
+
+# Ignore Byebug command history file.
+.byebug_history
diff --git a/dylan_eckert/models/optimize/Gemfile b/dylan_eckert/models/optimize/Gemfile
new file mode 100644
index 0000000..cef91e9
--- /dev/null
+++ b/dylan_eckert/models/optimize/Gemfile
@@ -0,0 +1,53 @@
+source 'https://rubygems.org'
+
+git_source(:github) do |repo_name|
+ repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
+ "https://github.com/#{repo_name}.git"
+end
+
+gem 'hirb'
+# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
+gem 'rails', '~> 5.0.6'
+# Use sqlite3 as the database for Active Record
+gem 'sqlite3'
+# Use Puma as the app server
+gem 'puma', '~> 3.0'
+# Use SCSS for stylesheets
+gem 'sass-rails', '~> 5.0'
+# Use Uglifier as compressor for JavaScript assets
+gem 'uglifier', '>= 1.3.0'
+# Use CoffeeScript for .coffee assets and views
+gem 'coffee-rails', '~> 4.2'
+# See https://github.com/rails/execjs#readme for more supported runtimes
+# gem 'therubyracer', platforms: :ruby
+
+# Use jquery as the JavaScript library
+gem 'jquery-rails'
+# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
+gem 'turbolinks', '~> 5'
+# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
+gem 'jbuilder', '~> 2.5'
+# Use Redis adapter to run Action Cable in production
+# gem 'redis', '~> 3.0'
+# Use ActiveModel has_secure_password
+# gem 'bcrypt', '~> 3.1.7'
+
+# Use Capistrano for deployment
+# gem 'capistrano-rails', group: :development
+
+group :development, :test do
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
+ gem 'byebug', platform: :mri
+end
+
+group :development do
+ # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
+ gem 'web-console', '>= 3.3.0'
+ gem 'listen', '~> 3.0.5'
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
+ gem 'spring'
+ gem 'spring-watcher-listen', '~> 2.0.0'
+end
+
+# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
+gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
diff --git a/dylan_eckert/models/optimize/Gemfile.lock b/dylan_eckert/models/optimize/Gemfile.lock
new file mode 100644
index 0000000..666314f
--- /dev/null
+++ b/dylan_eckert/models/optimize/Gemfile.lock
@@ -0,0 +1,181 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actioncable (5.0.6)
+ actionpack (= 5.0.6)
+ nio4r (>= 1.2, < 3.0)
+ websocket-driver (~> 0.6.1)
+ actionmailer (5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ mail (~> 2.5, >= 2.5.4)
+ rails-dom-testing (~> 2.0)
+ actionpack (5.0.6)
+ actionview (= 5.0.6)
+ activesupport (= 5.0.6)
+ rack (~> 2.0)
+ rack-test (~> 0.6.3)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
+ actionview (5.0.6)
+ activesupport (= 5.0.6)
+ builder (~> 3.1)
+ erubis (~> 2.7.0)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
+ activejob (5.0.6)
+ activesupport (= 5.0.6)
+ globalid (>= 0.3.6)
+ activemodel (5.0.6)
+ activesupport (= 5.0.6)
+ activerecord (5.0.6)
+ activemodel (= 5.0.6)
+ activesupport (= 5.0.6)
+ arel (~> 7.0)
+ activesupport (5.0.6)
+ concurrent-ruby (~> 1.0, >= 1.0.2)
+ i18n (~> 0.7)
+ minitest (~> 5.1)
+ tzinfo (~> 1.1)
+ arel (7.1.4)
+ bindex (0.5.0)
+ builder (3.2.3)
+ byebug (9.1.0)
+ coffee-rails (4.2.2)
+ coffee-script (>= 2.2.0)
+ railties (>= 4.0.0)
+ coffee-script (2.4.1)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.12.2)
+ concurrent-ruby (1.0.5)
+ crass (1.0.3)
+ erubis (2.7.0)
+ execjs (2.7.0)
+ ffi (1.9.18)
+ globalid (0.4.1)
+ activesupport (>= 4.2.0)
+ hirb (0.7.3)
+ i18n (0.9.1)
+ concurrent-ruby (~> 1.0)
+ jbuilder (2.7.0)
+ activesupport (>= 4.2.0)
+ multi_json (>= 1.2)
+ jquery-rails (4.3.1)
+ rails-dom-testing (>= 1, < 3)
+ railties (>= 4.2.0)
+ thor (>= 0.14, < 2.0)
+ listen (3.0.8)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ loofah (2.1.1)
+ crass (~> 1.0.2)
+ nokogiri (>= 1.5.9)
+ mail (2.7.0)
+ mini_mime (>= 0.1.1)
+ method_source (0.9.0)
+ mini_mime (1.0.0)
+ mini_portile2 (2.3.0)
+ minitest (5.10.3)
+ multi_json (1.12.2)
+ nio4r (2.1.0)
+ nokogiri (1.8.1)
+ mini_portile2 (~> 2.3.0)
+ puma (3.11.0)
+ rack (2.0.3)
+ rack-test (0.6.3)
+ rack (>= 1.0)
+ rails (5.0.6)
+ actioncable (= 5.0.6)
+ actionmailer (= 5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ activemodel (= 5.0.6)
+ activerecord (= 5.0.6)
+ activesupport (= 5.0.6)
+ bundler (>= 1.3.0)
+ railties (= 5.0.6)
+ sprockets-rails (>= 2.0.0)
+ rails-dom-testing (2.0.3)
+ activesupport (>= 4.2.0)
+ nokogiri (>= 1.6)
+ rails-html-sanitizer (1.0.3)
+ loofah (~> 2.0)
+ railties (5.0.6)
+ actionpack (= 5.0.6)
+ activesupport (= 5.0.6)
+ method_source
+ rake (>= 0.8.7)
+ thor (>= 0.18.1, < 2.0)
+ rake (12.3.0)
+ rb-fsevent (0.10.2)
+ rb-inotify (0.9.10)
+ ffi (>= 0.5.0, < 2)
+ sass (3.5.3)
+ sass-listen (~> 4.0.0)
+ sass-listen (4.0.0)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ sass-rails (5.0.7)
+ railties (>= 4.0.0, < 6)
+ sass (~> 3.1)
+ sprockets (>= 2.8, < 4.0)
+ sprockets-rails (>= 2.0, < 4.0)
+ tilt (>= 1.1, < 3)
+ spring (2.0.2)
+ activesupport (>= 4.2)
+ spring-watcher-listen (2.0.1)
+ listen (>= 2.7, < 4.0)
+ spring (>= 1.2, < 3.0)
+ sprockets (3.7.1)
+ concurrent-ruby (~> 1.0)
+ rack (> 1, < 3)
+ sprockets-rails (3.2.1)
+ actionpack (>= 4.0)
+ activesupport (>= 4.0)
+ sprockets (>= 3.0.0)
+ sqlite3 (1.3.13)
+ thor (0.20.0)
+ thread_safe (0.3.6)
+ tilt (2.0.8)
+ turbolinks (5.0.1)
+ turbolinks-source (~> 5)
+ turbolinks-source (5.0.3)
+ tzinfo (1.2.4)
+ thread_safe (~> 0.1)
+ uglifier (3.2.0)
+ execjs (>= 0.3.0, < 3)
+ web-console (3.5.1)
+ actionview (>= 5.0)
+ activemodel (>= 5.0)
+ bindex (>= 0.4.0)
+ railties (>= 5.0)
+ websocket-driver (0.6.5)
+ websocket-extensions (>= 0.1.0)
+ websocket-extensions (0.1.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ byebug
+ coffee-rails (~> 4.2)
+ hirb
+ jbuilder (~> 2.5)
+ jquery-rails
+ listen (~> 3.0.5)
+ puma (~> 3.0)
+ rails (~> 5.0.6)
+ sass-rails (~> 5.0)
+ spring
+ spring-watcher-listen (~> 2.0.0)
+ sqlite3
+ turbolinks (~> 5)
+ tzinfo-data
+ uglifier (>= 1.3.0)
+ web-console (>= 3.3.0)
+
+BUNDLED WITH
+ 1.12.5
diff --git a/dylan_eckert/models/optimize/README.md b/dylan_eckert/models/optimize/README.md
new file mode 100644
index 0000000..7db80e4
--- /dev/null
+++ b/dylan_eckert/models/optimize/README.md
@@ -0,0 +1,24 @@
+# README
+
+This README would normally document whatever steps are necessary to get the
+application up and running.
+
+Things you may want to cover:
+
+* Ruby version
+
+* System dependencies
+
+* Configuration
+
+* Database creation
+
+* Database initialization
+
+* How to run the test suite
+
+* Services (job queues, cache servers, search engines, etc.)
+
+* Deployment instructions
+
+* ...
diff --git a/dylan_eckert/models/optimize/Rakefile b/dylan_eckert/models/optimize/Rakefile
new file mode 100644
index 0000000..e85f913
--- /dev/null
+++ b/dylan_eckert/models/optimize/Rakefile
@@ -0,0 +1,6 @@
+# Add your own tasks in files placed in lib/tasks ending in .rake,
+# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
+
+require_relative 'config/application'
+
+Rails.application.load_tasks
diff --git a/dylan_eckert/models/optimize/app/assets/config/manifest.js b/dylan_eckert/models/optimize/app/assets/config/manifest.js
new file mode 100644
index 0000000..b16e53d
--- /dev/null
+++ b/dylan_eckert/models/optimize/app/assets/config/manifest.js
@@ -0,0 +1,3 @@
+//= link_tree ../images
+//= link_directory ../javascripts .js
+//= link_directory ../stylesheets .css
diff --git a/Rodolfo_Valdivieso/models/optimize/lib/assets/.keep b/dylan_eckert/models/optimize/app/assets/images/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/lib/assets/.keep
rename to dylan_eckert/models/optimize/app/assets/images/.keep
diff --git a/dylan_eckert/models/optimize/app/assets/javascripts/application.js b/dylan_eckert/models/optimize/app/assets/javascripts/application.js
new file mode 100644
index 0000000..b12018d
--- /dev/null
+++ b/dylan_eckert/models/optimize/app/assets/javascripts/application.js
@@ -0,0 +1,16 @@
+// This is a manifest file that'll be compiled into application.js, which will include all the files
+// listed below.
+//
+// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
+// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
+//
+// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
+// compiled file. JavaScript code in this file should be added after the last require_* statement.
+//
+// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
+// about supported directives.
+//
+//= require jquery
+//= require jquery_ujs
+//= require turbolinks
+//= require_tree .
diff --git a/dylan_eckert/models/optimize/app/assets/javascripts/cable.js b/dylan_eckert/models/optimize/app/assets/javascripts/cable.js
new file mode 100644
index 0000000..71ee1e6
--- /dev/null
+++ b/dylan_eckert/models/optimize/app/assets/javascripts/cable.js
@@ -0,0 +1,13 @@
+// Action Cable provides the framework to deal with WebSockets in Rails.
+// You can generate new channels where WebSocket features live using the rails generate channel command.
+//
+//= require action_cable
+//= require_self
+//= require_tree ./channels
+
+(function() {
+ this.App || (this.App = {});
+
+ App.cable = ActionCable.createConsumer();
+
+}).call(this);
diff --git a/Rodolfo_Valdivieso/models/optimize/lib/tasks/.keep b/dylan_eckert/models/optimize/app/assets/javascripts/channels/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/lib/tasks/.keep
rename to dylan_eckert/models/optimize/app/assets/javascripts/channels/.keep
diff --git a/dylan_eckert/models/optimize/app/assets/stylesheets/application.css b/dylan_eckert/models/optimize/app/assets/stylesheets/application.css
new file mode 100644
index 0000000..0ebd7fe
--- /dev/null
+++ b/dylan_eckert/models/optimize/app/assets/stylesheets/application.css
@@ -0,0 +1,15 @@
+/*
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
+ * listed below.
+ *
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
+ * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
+ *
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
+ * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
+ * files in this directory. Styles in this file should be added after the last require_* statement.
+ * It is generally better to create a new file per style scope.
+ *
+ *= require_tree .
+ *= require_self
+ */
diff --git a/dylan_eckert/models/optimize/app/channels/application_cable/channel.rb b/dylan_eckert/models/optimize/app/channels/application_cable/channel.rb
new file mode 100644
index 0000000..d672697
--- /dev/null
+++ b/dylan_eckert/models/optimize/app/channels/application_cable/channel.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Channel < ActionCable::Channel::Base
+ end
+end
diff --git a/dylan_eckert/models/optimize/app/channels/application_cable/connection.rb b/dylan_eckert/models/optimize/app/channels/application_cable/connection.rb
new file mode 100644
index 0000000..0ff5442
--- /dev/null
+++ b/dylan_eckert/models/optimize/app/channels/application_cable/connection.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Connection < ActionCable::Connection::Base
+ end
+end
diff --git a/dylan_eckert/models/optimize/app/controllers/application_controller.rb b/dylan_eckert/models/optimize/app/controllers/application_controller.rb
new file mode 100644
index 0000000..1c07694
--- /dev/null
+++ b/dylan_eckert/models/optimize/app/controllers/application_controller.rb
@@ -0,0 +1,3 @@
+class ApplicationController < ActionController::Base
+ protect_from_forgery with: :exception
+end
diff --git a/Rodolfo_Valdivieso/models/optimize/log/.keep b/dylan_eckert/models/optimize/app/controllers/concerns/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/log/.keep
rename to dylan_eckert/models/optimize/app/controllers/concerns/.keep
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/app/helpers/application_helper.rb b/dylan_eckert/models/optimize/app/helpers/application_helper.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/app/helpers/application_helper.rb
rename to dylan_eckert/models/optimize/app/helpers/application_helper.rb
diff --git a/dylan_eckert/models/optimize/app/jobs/application_job.rb b/dylan_eckert/models/optimize/app/jobs/application_job.rb
new file mode 100644
index 0000000..a009ace
--- /dev/null
+++ b/dylan_eckert/models/optimize/app/jobs/application_job.rb
@@ -0,0 +1,2 @@
+class ApplicationJob < ActiveJob::Base
+end
diff --git a/dylan_eckert/models/optimize/app/mailers/application_mailer.rb b/dylan_eckert/models/optimize/app/mailers/application_mailer.rb
new file mode 100644
index 0000000..286b223
--- /dev/null
+++ b/dylan_eckert/models/optimize/app/mailers/application_mailer.rb
@@ -0,0 +1,4 @@
+class ApplicationMailer < ActionMailer::Base
+ default from: 'from@example.com'
+ layout 'mailer'
+end
diff --git a/dylan_eckert/models/optimize/app/models/application_record.rb b/dylan_eckert/models/optimize/app/models/application_record.rb
new file mode 100644
index 0000000..10a4cba
--- /dev/null
+++ b/dylan_eckert/models/optimize/app/models/application_record.rb
@@ -0,0 +1,3 @@
+class ApplicationRecord < ActiveRecord::Base
+ self.abstract_class = true
+end
diff --git a/Rodolfo_Valdivieso/models/optimize/test/controllers/.keep b/dylan_eckert/models/optimize/app/models/concerns/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/test/controllers/.keep
rename to dylan_eckert/models/optimize/app/models/concerns/.keep
diff --git a/dylan_eckert/models/optimize/app/models/player.rb b/dylan_eckert/models/optimize/app/models/player.rb
new file mode 100644
index 0000000..8a74cc6
--- /dev/null
+++ b/dylan_eckert/models/optimize/app/models/player.rb
@@ -0,0 +1,3 @@
+class Player < ApplicationRecord
+ belongs_to :team
+end
diff --git a/dylan_eckert/models/optimize/app/models/team.rb b/dylan_eckert/models/optimize/app/models/team.rb
new file mode 100644
index 0000000..1145d1a
--- /dev/null
+++ b/dylan_eckert/models/optimize/app/models/team.rb
@@ -0,0 +1,3 @@
+class Team < ApplicationRecord
+ has_many :players
+end
diff --git a/dylan_eckert/models/optimize/app/views/layouts/application.html.erb b/dylan_eckert/models/optimize/app/views/layouts/application.html.erb
new file mode 100644
index 0000000..7d4c9ad
--- /dev/null
+++ b/dylan_eckert/models/optimize/app/views/layouts/application.html.erb
@@ -0,0 +1,14 @@
+
+
+
+ Optimize
+ <%= csrf_meta_tags %>
+
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
+ <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
+
+
+
+ <%= yield %>
+
+
diff --git a/dylan_eckert/models/optimize/app/views/layouts/mailer.html.erb b/dylan_eckert/models/optimize/app/views/layouts/mailer.html.erb
new file mode 100644
index 0000000..cbd34d2
--- /dev/null
+++ b/dylan_eckert/models/optimize/app/views/layouts/mailer.html.erb
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+ <%= yield %>
+
+
diff --git a/dylan_eckert/models/optimize/app/views/layouts/mailer.text.erb b/dylan_eckert/models/optimize/app/views/layouts/mailer.text.erb
new file mode 100644
index 0000000..37f0bdd
--- /dev/null
+++ b/dylan_eckert/models/optimize/app/views/layouts/mailer.text.erb
@@ -0,0 +1 @@
+<%= yield %>
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/bin/bundle b/dylan_eckert/models/optimize/bin/bundle
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/bin/bundle
rename to dylan_eckert/models/optimize/bin/bundle
diff --git a/dylan_eckert/models/optimize/bin/rails b/dylan_eckert/models/optimize/bin/rails
new file mode 100755
index 0000000..5badb2f
--- /dev/null
+++ b/dylan_eckert/models/optimize/bin/rails
@@ -0,0 +1,9 @@
+#!/usr/bin/env ruby
+begin
+ load File.expand_path('../spring', __FILE__)
+rescue LoadError => e
+ raise unless e.message.include?('spring')
+end
+APP_PATH = File.expand_path('../config/application', __dir__)
+require_relative '../config/boot'
+require 'rails/commands'
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/bin/rake b/dylan_eckert/models/optimize/bin/rake
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/bin/rake
rename to dylan_eckert/models/optimize/bin/rake
diff --git a/dylan_eckert/models/optimize/bin/setup b/dylan_eckert/models/optimize/bin/setup
new file mode 100755
index 0000000..e620b4d
--- /dev/null
+++ b/dylan_eckert/models/optimize/bin/setup
@@ -0,0 +1,34 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a starting point to setup your application.
+ # Add necessary setup steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ # puts "\n== Copying sample files =="
+ # unless File.exist?('config/database.yml')
+ # cp 'config/database.yml.sample', 'config/database.yml'
+ # end
+
+ puts "\n== Preparing database =="
+ system! 'bin/rails db:setup'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/bin/spring b/dylan_eckert/models/optimize/bin/spring
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/bin/spring
rename to dylan_eckert/models/optimize/bin/spring
diff --git a/dylan_eckert/models/optimize/bin/update b/dylan_eckert/models/optimize/bin/update
new file mode 100755
index 0000000..a8e4462
--- /dev/null
+++ b/dylan_eckert/models/optimize/bin/update
@@ -0,0 +1,29 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a way to update your development environment automatically.
+ # Add necessary update steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ puts "\n== Updating database =="
+ system! 'bin/rails db:migrate'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/dylan_eckert/models/optimize/commands.txt b/dylan_eckert/models/optimize/commands.txt
new file mode 100644
index 0000000..31228ab
--- /dev/null
+++ b/dylan_eckert/models/optimize/commands.txt
@@ -0,0 +1,36 @@
+1) Retrieve all players, then write a program that will loop through each player and display their team name, mascot and stadium. How many queries have we done?
+
+allplayers = Player.all
+
+allplayers.each do |player|
+ puts player.team.name
+ puts player.team.mascot
+ puts player.team.stadium
+end
+
+TOTAL QUERIES = 499 (1 to get all players and 498 to get all players info so 498+1)
+
+2) Retrieve all players and write a program to loop through each player and their team name, mascot and stadium using .includes. How many queries have we done now?
+
+allplayers2 = Player.includes(:team).all
+
+allplayers2.each do |player|
+ puts player.team.name
+ puts player.team.mascot
+ puts player.team.stadium
+end
+
+TOTAL QUERIES = 2 (1 to get all players and 1 to get all players info so 1+1)
+
+3) Retrieve all players from the 'Chicago Bulls' by using .includes
+
+allplayers3 = Player.includes(:team).where("team.name = 'Chicago Bulls'").references(:team)
+
+4) Retrieve all players along with the team name that play at the 'Staples Center'
+
+allplayers4 = Player.joins(:team).select('players.*', 'teams.name as franchise', 'teams.stadium as stadium').where("teams.stadium = 'Staples Center'")
+
+5) Retrieve all teams that have any player that start their name with the letter 'Z' by using .includes and .joins
+
+allteam = Team.includes(:players).where("players.name LIKE 'Z%'").references(:players)
+allteam2 = Team.joins(:players).where("players.name LIKE 'Z%'")
diff --git a/dylan_eckert/models/optimize/config.ru b/dylan_eckert/models/optimize/config.ru
new file mode 100644
index 0000000..f7ba0b5
--- /dev/null
+++ b/dylan_eckert/models/optimize/config.ru
@@ -0,0 +1,5 @@
+# This file is used by Rack-based servers to start the application.
+
+require_relative 'config/environment'
+
+run Rails.application
diff --git a/dylan_eckert/models/optimize/config/application.rb b/dylan_eckert/models/optimize/config/application.rb
new file mode 100644
index 0000000..82e2005
--- /dev/null
+++ b/dylan_eckert/models/optimize/config/application.rb
@@ -0,0 +1,15 @@
+require_relative 'boot'
+
+require 'rails/all'
+
+# Require the gems listed in Gemfile, including any gems
+# you've limited to :test, :development, or :production.
+Bundler.require(*Rails.groups)
+
+module Optimize
+ class Application < Rails::Application
+ # Settings in config/environments/* take precedence over those specified here.
+ # Application configuration should go into files in config/initializers
+ # -- all .rb files in that directory are automatically loaded.
+ end
+end
diff --git a/dylan_eckert/models/optimize/config/boot.rb b/dylan_eckert/models/optimize/config/boot.rb
new file mode 100644
index 0000000..30f5120
--- /dev/null
+++ b/dylan_eckert/models/optimize/config/boot.rb
@@ -0,0 +1,3 @@
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
+
+require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/dylan_eckert/models/optimize/config/cable.yml b/dylan_eckert/models/optimize/config/cable.yml
new file mode 100644
index 0000000..0bbde6f
--- /dev/null
+++ b/dylan_eckert/models/optimize/config/cable.yml
@@ -0,0 +1,9 @@
+development:
+ adapter: async
+
+test:
+ adapter: async
+
+production:
+ adapter: redis
+ url: redis://localhost:6379/1
diff --git a/Rodolfo_Valdivieso/models/blogs2/config/database.yml b/dylan_eckert/models/optimize/config/database.yml
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/config/database.yml
rename to dylan_eckert/models/optimize/config/database.yml
diff --git a/dylan_eckert/models/optimize/config/environment.rb b/dylan_eckert/models/optimize/config/environment.rb
new file mode 100644
index 0000000..426333b
--- /dev/null
+++ b/dylan_eckert/models/optimize/config/environment.rb
@@ -0,0 +1,5 @@
+# Load the Rails application.
+require_relative 'application'
+
+# Initialize the Rails application.
+Rails.application.initialize!
diff --git a/dylan_eckert/models/optimize/config/environments/development.rb b/dylan_eckert/models/optimize/config/environments/development.rb
new file mode 100644
index 0000000..6f71970
--- /dev/null
+++ b/dylan_eckert/models/optimize/config/environments/development.rb
@@ -0,0 +1,54 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # In the development environment your application's code is reloaded on
+ # every request. This slows down response time but is perfect for development
+ # since you don't have to restart the web server when you make code changes.
+ config.cache_classes = false
+
+ # Do not eager load code on boot.
+ config.eager_load = false
+
+ # Show full error reports.
+ config.consider_all_requests_local = true
+
+ # Enable/disable caching. By default caching is disabled.
+ if Rails.root.join('tmp/caching-dev.txt').exist?
+ config.action_controller.perform_caching = true
+
+ config.cache_store = :memory_store
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=172800'
+ }
+ else
+ config.action_controller.perform_caching = false
+
+ config.cache_store = :null_store
+ end
+
+ # Don't care if the mailer can't send.
+ config.action_mailer.raise_delivery_errors = false
+
+ config.action_mailer.perform_caching = false
+
+ # Print deprecation notices to the Rails logger.
+ config.active_support.deprecation = :log
+
+ # Raise an error on page load if there are pending migrations.
+ config.active_record.migration_error = :page_load
+
+ # Debug mode disables concatenation and preprocessing of assets.
+ # This option may cause significant delays in view rendering with a large
+ # number of complex assets.
+ config.assets.debug = true
+
+ # Suppress logger output for asset requests.
+ config.assets.quiet = true
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+
+ # Use an evented file watcher to asynchronously detect changes in source code,
+ # routes, locales, etc. This feature depends on the listen gem.
+ config.file_watcher = ActiveSupport::EventedFileUpdateChecker
+end
diff --git a/dylan_eckert/models/optimize/config/environments/production.rb b/dylan_eckert/models/optimize/config/environments/production.rb
new file mode 100644
index 0000000..4caaa72
--- /dev/null
+++ b/dylan_eckert/models/optimize/config/environments/production.rb
@@ -0,0 +1,86 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # Code is not reloaded between requests.
+ config.cache_classes = true
+
+ # Eager load code on boot. This eager loads most of Rails and
+ # your application in memory, allowing both threaded web servers
+ # and those relying on copy on write to perform better.
+ # Rake tasks automatically ignore this option for performance.
+ config.eager_load = true
+
+ # Full error reports are disabled and caching is turned on.
+ config.consider_all_requests_local = false
+ config.action_controller.perform_caching = true
+
+ # Disable serving static files from the `/public` folder by default since
+ # Apache or NGINX already handles this.
+ config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
+
+ # Compress JavaScripts and CSS.
+ config.assets.js_compressor = :uglifier
+ # config.assets.css_compressor = :sass
+
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
+ config.assets.compile = false
+
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
+
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
+ # config.action_controller.asset_host = 'http://assets.example.com'
+
+ # Specifies the header that your server uses for sending files.
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
+
+ # Mount Action Cable outside main process or domain
+ # config.action_cable.mount_path = nil
+ # config.action_cable.url = 'wss://example.com/cable'
+ # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
+
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
+ # config.force_ssl = true
+
+ # Use the lowest log level to ensure availability of diagnostic information
+ # when problems arise.
+ config.log_level = :debug
+
+ # Prepend all log lines with the following tags.
+ config.log_tags = [ :request_id ]
+
+ # Use a different cache store in production.
+ # config.cache_store = :mem_cache_store
+
+ # Use a real queuing backend for Active Job (and separate queues per environment)
+ # config.active_job.queue_adapter = :resque
+ # config.active_job.queue_name_prefix = "optimize_#{Rails.env}"
+ config.action_mailer.perform_caching = false
+
+ # Ignore bad email addresses and do not raise email delivery errors.
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
+ # config.action_mailer.raise_delivery_errors = false
+
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
+ # the I18n.default_locale when a translation cannot be found).
+ config.i18n.fallbacks = true
+
+ # Send deprecation notices to registered listeners.
+ config.active_support.deprecation = :notify
+
+ # Use default logging formatter so that PID and timestamp are not suppressed.
+ config.log_formatter = ::Logger::Formatter.new
+
+ # Use a different logger for distributed setups.
+ # require 'syslog/logger'
+ # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
+
+ if ENV["RAILS_LOG_TO_STDOUT"].present?
+ logger = ActiveSupport::Logger.new(STDOUT)
+ logger.formatter = config.log_formatter
+ config.logger = ActiveSupport::TaggedLogging.new(logger)
+ end
+
+ # Do not dump schema after migrations.
+ config.active_record.dump_schema_after_migration = false
+end
diff --git a/dylan_eckert/models/optimize/config/environments/test.rb b/dylan_eckert/models/optimize/config/environments/test.rb
new file mode 100644
index 0000000..30587ef
--- /dev/null
+++ b/dylan_eckert/models/optimize/config/environments/test.rb
@@ -0,0 +1,42 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # The test environment is used exclusively to run your application's
+ # test suite. You never need to work with it otherwise. Remember that
+ # your test database is "scratch space" for the test suite and is wiped
+ # and recreated between test runs. Don't rely on the data there!
+ config.cache_classes = true
+
+ # Do not eager load code on boot. This avoids loading your whole application
+ # just for the purpose of running a single test. If you are using a tool that
+ # preloads Rails for running tests, you may have to set it to true.
+ config.eager_load = false
+
+ # Configure public file server for tests with Cache-Control for performance.
+ config.public_file_server.enabled = true
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=3600'
+ }
+
+ # Show full error reports and disable caching.
+ config.consider_all_requests_local = true
+ config.action_controller.perform_caching = false
+
+ # Raise exceptions instead of rendering exception templates.
+ config.action_dispatch.show_exceptions = false
+
+ # Disable request forgery protection in test environment.
+ config.action_controller.allow_forgery_protection = false
+ config.action_mailer.perform_caching = false
+
+ # Tell Action Mailer not to deliver emails to the real world.
+ # The :test delivery method accumulates sent emails in the
+ # ActionMailer::Base.deliveries array.
+ config.action_mailer.delivery_method = :test
+
+ # Print deprecation notices to the stderr.
+ config.active_support.deprecation = :stderr
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+end
diff --git a/dylan_eckert/models/optimize/config/initializers/application_controller_renderer.rb b/dylan_eckert/models/optimize/config/initializers/application_controller_renderer.rb
new file mode 100644
index 0000000..89d2efa
--- /dev/null
+++ b/dylan_eckert/models/optimize/config/initializers/application_controller_renderer.rb
@@ -0,0 +1,8 @@
+# Be sure to restart your server when you modify this file.
+
+# ActiveSupport::Reloader.to_prepare do
+# ApplicationController.renderer.defaults.merge!(
+# http_host: 'example.org',
+# https: false
+# )
+# end
diff --git a/Rodolfo_Valdivieso/models/optimize/config/initializers/assets.rb b/dylan_eckert/models/optimize/config/initializers/assets.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/config/initializers/assets.rb
rename to dylan_eckert/models/optimize/config/initializers/assets.rb
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/config/initializers/backtrace_silencers.rb b/dylan_eckert/models/optimize/config/initializers/backtrace_silencers.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/config/initializers/backtrace_silencers.rb
rename to dylan_eckert/models/optimize/config/initializers/backtrace_silencers.rb
diff --git a/dylan_eckert/models/optimize/config/initializers/cookies_serializer.rb b/dylan_eckert/models/optimize/config/initializers/cookies_serializer.rb
new file mode 100644
index 0000000..5a6a32d
--- /dev/null
+++ b/dylan_eckert/models/optimize/config/initializers/cookies_serializer.rb
@@ -0,0 +1,5 @@
+# Be sure to restart your server when you modify this file.
+
+# Specify a serializer for the signed and encrypted cookie jars.
+# Valid options are :json, :marshal, and :hybrid.
+Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/config/initializers/filter_parameter_logging.rb b/dylan_eckert/models/optimize/config/initializers/filter_parameter_logging.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/config/initializers/filter_parameter_logging.rb
rename to dylan_eckert/models/optimize/config/initializers/filter_parameter_logging.rb
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/config/initializers/inflections.rb b/dylan_eckert/models/optimize/config/initializers/inflections.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/config/initializers/inflections.rb
rename to dylan_eckert/models/optimize/config/initializers/inflections.rb
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/config/initializers/mime_types.rb b/dylan_eckert/models/optimize/config/initializers/mime_types.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/config/initializers/mime_types.rb
rename to dylan_eckert/models/optimize/config/initializers/mime_types.rb
diff --git a/dylan_eckert/models/optimize/config/initializers/new_framework_defaults.rb b/dylan_eckert/models/optimize/config/initializers/new_framework_defaults.rb
new file mode 100644
index 0000000..dd236b5
--- /dev/null
+++ b/dylan_eckert/models/optimize/config/initializers/new_framework_defaults.rb
@@ -0,0 +1,26 @@
+# Be sure to restart your server when you modify this file.
+#
+# This file contains migration options to ease your Rails 5.0 upgrade.
+#
+# Read the Guide for Upgrading Ruby on Rails for more info on each option.
+
+Rails.application.config.action_controller.raise_on_unfiltered_parameters = true
+
+# Enable per-form CSRF tokens. Previous versions had false.
+Rails.application.config.action_controller.per_form_csrf_tokens = true
+
+# Enable origin-checking CSRF mitigation. Previous versions had false.
+Rails.application.config.action_controller.forgery_protection_origin_check = true
+
+# Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`.
+# Previous versions had false.
+ActiveSupport.to_time_preserves_timezone = true
+
+# Require `belongs_to` associations by default. Previous versions had false.
+Rails.application.config.active_record.belongs_to_required_by_default = true
+
+# Do not halt callback chains when a callback returns false. Previous versions had true.
+ActiveSupport.halt_callback_chains_on_return_false = false
+
+# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
+Rails.application.config.ssl_options = { hsts: { subdomains: true } }
diff --git a/Rodolfo_Valdivieso/models/optimize/config/initializers/session_store.rb b/dylan_eckert/models/optimize/config/initializers/session_store.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/config/initializers/session_store.rb
rename to dylan_eckert/models/optimize/config/initializers/session_store.rb
diff --git a/dylan_eckert/models/optimize/config/initializers/wrap_parameters.rb b/dylan_eckert/models/optimize/config/initializers/wrap_parameters.rb
new file mode 100644
index 0000000..bbfc396
--- /dev/null
+++ b/dylan_eckert/models/optimize/config/initializers/wrap_parameters.rb
@@ -0,0 +1,14 @@
+# Be sure to restart your server when you modify this file.
+
+# This file contains settings for ActionController::ParamsWrapper which
+# is enabled by default.
+
+# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
+ActiveSupport.on_load(:action_controller) do
+ wrap_parameters format: [:json]
+end
+
+# To enable root element in JSON for ActiveRecord objects.
+# ActiveSupport.on_load(:active_record) do
+# self.include_root_in_json = true
+# end
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/config/locales/en.yml b/dylan_eckert/models/optimize/config/locales/en.yml
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/config/locales/en.yml
rename to dylan_eckert/models/optimize/config/locales/en.yml
diff --git a/dylan_eckert/models/optimize/config/puma.rb b/dylan_eckert/models/optimize/config/puma.rb
new file mode 100644
index 0000000..c7f311f
--- /dev/null
+++ b/dylan_eckert/models/optimize/config/puma.rb
@@ -0,0 +1,47 @@
+# Puma can serve each request in a thread from an internal thread pool.
+# The `threads` method setting takes two numbers a minimum and maximum.
+# Any libraries that use thread pools should be configured to match
+# the maximum value specified for Puma. Default is set to 5 threads for minimum
+# and maximum, this matches the default thread size of Active Record.
+#
+threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i
+threads threads_count, threads_count
+
+# Specifies the `port` that Puma will listen on to receive requests, default is 3000.
+#
+port ENV.fetch("PORT") { 3000 }
+
+# Specifies the `environment` that Puma will run in.
+#
+environment ENV.fetch("RAILS_ENV") { "development" }
+
+# Specifies the number of `workers` to boot in clustered mode.
+# Workers are forked webserver processes. If using threads and workers together
+# the concurrency of the application would be max `threads` * `workers`.
+# Workers do not work on JRuby or Windows (both of which do not support
+# processes).
+#
+# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
+
+# Use the `preload_app!` method when specifying a `workers` number.
+# This directive tells Puma to first boot the application and load code
+# before forking the application. This takes advantage of Copy On Write
+# process behavior so workers use less memory. If you use this option
+# you need to make sure to reconnect any threads in the `on_worker_boot`
+# block.
+#
+# preload_app!
+
+# The code in the `on_worker_boot` will be called if you are using
+# clustered mode by specifying a number of `workers`. After each worker
+# process is booted this block will be run, if you are using `preload_app!`
+# option you will want to use this block to reconnect to any threads
+# or connections that may have been created at application boot, Ruby
+# cannot share connections between processes.
+#
+# on_worker_boot do
+# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
+# end
+
+# Allow puma to be restarted by `rails restart` command.
+plugin :tmp_restart
diff --git a/dylan_eckert/models/optimize/config/routes.rb b/dylan_eckert/models/optimize/config/routes.rb
new file mode 100644
index 0000000..787824f
--- /dev/null
+++ b/dylan_eckert/models/optimize/config/routes.rb
@@ -0,0 +1,3 @@
+Rails.application.routes.draw do
+ # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
+end
diff --git a/dylan_eckert/models/optimize/config/secrets.yml b/dylan_eckert/models/optimize/config/secrets.yml
new file mode 100644
index 0000000..6480f63
--- /dev/null
+++ b/dylan_eckert/models/optimize/config/secrets.yml
@@ -0,0 +1,22 @@
+# Be sure to restart your server when you modify this file.
+
+# Your secret key is used for verifying the integrity of signed cookies.
+# If you change this key, all old signed cookies will become invalid!
+
+# Make sure the secret is at least 30 characters and all random,
+# no regular words or you'll be exposed to dictionary attacks.
+# You can use `rails secret` to generate a secure secret key.
+
+# Make sure the secrets in this file are kept private
+# if you're sharing your code publicly.
+
+development:
+ secret_key_base: bd02e838d3f8ac88165ea20929ce2b273e25d4359e48b955288f817d3cab8ff42e932a0860d8083e8f6b58fd5e75db8b813cbfd594f6c360631b0512575223e5
+
+test:
+ secret_key_base: ccbae0cc0929d397a8b971be03a52b4935ddf8b1c68473ad9a040d051cbe20594064050a80b2a3b2b96ec331a928792ba50374d2b4ea90ed4958581776d0b701
+
+# Do not keep production secrets in the repository,
+# instead read values from the environment.
+production:
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/dylan_eckert/models/optimize/config/spring.rb b/dylan_eckert/models/optimize/config/spring.rb
new file mode 100644
index 0000000..c9119b4
--- /dev/null
+++ b/dylan_eckert/models/optimize/config/spring.rb
@@ -0,0 +1,6 @@
+%w(
+ .ruby-version
+ .rbenv-vars
+ tmp/restart.txt
+ tmp/caching-dev.txt
+).each { |path| Spring.watch(path) }
diff --git a/dylan_eckert/models/optimize/db/migrate/20171130194453_create_teams.rb b/dylan_eckert/models/optimize/db/migrate/20171130194453_create_teams.rb
new file mode 100644
index 0000000..1cfd4a1
--- /dev/null
+++ b/dylan_eckert/models/optimize/db/migrate/20171130194453_create_teams.rb
@@ -0,0 +1,11 @@
+class CreateTeams < ActiveRecord::Migration[5.0]
+ def change
+ create_table :teams do |t|
+ t.string :name
+ t.string :mascot
+ t.string :stadium
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/models/optimize/db/migrate/20171130194502_create_players.rb b/dylan_eckert/models/optimize/db/migrate/20171130194502_create_players.rb
new file mode 100644
index 0000000..df3c58f
--- /dev/null
+++ b/dylan_eckert/models/optimize/db/migrate/20171130194502_create_players.rb
@@ -0,0 +1,10 @@
+class CreatePlayers < ActiveRecord::Migration[5.0]
+ def change
+ create_table :players do |t|
+ t.string :name
+ t.references :team, foreign_key: true
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/models/optimize/db/schema.rb b/dylan_eckert/models/optimize/db/schema.rb
new file mode 100644
index 0000000..50ccab1
--- /dev/null
+++ b/dylan_eckert/models/optimize/db/schema.rb
@@ -0,0 +1,31 @@
+# This file is auto-generated from the current state of the database. Instead
+# of editing this file, please use the migrations feature of Active Record to
+# incrementally modify your database, and then regenerate this schema definition.
+#
+# Note that this schema.rb definition is the authoritative source for your
+# database schema. If you need to create the application database on another
+# system, you should be using db:schema:load, not running all the migrations
+# from scratch. The latter is a flawed and unsustainable approach (the more migrations
+# you'll amass, the slower it'll run and the greater likelihood for issues).
+#
+# It's strongly recommended that you check this file into your version control system.
+
+ActiveRecord::Schema.define(version: 20171130194502) do
+
+ create_table "players", force: :cascade do |t|
+ t.string "name"
+ t.integer "team_id"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.index ["team_id"], name: "index_players_on_team_id"
+ end
+
+ create_table "teams", force: :cascade do |t|
+ t.string "name"
+ t.string "mascot"
+ t.string "stadium"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ end
+
+end
diff --git a/dylan_eckert/models/optimize/db/seeds.rb b/dylan_eckert/models/optimize/db/seeds.rb
new file mode 100644
index 0000000..510af1b
--- /dev/null
+++ b/dylan_eckert/models/optimize/db/seeds.rb
@@ -0,0 +1,104 @@
+# we require 'open-uri' to request the html files
+require 'open-uri'
+teams = [
+ ["Atlanta Hawks", "Skyhawk", "Philips Arena"],
+ ["Boston Celtics", "Lucky the Leprechaun", "TD Garden"],
+ ["Brooklyn Nets", "BrooklyKnight", "Barclays Center"],
+ ["Charlotte Hornets", "Hugo the Hornet", "Spectrum Center"],
+ ["Chicago Bulls", "Benny the Bull", "United Center"],
+ ["Cleveland Cavaliers", "Moondog", "Quicken Loans Arena"],
+ ["Dallas Mavericks", "Champ", "American Airlines Center"],
+ ["Denver Nuggets", "Rocky the Mountain Lion", "Pepsi Center"],
+ ["Detroit Pistons", "Hooper", "The Palace of Auburn Hills"],
+ ["Golden State Warriors", "Thunder", "Oracle Arena"],
+ ["Houston Rockets", "Clutch", "Toyota Center"],
+ ["Indiana Pacers", "Boomer the Panther", "Bankers Life Fieldhouse"],
+ ["Los Angeles Clippers", "Chuck", "Staples Center"],
+ ["Los Angeles Lakers", "Jack Nicholson", "Staples Center"],
+ ["Memphis Grizzlies", "Griz", "FedExForum"],
+ ["Miami Heat", "Burnie", "American Airlines Arena"],
+ ["Milwaukee Bucks", "Bango", "BMO Harris Bradley Center"],
+ ["Minnesota Timberwolves", "Crunch the Wolf", "Target Center"],
+ ["New Orleans Pelicans", "Pierre the Pelican", "Smoothie King Center"],
+ ["New York Knicks", "Spike Lee", "Madison Square Garden"],
+ ["Oklahoma City Thunder", "Rumble the Bison", "Chesapeake Energy Arena"],
+ ["Orlando Magic", "Stuff the Magic Dragon", "Amway Center"],
+ ["Philadelphia 76ers", "Franklin the Dog", "Wells Fargo Center Philadelphia"],
+ ["Phoenix Suns", "The Suns Gorilla", "Talking Stick Resort Arena"],
+ ["Portland Trail Blazers", "Blaze the Trail Cat", "Moda Center"],
+ ["Sacramento Kings", "Slamson the Lion", "Golden 1 Center"],
+ ["San Antonio Spurs", "The Coyote", "AT&T Center"],
+ ["Toronto Raptors", "Raptor", "Air Canada Centre"],
+ ["Utah Jazz", "Jazz Bear", "Vivint Smart Home Arena"],
+ ["Washington Wizards", "G. Wiz", "Verizon Center"]
+]
+# Here, we are using the Nokogiri gem (already comes with Rails), to scrape the ESPN website for the list of players.
+# For more information on Nokogiri, you can go to their documentation or visit http://www.nokogiri.org/
+atlanta_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/atl/atlanta-hawks")).css("td.sortcell")
+boston_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/bos/boston-celtics")).css("td.sortcell")
+brooklyn_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/bkn/brooklyn-nets")).css("td.sortcell")
+charlotte_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/cha/charlotte-hornets")).css("td.sortcell")
+chicago_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/chi/chicago-bulls")).css("td.sortcell")
+cleveland_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/cle/cleveland-cavaliers")).css("td.sortcell")
+dallas_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/dal/dallas-mavericks")).css("td.sortcell")
+denver_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/den/denver-nuggets")).css("td.sortcell")
+detroit_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/det/detroit-pistons")).css("td.sortcell")
+warriors_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/gs/golden-state-warriors")).css("td.sortcell")
+houston_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/hou/houston-rockets")).css("td.sortcell")
+indiana_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/ind/indiana-pacers")).css("td.sortcell")
+clippers_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/lac/la-clippers")).css("td.sortcell")
+lakers_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/lal/los-angeles-lakers")).css("td.sortcell")
+memphis_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/mem/memphis-grizzlies")).css("td.sortcell")
+miami_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/mia/miami-heat")).css("td.sortcell")
+milwaukee_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/mil/milwaukee-bucks")).css("td.sortcell")
+minnesota_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/min/minnesota-timberwolves")).css("td.sortcell")
+nola_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/no/new-orleans-pelicans")).css("td.sortcell")
+knicks_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/ny/new-york-knicks")).css("td.sortcell")
+okc_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/okc/oklahoma-city-thunder")).css("td.sortcell")
+orlando_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/orl/orlando-magic")).css("td.sortcell")
+phili_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/phi/philadelphia-76ers")).css("td.sortcell")
+phoenix_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/phx/phoenix-suns")).css("td.sortcell")
+portland_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/por/portland-trail-blazers")).css("td.sortcell")
+sacramento_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/sac/sacramento-kings")).css("td.sortcell")
+spurs_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/sa/san-antonio-spurs")).css("td.sortcell")
+toronto_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/tor/toronto-raptors")).css("td.sortcell")
+utah_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/utah/utah-jazz")).css("td.sortcell")
+washington_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/wsh/washington-wizards")).css("td.sortcell")
+players = [
+ atlanta_players,
+ boston_players,
+ brooklyn_players,
+ charlotte_players,
+ chicago_players,
+ cleveland_players,
+ dallas_players,
+ denver_players,
+ detroit_players,
+ warriors_players,
+ houston_players,
+ indiana_players,
+ clippers_players,
+ lakers_players,
+ memphis_players,
+ miami_players,
+ milwaukee_players,
+ minnesota_players,
+ nola_players,
+ knicks_players,
+ okc_players,
+ orlando_players,
+ phili_players,
+ phoenix_players,
+ portland_players,
+ sacramento_players,
+ spurs_players,
+ toronto_players,
+ utah_players,
+ washington_players
+]
+players.each_with_index do |roster, index|
+ Team.create(name: teams[index][0], mascot: teams[index][1], stadium: teams[index][2])
+ roster.each do |player|
+ Team.last.players.create(name: player.text)
+ end
+end
diff --git a/Rodolfo_Valdivieso/models/optimize/test/fixtures/.keep b/dylan_eckert/models/optimize/lib/assets/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/test/fixtures/.keep
rename to dylan_eckert/models/optimize/lib/assets/.keep
diff --git a/Rodolfo_Valdivieso/models/optimize/test/helpers/.keep b/dylan_eckert/models/optimize/lib/tasks/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/test/helpers/.keep
rename to dylan_eckert/models/optimize/lib/tasks/.keep
diff --git a/Rodolfo_Valdivieso/models/optimize/test/integration/.keep b/dylan_eckert/models/optimize/log/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/test/integration/.keep
rename to dylan_eckert/models/optimize/log/.keep
diff --git a/dylan_eckert/models/optimize/public/404.html b/dylan_eckert/models/optimize/public/404.html
new file mode 100644
index 0000000..2be3af2
--- /dev/null
+++ b/dylan_eckert/models/optimize/public/404.html
@@ -0,0 +1,67 @@
+
+
+
+ The page you were looking for doesn't exist (404)
+
+
+
+
+
+
+
+
+
The page you were looking for doesn't exist.
+
You may have mistyped the address or the page may have moved.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/models/optimize/public/422.html b/dylan_eckert/models/optimize/public/422.html
new file mode 100644
index 0000000..c08eac0
--- /dev/null
+++ b/dylan_eckert/models/optimize/public/422.html
@@ -0,0 +1,67 @@
+
+
+
+ The change you wanted was rejected (422)
+
+
+
+
+
+
+
+
+
The change you wanted was rejected.
+
Maybe you tried to change something you didn't have access to.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/models/optimize/public/500.html b/dylan_eckert/models/optimize/public/500.html
new file mode 100644
index 0000000..78a030a
--- /dev/null
+++ b/dylan_eckert/models/optimize/public/500.html
@@ -0,0 +1,66 @@
+
+
+
+ We're sorry, but something went wrong (500)
+
+
+
+
+
+
+
+
+
We're sorry, but something went wrong.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/Rodolfo_Valdivieso/models/optimize/test/mailers/.keep b/dylan_eckert/models/optimize/public/apple-touch-icon-precomposed.png
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/test/mailers/.keep
rename to dylan_eckert/models/optimize/public/apple-touch-icon-precomposed.png
diff --git a/Rodolfo_Valdivieso/models/optimize/test/models/.keep b/dylan_eckert/models/optimize/public/apple-touch-icon.png
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/test/models/.keep
rename to dylan_eckert/models/optimize/public/apple-touch-icon.png
diff --git a/Rodolfo_Valdivieso/models/self_join/public/favicon.ico b/dylan_eckert/models/optimize/public/favicon.ico
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/public/favicon.ico
rename to dylan_eckert/models/optimize/public/favicon.ico
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/public/robots.txt b/dylan_eckert/models/optimize/public/robots.txt
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/public/robots.txt
rename to dylan_eckert/models/optimize/public/robots.txt
diff --git a/Rodolfo_Valdivieso/models/optimize/vendor/assets/javascripts/.keep b/dylan_eckert/models/optimize/test/controllers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/vendor/assets/javascripts/.keep
rename to dylan_eckert/models/optimize/test/controllers/.keep
diff --git a/Rodolfo_Valdivieso/models/optimize/vendor/assets/stylesheets/.keep b/dylan_eckert/models/optimize/test/fixtures/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/vendor/assets/stylesheets/.keep
rename to dylan_eckert/models/optimize/test/fixtures/.keep
diff --git a/Rodolfo_Valdivieso/models/self_join/app/assets/images/.keep b/dylan_eckert/models/optimize/test/fixtures/files/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/app/assets/images/.keep
rename to dylan_eckert/models/optimize/test/fixtures/files/.keep
diff --git a/dylan_eckert/models/optimize/test/fixtures/players.yml b/dylan_eckert/models/optimize/test/fixtures/players.yml
new file mode 100644
index 0000000..e36ea90
--- /dev/null
+++ b/dylan_eckert/models/optimize/test/fixtures/players.yml
@@ -0,0 +1,9 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+one:
+ name: MyString
+ team: one
+
+two:
+ name: MyString
+ team: two
diff --git a/Rodolfo_Valdivieso/models/optimize/test/fixtures/teams.yml b/dylan_eckert/models/optimize/test/fixtures/teams.yml
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/test/fixtures/teams.yml
rename to dylan_eckert/models/optimize/test/fixtures/teams.yml
diff --git a/Rodolfo_Valdivieso/models/self_join/app/controllers/concerns/.keep b/dylan_eckert/models/optimize/test/helpers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/app/controllers/concerns/.keep
rename to dylan_eckert/models/optimize/test/helpers/.keep
diff --git a/Rodolfo_Valdivieso/models/self_join/app/mailers/.keep b/dylan_eckert/models/optimize/test/integration/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/app/mailers/.keep
rename to dylan_eckert/models/optimize/test/integration/.keep
diff --git a/Rodolfo_Valdivieso/models/self_join/app/models/.keep b/dylan_eckert/models/optimize/test/mailers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/app/models/.keep
rename to dylan_eckert/models/optimize/test/mailers/.keep
diff --git a/Rodolfo_Valdivieso/models/self_join/app/models/concerns/.keep b/dylan_eckert/models/optimize/test/models/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/app/models/concerns/.keep
rename to dylan_eckert/models/optimize/test/models/.keep
diff --git a/Rodolfo_Valdivieso/models/optimize/test/models/player_test.rb b/dylan_eckert/models/optimize/test/models/player_test.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/test/models/player_test.rb
rename to dylan_eckert/models/optimize/test/models/player_test.rb
diff --git a/Rodolfo_Valdivieso/models/optimize/test/models/team_test.rb b/dylan_eckert/models/optimize/test/models/team_test.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/test/models/team_test.rb
rename to dylan_eckert/models/optimize/test/models/team_test.rb
diff --git a/Rodolfo_Valdivieso/models/blogs2/test/test_helper.rb b/dylan_eckert/models/optimize/test/test_helper.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/blogs2/test/test_helper.rb
rename to dylan_eckert/models/optimize/test/test_helper.rb
diff --git a/Rodolfo_Valdivieso/models/self_join/lib/assets/.keep b/dylan_eckert/models/optimize/tmp/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/lib/assets/.keep
rename to dylan_eckert/models/optimize/tmp/.keep
diff --git a/Rodolfo_Valdivieso/models/self_join/lib/tasks/.keep b/dylan_eckert/models/optimize/vendor/assets/javascripts/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/lib/tasks/.keep
rename to dylan_eckert/models/optimize/vendor/assets/javascripts/.keep
diff --git a/Rodolfo_Valdivieso/models/self_join/log/.keep b/dylan_eckert/models/optimize/vendor/assets/stylesheets/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/log/.keep
rename to dylan_eckert/models/optimize/vendor/assets/stylesheets/.keep
diff --git a/dylan_eckert/models/orm_practice/.gitignore b/dylan_eckert/models/orm_practice/.gitignore
new file mode 100644
index 0000000..bab620d
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/.gitignore
@@ -0,0 +1,21 @@
+# See https://help.github.com/articles/ignoring-files for more about ignoring files.
+#
+# If you find yourself ignoring temporary files generated by your text editor
+# or operating system, you probably want to add a global ignore instead:
+# git config --global core.excludesfile '~/.gitignore_global'
+
+# Ignore bundler config.
+/.bundle
+
+# Ignore the default SQLite database.
+/db/*.sqlite3
+/db/*.sqlite3-journal
+
+# Ignore all logfiles and tempfiles.
+/log/*
+/tmp/*
+!/log/.keep
+!/tmp/.keep
+
+# Ignore Byebug command history file.
+.byebug_history
diff --git a/dylan_eckert/models/orm_practice/Gemfile b/dylan_eckert/models/orm_practice/Gemfile
new file mode 100644
index 0000000..8d7b3eb
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/Gemfile
@@ -0,0 +1,53 @@
+source 'https://rubygems.org'
+
+git_source(:github) do |repo_name|
+ repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
+ "https://github.com/#{repo_name}.git"
+end
+
+
+# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
+gem 'rails', '~> 5.0.1'
+# Use sqlite3 as the database for Active Record
+gem 'sqlite3'
+# Use Puma as the app server
+gem 'puma', '~> 3.0'
+# Use SCSS for stylesheets
+gem 'sass-rails', '~> 5.0'
+# Use Uglifier as compressor for JavaScript assets
+gem 'uglifier', '>= 1.3.0'
+# Use CoffeeScript for .coffee assets and views
+gem 'coffee-rails', '~> 4.2'
+# See https://github.com/rails/execjs#readme for more supported runtimes
+# gem 'therubyracer', platforms: :ruby
+
+# Use jquery as the JavaScript library
+gem 'jquery-rails'
+# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
+gem 'turbolinks', '~> 5'
+# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
+gem 'jbuilder', '~> 2.5'
+# Use Redis adapter to run Action Cable in production
+# gem 'redis', '~> 3.0'
+# Use ActiveModel has_secure_password
+# gem 'bcrypt', '~> 3.1.7'
+
+# Use Capistrano for deployment
+# gem 'capistrano-rails', group: :development
+
+group :development, :test do
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
+ gem 'byebug', platform: :mri
+end
+
+group :development do
+ # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
+ gem 'web-console', '>= 3.3.0'
+ gem 'listen', '~> 3.0.5'
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
+ gem 'spring'
+ gem 'spring-watcher-listen', '~> 2.0.0'
+end
+
+# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
+gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
diff --git a/dylan_eckert/models/orm_practice/Gemfile.lock b/dylan_eckert/models/orm_practice/Gemfile.lock
new file mode 100644
index 0000000..bb14b46
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/Gemfile.lock
@@ -0,0 +1,179 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actioncable (5.0.6)
+ actionpack (= 5.0.6)
+ nio4r (>= 1.2, < 3.0)
+ websocket-driver (~> 0.6.1)
+ actionmailer (5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ mail (~> 2.5, >= 2.5.4)
+ rails-dom-testing (~> 2.0)
+ actionpack (5.0.6)
+ actionview (= 5.0.6)
+ activesupport (= 5.0.6)
+ rack (~> 2.0)
+ rack-test (~> 0.6.3)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
+ actionview (5.0.6)
+ activesupport (= 5.0.6)
+ builder (~> 3.1)
+ erubis (~> 2.7.0)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
+ activejob (5.0.6)
+ activesupport (= 5.0.6)
+ globalid (>= 0.3.6)
+ activemodel (5.0.6)
+ activesupport (= 5.0.6)
+ activerecord (5.0.6)
+ activemodel (= 5.0.6)
+ activesupport (= 5.0.6)
+ arel (~> 7.0)
+ activesupport (5.0.6)
+ concurrent-ruby (~> 1.0, >= 1.0.2)
+ i18n (~> 0.7)
+ minitest (~> 5.1)
+ tzinfo (~> 1.1)
+ arel (7.1.4)
+ bindex (0.5.0)
+ builder (3.2.3)
+ byebug (9.1.0)
+ coffee-rails (4.2.2)
+ coffee-script (>= 2.2.0)
+ railties (>= 4.0.0)
+ coffee-script (2.4.1)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.12.2)
+ concurrent-ruby (1.0.5)
+ crass (1.0.3)
+ erubis (2.7.0)
+ execjs (2.7.0)
+ ffi (1.9.18)
+ globalid (0.4.1)
+ activesupport (>= 4.2.0)
+ i18n (0.9.1)
+ concurrent-ruby (~> 1.0)
+ jbuilder (2.7.0)
+ activesupport (>= 4.2.0)
+ multi_json (>= 1.2)
+ jquery-rails (4.3.1)
+ rails-dom-testing (>= 1, < 3)
+ railties (>= 4.2.0)
+ thor (>= 0.14, < 2.0)
+ listen (3.0.8)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ loofah (2.1.1)
+ crass (~> 1.0.2)
+ nokogiri (>= 1.5.9)
+ mail (2.7.0)
+ mini_mime (>= 0.1.1)
+ method_source (0.9.0)
+ mini_mime (1.0.0)
+ mini_portile2 (2.3.0)
+ minitest (5.10.3)
+ multi_json (1.12.2)
+ nio4r (2.1.0)
+ nokogiri (1.8.1)
+ mini_portile2 (~> 2.3.0)
+ puma (3.11.0)
+ rack (2.0.3)
+ rack-test (0.6.3)
+ rack (>= 1.0)
+ rails (5.0.6)
+ actioncable (= 5.0.6)
+ actionmailer (= 5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ activemodel (= 5.0.6)
+ activerecord (= 5.0.6)
+ activesupport (= 5.0.6)
+ bundler (>= 1.3.0)
+ railties (= 5.0.6)
+ sprockets-rails (>= 2.0.0)
+ rails-dom-testing (2.0.3)
+ activesupport (>= 4.2.0)
+ nokogiri (>= 1.6)
+ rails-html-sanitizer (1.0.3)
+ loofah (~> 2.0)
+ railties (5.0.6)
+ actionpack (= 5.0.6)
+ activesupport (= 5.0.6)
+ method_source
+ rake (>= 0.8.7)
+ thor (>= 0.18.1, < 2.0)
+ rake (12.3.0)
+ rb-fsevent (0.10.2)
+ rb-inotify (0.9.10)
+ ffi (>= 0.5.0, < 2)
+ sass (3.5.3)
+ sass-listen (~> 4.0.0)
+ sass-listen (4.0.0)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ sass-rails (5.0.7)
+ railties (>= 4.0.0, < 6)
+ sass (~> 3.1)
+ sprockets (>= 2.8, < 4.0)
+ sprockets-rails (>= 2.0, < 4.0)
+ tilt (>= 1.1, < 3)
+ spring (2.0.2)
+ activesupport (>= 4.2)
+ spring-watcher-listen (2.0.1)
+ listen (>= 2.7, < 4.0)
+ spring (>= 1.2, < 3.0)
+ sprockets (3.7.1)
+ concurrent-ruby (~> 1.0)
+ rack (> 1, < 3)
+ sprockets-rails (3.2.1)
+ actionpack (>= 4.0)
+ activesupport (>= 4.0)
+ sprockets (>= 3.0.0)
+ sqlite3 (1.3.13)
+ thor (0.20.0)
+ thread_safe (0.3.6)
+ tilt (2.0.8)
+ turbolinks (5.0.1)
+ turbolinks-source (~> 5)
+ turbolinks-source (5.0.3)
+ tzinfo (1.2.4)
+ thread_safe (~> 0.1)
+ uglifier (3.2.0)
+ execjs (>= 0.3.0, < 3)
+ web-console (3.5.1)
+ actionview (>= 5.0)
+ activemodel (>= 5.0)
+ bindex (>= 0.4.0)
+ railties (>= 5.0)
+ websocket-driver (0.6.5)
+ websocket-extensions (>= 0.1.0)
+ websocket-extensions (0.1.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ byebug
+ coffee-rails (~> 4.2)
+ jbuilder (~> 2.5)
+ jquery-rails
+ listen (~> 3.0.5)
+ puma (~> 3.0)
+ rails (~> 5.0.1)
+ sass-rails (~> 5.0)
+ spring
+ spring-watcher-listen (~> 2.0.0)
+ sqlite3
+ turbolinks (~> 5)
+ tzinfo-data
+ uglifier (>= 1.3.0)
+ web-console (>= 3.3.0)
+
+BUNDLED WITH
+ 1.12.5
diff --git a/dylan_eckert/models/orm_practice/README.md b/dylan_eckert/models/orm_practice/README.md
new file mode 100644
index 0000000..7db80e4
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/README.md
@@ -0,0 +1,24 @@
+# README
+
+This README would normally document whatever steps are necessary to get the
+application up and running.
+
+Things you may want to cover:
+
+* Ruby version
+
+* System dependencies
+
+* Configuration
+
+* Database creation
+
+* Database initialization
+
+* How to run the test suite
+
+* Services (job queues, cache servers, search engines, etc.)
+
+* Deployment instructions
+
+* ...
diff --git a/dylan_eckert/models/orm_practice/Rakefile b/dylan_eckert/models/orm_practice/Rakefile
new file mode 100644
index 0000000..e85f913
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/Rakefile
@@ -0,0 +1,6 @@
+# Add your own tasks in files placed in lib/tasks ending in .rake,
+# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
+
+require_relative 'config/application'
+
+Rails.application.load_tasks
diff --git a/dylan_eckert/models/orm_practice/app/assets/config/manifest.js b/dylan_eckert/models/orm_practice/app/assets/config/manifest.js
new file mode 100644
index 0000000..b16e53d
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/app/assets/config/manifest.js
@@ -0,0 +1,3 @@
+//= link_tree ../images
+//= link_directory ../javascripts .js
+//= link_directory ../stylesheets .css
diff --git a/Rodolfo_Valdivieso/models/self_join/test/controllers/.keep b/dylan_eckert/models/orm_practice/app/assets/images/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/test/controllers/.keep
rename to dylan_eckert/models/orm_practice/app/assets/images/.keep
diff --git a/dylan_eckert/models/orm_practice/app/assets/javascripts/application.js b/dylan_eckert/models/orm_practice/app/assets/javascripts/application.js
new file mode 100644
index 0000000..b12018d
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/app/assets/javascripts/application.js
@@ -0,0 +1,16 @@
+// This is a manifest file that'll be compiled into application.js, which will include all the files
+// listed below.
+//
+// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
+// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
+//
+// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
+// compiled file. JavaScript code in this file should be added after the last require_* statement.
+//
+// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
+// about supported directives.
+//
+//= require jquery
+//= require jquery_ujs
+//= require turbolinks
+//= require_tree .
diff --git a/dylan_eckert/models/orm_practice/app/assets/javascripts/cable.js b/dylan_eckert/models/orm_practice/app/assets/javascripts/cable.js
new file mode 100644
index 0000000..71ee1e6
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/app/assets/javascripts/cable.js
@@ -0,0 +1,13 @@
+// Action Cable provides the framework to deal with WebSockets in Rails.
+// You can generate new channels where WebSocket features live using the rails generate channel command.
+//
+//= require action_cable
+//= require_self
+//= require_tree ./channels
+
+(function() {
+ this.App || (this.App = {});
+
+ App.cable = ActionCable.createConsumer();
+
+}).call(this);
diff --git a/Rodolfo_Valdivieso/models/self_join/test/fixtures/.keep b/dylan_eckert/models/orm_practice/app/assets/javascripts/channels/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/test/fixtures/.keep
rename to dylan_eckert/models/orm_practice/app/assets/javascripts/channels/.keep
diff --git a/dylan_eckert/models/orm_practice/app/assets/stylesheets/application.css b/dylan_eckert/models/orm_practice/app/assets/stylesheets/application.css
new file mode 100644
index 0000000..0ebd7fe
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/app/assets/stylesheets/application.css
@@ -0,0 +1,15 @@
+/*
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
+ * listed below.
+ *
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
+ * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
+ *
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
+ * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
+ * files in this directory. Styles in this file should be added after the last require_* statement.
+ * It is generally better to create a new file per style scope.
+ *
+ *= require_tree .
+ *= require_self
+ */
diff --git a/dylan_eckert/models/orm_practice/app/channels/application_cable/channel.rb b/dylan_eckert/models/orm_practice/app/channels/application_cable/channel.rb
new file mode 100644
index 0000000..d672697
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/app/channels/application_cable/channel.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Channel < ActionCable::Channel::Base
+ end
+end
diff --git a/dylan_eckert/models/orm_practice/app/channels/application_cable/connection.rb b/dylan_eckert/models/orm_practice/app/channels/application_cable/connection.rb
new file mode 100644
index 0000000..0ff5442
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/app/channels/application_cable/connection.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Connection < ActionCable::Connection::Base
+ end
+end
diff --git a/dylan_eckert/models/orm_practice/app/controllers/application_controller.rb b/dylan_eckert/models/orm_practice/app/controllers/application_controller.rb
new file mode 100644
index 0000000..1c07694
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/app/controllers/application_controller.rb
@@ -0,0 +1,3 @@
+class ApplicationController < ActionController::Base
+ protect_from_forgery with: :exception
+end
diff --git a/Rodolfo_Valdivieso/models/self_join/test/helpers/.keep b/dylan_eckert/models/orm_practice/app/controllers/concerns/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/test/helpers/.keep
rename to dylan_eckert/models/orm_practice/app/controllers/concerns/.keep
diff --git a/Rodolfo_Valdivieso/models/optimize/app/helpers/application_helper.rb b/dylan_eckert/models/orm_practice/app/helpers/application_helper.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/app/helpers/application_helper.rb
rename to dylan_eckert/models/orm_practice/app/helpers/application_helper.rb
diff --git a/dylan_eckert/models/orm_practice/app/jobs/application_job.rb b/dylan_eckert/models/orm_practice/app/jobs/application_job.rb
new file mode 100644
index 0000000..a009ace
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/app/jobs/application_job.rb
@@ -0,0 +1,2 @@
+class ApplicationJob < ActiveJob::Base
+end
diff --git a/dylan_eckert/models/orm_practice/app/mailers/application_mailer.rb b/dylan_eckert/models/orm_practice/app/mailers/application_mailer.rb
new file mode 100644
index 0000000..286b223
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/app/mailers/application_mailer.rb
@@ -0,0 +1,4 @@
+class ApplicationMailer < ActionMailer::Base
+ default from: 'from@example.com'
+ layout 'mailer'
+end
diff --git a/dylan_eckert/models/orm_practice/app/models/application_record.rb b/dylan_eckert/models/orm_practice/app/models/application_record.rb
new file mode 100644
index 0000000..10a4cba
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/app/models/application_record.rb
@@ -0,0 +1,3 @@
+class ApplicationRecord < ActiveRecord::Base
+ self.abstract_class = true
+end
diff --git a/Rodolfo_Valdivieso/models/self_join/test/integration/.keep b/dylan_eckert/models/orm_practice/app/models/concerns/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/test/integration/.keep
rename to dylan_eckert/models/orm_practice/app/models/concerns/.keep
diff --git a/dylan_eckert/models/orm_practice/app/models/user.rb b/dylan_eckert/models/orm_practice/app/models/user.rb
new file mode 100644
index 0000000..a16bf90
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/app/models/user.rb
@@ -0,0 +1,33 @@
+class User < ActiveRecord::Base
+ EMAIL_REGEX = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]+)\z/i
+ validates :first_name, :last_name, presence: true, length: { in: 2..20 }
+ validates :email, presence: true, uniqueness: { case_sensitive: false }, format: { with: EMAIL_REGEX }
+
+ # this callback will run before saving on create and update
+ before_save :downcase_email
+
+ # this callback will run after creating a new user
+ after_create :successfully_created
+
+ # this callback will run after updating an existing user
+ after_update :successfully_updated
+
+ # this callback will only run on creating a record to ensure a default age of 0
+ before_validation :default_age, on: [:create]
+
+ private
+ def downcase_email
+ self.email.downcase!
+ end
+
+ def successfully_created
+ puts "Successfully created a new user"
+ end
+ def successfully_updated
+ puts "Successfully updated a existing user"
+ end
+
+ def default_age
+ self.age = 0 unless self.age?
+ end
+end
diff --git a/dylan_eckert/models/orm_practice/app/views/layouts/application.html.erb b/dylan_eckert/models/orm_practice/app/views/layouts/application.html.erb
new file mode 100644
index 0000000..db0de64
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/app/views/layouts/application.html.erb
@@ -0,0 +1,14 @@
+
+
+
+ OrmPractice
+ <%= csrf_meta_tags %>
+
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
+ <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
+
+
+
+ <%= yield %>
+
+
diff --git a/dylan_eckert/models/orm_practice/app/views/layouts/mailer.html.erb b/dylan_eckert/models/orm_practice/app/views/layouts/mailer.html.erb
new file mode 100644
index 0000000..cbd34d2
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/app/views/layouts/mailer.html.erb
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+ <%= yield %>
+
+
diff --git a/dylan_eckert/models/orm_practice/app/views/layouts/mailer.text.erb b/dylan_eckert/models/orm_practice/app/views/layouts/mailer.text.erb
new file mode 100644
index 0000000..37f0bdd
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/app/views/layouts/mailer.text.erb
@@ -0,0 +1 @@
+<%= yield %>
diff --git a/Rodolfo_Valdivieso/models/optimize/bin/bundle b/dylan_eckert/models/orm_practice/bin/bundle
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/bin/bundle
rename to dylan_eckert/models/orm_practice/bin/bundle
diff --git a/dylan_eckert/models/orm_practice/bin/rails b/dylan_eckert/models/orm_practice/bin/rails
new file mode 100755
index 0000000..5badb2f
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/bin/rails
@@ -0,0 +1,9 @@
+#!/usr/bin/env ruby
+begin
+ load File.expand_path('../spring', __FILE__)
+rescue LoadError => e
+ raise unless e.message.include?('spring')
+end
+APP_PATH = File.expand_path('../config/application', __dir__)
+require_relative '../config/boot'
+require 'rails/commands'
diff --git a/Rodolfo_Valdivieso/models/optimize/bin/rake b/dylan_eckert/models/orm_practice/bin/rake
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/bin/rake
rename to dylan_eckert/models/orm_practice/bin/rake
diff --git a/dylan_eckert/models/orm_practice/bin/setup b/dylan_eckert/models/orm_practice/bin/setup
new file mode 100755
index 0000000..e620b4d
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/bin/setup
@@ -0,0 +1,34 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a starting point to setup your application.
+ # Add necessary setup steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ # puts "\n== Copying sample files =="
+ # unless File.exist?('config/database.yml')
+ # cp 'config/database.yml.sample', 'config/database.yml'
+ # end
+
+ puts "\n== Preparing database =="
+ system! 'bin/rails db:setup'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/Rodolfo_Valdivieso/models/optimize/bin/spring b/dylan_eckert/models/orm_practice/bin/spring
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/bin/spring
rename to dylan_eckert/models/orm_practice/bin/spring
diff --git a/dylan_eckert/models/orm_practice/bin/update b/dylan_eckert/models/orm_practice/bin/update
new file mode 100755
index 0000000..a8e4462
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/bin/update
@@ -0,0 +1,29 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a way to update your development environment automatically.
+ # Add necessary update steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ puts "\n== Updating database =="
+ system! 'bin/rails db:migrate'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/dylan_eckert/models/orm_practice/config.ru b/dylan_eckert/models/orm_practice/config.ru
new file mode 100644
index 0000000..f7ba0b5
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/config.ru
@@ -0,0 +1,5 @@
+# This file is used by Rack-based servers to start the application.
+
+require_relative 'config/environment'
+
+run Rails.application
diff --git a/dylan_eckert/models/orm_practice/config/application.rb b/dylan_eckert/models/orm_practice/config/application.rb
new file mode 100644
index 0000000..4e4a726
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/config/application.rb
@@ -0,0 +1,15 @@
+require_relative 'boot'
+
+require 'rails/all'
+
+# Require the gems listed in Gemfile, including any gems
+# you've limited to :test, :development, or :production.
+Bundler.require(*Rails.groups)
+
+module OrmPractice
+ class Application < Rails::Application
+ # Settings in config/environments/* take precedence over those specified here.
+ # Application configuration should go into files in config/initializers
+ # -- all .rb files in that directory are automatically loaded.
+ end
+end
diff --git a/dylan_eckert/models/orm_practice/config/boot.rb b/dylan_eckert/models/orm_practice/config/boot.rb
new file mode 100644
index 0000000..30f5120
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/config/boot.rb
@@ -0,0 +1,3 @@
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
+
+require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/dylan_eckert/models/orm_practice/config/cable.yml b/dylan_eckert/models/orm_practice/config/cable.yml
new file mode 100644
index 0000000..0bbde6f
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/config/cable.yml
@@ -0,0 +1,9 @@
+development:
+ adapter: async
+
+test:
+ adapter: async
+
+production:
+ adapter: redis
+ url: redis://localhost:6379/1
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/config/database.yml b/dylan_eckert/models/orm_practice/config/database.yml
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/config/database.yml
rename to dylan_eckert/models/orm_practice/config/database.yml
diff --git a/dylan_eckert/models/orm_practice/config/environment.rb b/dylan_eckert/models/orm_practice/config/environment.rb
new file mode 100644
index 0000000..426333b
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/config/environment.rb
@@ -0,0 +1,5 @@
+# Load the Rails application.
+require_relative 'application'
+
+# Initialize the Rails application.
+Rails.application.initialize!
diff --git a/dylan_eckert/models/orm_practice/config/environments/development.rb b/dylan_eckert/models/orm_practice/config/environments/development.rb
new file mode 100644
index 0000000..6f71970
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/config/environments/development.rb
@@ -0,0 +1,54 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # In the development environment your application's code is reloaded on
+ # every request. This slows down response time but is perfect for development
+ # since you don't have to restart the web server when you make code changes.
+ config.cache_classes = false
+
+ # Do not eager load code on boot.
+ config.eager_load = false
+
+ # Show full error reports.
+ config.consider_all_requests_local = true
+
+ # Enable/disable caching. By default caching is disabled.
+ if Rails.root.join('tmp/caching-dev.txt').exist?
+ config.action_controller.perform_caching = true
+
+ config.cache_store = :memory_store
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=172800'
+ }
+ else
+ config.action_controller.perform_caching = false
+
+ config.cache_store = :null_store
+ end
+
+ # Don't care if the mailer can't send.
+ config.action_mailer.raise_delivery_errors = false
+
+ config.action_mailer.perform_caching = false
+
+ # Print deprecation notices to the Rails logger.
+ config.active_support.deprecation = :log
+
+ # Raise an error on page load if there are pending migrations.
+ config.active_record.migration_error = :page_load
+
+ # Debug mode disables concatenation and preprocessing of assets.
+ # This option may cause significant delays in view rendering with a large
+ # number of complex assets.
+ config.assets.debug = true
+
+ # Suppress logger output for asset requests.
+ config.assets.quiet = true
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+
+ # Use an evented file watcher to asynchronously detect changes in source code,
+ # routes, locales, etc. This feature depends on the listen gem.
+ config.file_watcher = ActiveSupport::EventedFileUpdateChecker
+end
diff --git a/dylan_eckert/models/orm_practice/config/environments/production.rb b/dylan_eckert/models/orm_practice/config/environments/production.rb
new file mode 100644
index 0000000..e9fd9cb
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/config/environments/production.rb
@@ -0,0 +1,86 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # Code is not reloaded between requests.
+ config.cache_classes = true
+
+ # Eager load code on boot. This eager loads most of Rails and
+ # your application in memory, allowing both threaded web servers
+ # and those relying on copy on write to perform better.
+ # Rake tasks automatically ignore this option for performance.
+ config.eager_load = true
+
+ # Full error reports are disabled and caching is turned on.
+ config.consider_all_requests_local = false
+ config.action_controller.perform_caching = true
+
+ # Disable serving static files from the `/public` folder by default since
+ # Apache or NGINX already handles this.
+ config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
+
+ # Compress JavaScripts and CSS.
+ config.assets.js_compressor = :uglifier
+ # config.assets.css_compressor = :sass
+
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
+ config.assets.compile = false
+
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
+
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
+ # config.action_controller.asset_host = 'http://assets.example.com'
+
+ # Specifies the header that your server uses for sending files.
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
+
+ # Mount Action Cable outside main process or domain
+ # config.action_cable.mount_path = nil
+ # config.action_cable.url = 'wss://example.com/cable'
+ # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
+
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
+ # config.force_ssl = true
+
+ # Use the lowest log level to ensure availability of diagnostic information
+ # when problems arise.
+ config.log_level = :debug
+
+ # Prepend all log lines with the following tags.
+ config.log_tags = [ :request_id ]
+
+ # Use a different cache store in production.
+ # config.cache_store = :mem_cache_store
+
+ # Use a real queuing backend for Active Job (and separate queues per environment)
+ # config.active_job.queue_adapter = :resque
+ # config.active_job.queue_name_prefix = "orm_practice_#{Rails.env}"
+ config.action_mailer.perform_caching = false
+
+ # Ignore bad email addresses and do not raise email delivery errors.
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
+ # config.action_mailer.raise_delivery_errors = false
+
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
+ # the I18n.default_locale when a translation cannot be found).
+ config.i18n.fallbacks = true
+
+ # Send deprecation notices to registered listeners.
+ config.active_support.deprecation = :notify
+
+ # Use default logging formatter so that PID and timestamp are not suppressed.
+ config.log_formatter = ::Logger::Formatter.new
+
+ # Use a different logger for distributed setups.
+ # require 'syslog/logger'
+ # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
+
+ if ENV["RAILS_LOG_TO_STDOUT"].present?
+ logger = ActiveSupport::Logger.new(STDOUT)
+ logger.formatter = config.log_formatter
+ config.logger = ActiveSupport::TaggedLogging.new(logger)
+ end
+
+ # Do not dump schema after migrations.
+ config.active_record.dump_schema_after_migration = false
+end
diff --git a/dylan_eckert/models/orm_practice/config/environments/test.rb b/dylan_eckert/models/orm_practice/config/environments/test.rb
new file mode 100644
index 0000000..30587ef
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/config/environments/test.rb
@@ -0,0 +1,42 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # The test environment is used exclusively to run your application's
+ # test suite. You never need to work with it otherwise. Remember that
+ # your test database is "scratch space" for the test suite and is wiped
+ # and recreated between test runs. Don't rely on the data there!
+ config.cache_classes = true
+
+ # Do not eager load code on boot. This avoids loading your whole application
+ # just for the purpose of running a single test. If you are using a tool that
+ # preloads Rails for running tests, you may have to set it to true.
+ config.eager_load = false
+
+ # Configure public file server for tests with Cache-Control for performance.
+ config.public_file_server.enabled = true
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=3600'
+ }
+
+ # Show full error reports and disable caching.
+ config.consider_all_requests_local = true
+ config.action_controller.perform_caching = false
+
+ # Raise exceptions instead of rendering exception templates.
+ config.action_dispatch.show_exceptions = false
+
+ # Disable request forgery protection in test environment.
+ config.action_controller.allow_forgery_protection = false
+ config.action_mailer.perform_caching = false
+
+ # Tell Action Mailer not to deliver emails to the real world.
+ # The :test delivery method accumulates sent emails in the
+ # ActionMailer::Base.deliveries array.
+ config.action_mailer.delivery_method = :test
+
+ # Print deprecation notices to the stderr.
+ config.active_support.deprecation = :stderr
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+end
diff --git a/dylan_eckert/models/orm_practice/config/initializers/application_controller_renderer.rb b/dylan_eckert/models/orm_practice/config/initializers/application_controller_renderer.rb
new file mode 100644
index 0000000..51639b6
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/config/initializers/application_controller_renderer.rb
@@ -0,0 +1,6 @@
+# Be sure to restart your server when you modify this file.
+
+# ApplicationController.renderer.defaults.merge!(
+# http_host: 'example.org',
+# https: false
+# )
diff --git a/Rodolfo_Valdivieso/models/self_join/config/initializers/assets.rb b/dylan_eckert/models/orm_practice/config/initializers/assets.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/config/initializers/assets.rb
rename to dylan_eckert/models/orm_practice/config/initializers/assets.rb
diff --git a/Rodolfo_Valdivieso/models/optimize/config/initializers/backtrace_silencers.rb b/dylan_eckert/models/orm_practice/config/initializers/backtrace_silencers.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/config/initializers/backtrace_silencers.rb
rename to dylan_eckert/models/orm_practice/config/initializers/backtrace_silencers.rb
diff --git a/dylan_eckert/models/orm_practice/config/initializers/cookies_serializer.rb b/dylan_eckert/models/orm_practice/config/initializers/cookies_serializer.rb
new file mode 100644
index 0000000..5a6a32d
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/config/initializers/cookies_serializer.rb
@@ -0,0 +1,5 @@
+# Be sure to restart your server when you modify this file.
+
+# Specify a serializer for the signed and encrypted cookie jars.
+# Valid options are :json, :marshal, and :hybrid.
+Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Rodolfo_Valdivieso/models/optimize/config/initializers/filter_parameter_logging.rb b/dylan_eckert/models/orm_practice/config/initializers/filter_parameter_logging.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/config/initializers/filter_parameter_logging.rb
rename to dylan_eckert/models/orm_practice/config/initializers/filter_parameter_logging.rb
diff --git a/Rodolfo_Valdivieso/models/optimize/config/initializers/inflections.rb b/dylan_eckert/models/orm_practice/config/initializers/inflections.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/config/initializers/inflections.rb
rename to dylan_eckert/models/orm_practice/config/initializers/inflections.rb
diff --git a/Rodolfo_Valdivieso/models/optimize/config/initializers/mime_types.rb b/dylan_eckert/models/orm_practice/config/initializers/mime_types.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/config/initializers/mime_types.rb
rename to dylan_eckert/models/orm_practice/config/initializers/mime_types.rb
diff --git a/dylan_eckert/models/orm_practice/config/initializers/new_framework_defaults.rb b/dylan_eckert/models/orm_practice/config/initializers/new_framework_defaults.rb
new file mode 100644
index 0000000..671abb6
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/config/initializers/new_framework_defaults.rb
@@ -0,0 +1,24 @@
+# Be sure to restart your server when you modify this file.
+#
+# This file contains migration options to ease your Rails 5.0 upgrade.
+#
+# Read the Guide for Upgrading Ruby on Rails for more info on each option.
+
+# Enable per-form CSRF tokens. Previous versions had false.
+Rails.application.config.action_controller.per_form_csrf_tokens = true
+
+# Enable origin-checking CSRF mitigation. Previous versions had false.
+Rails.application.config.action_controller.forgery_protection_origin_check = true
+
+# Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`.
+# Previous versions had false.
+ActiveSupport.to_time_preserves_timezone = true
+
+# Require `belongs_to` associations by default. Previous versions had false.
+Rails.application.config.active_record.belongs_to_required_by_default = true
+
+# Do not halt callback chains when a callback returns false. Previous versions had true.
+ActiveSupport.halt_callback_chains_on_return_false = false
+
+# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
+Rails.application.config.ssl_options = { hsts: { subdomains: true } }
diff --git a/justin_quiros/orm_practice/config/initializers/session_store.rb b/dylan_eckert/models/orm_practice/config/initializers/session_store.rb
similarity index 100%
rename from justin_quiros/orm_practice/config/initializers/session_store.rb
rename to dylan_eckert/models/orm_practice/config/initializers/session_store.rb
diff --git a/dylan_eckert/models/orm_practice/config/initializers/wrap_parameters.rb b/dylan_eckert/models/orm_practice/config/initializers/wrap_parameters.rb
new file mode 100644
index 0000000..bbfc396
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/config/initializers/wrap_parameters.rb
@@ -0,0 +1,14 @@
+# Be sure to restart your server when you modify this file.
+
+# This file contains settings for ActionController::ParamsWrapper which
+# is enabled by default.
+
+# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
+ActiveSupport.on_load(:action_controller) do
+ wrap_parameters format: [:json]
+end
+
+# To enable root element in JSON for ActiveRecord objects.
+# ActiveSupport.on_load(:active_record) do
+# self.include_root_in_json = true
+# end
diff --git a/Rodolfo_Valdivieso/models/optimize/config/locales/en.yml b/dylan_eckert/models/orm_practice/config/locales/en.yml
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/config/locales/en.yml
rename to dylan_eckert/models/orm_practice/config/locales/en.yml
diff --git a/dylan_eckert/models/orm_practice/config/puma.rb b/dylan_eckert/models/orm_practice/config/puma.rb
new file mode 100644
index 0000000..c7f311f
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/config/puma.rb
@@ -0,0 +1,47 @@
+# Puma can serve each request in a thread from an internal thread pool.
+# The `threads` method setting takes two numbers a minimum and maximum.
+# Any libraries that use thread pools should be configured to match
+# the maximum value specified for Puma. Default is set to 5 threads for minimum
+# and maximum, this matches the default thread size of Active Record.
+#
+threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i
+threads threads_count, threads_count
+
+# Specifies the `port` that Puma will listen on to receive requests, default is 3000.
+#
+port ENV.fetch("PORT") { 3000 }
+
+# Specifies the `environment` that Puma will run in.
+#
+environment ENV.fetch("RAILS_ENV") { "development" }
+
+# Specifies the number of `workers` to boot in clustered mode.
+# Workers are forked webserver processes. If using threads and workers together
+# the concurrency of the application would be max `threads` * `workers`.
+# Workers do not work on JRuby or Windows (both of which do not support
+# processes).
+#
+# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
+
+# Use the `preload_app!` method when specifying a `workers` number.
+# This directive tells Puma to first boot the application and load code
+# before forking the application. This takes advantage of Copy On Write
+# process behavior so workers use less memory. If you use this option
+# you need to make sure to reconnect any threads in the `on_worker_boot`
+# block.
+#
+# preload_app!
+
+# The code in the `on_worker_boot` will be called if you are using
+# clustered mode by specifying a number of `workers`. After each worker
+# process is booted this block will be run, if you are using `preload_app!`
+# option you will want to use this block to reconnect to any threads
+# or connections that may have been created at application boot, Ruby
+# cannot share connections between processes.
+#
+# on_worker_boot do
+# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
+# end
+
+# Allow puma to be restarted by `rails restart` command.
+plugin :tmp_restart
diff --git a/dylan_eckert/models/orm_practice/config/routes.rb b/dylan_eckert/models/orm_practice/config/routes.rb
new file mode 100644
index 0000000..787824f
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/config/routes.rb
@@ -0,0 +1,3 @@
+Rails.application.routes.draw do
+ # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
+end
diff --git a/dylan_eckert/models/orm_practice/config/secrets.yml b/dylan_eckert/models/orm_practice/config/secrets.yml
new file mode 100644
index 0000000..b64df17
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/config/secrets.yml
@@ -0,0 +1,22 @@
+# Be sure to restart your server when you modify this file.
+
+# Your secret key is used for verifying the integrity of signed cookies.
+# If you change this key, all old signed cookies will become invalid!
+
+# Make sure the secret is at least 30 characters and all random,
+# no regular words or you'll be exposed to dictionary attacks.
+# You can use `rails secret` to generate a secure secret key.
+
+# Make sure the secrets in this file are kept private
+# if you're sharing your code publicly.
+
+development:
+ secret_key_base: d27bdb2715b5afd1da77b7a2fa0bb3e21d13dae8b89c98e50e6117f977f7a6514ff50f4ad085a6a4867b2fc3dfc64e5fe44c416d04a48e832a813de5c7dc7467
+
+test:
+ secret_key_base: d78240025d499140d7997510c0cec3c12661b5a319d892a8f63c5481c5c574511b9b8b8ad04ef1ae98901c2f4aabcddfb6006ff912ed6f38744bc2754ceb5188
+
+# Do not keep production secrets in the repository,
+# instead read values from the environment.
+production:
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/dylan_eckert/models/orm_practice/config/spring.rb b/dylan_eckert/models/orm_practice/config/spring.rb
new file mode 100644
index 0000000..c9119b4
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/config/spring.rb
@@ -0,0 +1,6 @@
+%w(
+ .ruby-version
+ .rbenv-vars
+ tmp/restart.txt
+ tmp/caching-dev.txt
+).each { |path| Spring.watch(path) }
diff --git a/dylan_eckert/models/orm_practice/db/migrate/20171129193306_create_users.rb b/dylan_eckert/models/orm_practice/db/migrate/20171129193306_create_users.rb
new file mode 100644
index 0000000..61fbb77
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/db/migrate/20171129193306_create_users.rb
@@ -0,0 +1,13 @@
+class CreateUsers < ActiveRecord::Migration[5.0]
+ def change
+ create_table :users do |t|
+ t.string :fname
+ t.string :lname
+ t.string :email
+ t.string :password
+ t.integer :age
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/models/orm_practice/db/schema.rb b/dylan_eckert/models/orm_practice/db/schema.rb
new file mode 100644
index 0000000..6fac6a9
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/db/schema.rb
@@ -0,0 +1,25 @@
+# This file is auto-generated from the current state of the database. Instead
+# of editing this file, please use the migrations feature of Active Record to
+# incrementally modify your database, and then regenerate this schema definition.
+#
+# Note that this schema.rb definition is the authoritative source for your
+# database schema. If you need to create the application database on another
+# system, you should be using db:schema:load, not running all the migrations
+# from scratch. The latter is a flawed and unsustainable approach (the more migrations
+# you'll amass, the slower it'll run and the greater likelihood for issues).
+#
+# It's strongly recommended that you check this file into your version control system.
+
+ActiveRecord::Schema.define(version: 20171129193306) do
+
+ create_table "users", force: :cascade do |t|
+ t.string "fname"
+ t.string "lname"
+ t.string "email"
+ t.string "password"
+ t.integer "age"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ end
+
+end
diff --git a/dylan_eckert/models/orm_practice/db/seeds.rb b/dylan_eckert/models/orm_practice/db/seeds.rb
new file mode 100644
index 0000000..1beea2a
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/db/seeds.rb
@@ -0,0 +1,7 @@
+# This file should contain all the record creation needed to seed the database with its default values.
+# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
+#
+# Examples:
+#
+# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
+# Character.create(name: 'Luke', movie: movies.first)
diff --git a/Rodolfo_Valdivieso/models/self_join/test/mailers/.keep b/dylan_eckert/models/orm_practice/lib/assets/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/test/mailers/.keep
rename to dylan_eckert/models/orm_practice/lib/assets/.keep
diff --git a/Rodolfo_Valdivieso/models/self_join/test/models/.keep b/dylan_eckert/models/orm_practice/lib/tasks/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/test/models/.keep
rename to dylan_eckert/models/orm_practice/lib/tasks/.keep
diff --git a/Rodolfo_Valdivieso/models/self_join/vendor/assets/javascripts/.keep b/dylan_eckert/models/orm_practice/log/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/vendor/assets/javascripts/.keep
rename to dylan_eckert/models/orm_practice/log/.keep
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/public/404.html b/dylan_eckert/models/orm_practice/public/404.html
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/public/404.html
rename to dylan_eckert/models/orm_practice/public/404.html
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/public/422.html b/dylan_eckert/models/orm_practice/public/422.html
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/public/422.html
rename to dylan_eckert/models/orm_practice/public/422.html
diff --git a/Rodolfo_Valdivieso/controllers/basic_models/public/500.html b/dylan_eckert/models/orm_practice/public/500.html
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/basic_models/public/500.html
rename to dylan_eckert/models/orm_practice/public/500.html
diff --git a/Rodolfo_Valdivieso/models/self_join/vendor/assets/stylesheets/.keep b/dylan_eckert/models/orm_practice/public/apple-touch-icon-precomposed.png
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/vendor/assets/stylesheets/.keep
rename to dylan_eckert/models/orm_practice/public/apple-touch-icon-precomposed.png
diff --git a/Rodolfo_Valdivieso/models/user_login_project/app/assets/images/.keep b/dylan_eckert/models/orm_practice/public/apple-touch-icon.png
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/app/assets/images/.keep
rename to dylan_eckert/models/orm_practice/public/apple-touch-icon.png
diff --git a/Rodolfo_Valdivieso/models/user_login_project/public/favicon.ico b/dylan_eckert/models/orm_practice/public/favicon.ico
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/public/favicon.ico
rename to dylan_eckert/models/orm_practice/public/favicon.ico
diff --git a/Rodolfo_Valdivieso/models/optimize/public/robots.txt b/dylan_eckert/models/orm_practice/public/robots.txt
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/public/robots.txt
rename to dylan_eckert/models/orm_practice/public/robots.txt
diff --git a/Rodolfo_Valdivieso/models/user_login_project/app/controllers/concerns/.keep b/dylan_eckert/models/orm_practice/test/controllers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/app/controllers/concerns/.keep
rename to dylan_eckert/models/orm_practice/test/controllers/.keep
diff --git a/Rodolfo_Valdivieso/models/user_login_project/app/mailers/.keep b/dylan_eckert/models/orm_practice/test/fixtures/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/app/mailers/.keep
rename to dylan_eckert/models/orm_practice/test/fixtures/.keep
diff --git a/Rodolfo_Valdivieso/models/user_login_project/app/models/.keep b/dylan_eckert/models/orm_practice/test/fixtures/files/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/app/models/.keep
rename to dylan_eckert/models/orm_practice/test/fixtures/files/.keep
diff --git a/dylan_eckert/models/orm_practice/test/fixtures/users.yml b/dylan_eckert/models/orm_practice/test/fixtures/users.yml
new file mode 100644
index 0000000..85915c3
--- /dev/null
+++ b/dylan_eckert/models/orm_practice/test/fixtures/users.yml
@@ -0,0 +1,15 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+one:
+ fname: MyString
+ lname: MyString
+ email: MyString
+ password: MyString
+ age: 1
+
+two:
+ fname: MyString
+ lname: MyString
+ email: MyString
+ password: MyString
+ age: 1
diff --git a/Rodolfo_Valdivieso/models/user_login_project/app/models/concerns/.keep b/dylan_eckert/models/orm_practice/test/helpers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/app/models/concerns/.keep
rename to dylan_eckert/models/orm_practice/test/helpers/.keep
diff --git a/Rodolfo_Valdivieso/models/user_login_project/lib/assets/.keep b/dylan_eckert/models/orm_practice/test/integration/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/lib/assets/.keep
rename to dylan_eckert/models/orm_practice/test/integration/.keep
diff --git a/Rodolfo_Valdivieso/models/user_login_project/lib/tasks/.keep b/dylan_eckert/models/orm_practice/test/mailers/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/lib/tasks/.keep
rename to dylan_eckert/models/orm_practice/test/mailers/.keep
diff --git a/Rodolfo_Valdivieso/models/user_login_project/log/.keep b/dylan_eckert/models/orm_practice/test/models/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/log/.keep
rename to dylan_eckert/models/orm_practice/test/models/.keep
diff --git a/Stephen Weil/Rails/Models/user_login_project/test/models/user_test.rb b/dylan_eckert/models/orm_practice/test/models/user_test.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/test/models/user_test.rb
rename to dylan_eckert/models/orm_practice/test/models/user_test.rb
diff --git a/Rodolfo_Valdivieso/models/dojo_ninjas/test/test_helper.rb b/dylan_eckert/models/orm_practice/test/test_helper.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/dojo_ninjas/test/test_helper.rb
rename to dylan_eckert/models/orm_practice/test/test_helper.rb
diff --git a/Rodolfo_Valdivieso/models/user_login_project/test/controllers/.keep b/dylan_eckert/models/orm_practice/tmp/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/test/controllers/.keep
rename to dylan_eckert/models/orm_practice/tmp/.keep
diff --git a/Rodolfo_Valdivieso/models/user_login_project/test/fixtures/.keep b/dylan_eckert/models/orm_practice/vendor/assets/javascripts/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/test/fixtures/.keep
rename to dylan_eckert/models/orm_practice/vendor/assets/javascripts/.keep
diff --git a/Rodolfo_Valdivieso/models/user_login_project/test/helpers/.keep b/dylan_eckert/models/orm_practice/vendor/assets/stylesheets/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/test/helpers/.keep
rename to dylan_eckert/models/orm_practice/vendor/assets/stylesheets/.keep
diff --git a/dylan_eckert/models/polymorphismcommands.txt b/dylan_eckert/models/polymorphismcommands.txt
new file mode 100644
index 0000000..1260e26
--- /dev/null
+++ b/dylan_eckert/models/polymorphismcommands.txt
@@ -0,0 +1,13 @@
+rails g model Comment content:text commentable:references{polymorphic}
+
+rake db:migrate
+
+has_many :comments, as: :commentable
+
+Comment.create(content: "this is comment for blog 1" commentable: Blog.first)
+
+Blog.first.comments
+
+Blog.first.comments.first.update(content:"update comment")
+
+Blog.first.comments.first.destroy
diff --git a/dylan_eckert/models/user_log_proj/.gitignore b/dylan_eckert/models/user_log_proj/.gitignore
new file mode 100644
index 0000000..bab620d
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/.gitignore
@@ -0,0 +1,21 @@
+# See https://help.github.com/articles/ignoring-files for more about ignoring files.
+#
+# If you find yourself ignoring temporary files generated by your text editor
+# or operating system, you probably want to add a global ignore instead:
+# git config --global core.excludesfile '~/.gitignore_global'
+
+# Ignore bundler config.
+/.bundle
+
+# Ignore the default SQLite database.
+/db/*.sqlite3
+/db/*.sqlite3-journal
+
+# Ignore all logfiles and tempfiles.
+/log/*
+/tmp/*
+!/log/.keep
+!/tmp/.keep
+
+# Ignore Byebug command history file.
+.byebug_history
diff --git a/dylan_eckert/models/user_log_proj/Gemfile b/dylan_eckert/models/user_log_proj/Gemfile
new file mode 100644
index 0000000..59d57f6
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/Gemfile
@@ -0,0 +1,53 @@
+source 'https://rubygems.org'
+
+git_source(:github) do |repo_name|
+ repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
+ "https://github.com/#{repo_name}.git"
+end
+
+
+# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
+gem 'rails', '~> 5.0.6'
+# Use sqlite3 as the database for Active Record
+gem 'sqlite3'
+# Use Puma as the app server
+gem 'puma', '~> 3.0'
+# Use SCSS for stylesheets
+gem 'sass-rails', '~> 5.0'
+# Use Uglifier as compressor for JavaScript assets
+gem 'uglifier', '>= 1.3.0'
+# Use CoffeeScript for .coffee assets and views
+gem 'coffee-rails', '~> 4.2'
+# See https://github.com/rails/execjs#readme for more supported runtimes
+# gem 'therubyracer', platforms: :ruby
+
+# Use jquery as the JavaScript library
+gem 'jquery-rails'
+# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
+gem 'turbolinks', '~> 5'
+# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
+gem 'jbuilder', '~> 2.5'
+# Use Redis adapter to run Action Cable in production
+# gem 'redis', '~> 3.0'
+# Use ActiveModel has_secure_password
+# gem 'bcrypt', '~> 3.1.7'
+
+# Use Capistrano for deployment
+# gem 'capistrano-rails', group: :development
+
+group :development, :test do
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
+ gem 'byebug', platform: :mri
+end
+
+group :development do
+ # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
+ gem 'web-console', '>= 3.3.0'
+ gem 'listen', '~> 3.0.5'
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
+ gem 'spring'
+ gem 'spring-watcher-listen', '~> 2.0.0'
+end
+
+# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
+gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
diff --git a/dylan_eckert/models/user_log_proj/Gemfile.lock b/dylan_eckert/models/user_log_proj/Gemfile.lock
new file mode 100644
index 0000000..5642395
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/Gemfile.lock
@@ -0,0 +1,179 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actioncable (5.0.6)
+ actionpack (= 5.0.6)
+ nio4r (>= 1.2, < 3.0)
+ websocket-driver (~> 0.6.1)
+ actionmailer (5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ mail (~> 2.5, >= 2.5.4)
+ rails-dom-testing (~> 2.0)
+ actionpack (5.0.6)
+ actionview (= 5.0.6)
+ activesupport (= 5.0.6)
+ rack (~> 2.0)
+ rack-test (~> 0.6.3)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
+ actionview (5.0.6)
+ activesupport (= 5.0.6)
+ builder (~> 3.1)
+ erubis (~> 2.7.0)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
+ activejob (5.0.6)
+ activesupport (= 5.0.6)
+ globalid (>= 0.3.6)
+ activemodel (5.0.6)
+ activesupport (= 5.0.6)
+ activerecord (5.0.6)
+ activemodel (= 5.0.6)
+ activesupport (= 5.0.6)
+ arel (~> 7.0)
+ activesupport (5.0.6)
+ concurrent-ruby (~> 1.0, >= 1.0.2)
+ i18n (~> 0.7)
+ minitest (~> 5.1)
+ tzinfo (~> 1.1)
+ arel (7.1.4)
+ bindex (0.5.0)
+ builder (3.2.3)
+ byebug (9.1.0)
+ coffee-rails (4.2.2)
+ coffee-script (>= 2.2.0)
+ railties (>= 4.0.0)
+ coffee-script (2.4.1)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.12.2)
+ concurrent-ruby (1.0.5)
+ crass (1.0.3)
+ erubis (2.7.0)
+ execjs (2.7.0)
+ ffi (1.9.18)
+ globalid (0.4.1)
+ activesupport (>= 4.2.0)
+ i18n (0.9.1)
+ concurrent-ruby (~> 1.0)
+ jbuilder (2.7.0)
+ activesupport (>= 4.2.0)
+ multi_json (>= 1.2)
+ jquery-rails (4.3.1)
+ rails-dom-testing (>= 1, < 3)
+ railties (>= 4.2.0)
+ thor (>= 0.14, < 2.0)
+ listen (3.0.8)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ loofah (2.1.1)
+ crass (~> 1.0.2)
+ nokogiri (>= 1.5.9)
+ mail (2.7.0)
+ mini_mime (>= 0.1.1)
+ method_source (0.9.0)
+ mini_mime (1.0.0)
+ mini_portile2 (2.3.0)
+ minitest (5.10.3)
+ multi_json (1.12.2)
+ nio4r (2.1.0)
+ nokogiri (1.8.1)
+ mini_portile2 (~> 2.3.0)
+ puma (3.11.0)
+ rack (2.0.3)
+ rack-test (0.6.3)
+ rack (>= 1.0)
+ rails (5.0.6)
+ actioncable (= 5.0.6)
+ actionmailer (= 5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ activemodel (= 5.0.6)
+ activerecord (= 5.0.6)
+ activesupport (= 5.0.6)
+ bundler (>= 1.3.0)
+ railties (= 5.0.6)
+ sprockets-rails (>= 2.0.0)
+ rails-dom-testing (2.0.3)
+ activesupport (>= 4.2.0)
+ nokogiri (>= 1.6)
+ rails-html-sanitizer (1.0.3)
+ loofah (~> 2.0)
+ railties (5.0.6)
+ actionpack (= 5.0.6)
+ activesupport (= 5.0.6)
+ method_source
+ rake (>= 0.8.7)
+ thor (>= 0.18.1, < 2.0)
+ rake (12.3.0)
+ rb-fsevent (0.10.2)
+ rb-inotify (0.9.10)
+ ffi (>= 0.5.0, < 2)
+ sass (3.5.3)
+ sass-listen (~> 4.0.0)
+ sass-listen (4.0.0)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ sass-rails (5.0.7)
+ railties (>= 4.0.0, < 6)
+ sass (~> 3.1)
+ sprockets (>= 2.8, < 4.0)
+ sprockets-rails (>= 2.0, < 4.0)
+ tilt (>= 1.1, < 3)
+ spring (2.0.2)
+ activesupport (>= 4.2)
+ spring-watcher-listen (2.0.1)
+ listen (>= 2.7, < 4.0)
+ spring (>= 1.2, < 3.0)
+ sprockets (3.7.1)
+ concurrent-ruby (~> 1.0)
+ rack (> 1, < 3)
+ sprockets-rails (3.2.1)
+ actionpack (>= 4.0)
+ activesupport (>= 4.0)
+ sprockets (>= 3.0.0)
+ sqlite3 (1.3.13)
+ thor (0.20.0)
+ thread_safe (0.3.6)
+ tilt (2.0.8)
+ turbolinks (5.0.1)
+ turbolinks-source (~> 5)
+ turbolinks-source (5.0.3)
+ tzinfo (1.2.4)
+ thread_safe (~> 0.1)
+ uglifier (3.2.0)
+ execjs (>= 0.3.0, < 3)
+ web-console (3.5.1)
+ actionview (>= 5.0)
+ activemodel (>= 5.0)
+ bindex (>= 0.4.0)
+ railties (>= 5.0)
+ websocket-driver (0.6.5)
+ websocket-extensions (>= 0.1.0)
+ websocket-extensions (0.1.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ byebug
+ coffee-rails (~> 4.2)
+ jbuilder (~> 2.5)
+ jquery-rails
+ listen (~> 3.0.5)
+ puma (~> 3.0)
+ rails (~> 5.0.6)
+ sass-rails (~> 5.0)
+ spring
+ spring-watcher-listen (~> 2.0.0)
+ sqlite3
+ turbolinks (~> 5)
+ tzinfo-data
+ uglifier (>= 1.3.0)
+ web-console (>= 3.3.0)
+
+BUNDLED WITH
+ 1.12.5
diff --git a/dylan_eckert/models/user_log_proj/README.md b/dylan_eckert/models/user_log_proj/README.md
new file mode 100644
index 0000000..7db80e4
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/README.md
@@ -0,0 +1,24 @@
+# README
+
+This README would normally document whatever steps are necessary to get the
+application up and running.
+
+Things you may want to cover:
+
+* Ruby version
+
+* System dependencies
+
+* Configuration
+
+* Database creation
+
+* Database initialization
+
+* How to run the test suite
+
+* Services (job queues, cache servers, search engines, etc.)
+
+* Deployment instructions
+
+* ...
diff --git a/dylan_eckert/models/user_log_proj/Rakefile b/dylan_eckert/models/user_log_proj/Rakefile
new file mode 100644
index 0000000..e85f913
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/Rakefile
@@ -0,0 +1,6 @@
+# Add your own tasks in files placed in lib/tasks ending in .rake,
+# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
+
+require_relative 'config/application'
+
+Rails.application.load_tasks
diff --git a/dylan_eckert/models/user_log_proj/app/assets/config/manifest.js b/dylan_eckert/models/user_log_proj/app/assets/config/manifest.js
new file mode 100644
index 0000000..b16e53d
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/app/assets/config/manifest.js
@@ -0,0 +1,3 @@
+//= link_tree ../images
+//= link_directory ../javascripts .js
+//= link_directory ../stylesheets .css
diff --git a/Rodolfo_Valdivieso/models/user_login_project/test/integration/.keep b/dylan_eckert/models/user_log_proj/app/assets/images/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/test/integration/.keep
rename to dylan_eckert/models/user_log_proj/app/assets/images/.keep
diff --git a/dylan_eckert/models/user_log_proj/app/assets/javascripts/application.js b/dylan_eckert/models/user_log_proj/app/assets/javascripts/application.js
new file mode 100644
index 0000000..b12018d
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/app/assets/javascripts/application.js
@@ -0,0 +1,16 @@
+// This is a manifest file that'll be compiled into application.js, which will include all the files
+// listed below.
+//
+// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
+// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
+//
+// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
+// compiled file. JavaScript code in this file should be added after the last require_* statement.
+//
+// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
+// about supported directives.
+//
+//= require jquery
+//= require jquery_ujs
+//= require turbolinks
+//= require_tree .
diff --git a/dylan_eckert/models/user_log_proj/app/assets/javascripts/cable.js b/dylan_eckert/models/user_log_proj/app/assets/javascripts/cable.js
new file mode 100644
index 0000000..71ee1e6
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/app/assets/javascripts/cable.js
@@ -0,0 +1,13 @@
+// Action Cable provides the framework to deal with WebSockets in Rails.
+// You can generate new channels where WebSocket features live using the rails generate channel command.
+//
+//= require action_cable
+//= require_self
+//= require_tree ./channels
+
+(function() {
+ this.App || (this.App = {});
+
+ App.cable = ActionCable.createConsumer();
+
+}).call(this);
diff --git a/Rodolfo_Valdivieso/models/user_login_project/test/mailers/.keep b/dylan_eckert/models/user_log_proj/app/assets/javascripts/channels/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/test/mailers/.keep
rename to dylan_eckert/models/user_log_proj/app/assets/javascripts/channels/.keep
diff --git a/dylan_eckert/models/user_log_proj/app/assets/stylesheets/application.css b/dylan_eckert/models/user_log_proj/app/assets/stylesheets/application.css
new file mode 100644
index 0000000..0ebd7fe
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/app/assets/stylesheets/application.css
@@ -0,0 +1,15 @@
+/*
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
+ * listed below.
+ *
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
+ * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
+ *
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
+ * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
+ * files in this directory. Styles in this file should be added after the last require_* statement.
+ * It is generally better to create a new file per style scope.
+ *
+ *= require_tree .
+ *= require_self
+ */
diff --git a/dylan_eckert/models/user_log_proj/app/channels/application_cable/channel.rb b/dylan_eckert/models/user_log_proj/app/channels/application_cable/channel.rb
new file mode 100644
index 0000000..d672697
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/app/channels/application_cable/channel.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Channel < ActionCable::Channel::Base
+ end
+end
diff --git a/dylan_eckert/models/user_log_proj/app/channels/application_cable/connection.rb b/dylan_eckert/models/user_log_proj/app/channels/application_cable/connection.rb
new file mode 100644
index 0000000..0ff5442
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/app/channels/application_cable/connection.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Connection < ActionCable::Connection::Base
+ end
+end
diff --git a/dylan_eckert/models/user_log_proj/app/controllers/application_controller.rb b/dylan_eckert/models/user_log_proj/app/controllers/application_controller.rb
new file mode 100644
index 0000000..1c07694
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/app/controllers/application_controller.rb
@@ -0,0 +1,3 @@
+class ApplicationController < ActionController::Base
+ protect_from_forgery with: :exception
+end
diff --git a/Rodolfo_Valdivieso/models/user_login_project/test/models/.keep b/dylan_eckert/models/user_log_proj/app/controllers/concerns/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/test/models/.keep
rename to dylan_eckert/models/user_log_proj/app/controllers/concerns/.keep
diff --git a/Rodolfo_Valdivieso/models/self_join/app/helpers/application_helper.rb b/dylan_eckert/models/user_log_proj/app/helpers/application_helper.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/app/helpers/application_helper.rb
rename to dylan_eckert/models/user_log_proj/app/helpers/application_helper.rb
diff --git a/dylan_eckert/models/user_log_proj/app/jobs/application_job.rb b/dylan_eckert/models/user_log_proj/app/jobs/application_job.rb
new file mode 100644
index 0000000..a009ace
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/app/jobs/application_job.rb
@@ -0,0 +1,2 @@
+class ApplicationJob < ActiveJob::Base
+end
diff --git a/dylan_eckert/models/user_log_proj/app/mailers/application_mailer.rb b/dylan_eckert/models/user_log_proj/app/mailers/application_mailer.rb
new file mode 100644
index 0000000..286b223
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/app/mailers/application_mailer.rb
@@ -0,0 +1,4 @@
+class ApplicationMailer < ActionMailer::Base
+ default from: 'from@example.com'
+ layout 'mailer'
+end
diff --git a/dylan_eckert/models/user_log_proj/app/models/application_record.rb b/dylan_eckert/models/user_log_proj/app/models/application_record.rb
new file mode 100644
index 0000000..10a4cba
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/app/models/application_record.rb
@@ -0,0 +1,3 @@
+class ApplicationRecord < ActiveRecord::Base
+ self.abstract_class = true
+end
diff --git a/Rodolfo_Valdivieso/models/user_login_project/vendor/assets/javascripts/.keep b/dylan_eckert/models/user_log_proj/app/models/concerns/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/vendor/assets/javascripts/.keep
rename to dylan_eckert/models/user_log_proj/app/models/concerns/.keep
diff --git a/dylan_eckert/models/user_log_proj/app/models/user.rb b/dylan_eckert/models/user_log_proj/app/models/user.rb
new file mode 100644
index 0000000..eef1df5
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/app/models/user.rb
@@ -0,0 +1,22 @@
+class User < ApplicationRecord
+ validates :fname, :lname, :email, presence: true, length:{in: 2..20}
+ validates :age, numericality:{only_integer: true, greater_than: 9, less_than: 151}
+end
+
+# irb(main):003:0> User.create(fname:"j",lname:"dued",age:"27",email:"email").errors.full_messages
+# (0.3ms) begin transaction
+# (0.1ms) rollback transaction
+# => ["Fname is too short (minimum is 2 characters)"]
+
+# user = User.new
+# user.fname = "dude"
+# user.lname = "bro"
+# user.email = "email"
+# user.age = 5
+# irb(main):009:0> user.save
+# (0.1ms) begin transaction
+# (0.1ms) rollback transaction
+# => false
+# irb(main):011:0> user.errors.full_messages
+# => ["Age must be greater than 9"]
+# saving a new user to a variable (user in this case) and then running errors stores all the errors in that variable for displaying errors
diff --git a/dylan_eckert/models/user_log_proj/app/views/layouts/application.html.erb b/dylan_eckert/models/user_log_proj/app/views/layouts/application.html.erb
new file mode 100644
index 0000000..7a8082a
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/app/views/layouts/application.html.erb
@@ -0,0 +1,14 @@
+
+
+
+ UserLogProj
+ <%= csrf_meta_tags %>
+
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
+ <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
+
+
+
+ <%= yield %>
+
+
diff --git a/dylan_eckert/models/user_log_proj/app/views/layouts/mailer.html.erb b/dylan_eckert/models/user_log_proj/app/views/layouts/mailer.html.erb
new file mode 100644
index 0000000..cbd34d2
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/app/views/layouts/mailer.html.erb
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+ <%= yield %>
+
+
diff --git a/dylan_eckert/models/user_log_proj/app/views/layouts/mailer.text.erb b/dylan_eckert/models/user_log_proj/app/views/layouts/mailer.text.erb
new file mode 100644
index 0000000..37f0bdd
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/app/views/layouts/mailer.text.erb
@@ -0,0 +1 @@
+<%= yield %>
diff --git a/Rodolfo_Valdivieso/models/self_join/bin/bundle b/dylan_eckert/models/user_log_proj/bin/bundle
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/bin/bundle
rename to dylan_eckert/models/user_log_proj/bin/bundle
diff --git a/dylan_eckert/models/user_log_proj/bin/rails b/dylan_eckert/models/user_log_proj/bin/rails
new file mode 100755
index 0000000..5badb2f
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/bin/rails
@@ -0,0 +1,9 @@
+#!/usr/bin/env ruby
+begin
+ load File.expand_path('../spring', __FILE__)
+rescue LoadError => e
+ raise unless e.message.include?('spring')
+end
+APP_PATH = File.expand_path('../config/application', __dir__)
+require_relative '../config/boot'
+require 'rails/commands'
diff --git a/Rodolfo_Valdivieso/models/self_join/bin/rake b/dylan_eckert/models/user_log_proj/bin/rake
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/bin/rake
rename to dylan_eckert/models/user_log_proj/bin/rake
diff --git a/dylan_eckert/models/user_log_proj/bin/setup b/dylan_eckert/models/user_log_proj/bin/setup
new file mode 100755
index 0000000..e620b4d
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/bin/setup
@@ -0,0 +1,34 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a starting point to setup your application.
+ # Add necessary setup steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ # puts "\n== Copying sample files =="
+ # unless File.exist?('config/database.yml')
+ # cp 'config/database.yml.sample', 'config/database.yml'
+ # end
+
+ puts "\n== Preparing database =="
+ system! 'bin/rails db:setup'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/Rodolfo_Valdivieso/models/self_join/bin/spring b/dylan_eckert/models/user_log_proj/bin/spring
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/bin/spring
rename to dylan_eckert/models/user_log_proj/bin/spring
diff --git a/dylan_eckert/models/user_log_proj/bin/update b/dylan_eckert/models/user_log_proj/bin/update
new file mode 100755
index 0000000..a8e4462
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/bin/update
@@ -0,0 +1,29 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a way to update your development environment automatically.
+ # Add necessary update steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ puts "\n== Updating database =="
+ system! 'bin/rails db:migrate'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/dylan_eckert/models/user_log_proj/commands.txt b/dylan_eckert/models/user_log_proj/commands.txt
new file mode 100644
index 0000000..0c66f05
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/commands.txt
@@ -0,0 +1,35 @@
+User.create(fname:"jon",lname:"doe",email:"email",age:10)
+
+irb(main):003:0> User.create(fname:"j",lname:"dued",age:"27",email:"email").errors.full_messages
+ (0.3ms) begin transaction
+ (0.1ms) rollback transaction
+=> ["Fname is too short (minimum is 2 characters)"]
+
+user = User.new
+user.fname = "dude"
+user.lname = "bro"
+user.email = "email"
+user.age = 5
+irb(main):009:0> user.save
+ (0.1ms) begin transaction
+ (0.1ms) rollback transaction
+=> false
+irb(main):011:0> user.errors.full_messages
+=> ["Age must be greater than 9"]
+saving a new user to a variable (user in this case) and then running errors stores all the errors in that variable for displaying errors
+
+User.all
+User.first
+User.last
+User.new.valid?
+User.order(first_name: :desc)
+
+u = User.find(3)
+u.update(last_name: "Smith")
+
+User.find(4).destroy
+
+class User < ApplicationRecord
+ validates :fname, :lname, :email, presence: true, length:{in: 2..20}
+ validates :age, numericality:{only_integer: true, greater_than: 9, less_than: 151}
+end
diff --git a/dylan_eckert/models/user_log_proj/config.ru b/dylan_eckert/models/user_log_proj/config.ru
new file mode 100644
index 0000000..f7ba0b5
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/config.ru
@@ -0,0 +1,5 @@
+# This file is used by Rack-based servers to start the application.
+
+require_relative 'config/environment'
+
+run Rails.application
diff --git a/dylan_eckert/models/user_log_proj/config/application.rb b/dylan_eckert/models/user_log_proj/config/application.rb
new file mode 100644
index 0000000..bdaf020
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/config/application.rb
@@ -0,0 +1,15 @@
+require_relative 'boot'
+
+require 'rails/all'
+
+# Require the gems listed in Gemfile, including any gems
+# you've limited to :test, :development, or :production.
+Bundler.require(*Rails.groups)
+
+module UserLogProj
+ class Application < Rails::Application
+ # Settings in config/environments/* take precedence over those specified here.
+ # Application configuration should go into files in config/initializers
+ # -- all .rb files in that directory are automatically loaded.
+ end
+end
diff --git a/dylan_eckert/models/user_log_proj/config/boot.rb b/dylan_eckert/models/user_log_proj/config/boot.rb
new file mode 100644
index 0000000..30f5120
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/config/boot.rb
@@ -0,0 +1,3 @@
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
+
+require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/dylan_eckert/models/user_log_proj/config/cable.yml b/dylan_eckert/models/user_log_proj/config/cable.yml
new file mode 100644
index 0000000..0bbde6f
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/config/cable.yml
@@ -0,0 +1,9 @@
+development:
+ adapter: async
+
+test:
+ adapter: async
+
+production:
+ adapter: redis
+ url: redis://localhost:6379/1
diff --git a/Rodolfo_Valdivieso/models/optimize/config/database.yml b/dylan_eckert/models/user_log_proj/config/database.yml
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/config/database.yml
rename to dylan_eckert/models/user_log_proj/config/database.yml
diff --git a/dylan_eckert/models/user_log_proj/config/environment.rb b/dylan_eckert/models/user_log_proj/config/environment.rb
new file mode 100644
index 0000000..426333b
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/config/environment.rb
@@ -0,0 +1,5 @@
+# Load the Rails application.
+require_relative 'application'
+
+# Initialize the Rails application.
+Rails.application.initialize!
diff --git a/dylan_eckert/models/user_log_proj/config/environments/development.rb b/dylan_eckert/models/user_log_proj/config/environments/development.rb
new file mode 100644
index 0000000..6f71970
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/config/environments/development.rb
@@ -0,0 +1,54 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # In the development environment your application's code is reloaded on
+ # every request. This slows down response time but is perfect for development
+ # since you don't have to restart the web server when you make code changes.
+ config.cache_classes = false
+
+ # Do not eager load code on boot.
+ config.eager_load = false
+
+ # Show full error reports.
+ config.consider_all_requests_local = true
+
+ # Enable/disable caching. By default caching is disabled.
+ if Rails.root.join('tmp/caching-dev.txt').exist?
+ config.action_controller.perform_caching = true
+
+ config.cache_store = :memory_store
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=172800'
+ }
+ else
+ config.action_controller.perform_caching = false
+
+ config.cache_store = :null_store
+ end
+
+ # Don't care if the mailer can't send.
+ config.action_mailer.raise_delivery_errors = false
+
+ config.action_mailer.perform_caching = false
+
+ # Print deprecation notices to the Rails logger.
+ config.active_support.deprecation = :log
+
+ # Raise an error on page load if there are pending migrations.
+ config.active_record.migration_error = :page_load
+
+ # Debug mode disables concatenation and preprocessing of assets.
+ # This option may cause significant delays in view rendering with a large
+ # number of complex assets.
+ config.assets.debug = true
+
+ # Suppress logger output for asset requests.
+ config.assets.quiet = true
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+
+ # Use an evented file watcher to asynchronously detect changes in source code,
+ # routes, locales, etc. This feature depends on the listen gem.
+ config.file_watcher = ActiveSupport::EventedFileUpdateChecker
+end
diff --git a/dylan_eckert/models/user_log_proj/config/environments/production.rb b/dylan_eckert/models/user_log_proj/config/environments/production.rb
new file mode 100644
index 0000000..39e75e6
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/config/environments/production.rb
@@ -0,0 +1,86 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # Code is not reloaded between requests.
+ config.cache_classes = true
+
+ # Eager load code on boot. This eager loads most of Rails and
+ # your application in memory, allowing both threaded web servers
+ # and those relying on copy on write to perform better.
+ # Rake tasks automatically ignore this option for performance.
+ config.eager_load = true
+
+ # Full error reports are disabled and caching is turned on.
+ config.consider_all_requests_local = false
+ config.action_controller.perform_caching = true
+
+ # Disable serving static files from the `/public` folder by default since
+ # Apache or NGINX already handles this.
+ config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
+
+ # Compress JavaScripts and CSS.
+ config.assets.js_compressor = :uglifier
+ # config.assets.css_compressor = :sass
+
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
+ config.assets.compile = false
+
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
+
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
+ # config.action_controller.asset_host = 'http://assets.example.com'
+
+ # Specifies the header that your server uses for sending files.
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
+
+ # Mount Action Cable outside main process or domain
+ # config.action_cable.mount_path = nil
+ # config.action_cable.url = 'wss://example.com/cable'
+ # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
+
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
+ # config.force_ssl = true
+
+ # Use the lowest log level to ensure availability of diagnostic information
+ # when problems arise.
+ config.log_level = :debug
+
+ # Prepend all log lines with the following tags.
+ config.log_tags = [ :request_id ]
+
+ # Use a different cache store in production.
+ # config.cache_store = :mem_cache_store
+
+ # Use a real queuing backend for Active Job (and separate queues per environment)
+ # config.active_job.queue_adapter = :resque
+ # config.active_job.queue_name_prefix = "user_log_proj_#{Rails.env}"
+ config.action_mailer.perform_caching = false
+
+ # Ignore bad email addresses and do not raise email delivery errors.
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
+ # config.action_mailer.raise_delivery_errors = false
+
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
+ # the I18n.default_locale when a translation cannot be found).
+ config.i18n.fallbacks = true
+
+ # Send deprecation notices to registered listeners.
+ config.active_support.deprecation = :notify
+
+ # Use default logging formatter so that PID and timestamp are not suppressed.
+ config.log_formatter = ::Logger::Formatter.new
+
+ # Use a different logger for distributed setups.
+ # require 'syslog/logger'
+ # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
+
+ if ENV["RAILS_LOG_TO_STDOUT"].present?
+ logger = ActiveSupport::Logger.new(STDOUT)
+ logger.formatter = config.log_formatter
+ config.logger = ActiveSupport::TaggedLogging.new(logger)
+ end
+
+ # Do not dump schema after migrations.
+ config.active_record.dump_schema_after_migration = false
+end
diff --git a/dylan_eckert/models/user_log_proj/config/environments/test.rb b/dylan_eckert/models/user_log_proj/config/environments/test.rb
new file mode 100644
index 0000000..30587ef
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/config/environments/test.rb
@@ -0,0 +1,42 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # The test environment is used exclusively to run your application's
+ # test suite. You never need to work with it otherwise. Remember that
+ # your test database is "scratch space" for the test suite and is wiped
+ # and recreated between test runs. Don't rely on the data there!
+ config.cache_classes = true
+
+ # Do not eager load code on boot. This avoids loading your whole application
+ # just for the purpose of running a single test. If you are using a tool that
+ # preloads Rails for running tests, you may have to set it to true.
+ config.eager_load = false
+
+ # Configure public file server for tests with Cache-Control for performance.
+ config.public_file_server.enabled = true
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=3600'
+ }
+
+ # Show full error reports and disable caching.
+ config.consider_all_requests_local = true
+ config.action_controller.perform_caching = false
+
+ # Raise exceptions instead of rendering exception templates.
+ config.action_dispatch.show_exceptions = false
+
+ # Disable request forgery protection in test environment.
+ config.action_controller.allow_forgery_protection = false
+ config.action_mailer.perform_caching = false
+
+ # Tell Action Mailer not to deliver emails to the real world.
+ # The :test delivery method accumulates sent emails in the
+ # ActionMailer::Base.deliveries array.
+ config.action_mailer.delivery_method = :test
+
+ # Print deprecation notices to the stderr.
+ config.active_support.deprecation = :stderr
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+end
diff --git a/dylan_eckert/models/user_log_proj/config/initializers/application_controller_renderer.rb b/dylan_eckert/models/user_log_proj/config/initializers/application_controller_renderer.rb
new file mode 100644
index 0000000..89d2efa
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/config/initializers/application_controller_renderer.rb
@@ -0,0 +1,8 @@
+# Be sure to restart your server when you modify this file.
+
+# ActiveSupport::Reloader.to_prepare do
+# ApplicationController.renderer.defaults.merge!(
+# http_host: 'example.org',
+# https: false
+# )
+# end
diff --git a/Rodolfo_Valdivieso/models/user_login_project/config/initializers/assets.rb b/dylan_eckert/models/user_log_proj/config/initializers/assets.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/config/initializers/assets.rb
rename to dylan_eckert/models/user_log_proj/config/initializers/assets.rb
diff --git a/Rodolfo_Valdivieso/models/self_join/config/initializers/backtrace_silencers.rb b/dylan_eckert/models/user_log_proj/config/initializers/backtrace_silencers.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/config/initializers/backtrace_silencers.rb
rename to dylan_eckert/models/user_log_proj/config/initializers/backtrace_silencers.rb
diff --git a/dylan_eckert/models/user_log_proj/config/initializers/cookies_serializer.rb b/dylan_eckert/models/user_log_proj/config/initializers/cookies_serializer.rb
new file mode 100644
index 0000000..5a6a32d
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/config/initializers/cookies_serializer.rb
@@ -0,0 +1,5 @@
+# Be sure to restart your server when you modify this file.
+
+# Specify a serializer for the signed and encrypted cookie jars.
+# Valid options are :json, :marshal, and :hybrid.
+Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Rodolfo_Valdivieso/models/self_join/config/initializers/filter_parameter_logging.rb b/dylan_eckert/models/user_log_proj/config/initializers/filter_parameter_logging.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/config/initializers/filter_parameter_logging.rb
rename to dylan_eckert/models/user_log_proj/config/initializers/filter_parameter_logging.rb
diff --git a/Rodolfo_Valdivieso/models/self_join/config/initializers/inflections.rb b/dylan_eckert/models/user_log_proj/config/initializers/inflections.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/config/initializers/inflections.rb
rename to dylan_eckert/models/user_log_proj/config/initializers/inflections.rb
diff --git a/Rodolfo_Valdivieso/models/self_join/config/initializers/mime_types.rb b/dylan_eckert/models/user_log_proj/config/initializers/mime_types.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/config/initializers/mime_types.rb
rename to dylan_eckert/models/user_log_proj/config/initializers/mime_types.rb
diff --git a/dylan_eckert/models/user_log_proj/config/initializers/new_framework_defaults.rb b/dylan_eckert/models/user_log_proj/config/initializers/new_framework_defaults.rb
new file mode 100644
index 0000000..dd236b5
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/config/initializers/new_framework_defaults.rb
@@ -0,0 +1,26 @@
+# Be sure to restart your server when you modify this file.
+#
+# This file contains migration options to ease your Rails 5.0 upgrade.
+#
+# Read the Guide for Upgrading Ruby on Rails for more info on each option.
+
+Rails.application.config.action_controller.raise_on_unfiltered_parameters = true
+
+# Enable per-form CSRF tokens. Previous versions had false.
+Rails.application.config.action_controller.per_form_csrf_tokens = true
+
+# Enable origin-checking CSRF mitigation. Previous versions had false.
+Rails.application.config.action_controller.forgery_protection_origin_check = true
+
+# Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`.
+# Previous versions had false.
+ActiveSupport.to_time_preserves_timezone = true
+
+# Require `belongs_to` associations by default. Previous versions had false.
+Rails.application.config.active_record.belongs_to_required_by_default = true
+
+# Do not halt callback chains when a callback returns false. Previous versions had true.
+ActiveSupport.halt_callback_chains_on_return_false = false
+
+# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
+Rails.application.config.ssl_options = { hsts: { subdomains: true } }
diff --git a/dylan_eckert/models/user_log_proj/config/initializers/session_store.rb b/dylan_eckert/models/user_log_proj/config/initializers/session_store.rb
new file mode 100644
index 0000000..c25827b
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/config/initializers/session_store.rb
@@ -0,0 +1,3 @@
+# Be sure to restart your server when you modify this file.
+
+Rails.application.config.session_store :cookie_store, key: '_user_log_proj_session'
diff --git a/dylan_eckert/models/user_log_proj/config/initializers/wrap_parameters.rb b/dylan_eckert/models/user_log_proj/config/initializers/wrap_parameters.rb
new file mode 100644
index 0000000..bbfc396
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/config/initializers/wrap_parameters.rb
@@ -0,0 +1,14 @@
+# Be sure to restart your server when you modify this file.
+
+# This file contains settings for ActionController::ParamsWrapper which
+# is enabled by default.
+
+# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
+ActiveSupport.on_load(:action_controller) do
+ wrap_parameters format: [:json]
+end
+
+# To enable root element in JSON for ActiveRecord objects.
+# ActiveSupport.on_load(:active_record) do
+# self.include_root_in_json = true
+# end
diff --git a/Rodolfo_Valdivieso/models/self_join/config/locales/en.yml b/dylan_eckert/models/user_log_proj/config/locales/en.yml
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/config/locales/en.yml
rename to dylan_eckert/models/user_log_proj/config/locales/en.yml
diff --git a/dylan_eckert/models/user_log_proj/config/puma.rb b/dylan_eckert/models/user_log_proj/config/puma.rb
new file mode 100644
index 0000000..c7f311f
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/config/puma.rb
@@ -0,0 +1,47 @@
+# Puma can serve each request in a thread from an internal thread pool.
+# The `threads` method setting takes two numbers a minimum and maximum.
+# Any libraries that use thread pools should be configured to match
+# the maximum value specified for Puma. Default is set to 5 threads for minimum
+# and maximum, this matches the default thread size of Active Record.
+#
+threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i
+threads threads_count, threads_count
+
+# Specifies the `port` that Puma will listen on to receive requests, default is 3000.
+#
+port ENV.fetch("PORT") { 3000 }
+
+# Specifies the `environment` that Puma will run in.
+#
+environment ENV.fetch("RAILS_ENV") { "development" }
+
+# Specifies the number of `workers` to boot in clustered mode.
+# Workers are forked webserver processes. If using threads and workers together
+# the concurrency of the application would be max `threads` * `workers`.
+# Workers do not work on JRuby or Windows (both of which do not support
+# processes).
+#
+# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
+
+# Use the `preload_app!` method when specifying a `workers` number.
+# This directive tells Puma to first boot the application and load code
+# before forking the application. This takes advantage of Copy On Write
+# process behavior so workers use less memory. If you use this option
+# you need to make sure to reconnect any threads in the `on_worker_boot`
+# block.
+#
+# preload_app!
+
+# The code in the `on_worker_boot` will be called if you are using
+# clustered mode by specifying a number of `workers`. After each worker
+# process is booted this block will be run, if you are using `preload_app!`
+# option you will want to use this block to reconnect to any threads
+# or connections that may have been created at application boot, Ruby
+# cannot share connections between processes.
+#
+# on_worker_boot do
+# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
+# end
+
+# Allow puma to be restarted by `rails restart` command.
+plugin :tmp_restart
diff --git a/dylan_eckert/models/user_log_proj/config/routes.rb b/dylan_eckert/models/user_log_proj/config/routes.rb
new file mode 100644
index 0000000..787824f
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/config/routes.rb
@@ -0,0 +1,3 @@
+Rails.application.routes.draw do
+ # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
+end
diff --git a/dylan_eckert/models/user_log_proj/config/secrets.yml b/dylan_eckert/models/user_log_proj/config/secrets.yml
new file mode 100644
index 0000000..e580271
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/config/secrets.yml
@@ -0,0 +1,22 @@
+# Be sure to restart your server when you modify this file.
+
+# Your secret key is used for verifying the integrity of signed cookies.
+# If you change this key, all old signed cookies will become invalid!
+
+# Make sure the secret is at least 30 characters and all random,
+# no regular words or you'll be exposed to dictionary attacks.
+# You can use `rails secret` to generate a secure secret key.
+
+# Make sure the secrets in this file are kept private
+# if you're sharing your code publicly.
+
+development:
+ secret_key_base: f01aa430b99f38af5192173ff07c782b899e08ab479e165bd311bd7cf333637aa88e11572ee03d83c39625c17007dfb82dc3f657770c6847bd61d2a1ecbb2410
+
+test:
+ secret_key_base: 896db28164e1513edde5cfc428303e7a7292688075c90c7c4e0d584925c4b8885c5216dd1f60d5f0308fa042a239010910dca04da63fbb602b97061efc22399e
+
+# Do not keep production secrets in the repository,
+# instead read values from the environment.
+production:
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/dylan_eckert/models/user_log_proj/config/spring.rb b/dylan_eckert/models/user_log_proj/config/spring.rb
new file mode 100644
index 0000000..c9119b4
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/config/spring.rb
@@ -0,0 +1,6 @@
+%w(
+ .ruby-version
+ .rbenv-vars
+ tmp/restart.txt
+ tmp/caching-dev.txt
+).each { |path| Spring.watch(path) }
diff --git a/dylan_eckert/models/user_log_proj/db/migrate/20171129202800_create_users.rb b/dylan_eckert/models/user_log_proj/db/migrate/20171129202800_create_users.rb
new file mode 100644
index 0000000..28e7c83
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/db/migrate/20171129202800_create_users.rb
@@ -0,0 +1,12 @@
+class CreateUsers < ActiveRecord::Migration[5.0]
+ def change
+ create_table :users do |t|
+ t.string :fname
+ t.string :lname
+ t.integer :age
+ t.string :email
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/models/user_log_proj/db/schema.rb b/dylan_eckert/models/user_log_proj/db/schema.rb
new file mode 100644
index 0000000..324acf9
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/db/schema.rb
@@ -0,0 +1,24 @@
+# This file is auto-generated from the current state of the database. Instead
+# of editing this file, please use the migrations feature of Active Record to
+# incrementally modify your database, and then regenerate this schema definition.
+#
+# Note that this schema.rb definition is the authoritative source for your
+# database schema. If you need to create the application database on another
+# system, you should be using db:schema:load, not running all the migrations
+# from scratch. The latter is a flawed and unsustainable approach (the more migrations
+# you'll amass, the slower it'll run and the greater likelihood for issues).
+#
+# It's strongly recommended that you check this file into your version control system.
+
+ActiveRecord::Schema.define(version: 20171129202800) do
+
+ create_table "users", force: :cascade do |t|
+ t.string "fname"
+ t.string "lname"
+ t.integer "age"
+ t.string "email"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ end
+
+end
diff --git a/dylan_eckert/models/user_log_proj/db/seeds.rb b/dylan_eckert/models/user_log_proj/db/seeds.rb
new file mode 100644
index 0000000..1beea2a
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/db/seeds.rb
@@ -0,0 +1,7 @@
+# This file should contain all the record creation needed to seed the database with its default values.
+# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
+#
+# Examples:
+#
+# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
+# Character.create(name: 'Luke', movie: movies.first)
diff --git a/Rodolfo_Valdivieso/models/user_login_project/vendor/assets/stylesheets/.keep b/dylan_eckert/models/user_log_proj/lib/assets/.keep
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/vendor/assets/stylesheets/.keep
rename to dylan_eckert/models/user_log_proj/lib/assets/.keep
diff --git a/Stephen Weil/Rails/Models/blogs_one/app/assets/images/.keep b/dylan_eckert/models/user_log_proj/lib/tasks/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/app/assets/images/.keep
rename to dylan_eckert/models/user_log_proj/lib/tasks/.keep
diff --git a/Stephen Weil/Rails/Models/blogs_one/app/controllers/concerns/.keep b/dylan_eckert/models/user_log_proj/log/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/app/controllers/concerns/.keep
rename to dylan_eckert/models/user_log_proj/log/.keep
diff --git a/dylan_eckert/models/user_log_proj/public/404.html b/dylan_eckert/models/user_log_proj/public/404.html
new file mode 100644
index 0000000..2be3af2
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/public/404.html
@@ -0,0 +1,67 @@
+
+
+
+ The page you were looking for doesn't exist (404)
+
+
+
+
+
+
+
+
+
The page you were looking for doesn't exist.
+
You may have mistyped the address or the page may have moved.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/models/user_log_proj/public/422.html b/dylan_eckert/models/user_log_proj/public/422.html
new file mode 100644
index 0000000..c08eac0
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/public/422.html
@@ -0,0 +1,67 @@
+
+
+
+ The change you wanted was rejected (422)
+
+
+
+
+
+
+
+
+
The change you wanted was rejected.
+
Maybe you tried to change something you didn't have access to.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/models/user_log_proj/public/500.html b/dylan_eckert/models/user_log_proj/public/500.html
new file mode 100644
index 0000000..78a030a
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/public/500.html
@@ -0,0 +1,66 @@
+
+
+
+ We're sorry, but something went wrong (500)
+
+
+
+
+
+
+
+
+
We're sorry, but something went wrong.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/Stephen Weil/Rails/Models/blogs_one/app/mailers/.keep b/dylan_eckert/models/user_log_proj/public/apple-touch-icon-precomposed.png
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/app/mailers/.keep
rename to dylan_eckert/models/user_log_proj/public/apple-touch-icon-precomposed.png
diff --git a/Stephen Weil/Rails/Models/blogs_one/app/models/.keep b/dylan_eckert/models/user_log_proj/public/apple-touch-icon.png
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/app/models/.keep
rename to dylan_eckert/models/user_log_proj/public/apple-touch-icon.png
diff --git a/Stephen Weil/Rails/Models/blogs_one/public/favicon.ico b/dylan_eckert/models/user_log_proj/public/favicon.ico
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/public/favicon.ico
rename to dylan_eckert/models/user_log_proj/public/favicon.ico
diff --git a/Rodolfo_Valdivieso/models/self_join/public/robots.txt b/dylan_eckert/models/user_log_proj/public/robots.txt
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/public/robots.txt
rename to dylan_eckert/models/user_log_proj/public/robots.txt
diff --git a/Stephen Weil/Rails/Models/blogs_one/app/models/concerns/.keep b/dylan_eckert/models/user_log_proj/test/controllers/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/app/models/concerns/.keep
rename to dylan_eckert/models/user_log_proj/test/controllers/.keep
diff --git a/Stephen Weil/Rails/Models/blogs_one/lib/assets/.keep b/dylan_eckert/models/user_log_proj/test/fixtures/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/lib/assets/.keep
rename to dylan_eckert/models/user_log_proj/test/fixtures/.keep
diff --git a/Stephen Weil/Rails/Models/blogs_one/lib/tasks/.keep b/dylan_eckert/models/user_log_proj/test/fixtures/files/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/lib/tasks/.keep
rename to dylan_eckert/models/user_log_proj/test/fixtures/files/.keep
diff --git a/dylan_eckert/models/user_log_proj/test/fixtures/users.yml b/dylan_eckert/models/user_log_proj/test/fixtures/users.yml
new file mode 100644
index 0000000..32bf32d
--- /dev/null
+++ b/dylan_eckert/models/user_log_proj/test/fixtures/users.yml
@@ -0,0 +1,13 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+one:
+ fname: MyString
+ lname: MyString
+ age: 1
+ email: MyString
+
+two:
+ fname: MyString
+ lname: MyString
+ age: 1
+ email: MyString
diff --git a/Stephen Weil/Rails/Models/blogs_one/log/.keep b/dylan_eckert/models/user_log_proj/test/helpers/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/log/.keep
rename to dylan_eckert/models/user_log_proj/test/helpers/.keep
diff --git a/Stephen Weil/Rails/Models/blogs_one/test/controllers/.keep b/dylan_eckert/models/user_log_proj/test/integration/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/test/controllers/.keep
rename to dylan_eckert/models/user_log_proj/test/integration/.keep
diff --git a/Stephen Weil/Rails/Models/blogs_one/test/fixtures/.keep b/dylan_eckert/models/user_log_proj/test/mailers/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/test/fixtures/.keep
rename to dylan_eckert/models/user_log_proj/test/mailers/.keep
diff --git a/Stephen Weil/Rails/Models/blogs_one/test/helpers/.keep b/dylan_eckert/models/user_log_proj/test/models/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/test/helpers/.keep
rename to dylan_eckert/models/user_log_proj/test/models/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/test/models/user_test.rb b/dylan_eckert/models/user_log_proj/test/models/user_test.rb
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /intergrating_m/test/models/user_test.rb
rename to dylan_eckert/models/user_log_proj/test/models/user_test.rb
diff --git a/Rodolfo_Valdivieso/models/optimize/test/test_helper.rb b/dylan_eckert/models/user_log_proj/test/test_helper.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/optimize/test/test_helper.rb
rename to dylan_eckert/models/user_log_proj/test/test_helper.rb
diff --git a/Stephen Weil/Rails/Models/blogs_one/test/integration/.keep b/dylan_eckert/models/user_log_proj/tmp/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/test/integration/.keep
rename to dylan_eckert/models/user_log_proj/tmp/.keep
diff --git a/Stephen Weil/Rails/Models/blogs_one/test/mailers/.keep b/dylan_eckert/models/user_log_proj/vendor/assets/javascripts/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/test/mailers/.keep
rename to dylan_eckert/models/user_log_proj/vendor/assets/javascripts/.keep
diff --git a/Stephen Weil/Rails/Models/blogs_one/test/models/.keep b/dylan_eckert/models/user_log_proj/vendor/assets/stylesheets/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/test/models/.keep
rename to dylan_eckert/models/user_log_proj/vendor/assets/stylesheets/.keep
diff --git a/dylan_eckert/oop/bank.rb b/dylan_eckert/oop/bank.rb
new file mode 100644
index 0000000..4f79dc3
--- /dev/null
+++ b/dylan_eckert/oop/bank.rb
@@ -0,0 +1,66 @@
+class BankAccount
+ attr_accessor :acctnum, :checkbal, :savebal
+ @@accounts = 0
+ def initialize
+ @acctnum = genAcct
+ @checkbal = 0
+ @savebal = 0
+ @@accounts += 1
+ @interest = 0.01
+ end
+ def showCheck
+ puts "Checking: #{@checkbal}"
+ self
+ end
+ def showSave
+ puts "Savings: #{@savebal}"
+ self
+ end
+ def deposit(acct, num)
+ if acct == "checking"
+ @checkbal += num
+ elsif acct == "saving"
+ @savebal += num
+ else
+ p "No matching account name"
+ end
+ self
+ end
+ def withdraw(acct, num)
+ if acct == "checking"
+ @checkbal -= num
+ elsif acct == "saving"
+ @savebal -= num
+ else
+ p "No matching account name"
+ end
+ self
+ end
+ def showTotal
+ total = @checkbal + @savebal
+ end
+ def showAcct
+ puts "Account Number: #{@acctnum} Interest: #{@interest} #{self.showTotal}"
+ self
+ end
+ def self.accounts
+ p "Total Accounts: #{@@accounts}"
+ end
+ private
+ def genAcct
+ @acctnum = rand(1..10)
+ end
+end
+
+dylan = BankAccount.new
+dylan.showAcct.showSave.showCheck
+dylan.deposit("checking", 20)
+dylan.deposit("saving", 50)
+dylan.deposit("kbdlkaf", 20)
+dylan.showAcct.showSave.showCheck
+dylan.withdraw("checking", 10)
+dylan.withdraw("saving", 20)
+dylan.withdraw("kbdlkaf", 20)
+dylan.showAcct.showSave.showCheck
+
+BankAccount.accounts
diff --git a/dylan_eckert/oop/dog.zip b/dylan_eckert/oop/dog.zip
new file mode 100644
index 0000000..42fbb4f
Binary files /dev/null and b/dylan_eckert/oop/dog.zip differ
diff --git a/dylan_eckert/oop/human.rb b/dylan_eckert/oop/human.rb
new file mode 100644
index 0000000..a1e18b0
--- /dev/null
+++ b/dylan_eckert/oop/human.rb
@@ -0,0 +1,25 @@
+class Human
+ attr_accessor :strength, :int, :health, :stealth
+ def initialize
+ @strength = 3
+ @int = 3
+ @stealth = 3
+ @health = 100
+ end
+ def attack(obj)
+ if obj.class.ancestors.include?(Human)
+ obj.health -= 10
+ true
+ else
+ false
+ end
+ end
+end
+
+dylan = Human.new
+p "dylan: #{dylan.health}"
+badguy = Human.new
+p "badguy: #{badguy.health}"
+dylan.attack(badguy)
+p "Dylan attacks badguy!"
+p "badguy: #{badguy.health}"
diff --git a/dylan_eckert/oop/lion.zip b/dylan_eckert/oop/lion.zip
new file mode 100644
index 0000000..4fe057e
Binary files /dev/null and b/dylan_eckert/oop/lion.zip differ
diff --git a/dylan_eckert/oop/mathdojo.rb b/dylan_eckert/oop/mathdojo.rb
new file mode 100644
index 0000000..fcb393f
--- /dev/null
+++ b/dylan_eckert/oop/mathdojo.rb
@@ -0,0 +1,18 @@
+class MathDojo
+ attr_accessor :result
+ def initialize
+ @result = 0
+ end
+ def add(*nums)
+ @result += nums.flatten.reduce(0, :+)
+ self
+ end
+ def subtract(*nums)
+ @result -= nums.flatten.reduce(0, :+)
+ self
+ end
+end
+challenge1 = MathDojo.new.add(2).add(2, 5).subtract(3, 2).result # => 4
+challenge2 = MathDojo.new.add(1).add([3, 5, 7, 8], [2, 4.3, 1.25]).subtract([2,3], [1.1, 2.3]).result # => 23.15
+puts challenge1
+puts challenge2
diff --git a/dylan_eckert/oop/project.rb b/dylan_eckert/oop/project.rb
new file mode 100644
index 0000000..c989ba8
--- /dev/null
+++ b/dylan_eckert/oop/project.rb
@@ -0,0 +1,13 @@
+class Project
+ attr_accessor :name, :desc
+ def initialize(name, desc)
+ @name = name
+ @desc = desc
+ end
+ def elevator_pitch
+ puts "#{@name}, #{@desc}"
+ end
+end
+project1 = Project.new("Project 1", "Description 1")
+puts project1.name # => "Project 1"
+project1.elevator_pitch # => "Project 1, Description 1"
diff --git a/dylan_eckert/oop/user.rb b/dylan_eckert/oop/user.rb
new file mode 100644
index 0000000..2017c50
--- /dev/null
+++ b/dylan_eckert/oop/user.rb
@@ -0,0 +1,22 @@
+class User
+ attr_accessor :fname, :lname
+ def initialize(fname, lname)
+ @fname = fname
+ @lname = lname
+ self
+ end
+ def full_name
+ puts "I am #{@fname} #{@lname}"
+ self
+ end
+ def hello
+ puts "Hello"
+ self
+ end
+ def self.created
+ puts "User created"
+ end
+end
+dylan = User.new("Dylan", "Eckert")
+User.created
+dylan.full_name.hello
diff --git a/dylan_eckert/oop/wizninsam.zip b/dylan_eckert/oop/wizninsam.zip
new file mode 100644
index 0000000..991ce80
Binary files /dev/null and b/dylan_eckert/oop/wizninsam.zip differ
diff --git a/dylan_eckert/rails2/DojoSecrets/.gitignore b/dylan_eckert/rails2/DojoSecrets/.gitignore
new file mode 100644
index 0000000..48fb168
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/.gitignore
@@ -0,0 +1,17 @@
+# See https://help.github.com/articles/ignoring-files for more about ignoring files.
+#
+# If you find yourself ignoring temporary files generated by your text editor
+# or operating system, you probably want to add a global ignore instead:
+# git config --global core.excludesfile '~/.gitignore_global'
+
+# Ignore bundler config.
+/.bundle
+
+# Ignore all logfiles and tempfiles.
+/log/*
+/tmp/*
+!/log/.keep
+!/tmp/.keep
+
+# Ignore Byebug command history file.
+.byebug_history
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/.rspec b/dylan_eckert/rails2/DojoSecrets/.rspec
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/.rspec
rename to dylan_eckert/rails2/DojoSecrets/.rspec
diff --git a/dylan_eckert/rails2/DojoSecrets/Gemfile b/dylan_eckert/rails2/DojoSecrets/Gemfile
new file mode 100644
index 0000000..8d464a7
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/Gemfile
@@ -0,0 +1,54 @@
+source 'https://rubygems.org'
+
+git_source(:github) do |repo_name|
+ repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
+ "https://github.com/#{repo_name}.git"
+end
+
+
+# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
+gem 'rails', '~> 5.0.6'
+# Use postgresql as the database for Active Record
+gem 'pg', '~> 0.18'
+# Use Puma as the app server
+gem 'puma', '~> 3.0'
+# Use SCSS for stylesheets
+gem 'sass-rails', '~> 5.0'
+# Use Uglifier as compressor for JavaScript assets
+gem 'uglifier', '>= 1.3.0'
+# Use CoffeeScript for .coffee assets and views
+gem 'coffee-rails', '~> 4.2'
+# See https://github.com/rails/execjs#readme for more supported runtimes
+# gem 'therubyracer', platforms: :ruby
+
+# Use jquery as the JavaScript library
+gem 'jquery-rails'
+# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
+gem 'turbolinks', '~> 5'
+# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
+gem 'jbuilder', '~> 2.5'
+# Use Redis adapter to run Action Cable in production
+# gem 'redis', '~> 3.0'
+# Use ActiveModel has_secure_password
+gem 'bcrypt', '~> 3.1.7'
+
+# Use Capistrano for deployment
+# gem 'capistrano-rails', group: :development
+
+group :development, :test do
+ gem 'rspec-rails'
+ gem 'factory_bot_rails'
+ gem 'capybara'
+end
+
+group :development do
+ # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
+ gem 'web-console', '>= 3.3.0'
+ gem 'listen', '~> 3.0.5'
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
+ gem 'spring'
+ gem 'spring-watcher-listen', '~> 2.0.0'
+end
+
+# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
+gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
diff --git a/dylan_eckert/rails2/DojoSecrets/Gemfile.lock b/dylan_eckert/rails2/DojoSecrets/Gemfile.lock
new file mode 100644
index 0000000..1368646
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/Gemfile.lock
@@ -0,0 +1,217 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actioncable (5.0.6)
+ actionpack (= 5.0.6)
+ nio4r (>= 1.2, < 3.0)
+ websocket-driver (~> 0.6.1)
+ actionmailer (5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ mail (~> 2.5, >= 2.5.4)
+ rails-dom-testing (~> 2.0)
+ actionpack (5.0.6)
+ actionview (= 5.0.6)
+ activesupport (= 5.0.6)
+ rack (~> 2.0)
+ rack-test (~> 0.6.3)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
+ actionview (5.0.6)
+ activesupport (= 5.0.6)
+ builder (~> 3.1)
+ erubis (~> 2.7.0)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
+ activejob (5.0.6)
+ activesupport (= 5.0.6)
+ globalid (>= 0.3.6)
+ activemodel (5.0.6)
+ activesupport (= 5.0.6)
+ activerecord (5.0.6)
+ activemodel (= 5.0.6)
+ activesupport (= 5.0.6)
+ arel (~> 7.0)
+ activesupport (5.0.6)
+ concurrent-ruby (~> 1.0, >= 1.0.2)
+ i18n (~> 0.7)
+ minitest (~> 5.1)
+ tzinfo (~> 1.1)
+ addressable (2.5.2)
+ public_suffix (>= 2.0.2, < 4.0)
+ arel (7.1.4)
+ bcrypt (3.1.11)
+ bindex (0.5.0)
+ builder (3.2.3)
+ capybara (2.16.1)
+ addressable
+ mini_mime (>= 0.1.3)
+ nokogiri (>= 1.3.3)
+ rack (>= 1.0.0)
+ rack-test (>= 0.5.4)
+ xpath (~> 2.0)
+ coffee-rails (4.2.2)
+ coffee-script (>= 2.2.0)
+ railties (>= 4.0.0)
+ coffee-script (2.4.1)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.12.2)
+ concurrent-ruby (1.0.5)
+ crass (1.0.3)
+ diff-lcs (1.3)
+ erubis (2.7.0)
+ execjs (2.7.0)
+ factory_bot (4.8.2)
+ activesupport (>= 3.0.0)
+ factory_bot_rails (4.8.2)
+ factory_bot (~> 4.8.2)
+ railties (>= 3.0.0)
+ ffi (1.9.18)
+ globalid (0.4.1)
+ activesupport (>= 4.2.0)
+ i18n (0.9.1)
+ concurrent-ruby (~> 1.0)
+ jbuilder (2.7.0)
+ activesupport (>= 4.2.0)
+ multi_json (>= 1.2)
+ jquery-rails (4.3.1)
+ rails-dom-testing (>= 1, < 3)
+ railties (>= 4.2.0)
+ thor (>= 0.14, < 2.0)
+ listen (3.0.8)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ loofah (2.1.1)
+ crass (~> 1.0.2)
+ nokogiri (>= 1.5.9)
+ mail (2.7.0)
+ mini_mime (>= 0.1.1)
+ method_source (0.9.0)
+ mini_mime (1.0.0)
+ mini_portile2 (2.3.0)
+ minitest (5.10.3)
+ multi_json (1.12.2)
+ nio4r (2.1.0)
+ nokogiri (1.8.1)
+ mini_portile2 (~> 2.3.0)
+ pg (0.21.0)
+ public_suffix (3.0.1)
+ puma (3.11.0)
+ rack (2.0.3)
+ rack-test (0.6.3)
+ rack (>= 1.0)
+ rails (5.0.6)
+ actioncable (= 5.0.6)
+ actionmailer (= 5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ activemodel (= 5.0.6)
+ activerecord (= 5.0.6)
+ activesupport (= 5.0.6)
+ bundler (>= 1.3.0)
+ railties (= 5.0.6)
+ sprockets-rails (>= 2.0.0)
+ rails-dom-testing (2.0.3)
+ activesupport (>= 4.2.0)
+ nokogiri (>= 1.6)
+ rails-html-sanitizer (1.0.3)
+ loofah (~> 2.0)
+ railties (5.0.6)
+ actionpack (= 5.0.6)
+ activesupport (= 5.0.6)
+ method_source
+ rake (>= 0.8.7)
+ thor (>= 0.18.1, < 2.0)
+ rake (12.3.0)
+ rb-fsevent (0.10.2)
+ rb-inotify (0.9.10)
+ ffi (>= 0.5.0, < 2)
+ rspec-core (3.7.0)
+ rspec-support (~> 3.7.0)
+ rspec-expectations (3.7.0)
+ diff-lcs (>= 1.2.0, < 2.0)
+ rspec-support (~> 3.7.0)
+ rspec-mocks (3.7.0)
+ diff-lcs (>= 1.2.0, < 2.0)
+ rspec-support (~> 3.7.0)
+ rspec-rails (3.7.2)
+ actionpack (>= 3.0)
+ activesupport (>= 3.0)
+ railties (>= 3.0)
+ rspec-core (~> 3.7.0)
+ rspec-expectations (~> 3.7.0)
+ rspec-mocks (~> 3.7.0)
+ rspec-support (~> 3.7.0)
+ rspec-support (3.7.0)
+ sass (3.5.3)
+ sass-listen (~> 4.0.0)
+ sass-listen (4.0.0)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ sass-rails (5.0.7)
+ railties (>= 4.0.0, < 6)
+ sass (~> 3.1)
+ sprockets (>= 2.8, < 4.0)
+ sprockets-rails (>= 2.0, < 4.0)
+ tilt (>= 1.1, < 3)
+ spring (2.0.2)
+ activesupport (>= 4.2)
+ spring-watcher-listen (2.0.1)
+ listen (>= 2.7, < 4.0)
+ spring (>= 1.2, < 3.0)
+ sprockets (3.7.1)
+ concurrent-ruby (~> 1.0)
+ rack (> 1, < 3)
+ sprockets-rails (3.2.1)
+ actionpack (>= 4.0)
+ activesupport (>= 4.0)
+ sprockets (>= 3.0.0)
+ thor (0.20.0)
+ thread_safe (0.3.6)
+ tilt (2.0.8)
+ turbolinks (5.0.1)
+ turbolinks-source (~> 5)
+ turbolinks-source (5.0.3)
+ tzinfo (1.2.4)
+ thread_safe (~> 0.1)
+ uglifier (4.0.2)
+ execjs (>= 0.3.0, < 3)
+ web-console (3.5.1)
+ actionview (>= 5.0)
+ activemodel (>= 5.0)
+ bindex (>= 0.4.0)
+ railties (>= 5.0)
+ websocket-driver (0.6.5)
+ websocket-extensions (>= 0.1.0)
+ websocket-extensions (0.1.3)
+ xpath (2.1.0)
+ nokogiri (~> 1.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ bcrypt (~> 3.1.7)
+ capybara
+ coffee-rails (~> 4.2)
+ factory_bot_rails
+ jbuilder (~> 2.5)
+ jquery-rails
+ listen (~> 3.0.5)
+ pg (~> 0.18)
+ puma (~> 3.0)
+ rails (~> 5.0.6)
+ rspec-rails
+ sass-rails (~> 5.0)
+ spring
+ spring-watcher-listen (~> 2.0.0)
+ turbolinks (~> 5)
+ tzinfo-data
+ uglifier (>= 1.3.0)
+ web-console (>= 3.3.0)
+
+BUNDLED WITH
+ 1.16.0
diff --git a/dylan_eckert/rails2/DojoSecrets/README.md b/dylan_eckert/rails2/DojoSecrets/README.md
new file mode 100644
index 0000000..7db80e4
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/README.md
@@ -0,0 +1,24 @@
+# README
+
+This README would normally document whatever steps are necessary to get the
+application up and running.
+
+Things you may want to cover:
+
+* Ruby version
+
+* System dependencies
+
+* Configuration
+
+* Database creation
+
+* Database initialization
+
+* How to run the test suite
+
+* Services (job queues, cache servers, search engines, etc.)
+
+* Deployment instructions
+
+* ...
diff --git a/dylan_eckert/rails2/DojoSecrets/Rakefile b/dylan_eckert/rails2/DojoSecrets/Rakefile
new file mode 100644
index 0000000..e85f913
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/Rakefile
@@ -0,0 +1,6 @@
+# Add your own tasks in files placed in lib/tasks ending in .rake,
+# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
+
+require_relative 'config/application'
+
+Rails.application.load_tasks
diff --git a/dylan_eckert/rails2/DojoSecrets/app/assets/config/manifest.js b/dylan_eckert/rails2/DojoSecrets/app/assets/config/manifest.js
new file mode 100644
index 0000000..b16e53d
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/assets/config/manifest.js
@@ -0,0 +1,3 @@
+//= link_tree ../images
+//= link_directory ../javascripts .js
+//= link_directory ../stylesheets .css
diff --git a/Stephen Weil/Rails/Models/blogs_one/vendor/assets/javascripts/.keep b/dylan_eckert/rails2/DojoSecrets/app/assets/images/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/vendor/assets/javascripts/.keep
rename to dylan_eckert/rails2/DojoSecrets/app/assets/images/.keep
diff --git a/dylan_eckert/rails2/DojoSecrets/app/assets/javascripts/application.js b/dylan_eckert/rails2/DojoSecrets/app/assets/javascripts/application.js
new file mode 100644
index 0000000..b12018d
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/assets/javascripts/application.js
@@ -0,0 +1,16 @@
+// This is a manifest file that'll be compiled into application.js, which will include all the files
+// listed below.
+//
+// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
+// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
+//
+// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
+// compiled file. JavaScript code in this file should be added after the last require_* statement.
+//
+// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
+// about supported directives.
+//
+//= require jquery
+//= require jquery_ujs
+//= require turbolinks
+//= require_tree .
diff --git a/dylan_eckert/rails2/DojoSecrets/app/assets/javascripts/cable.js b/dylan_eckert/rails2/DojoSecrets/app/assets/javascripts/cable.js
new file mode 100644
index 0000000..71ee1e6
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/assets/javascripts/cable.js
@@ -0,0 +1,13 @@
+// Action Cable provides the framework to deal with WebSockets in Rails.
+// You can generate new channels where WebSocket features live using the rails generate channel command.
+//
+//= require action_cable
+//= require_self
+//= require_tree ./channels
+
+(function() {
+ this.App || (this.App = {});
+
+ App.cable = ActionCable.createConsumer();
+
+}).call(this);
diff --git a/Stephen Weil/Rails/Models/blogs_one/vendor/assets/stylesheets/.keep b/dylan_eckert/rails2/DojoSecrets/app/assets/javascripts/channels/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/vendor/assets/stylesheets/.keep
rename to dylan_eckert/rails2/DojoSecrets/app/assets/javascripts/channels/.keep
diff --git a/Rodolfo_Valdivieso/controllers/ninjaGold/app/assets/javascripts/rpg.coffee b/dylan_eckert/rails2/DojoSecrets/app/assets/javascripts/likes.coffee
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/ninjaGold/app/assets/javascripts/rpg.coffee
rename to dylan_eckert/rails2/DojoSecrets/app/assets/javascripts/likes.coffee
diff --git a/Rodolfo_Valdivieso/controllers/routes/app/assets/javascripts/products.coffee b/dylan_eckert/rails2/DojoSecrets/app/assets/javascripts/secrets.coffee
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/routes/app/assets/javascripts/products.coffee
rename to dylan_eckert/rails2/DojoSecrets/app/assets/javascripts/secrets.coffee
diff --git a/Rodolfo_Valdivieso/controllers/routes/app/assets/javascripts/test.coffee b/dylan_eckert/rails2/DojoSecrets/app/assets/javascripts/sessions.coffee
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/routes/app/assets/javascripts/test.coffee
rename to dylan_eckert/rails2/DojoSecrets/app/assets/javascripts/sessions.coffee
diff --git a/justin_quiros/models/app/assets/javascripts/users.coffee b/dylan_eckert/rails2/DojoSecrets/app/assets/javascripts/users.coffee
similarity index 100%
rename from justin_quiros/models/app/assets/javascripts/users.coffee
rename to dylan_eckert/rails2/DojoSecrets/app/assets/javascripts/users.coffee
diff --git a/dylan_eckert/rails2/DojoSecrets/app/assets/stylesheets/application.css b/dylan_eckert/rails2/DojoSecrets/app/assets/stylesheets/application.css
new file mode 100644
index 0000000..0ebd7fe
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/assets/stylesheets/application.css
@@ -0,0 +1,15 @@
+/*
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
+ * listed below.
+ *
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
+ * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
+ *
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
+ * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
+ * files in this directory. Styles in this file should be added after the last require_* statement.
+ * It is generally better to create a new file per style scope.
+ *
+ *= require_tree .
+ *= require_self
+ */
diff --git a/dylan_eckert/rails2/DojoSecrets/app/assets/stylesheets/likes.scss b/dylan_eckert/rails2/DojoSecrets/app/assets/stylesheets/likes.scss
new file mode 100644
index 0000000..dacd946
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/assets/stylesheets/likes.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the Likes controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/dylan_eckert/rails2/DojoSecrets/app/assets/stylesheets/secrets.scss b/dylan_eckert/rails2/DojoSecrets/app/assets/stylesheets/secrets.scss
new file mode 100644
index 0000000..f1aed55
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/assets/stylesheets/secrets.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the Secrets controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/dylan_eckert/rails2/DojoSecrets/app/assets/stylesheets/sessions.scss b/dylan_eckert/rails2/DojoSecrets/app/assets/stylesheets/sessions.scss
new file mode 100644
index 0000000..ccb1ed2
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/assets/stylesheets/sessions.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the Sessions controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/app/assets/stylesheets/users.scss b/dylan_eckert/rails2/DojoSecrets/app/assets/stylesheets/users.scss
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /intergrating_m/app/assets/stylesheets/users.scss
rename to dylan_eckert/rails2/DojoSecrets/app/assets/stylesheets/users.scss
diff --git a/dylan_eckert/rails2/DojoSecrets/app/channels/application_cable/channel.rb b/dylan_eckert/rails2/DojoSecrets/app/channels/application_cable/channel.rb
new file mode 100644
index 0000000..d672697
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/channels/application_cable/channel.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Channel < ActionCable::Channel::Base
+ end
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/app/channels/application_cable/connection.rb b/dylan_eckert/rails2/DojoSecrets/app/channels/application_cable/connection.rb
new file mode 100644
index 0000000..0ff5442
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/channels/application_cable/connection.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Connection < ActionCable::Connection::Base
+ end
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/app/controllers/application_controller.rb b/dylan_eckert/rails2/DojoSecrets/app/controllers/application_controller.rb
new file mode 100644
index 0000000..122a954
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/controllers/application_controller.rb
@@ -0,0 +1,15 @@
+class ApplicationController < ActionController::Base
+ protect_from_forgery with: :exception
+
+ before_action :require_login
+
+ def require_login
+ return redirect_to new_session_path unless session[:user_id]
+ end
+ def current_user
+ # ONLY USE THIS IF YOU ARE NEEDING THE FULL USER INFO (name, email, etc) if you are going for an id, just use session[:user_id]
+ return User.find(session[:user_id]) if session[:user_id]
+ end
+ helper_method :current_user
+ helper_method :require_login
+end
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/app/assets/images/.keep b/dylan_eckert/rails2/DojoSecrets/app/controllers/concerns/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/app/assets/images/.keep
rename to dylan_eckert/rails2/DojoSecrets/app/controllers/concerns/.keep
diff --git a/dylan_eckert/rails2/DojoSecrets/app/controllers/likes_controller.rb b/dylan_eckert/rails2/DojoSecrets/app/controllers/likes_controller.rb
new file mode 100644
index 0000000..f64accc
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/controllers/likes_controller.rb
@@ -0,0 +1,17 @@
+class LikesController < ApplicationController
+ def create
+ Like.create(like_params)
+ redirect_to secrets_path
+ end
+
+ def destroy
+ @like = Like.find(params[:id])
+ @like.destroy if session[:user_id] === @like.user_id
+ # this is a check to make sure that if somehow a user who didnt create the like tries to delete the like(unlike), the destroy method will not run
+ redirect_to secrets_path
+ end
+ private
+ def like_params
+ params.require(:like).permit(:secret_id).merge(user: current_user)
+ end
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/app/controllers/secrets_controller.rb b/dylan_eckert/rails2/DojoSecrets/app/controllers/secrets_controller.rb
new file mode 100644
index 0000000..b841f71
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/controllers/secrets_controller.rb
@@ -0,0 +1,23 @@
+class SecretsController < ApplicationController
+ def index
+ @secrets = Secret.all
+ # this is to get all secrets, I then have
+ end
+ def create
+ secret = Secret.new secret_params
+ unless secret.save
+ flash[:errors] = secret.errors.full_messages
+ end
+ redirect_to user_path current_user.id
+ end
+ def destroy
+ @secret = Secret.find(params[:id])
+ @secret.destroy if @secret.user === current_user
+ redirect_to user_path current_user.id
+ end
+ private
+ def secret_params
+ params.require(:secret).permit(:content).merge(user: current_user)
+ # make strong params for secret, including content and merging the user that created it by using my application controller's method current_user to find the current user logged in to the session
+ end
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/app/controllers/sessions_controller.rb b/dylan_eckert/rails2/DojoSecrets/app/controllers/sessions_controller.rb
new file mode 100644
index 0000000..6a0abf2
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/controllers/sessions_controller.rb
@@ -0,0 +1,26 @@
+class SessionsController < ApplicationController
+ skip_before_action :require_login, except: [:destroy]
+ def new
+ end
+
+ def create
+ user = User.find_by(email: params[:email])
+ # find by email
+ if user
+ if user.try(:authenticate, params[:password])
+ # if the user matches a user in the database, set the session id to the user being authenticated
+ session[:user_id] = user.id
+ return redirect_to user_path user.id
+ end
+ flash[:errors] = ["Invalid password"]
+ else
+ flash[:errors] = ["Invalid email"]
+ end
+ return redirect_back fallback_location: new_session_path
+ end
+
+ def destroy
+ reset_session
+ redirect_to "/sessions/new"
+ end
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/app/controllers/users_controller.rb b/dylan_eckert/rails2/DojoSecrets/app/controllers/users_controller.rb
new file mode 100644
index 0000000..e59122e
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/controllers/users_controller.rb
@@ -0,0 +1,51 @@
+class UsersController < ApplicationController
+ skip_before_action :require_login, only: [:new, :create]
+ before_action :user_auth, except: [:new, :create]
+ def new
+ end
+
+ def create
+ user = User.create(user_params)
+ if user.valid?
+ session[:user_id] = user.id
+ return redirect_to user_path user.id
+ else
+ flash[:errors] = user.errors.full_messages
+ return redirect_back fallback_location: new_user_path
+ end
+ end
+
+ def show
+ @user = User.find(params[:id])
+ end
+
+ def edit
+ @user = User.find(params[:id])
+ end
+
+ def update
+ user = User.find(params[:id])
+ user.update(user_params)
+ redirect_to user_path user.id
+ end
+
+ def destroy
+ user = User.find(params[:id])
+ user.destroy
+ reset_session
+ redirect_to new_session_path
+ end
+
+ private
+
+ def user_params
+ params.require(:user).permit(:name, :email, :password, :password_confirmation)
+ end
+
+ def user_auth
+ if params[:id].to_i != session[:user_id]
+ # anything put into params or forms are treated as strings, so basically, session[:user_id] is a true integer because it comes from the user object. params[:id] is a string and must be converted to an integer in order for the comparison to occur
+ redirect_to user_path session[:user_id]
+ end
+ end
+end
diff --git a/Rodolfo_Valdivieso/models/user_login_project/app/helpers/application_helper.rb b/dylan_eckert/rails2/DojoSecrets/app/helpers/application_helper.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/app/helpers/application_helper.rb
rename to dylan_eckert/rails2/DojoSecrets/app/helpers/application_helper.rb
diff --git a/dylan_eckert/rails2/DojoSecrets/app/helpers/likes_helper.rb b/dylan_eckert/rails2/DojoSecrets/app/helpers/likes_helper.rb
new file mode 100644
index 0000000..a78a759
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/helpers/likes_helper.rb
@@ -0,0 +1,2 @@
+module LikesHelper
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/app/helpers/secrets_helper.rb b/dylan_eckert/rails2/DojoSecrets/app/helpers/secrets_helper.rb
new file mode 100644
index 0000000..17ab1ea
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/helpers/secrets_helper.rb
@@ -0,0 +1,2 @@
+module SecretsHelper
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/app/helpers/sessions_helper.rb b/dylan_eckert/rails2/DojoSecrets/app/helpers/sessions_helper.rb
new file mode 100644
index 0000000..309f8b2
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/helpers/sessions_helper.rb
@@ -0,0 +1,2 @@
+module SessionsHelper
+end
diff --git a/brittney_jackson/rails/integrateModels/app/helpers/users_helper.rb b/dylan_eckert/rails2/DojoSecrets/app/helpers/users_helper.rb
similarity index 100%
rename from brittney_jackson/rails/integrateModels/app/helpers/users_helper.rb
rename to dylan_eckert/rails2/DojoSecrets/app/helpers/users_helper.rb
diff --git a/dylan_eckert/rails2/DojoSecrets/app/jobs/application_job.rb b/dylan_eckert/rails2/DojoSecrets/app/jobs/application_job.rb
new file mode 100644
index 0000000..a009ace
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/jobs/application_job.rb
@@ -0,0 +1,2 @@
+class ApplicationJob < ActiveJob::Base
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/app/mailers/application_mailer.rb b/dylan_eckert/rails2/DojoSecrets/app/mailers/application_mailer.rb
new file mode 100644
index 0000000..286b223
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/mailers/application_mailer.rb
@@ -0,0 +1,4 @@
+class ApplicationMailer < ActionMailer::Base
+ default from: 'from@example.com'
+ layout 'mailer'
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/app/models/application_record.rb b/dylan_eckert/rails2/DojoSecrets/app/models/application_record.rb
new file mode 100644
index 0000000..10a4cba
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/models/application_record.rb
@@ -0,0 +1,3 @@
+class ApplicationRecord < ActiveRecord::Base
+ self.abstract_class = true
+end
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/app/controllers/concerns/.keep b/dylan_eckert/rails2/DojoSecrets/app/models/concerns/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/app/controllers/concerns/.keep
rename to dylan_eckert/rails2/DojoSecrets/app/models/concerns/.keep
diff --git a/dylan_eckert/rails2/DojoSecrets/app/models/like.rb b/dylan_eckert/rails2/DojoSecrets/app/models/like.rb
new file mode 100644
index 0000000..85908ea
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/models/like.rb
@@ -0,0 +1,4 @@
+class Like < ApplicationRecord
+ belongs_to :secret
+ belongs_to :user
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/app/models/secret.rb b/dylan_eckert/rails2/DojoSecrets/app/models/secret.rb
new file mode 100644
index 0000000..1a3958f
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/models/secret.rb
@@ -0,0 +1,7 @@
+class Secret < ApplicationRecord
+ belongs_to :user
+ has_many :likes, dependent: :destroy
+ has_many :users, through: :likes
+
+ validates :content, presence: true
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/app/models/user.rb b/dylan_eckert/rails2/DojoSecrets/app/models/user.rb
new file mode 100644
index 0000000..60bda5f
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/models/user.rb
@@ -0,0 +1,20 @@
+class User < ApplicationRecord
+ has_secure_password
+ has_many :secrets
+ has_many :likes, dependent: :destroy
+ has_many :secrets_liked, through: :likes, source: :secret
+ # the line above is there to allow for us so the query User.first.secrets will show all of the secrets the user created, not the secrets the user has liked
+
+ EMAIL_REGEX = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]+)\z/i
+ validates :name, presence: true
+ validates :email, presence: true, uniqueness: { case_sensitive: false }, format: { with: EMAIL_REGEX }
+
+ before_save :input_lowercase
+ # line above says that before saving the user to the database to run the email_lowercase method
+
+ def input_lowercase
+ self.email.downcase!
+ self.name.downcase!
+ # the built in method for lowercasing something is .downcase!
+ end
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/app/views/layouts/application.html.erb b/dylan_eckert/rails2/DojoSecrets/app/views/layouts/application.html.erb
new file mode 100644
index 0000000..4c62c3f
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/views/layouts/application.html.erb
@@ -0,0 +1,25 @@
+
+
+
+ DojoSecrets
+ <%= csrf_meta_tags %>
+
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
+ <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
+
+
+ <% if flash[:errors] %>
+ <% flash[:errors].each do |error| %>
+
<%= error %>
+ <% end %>
+ <% end %>
+ <% if current_user %>
+
+ <% end %>
+ <%= yield %>
+
+
diff --git a/dylan_eckert/rails2/DojoSecrets/app/views/layouts/mailer.html.erb b/dylan_eckert/rails2/DojoSecrets/app/views/layouts/mailer.html.erb
new file mode 100644
index 0000000..cbd34d2
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/views/layouts/mailer.html.erb
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+ <%= yield %>
+
+
diff --git a/dylan_eckert/rails2/DojoSecrets/app/views/layouts/mailer.text.erb b/dylan_eckert/rails2/DojoSecrets/app/views/layouts/mailer.text.erb
new file mode 100644
index 0000000..37f0bdd
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/views/layouts/mailer.text.erb
@@ -0,0 +1 @@
+<%= yield %>
diff --git a/dylan_eckert/rails2/DojoSecrets/app/views/likes/create.html.erb b/dylan_eckert/rails2/DojoSecrets/app/views/likes/create.html.erb
new file mode 100644
index 0000000..7159391
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/views/likes/create.html.erb
@@ -0,0 +1,2 @@
+
Likes#create
+
Find me in app/views/likes/create.html.erb
diff --git a/dylan_eckert/rails2/DojoSecrets/app/views/likes/destroy.html.erb b/dylan_eckert/rails2/DojoSecrets/app/views/likes/destroy.html.erb
new file mode 100644
index 0000000..b7ab94f
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/views/likes/destroy.html.erb
@@ -0,0 +1,2 @@
+
Likes#destroy
+
Find me in app/views/likes/destroy.html.erb
diff --git a/dylan_eckert/rails2/DojoSecrets/app/views/secrets/index.html.erb b/dylan_eckert/rails2/DojoSecrets/app/views/secrets/index.html.erb
new file mode 100644
index 0000000..eb436f1
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/views/secrets/index.html.erb
@@ -0,0 +1,26 @@
+
All Secrets
+<% @secrets.all.each do |secret| %>
+
<%= secret.content %>
+
<%= secret.likes.count %> likes
+ <% if secret.user == current_user %>
+
+ <% end %>
+ <% unless secret.users.include?(current_user) %>
+
+ <% else %>
+
+ <% end %>
+<% end %>
diff --git a/dylan_eckert/rails2/DojoSecrets/app/views/sessions/new.html.erb b/dylan_eckert/rails2/DojoSecrets/app/views/sessions/new.html.erb
new file mode 100644
index 0000000..9da5dea
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/views/sessions/new.html.erb
@@ -0,0 +1,9 @@
+
Login
+
diff --git a/dylan_eckert/rails2/DojoSecrets/app/views/users/edit.html.erb b/dylan_eckert/rails2/DojoSecrets/app/views/users/edit.html.erb
new file mode 100644
index 0000000..c23f602
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/views/users/edit.html.erb
@@ -0,0 +1,12 @@
+
+
diff --git a/dylan_eckert/rails2/DojoSecrets/app/views/users/show.html.erb b/dylan_eckert/rails2/DojoSecrets/app/views/users/show.html.erb
new file mode 100644
index 0000000..6aea1b2
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/app/views/users/show.html.erb
@@ -0,0 +1,21 @@
+
<%= @user.name %>
+
<%= @user.email %>
+
+
+
+<% @user.secrets.each do |secret| %>
+
<%= secret.content %>
+
<%= secret.likes.count %> likes
+ <% if secret.user == current_user %>
+
+ <% end %>
+<% end %>
+Update Account
diff --git a/Rodolfo_Valdivieso/models/user_login_project/bin/bundle b/dylan_eckert/rails2/DojoSecrets/bin/bundle
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/bin/bundle
rename to dylan_eckert/rails2/DojoSecrets/bin/bundle
diff --git a/dylan_eckert/rails2/DojoSecrets/bin/rails b/dylan_eckert/rails2/DojoSecrets/bin/rails
new file mode 100755
index 0000000..5badb2f
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/bin/rails
@@ -0,0 +1,9 @@
+#!/usr/bin/env ruby
+begin
+ load File.expand_path('../spring', __FILE__)
+rescue LoadError => e
+ raise unless e.message.include?('spring')
+end
+APP_PATH = File.expand_path('../config/application', __dir__)
+require_relative '../config/boot'
+require 'rails/commands'
diff --git a/Rodolfo_Valdivieso/models/user_login_project/bin/rake b/dylan_eckert/rails2/DojoSecrets/bin/rake
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/bin/rake
rename to dylan_eckert/rails2/DojoSecrets/bin/rake
diff --git a/dylan_eckert/rails2/DojoSecrets/bin/setup b/dylan_eckert/rails2/DojoSecrets/bin/setup
new file mode 100755
index 0000000..e620b4d
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/bin/setup
@@ -0,0 +1,34 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a starting point to setup your application.
+ # Add necessary setup steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ # puts "\n== Copying sample files =="
+ # unless File.exist?('config/database.yml')
+ # cp 'config/database.yml.sample', 'config/database.yml'
+ # end
+
+ puts "\n== Preparing database =="
+ system! 'bin/rails db:setup'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/Rodolfo_Valdivieso/models/user_login_project/bin/spring b/dylan_eckert/rails2/DojoSecrets/bin/spring
old mode 100644
new mode 100755
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/bin/spring
rename to dylan_eckert/rails2/DojoSecrets/bin/spring
diff --git a/dylan_eckert/rails2/DojoSecrets/bin/update b/dylan_eckert/rails2/DojoSecrets/bin/update
new file mode 100755
index 0000000..a8e4462
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/bin/update
@@ -0,0 +1,29 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a way to update your development environment automatically.
+ # Add necessary update steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ puts "\n== Updating database =="
+ system! 'bin/rails db:migrate'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/config.ru b/dylan_eckert/rails2/DojoSecrets/config.ru
new file mode 100644
index 0000000..f7ba0b5
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/config.ru
@@ -0,0 +1,5 @@
+# This file is used by Rack-based servers to start the application.
+
+require_relative 'config/environment'
+
+run Rails.application
diff --git a/dylan_eckert/rails2/DojoSecrets/config/application.rb b/dylan_eckert/rails2/DojoSecrets/config/application.rb
new file mode 100644
index 0000000..65de0bc
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/config/application.rb
@@ -0,0 +1,15 @@
+require_relative 'boot'
+
+require 'rails/all'
+
+# Require the gems listed in Gemfile, including any gems
+# you've limited to :test, :development, or :production.
+Bundler.require(*Rails.groups)
+
+module DojoSecrets
+ class Application < Rails::Application
+ # Settings in config/environments/* take precedence over those specified here.
+ # Application configuration should go into files in config/initializers
+ # -- all .rb files in that directory are automatically loaded.
+ end
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/config/boot.rb b/dylan_eckert/rails2/DojoSecrets/config/boot.rb
new file mode 100644
index 0000000..30f5120
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/config/boot.rb
@@ -0,0 +1,3 @@
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
+
+require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/dylan_eckert/rails2/DojoSecrets/config/cable.yml b/dylan_eckert/rails2/DojoSecrets/config/cable.yml
new file mode 100644
index 0000000..0bbde6f
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/config/cable.yml
@@ -0,0 +1,9 @@
+development:
+ adapter: async
+
+test:
+ adapter: async
+
+production:
+ adapter: redis
+ url: redis://localhost:6379/1
diff --git a/dylan_eckert/rails2/DojoSecrets/config/database.yml b/dylan_eckert/rails2/DojoSecrets/config/database.yml
new file mode 100644
index 0000000..efc5910
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/config/database.yml
@@ -0,0 +1,85 @@
+# PostgreSQL. Versions 9.1 and up are supported.
+#
+# Install the pg driver:
+# gem install pg
+# On OS X with Homebrew:
+# gem install pg -- --with-pg-config=/usr/local/bin/pg_config
+# On OS X with MacPorts:
+# gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
+# On Windows:
+# gem install pg
+# Choose the win32 build.
+# Install PostgreSQL and put its /bin directory on your path.
+#
+# Configure Using Gemfile
+# gem 'pg'
+#
+default: &default
+ adapter: postgresql
+ encoding: unicode
+ # For details on connection pooling, see rails configuration guide
+ # http://guides.rubyonrails.org/configuring.html#database-pooling
+ pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
+
+development:
+ <<: *default
+ database: DojoSecrets_development
+
+ # The specified database role being used to connect to postgres.
+ # To create additional roles in postgres see `$ createuser --help`.
+ # When left blank, postgres will use the default role. This is
+ # the same name as the operating system user that initialized the database.
+ #username: DojoSecrets
+
+ # The password associated with the postgres role (username).
+ #password:
+
+ # Connect on a TCP socket. Omitted by default since the client uses a
+ # domain socket that doesn't need configuration. Windows does not have
+ # domain sockets, so uncomment these lines.
+ #host: localhost
+
+ # The TCP port the server listens on. Defaults to 5432.
+ # If your server runs on a different port number, change accordingly.
+ #port: 5432
+
+ # Schema search path. The server defaults to $user,public
+ #schema_search_path: myapp,sharedapp,public
+
+ # Minimum log levels, in increasing order:
+ # debug5, debug4, debug3, debug2, debug1,
+ # log, notice, warning, error, fatal, and panic
+ # Defaults to warning.
+ #min_messages: notice
+
+# Warning: The database defined as "test" will be erased and
+# re-generated from your development database when you run "rake".
+# Do not set this db to the same as development or production.
+test:
+ <<: *default
+ database: DojoSecrets_test
+
+# As with config/secrets.yml, you never want to store sensitive information,
+# like your database password, in your source code. If your source code is
+# ever seen by anyone, they now have access to your database.
+#
+# Instead, provide the password as a unix environment variable when you boot
+# the app. Read http://guides.rubyonrails.org/configuring.html#configuring-a-database
+# for a full rundown on how to provide these environment variables in a
+# production deployment.
+#
+# On Heroku and other platform providers, you may have a full connection URL
+# available as an environment variable. For example:
+#
+# DATABASE_URL="postgres://myuser:mypass@localhost/somedatabase"
+#
+# You can use this database configuration with:
+#
+# production:
+# url: <%= ENV['DATABASE_URL'] %>
+#
+production:
+ <<: *default
+ database: DojoSecrets_production
+ username: DojoSecrets
+ password: <%= ENV['DOJOSECRETS_DATABASE_PASSWORD'] %>
diff --git a/dylan_eckert/rails2/DojoSecrets/config/environment.rb b/dylan_eckert/rails2/DojoSecrets/config/environment.rb
new file mode 100644
index 0000000..426333b
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/config/environment.rb
@@ -0,0 +1,5 @@
+# Load the Rails application.
+require_relative 'application'
+
+# Initialize the Rails application.
+Rails.application.initialize!
diff --git a/dylan_eckert/rails2/DojoSecrets/config/environments/development.rb b/dylan_eckert/rails2/DojoSecrets/config/environments/development.rb
new file mode 100644
index 0000000..77fe74d
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/config/environments/development.rb
@@ -0,0 +1,55 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # In the development environment your application's code is reloaded on
+ # every request. This slows down response time but is perfect for development
+ # since you don't have to rest art the web server when you make code changes.
+ config.cache_classes = false
+
+ config.reload_classes_only_on_change = false
+ # Do not eager load code on boot.
+ config.eager_load = false
+
+ # Show full error reports.
+ config.consider_all_requests_local = true
+
+ # Enable/disable caching. By default caching is disabled.
+ if Rails.root.join('tmp/caching-dev.txt').exist?
+ config.action_controller.perform_caching = true
+
+ config.cache_store = :memory_store
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=172800'
+ }
+ else
+ config.action_controller.perform_caching = false
+
+ config.cache_store = :null_store
+ end
+
+ # Don't care if the mailer can't send.
+ config.action_mailer.raise_delivery_errors = false
+
+ config.action_mailer.perform_caching = false
+
+ # Print deprecation notices to the Rails logger.
+ config.active_support.deprecation = :log
+
+ # Raise an error on page load if there are pending migrations.
+ config.active_record.migration_error = :page_load
+
+ # Debug mode disables concatenation and preprocessing of assets.
+ # This option may cause significant delays in view rendering with a large
+ # number of complex assets.
+ config.assets.debug = true
+
+ # Suppress logger output for asset requests.
+ config.assets.quiet = true
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+
+ # Use an evented file watcher to asynchronously detect changes in source code,
+ # routes, locales, etc. This feature depends on the listen gem.
+ config.file_watcher = ActiveSupport::EventedFileUpdateChecker
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/config/environments/production.rb b/dylan_eckert/rails2/DojoSecrets/config/environments/production.rb
new file mode 100644
index 0000000..f8e01b7
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/config/environments/production.rb
@@ -0,0 +1,86 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # Code is not reloaded between requests.
+ config.cache_classes = true
+
+ # Eager load code on boot. This eager loads most of Rails and
+ # your application in memory, allowing both threaded web servers
+ # and those relying on copy on write to perform better.
+ # Rake tasks automatically ignore this option for performance.
+ config.eager_load = true
+
+ # Full error reports are disabled and caching is turned on.
+ config.consider_all_requests_local = false
+ config.action_controller.perform_caching = true
+
+ # Disable serving static files from the `/public` folder by default since
+ # Apache or NGINX already handles this.
+ config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
+
+ # Compress JavaScripts and CSS.
+ config.assets.js_compressor = :uglifier
+ # config.assets.css_compressor = :sass
+
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
+ config.assets.compile = false
+
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
+
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
+ # config.action_controller.asset_host = 'http://assets.example.com'
+
+ # Specifies the header that your server uses for sending files.
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
+
+ # Mount Action Cable outside main process or domain
+ # config.action_cable.mount_path = nil
+ # config.action_cable.url = 'wss://example.com/cable'
+ # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
+
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
+ # config.force_ssl = true
+
+ # Use the lowest log level to ensure availability of diagnostic information
+ # when problems arise.
+ config.log_level = :debug
+
+ # Prepend all log lines with the following tags.
+ config.log_tags = [ :request_id ]
+
+ # Use a different cache store in production.
+ # config.cache_store = :mem_cache_store
+
+ # Use a real queuing backend for Active Job (and separate queues per environment)
+ # config.active_job.queue_adapter = :resque
+ # config.active_job.queue_name_prefix = "DojoSecrets_#{Rails.env}"
+ config.action_mailer.perform_caching = false
+
+ # Ignore bad email addresses and do not raise email delivery errors.
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
+ # config.action_mailer.raise_delivery_errors = false
+
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
+ # the I18n.default_locale when a translation cannot be found).
+ config.i18n.fallbacks = true
+
+ # Send deprecation notices to registered listeners.
+ config.active_support.deprecation = :notify
+
+ # Use default logging formatter so that PID and timestamp are not suppressed.
+ config.log_formatter = ::Logger::Formatter.new
+
+ # Use a different logger for distributed setups.
+ # require 'syslog/logger'
+ # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
+
+ if ENV["RAILS_LOG_TO_STDOUT"].present?
+ logger = ActiveSupport::Logger.new(STDOUT)
+ logger.formatter = config.log_formatter
+ config.logger = ActiveSupport::TaggedLogging.new(logger)
+ end
+
+ # Do not dump schema after migrations.
+ config.active_record.dump_schema_after_migration = false
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/config/environments/test.rb b/dylan_eckert/rails2/DojoSecrets/config/environments/test.rb
new file mode 100644
index 0000000..30587ef
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/config/environments/test.rb
@@ -0,0 +1,42 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # The test environment is used exclusively to run your application's
+ # test suite. You never need to work with it otherwise. Remember that
+ # your test database is "scratch space" for the test suite and is wiped
+ # and recreated between test runs. Don't rely on the data there!
+ config.cache_classes = true
+
+ # Do not eager load code on boot. This avoids loading your whole application
+ # just for the purpose of running a single test. If you are using a tool that
+ # preloads Rails for running tests, you may have to set it to true.
+ config.eager_load = false
+
+ # Configure public file server for tests with Cache-Control for performance.
+ config.public_file_server.enabled = true
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=3600'
+ }
+
+ # Show full error reports and disable caching.
+ config.consider_all_requests_local = true
+ config.action_controller.perform_caching = false
+
+ # Raise exceptions instead of rendering exception templates.
+ config.action_dispatch.show_exceptions = false
+
+ # Disable request forgery protection in test environment.
+ config.action_controller.allow_forgery_protection = false
+ config.action_mailer.perform_caching = false
+
+ # Tell Action Mailer not to deliver emails to the real world.
+ # The :test delivery method accumulates sent emails in the
+ # ActionMailer::Base.deliveries array.
+ config.action_mailer.delivery_method = :test
+
+ # Print deprecation notices to the stderr.
+ config.active_support.deprecation = :stderr
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/config/initializers/application_controller_renderer.rb b/dylan_eckert/rails2/DojoSecrets/config/initializers/application_controller_renderer.rb
new file mode 100644
index 0000000..89d2efa
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/config/initializers/application_controller_renderer.rb
@@ -0,0 +1,8 @@
+# Be sure to restart your server when you modify this file.
+
+# ActiveSupport::Reloader.to_prepare do
+# ApplicationController.renderer.defaults.merge!(
+# http_host: 'example.org',
+# https: false
+# )
+# end
diff --git a/Stephen Weil/Rails/Models/blogs_one/config/initializers/assets.rb b/dylan_eckert/rails2/DojoSecrets/config/initializers/assets.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/config/initializers/assets.rb
rename to dylan_eckert/rails2/DojoSecrets/config/initializers/assets.rb
diff --git a/Rodolfo_Valdivieso/models/user_login_project/config/initializers/backtrace_silencers.rb b/dylan_eckert/rails2/DojoSecrets/config/initializers/backtrace_silencers.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/config/initializers/backtrace_silencers.rb
rename to dylan_eckert/rails2/DojoSecrets/config/initializers/backtrace_silencers.rb
diff --git a/dylan_eckert/rails2/DojoSecrets/config/initializers/cookies_serializer.rb b/dylan_eckert/rails2/DojoSecrets/config/initializers/cookies_serializer.rb
new file mode 100644
index 0000000..5a6a32d
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/config/initializers/cookies_serializer.rb
@@ -0,0 +1,5 @@
+# Be sure to restart your server when you modify this file.
+
+# Specify a serializer for the signed and encrypted cookie jars.
+# Valid options are :json, :marshal, and :hybrid.
+Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Rodolfo_Valdivieso/models/user_login_project/config/initializers/filter_parameter_logging.rb b/dylan_eckert/rails2/DojoSecrets/config/initializers/filter_parameter_logging.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/config/initializers/filter_parameter_logging.rb
rename to dylan_eckert/rails2/DojoSecrets/config/initializers/filter_parameter_logging.rb
diff --git a/Rodolfo_Valdivieso/models/user_login_project/config/initializers/inflections.rb b/dylan_eckert/rails2/DojoSecrets/config/initializers/inflections.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/config/initializers/inflections.rb
rename to dylan_eckert/rails2/DojoSecrets/config/initializers/inflections.rb
diff --git a/Rodolfo_Valdivieso/models/user_login_project/config/initializers/mime_types.rb b/dylan_eckert/rails2/DojoSecrets/config/initializers/mime_types.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/config/initializers/mime_types.rb
rename to dylan_eckert/rails2/DojoSecrets/config/initializers/mime_types.rb
diff --git a/dylan_eckert/rails2/DojoSecrets/config/initializers/new_framework_defaults.rb b/dylan_eckert/rails2/DojoSecrets/config/initializers/new_framework_defaults.rb
new file mode 100644
index 0000000..dd236b5
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/config/initializers/new_framework_defaults.rb
@@ -0,0 +1,26 @@
+# Be sure to restart your server when you modify this file.
+#
+# This file contains migration options to ease your Rails 5.0 upgrade.
+#
+# Read the Guide for Upgrading Ruby on Rails for more info on each option.
+
+Rails.application.config.action_controller.raise_on_unfiltered_parameters = true
+
+# Enable per-form CSRF tokens. Previous versions had false.
+Rails.application.config.action_controller.per_form_csrf_tokens = true
+
+# Enable origin-checking CSRF mitigation. Previous versions had false.
+Rails.application.config.action_controller.forgery_protection_origin_check = true
+
+# Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`.
+# Previous versions had false.
+ActiveSupport.to_time_preserves_timezone = true
+
+# Require `belongs_to` associations by default. Previous versions had false.
+Rails.application.config.active_record.belongs_to_required_by_default = true
+
+# Do not halt callback chains when a callback returns false. Previous versions had true.
+ActiveSupport.halt_callback_chains_on_return_false = false
+
+# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
+Rails.application.config.ssl_options = { hsts: { subdomains: true } }
diff --git a/dylan_eckert/rails2/DojoSecrets/config/initializers/session_store.rb b/dylan_eckert/rails2/DojoSecrets/config/initializers/session_store.rb
new file mode 100644
index 0000000..745fa7c
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/config/initializers/session_store.rb
@@ -0,0 +1,3 @@
+# Be sure to restart your server when you modify this file.
+
+Rails.application.config.session_store :cookie_store, key: '_DojoSecrets_session'
diff --git a/dylan_eckert/rails2/DojoSecrets/config/initializers/wrap_parameters.rb b/dylan_eckert/rails2/DojoSecrets/config/initializers/wrap_parameters.rb
new file mode 100644
index 0000000..bbfc396
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/config/initializers/wrap_parameters.rb
@@ -0,0 +1,14 @@
+# Be sure to restart your server when you modify this file.
+
+# This file contains settings for ActionController::ParamsWrapper which
+# is enabled by default.
+
+# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
+ActiveSupport.on_load(:action_controller) do
+ wrap_parameters format: [:json]
+end
+
+# To enable root element in JSON for ActiveRecord objects.
+# ActiveSupport.on_load(:active_record) do
+# self.include_root_in_json = true
+# end
diff --git a/Rodolfo_Valdivieso/models/user_login_project/config/locales/en.yml b/dylan_eckert/rails2/DojoSecrets/config/locales/en.yml
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/config/locales/en.yml
rename to dylan_eckert/rails2/DojoSecrets/config/locales/en.yml
diff --git a/dylan_eckert/rails2/DojoSecrets/config/puma.rb b/dylan_eckert/rails2/DojoSecrets/config/puma.rb
new file mode 100644
index 0000000..c7f311f
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/config/puma.rb
@@ -0,0 +1,47 @@
+# Puma can serve each request in a thread from an internal thread pool.
+# The `threads` method setting takes two numbers a minimum and maximum.
+# Any libraries that use thread pools should be configured to match
+# the maximum value specified for Puma. Default is set to 5 threads for minimum
+# and maximum, this matches the default thread size of Active Record.
+#
+threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i
+threads threads_count, threads_count
+
+# Specifies the `port` that Puma will listen on to receive requests, default is 3000.
+#
+port ENV.fetch("PORT") { 3000 }
+
+# Specifies the `environment` that Puma will run in.
+#
+environment ENV.fetch("RAILS_ENV") { "development" }
+
+# Specifies the number of `workers` to boot in clustered mode.
+# Workers are forked webserver processes. If using threads and workers together
+# the concurrency of the application would be max `threads` * `workers`.
+# Workers do not work on JRuby or Windows (both of which do not support
+# processes).
+#
+# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
+
+# Use the `preload_app!` method when specifying a `workers` number.
+# This directive tells Puma to first boot the application and load code
+# before forking the application. This takes advantage of Copy On Write
+# process behavior so workers use less memory. If you use this option
+# you need to make sure to reconnect any threads in the `on_worker_boot`
+# block.
+#
+# preload_app!
+
+# The code in the `on_worker_boot` will be called if you are using
+# clustered mode by specifying a number of `workers`. After each worker
+# process is booted this block will be run, if you are using `preload_app!`
+# option you will want to use this block to reconnect to any threads
+# or connections that may have been created at application boot, Ruby
+# cannot share connections between processes.
+#
+# on_worker_boot do
+# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
+# end
+
+# Allow puma to be restarted by `rails restart` command.
+plugin :tmp_restart
diff --git a/dylan_eckert/rails2/DojoSecrets/config/routes.rb b/dylan_eckert/rails2/DojoSecrets/config/routes.rb
new file mode 100644
index 0000000..27bab57
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/config/routes.rb
@@ -0,0 +1,8 @@
+Rails.application.routes.draw do
+ resources :sessions, only: [:new, :create, :destroy]
+ resources :users, except: [:index]
+ resources :secrets, only: [:index, :create, :destroy]
+ resources :likes, only: [:create, :destroy]
+ # The priority is based upon order of creation from top to bottom
+ # rake routes lets you see all available routes and their names
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/config/secrets.yml b/dylan_eckert/rails2/DojoSecrets/config/secrets.yml
new file mode 100644
index 0000000..41e0de4
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/config/secrets.yml
@@ -0,0 +1,22 @@
+# Be sure to restart your server when you modify this file.
+
+# Your secret key is used for verifying the integrity of signed cookies.
+# If you change this key, all old signed cookies will become invalid!
+
+# Make sure the secret is at least 30 characters and all random,
+# no regular words or you'll be exposed to dictionary attacks.
+# You can use `rails secret` to generate a secure secret key.
+
+# Make sure the secrets in this file are kept private
+# if you're sharing your code publicly.
+
+development:
+ secret_key_base: df5bfd362ae400b400d79af9bc419e988c72e7a2df7aebc541137d2f27e125bb93b09d877ecc0cae931a9b8c16ef96f1c7329a8b2d788eadf3a0f5cc9bb4d4e7
+
+test:
+ secret_key_base: 91a21b8af0492c5893228989638a977f5e7cf895e0a94a3a0cd34976a4582b84e68c4e940e3369f2297218eaebf4bce2cc07441512a9c2d645734c20e08024b9
+
+# Do not keep production secrets in the repository,
+# instead read values from the environment.
+production:
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/dylan_eckert/rails2/DojoSecrets/config/spring.rb b/dylan_eckert/rails2/DojoSecrets/config/spring.rb
new file mode 100644
index 0000000..c9119b4
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/config/spring.rb
@@ -0,0 +1,6 @@
+%w(
+ .ruby-version
+ .rbenv-vars
+ tmp/restart.txt
+ tmp/caching-dev.txt
+).each { |path| Spring.watch(path) }
diff --git a/dylan_eckert/rails2/DojoSecrets/db/migrate/20171211192257_create_users.rb b/dylan_eckert/rails2/DojoSecrets/db/migrate/20171211192257_create_users.rb
new file mode 100644
index 0000000..9e6ab64
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/db/migrate/20171211192257_create_users.rb
@@ -0,0 +1,11 @@
+class CreateUsers < ActiveRecord::Migration[5.0]
+ def change
+ create_table :users do |t|
+ t.string :name
+ t.string :email
+ t.string :password_digest
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/db/migrate/20171212235708_create_secrets.rb b/dylan_eckert/rails2/DojoSecrets/db/migrate/20171212235708_create_secrets.rb
new file mode 100644
index 0000000..df773f3
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/db/migrate/20171212235708_create_secrets.rb
@@ -0,0 +1,10 @@
+class CreateSecrets < ActiveRecord::Migration[5.0]
+ def change
+ create_table :secrets do |t|
+ t.text :content
+ t.references :user, foreign_key: true
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/db/migrate/20171212235821_create_likes.rb b/dylan_eckert/rails2/DojoSecrets/db/migrate/20171212235821_create_likes.rb
new file mode 100644
index 0000000..0c95c79
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/db/migrate/20171212235821_create_likes.rb
@@ -0,0 +1,10 @@
+class CreateLikes < ActiveRecord::Migration[5.0]
+ def change
+ create_table :likes do |t|
+ t.references :secret, foreign_key: true
+ t.references :user, foreign_key: true
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/db/schema.rb b/dylan_eckert/rails2/DojoSecrets/db/schema.rb
new file mode 100644
index 0000000..e0d9fe8
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/db/schema.rb
@@ -0,0 +1,46 @@
+# This file is auto-generated from the current state of the database. Instead
+# of editing this file, please use the migrations feature of Active Record to
+# incrementally modify your database, and then regenerate this schema definition.
+#
+# Note that this schema.rb definition is the authoritative source for your
+# database schema. If you need to create the application database on another
+# system, you should be using db:schema:load, not running all the migrations
+# from scratch. The latter is a flawed and unsustainable approach (the more migrations
+# you'll amass, the slower it'll run and the greater likelihood for issues).
+#
+# It's strongly recommended that you check this file into your version control system.
+
+ActiveRecord::Schema.define(version: 20171212235821) do
+
+ # These are extensions that must be enabled in order to support this database
+ enable_extension "plpgsql"
+
+ create_table "likes", force: :cascade do |t|
+ t.integer "secret_id"
+ t.integer "user_id"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.index ["secret_id"], name: "index_likes_on_secret_id", using: :btree
+ t.index ["user_id"], name: "index_likes_on_user_id", using: :btree
+ end
+
+ create_table "secrets", force: :cascade do |t|
+ t.text "content"
+ t.integer "user_id"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.index ["user_id"], name: "index_secrets_on_user_id", using: :btree
+ end
+
+ create_table "users", force: :cascade do |t|
+ t.string "name"
+ t.string "email"
+ t.string "password_digest"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ end
+
+ add_foreign_key "likes", "secrets"
+ add_foreign_key "likes", "users"
+ add_foreign_key "secrets", "users"
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/db/seeds.rb b/dylan_eckert/rails2/DojoSecrets/db/seeds.rb
new file mode 100644
index 0000000..1beea2a
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/db/seeds.rb
@@ -0,0 +1,7 @@
+# This file should contain all the record creation needed to seed the database with its default values.
+# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
+#
+# Examples:
+#
+# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
+# Character.create(name: 'Luke', movie: movies.first)
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/app/mailers/.keep b/dylan_eckert/rails2/DojoSecrets/lib/assets/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/app/mailers/.keep
rename to dylan_eckert/rails2/DojoSecrets/lib/assets/.keep
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/app/models/.keep b/dylan_eckert/rails2/DojoSecrets/lib/tasks/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/app/models/.keep
rename to dylan_eckert/rails2/DojoSecrets/lib/tasks/.keep
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/app/models/concerns/.keep b/dylan_eckert/rails2/DojoSecrets/log/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/app/models/concerns/.keep
rename to dylan_eckert/rails2/DojoSecrets/log/.keep
diff --git a/dylan_eckert/rails2/DojoSecrets/public/404.html b/dylan_eckert/rails2/DojoSecrets/public/404.html
new file mode 100644
index 0000000..2be3af2
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/public/404.html
@@ -0,0 +1,67 @@
+
+
+
+ The page you were looking for doesn't exist (404)
+
+
+
+
+
+
+
+
+
The page you were looking for doesn't exist.
+
You may have mistyped the address or the page may have moved.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/rails2/DojoSecrets/public/422.html b/dylan_eckert/rails2/DojoSecrets/public/422.html
new file mode 100644
index 0000000..c08eac0
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/public/422.html
@@ -0,0 +1,67 @@
+
+
+
+ The change you wanted was rejected (422)
+
+
+
+
+
+
+
+
+
The change you wanted was rejected.
+
Maybe you tried to change something you didn't have access to.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/rails2/DojoSecrets/public/500.html b/dylan_eckert/rails2/DojoSecrets/public/500.html
new file mode 100644
index 0000000..78a030a
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/public/500.html
@@ -0,0 +1,66 @@
+
+
+
+ We're sorry, but something went wrong (500)
+
+
+
+
+
+
+
+
+
We're sorry, but something went wrong.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/lib/assets/.keep b/dylan_eckert/rails2/DojoSecrets/public/apple-touch-icon-precomposed.png
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/lib/assets/.keep
rename to dylan_eckert/rails2/DojoSecrets/public/apple-touch-icon-precomposed.png
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/lib/tasks/.keep b/dylan_eckert/rails2/DojoSecrets/public/apple-touch-icon.png
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/lib/tasks/.keep
rename to dylan_eckert/rails2/DojoSecrets/public/apple-touch-icon.png
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/public/favicon.ico b/dylan_eckert/rails2/DojoSecrets/public/favicon.ico
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/public/favicon.ico
rename to dylan_eckert/rails2/DojoSecrets/public/favicon.ico
diff --git a/Rodolfo_Valdivieso/models/user_login_project/public/robots.txt b/dylan_eckert/rails2/DojoSecrets/public/robots.txt
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/public/robots.txt
rename to dylan_eckert/rails2/DojoSecrets/public/robots.txt
diff --git a/dylan_eckert/rails2/DojoSecrets/spec/controllers/secrets_controller_spec.rb b/dylan_eckert/rails2/DojoSecrets/spec/controllers/secrets_controller_spec.rb
new file mode 100644
index 0000000..582e299
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/spec/controllers/secrets_controller_spec.rb
@@ -0,0 +1,5 @@
+require 'rails_helper'
+
+RSpec.describe SecretsController, type: :controller do
+
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/spec/controllers/users_controller_spec.rb b/dylan_eckert/rails2/DojoSecrets/spec/controllers/users_controller_spec.rb
new file mode 100644
index 0000000..e2c3d3b
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/spec/controllers/users_controller_spec.rb
@@ -0,0 +1,5 @@
+require 'rails_helper'
+
+RSpec.describe UsersController, type: :controller do
+
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/spec/factories/likes.rb b/dylan_eckert/rails2/DojoSecrets/spec/factories/likes.rb
new file mode 100644
index 0000000..56765c9
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/spec/factories/likes.rb
@@ -0,0 +1,6 @@
+FactoryBot.define do
+ factory :like do
+ secret nil
+ user nil
+ end
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/spec/factories/secrets.rb b/dylan_eckert/rails2/DojoSecrets/spec/factories/secrets.rb
new file mode 100644
index 0000000..af5f0e0
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/spec/factories/secrets.rb
@@ -0,0 +1,6 @@
+FactoryBot.define do
+ factory :secret do
+ content "MyText"
+ user nil
+ end
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/spec/factories/users.rb b/dylan_eckert/rails2/DojoSecrets/spec/factories/users.rb
new file mode 100644
index 0000000..35b5824
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/spec/factories/users.rb
@@ -0,0 +1,8 @@
+FactoryBot.define do
+ factory :user do
+ name "Dylan Eckert"
+ email "email@email.com"
+ password "password"
+ password_confirmation "password"
+ end
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/spec/helpers/likes_helper_spec.rb b/dylan_eckert/rails2/DojoSecrets/spec/helpers/likes_helper_spec.rb
new file mode 100644
index 0000000..bc19687
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/spec/helpers/likes_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'rails_helper'
+
+# Specs in this file have access to a helper object that includes
+# the LikesHelper. For example:
+#
+# describe LikesHelper do
+# describe "string concat" do
+# it "concats two strings with spaces" do
+# expect(helper.concat_strings("this","that")).to eq("this that")
+# end
+# end
+# end
+RSpec.describe LikesHelper, type: :helper do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/spec/helpers/secrets_helper_spec.rb b/dylan_eckert/rails2/DojoSecrets/spec/helpers/secrets_helper_spec.rb
new file mode 100644
index 0000000..285256a
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/spec/helpers/secrets_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'rails_helper'
+
+# Specs in this file have access to a helper object that includes
+# the SecretsHelper. For example:
+#
+# describe SecretsHelper do
+# describe "string concat" do
+# it "concats two strings with spaces" do
+# expect(helper.concat_strings("this","that")).to eq("this that")
+# end
+# end
+# end
+RSpec.describe SecretsHelper, type: :helper do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/spec/helpers/sessions_helper_spec.rb b/dylan_eckert/rails2/DojoSecrets/spec/helpers/sessions_helper_spec.rb
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/spec/helpers/sessions_helper_spec.rb
rename to dylan_eckert/rails2/DojoSecrets/spec/helpers/sessions_helper_spec.rb
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/spec/helpers/users_helper_spec.rb b/dylan_eckert/rails2/DojoSecrets/spec/helpers/users_helper_spec.rb
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/spec/helpers/users_helper_spec.rb
rename to dylan_eckert/rails2/DojoSecrets/spec/helpers/users_helper_spec.rb
diff --git a/dylan_eckert/rails2/DojoSecrets/spec/models/like_spec.rb b/dylan_eckert/rails2/DojoSecrets/spec/models/like_spec.rb
new file mode 100644
index 0000000..3284133
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/spec/models/like_spec.rb
@@ -0,0 +1,17 @@
+require 'rails_helper'
+
+RSpec.describe Like, type: :model do
+ describe 'relationships' do
+ before do
+ @user = create(:user)
+ @secret = create(:secret, user: @user)
+ @like = create(:like, secret: @secret, user: @user)
+ end
+ it 'belongs to a user' do
+ expect(@like.user).to eq(@user)
+ end
+ it 'belongs to a secret' do
+ expect(@like.secret).to eq(@secret)
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/spec/models/secret_spec.rb b/dylan_eckert/rails2/DojoSecrets/spec/models/secret_spec.rb
new file mode 100644
index 0000000..fb755b5
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/spec/models/secret_spec.rb
@@ -0,0 +1,24 @@
+require 'rails_helper'
+
+RSpec.describe Secret, type: :model do
+ it 'requires content' do
+ expect(build(:secret, content: "")).to be_invalid
+ end
+
+ context 'relationships' do
+ before do
+ @user = create(:user)
+ @secret = create(:secret, user: @user)
+ @like = create(:like, user: @user, secret: @secret)
+ end
+ it 'belongs to a user' do
+ expect(@secret.user).to eq(@user)
+ end
+ it 'has likes' do
+ expect(@secret.likes).to include(@like)
+ end
+ it 'has users through likes table' do
+ expect(@secret.users).to include(@user)
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/spec/models/user_spec.rb b/dylan_eckert/rails2/DojoSecrets/spec/models/user_spec.rb
new file mode 100644
index 0000000..5d8f4be
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/spec/models/user_spec.rb
@@ -0,0 +1,56 @@
+require 'rails_helper'
+
+RSpec.describe User, type: :model do
+ context "with valid attributes" do
+ it "should save" do
+ expect(build(:user)).to be_valid
+ end
+ it 'automatically encrypts the password into the password_digest attribute' do
+ expect(build(:user).password_digest.present?).to eq(true)
+ end
+ it 'email as lowercase' do
+ expect(create(:user, email: 'EMAIL@GMAIL.COM').email).to eq('email@gmail.com')
+ end
+ end
+ context "with invalid attributes should not save if" do
+ it 'name is blank' do
+ expect(build(:user, name: '')).to be_invalid
+ end
+ it 'email is blank' do
+ expect(build(:user, email: '')).to be_invalid
+ end
+ it 'email format is wrong' do
+ emails = %w[@ user@ @example.com]
+ emails.each do |email|
+ expect(build(:user, email: email)).to be_invalid
+ end
+ end
+ it 'email is not unique' do
+ create(:user)
+ expect(build(:user)).to be_invalid
+ end
+ it 'password is blank' do
+ expect(build(:user, password: '')).to be_invalid
+ end
+ it "password doesn't match password_confirmation" do
+ expect(build(:user, password_confirmation: 'notpassword')).to be_invalid
+ end
+ end
+
+ context 'relationships' do
+ before do
+ @user = create(:user)
+ @secret = create(:secret, content: 'secret 1', user: @user)
+ @like = create(:like, secret: @secret, user: @user)
+ end
+ it 'has secrets' do
+ expect(@user.secrets).to include(@secret)
+ end
+ it 'has likes' do
+ expect(@user.likes).to include(@like)
+ end
+ it "has secrets through likes table" do
+ expect(@user.secrets_liked).to include(@secret)
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/spec/rails_helper.rb b/dylan_eckert/rails2/DojoSecrets/spec/rails_helper.rb
new file mode 100644
index 0000000..c136077
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/spec/rails_helper.rb
@@ -0,0 +1,58 @@
+# This file is copied to spec/ when you run 'rails generate rspec:install'
+require 'spec_helper'
+require 'factory_bot_rails'
+ENV['RAILS_ENV'] ||= 'test'
+require File.expand_path('../../config/environment', __FILE__)
+# Prevent database truncation if the environment is production
+abort("The Rails environment is running in production mode!") if Rails.env.production?
+require 'rspec/rails'
+# Add additional requires below this line. Rails is not loaded until this point!
+
+# Requires supporting ruby files with custom matchers and macros, etc, in
+# spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
+# run as spec files by default. This means that files in spec/support that end
+# in _spec.rb will both be required and run as specs, causing the specs to be
+# run twice. It is recommended that you do not name files matching this glob to
+# end with _spec.rb. You can configure this pattern with the --pattern
+# option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
+#
+# The following line is provided for convenience purposes. It has the downside
+# of increasing the boot-up time by auto-requiring all files in the support
+# directory. Alternatively, in the individual `*_spec.rb` files, manually
+# require only the support files necessary.
+#
+# Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
+
+# Checks for pending migrations and applies them before tests are run.
+# If you are not using ActiveRecord, you can remove this line.
+ActiveRecord::Migration.maintain_test_schema!
+
+RSpec.configure do |config|
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
+ config.include FactoryBot::Syntax::Methods
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
+ # examples within a transaction, remove the following line or assign false
+ # instead of true.
+ config.use_transactional_fixtures = true
+
+ # RSpec Rails can automatically mix in different behaviours to your tests
+ # based on their file location, for example enabling you to call `get` and
+ # `post` in specs under `spec/controllers`.
+ #
+ # You can disable this behaviour by removing the line below, and instead
+ # explicitly tag your specs with their type, e.g.:
+ #
+ # RSpec.describe UsersController, :type => :controller do
+ # # ...
+ # end
+ #
+ # The different available types are documented in the features, such as in
+ # https://relishapp.com/rspec/rspec-rails/docs
+ config.infer_spec_type_from_file_location!
+
+ # Filter lines from Rails gems in backtraces.
+ config.filter_rails_from_backtrace!
+ # arbitrary gems may also be filtered via:
+ # config.filter_gems_from_backtrace("gem name")
+end
diff --git a/dylan_eckert/rails2/DojoSecrets/spec/spec_helper.rb b/dylan_eckert/rails2/DojoSecrets/spec/spec_helper.rb
new file mode 100644
index 0000000..6bd448f
--- /dev/null
+++ b/dylan_eckert/rails2/DojoSecrets/spec/spec_helper.rb
@@ -0,0 +1,111 @@
+# This file was generated by the `rails generate rspec:install` command. Conventionally, all
+# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
+# The generated `.rspec` file contains `--require spec_helper` which will cause
+# this file to always be loaded, without a need to explicitly require it in any
+# files.
+#
+# Given that it is always loaded, you are encouraged to keep this file as
+# light-weight as possible. Requiring heavyweight dependencies from this file
+# will add to the boot time of your test suite on EVERY test run, even for an
+# individual file that may not need all of that loaded. Instead, consider making
+# a separate helper file that requires the additional dependencies and performs
+# the additional setup, and require it from the spec files that actually need
+# it.
+#
+def log_in email: "oscar@gmail.com", password: "password"
+ visit '/sessions/new' unless current_path == "/sessions/new"
+ fill_in 'Email', with: email
+ fill_in 'Password', with: password
+ click_button 'Log In'
+end
+# The code below should already be included in your file
+RSpec.configure do |config|
+ config.expect_with :rspec do |expectations|
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
+ end
+ config.mock_with :rspec do |mocks|
+ mocks.verify_partial_doubles = true
+ end
+end
+# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
+RSpec.configure do |config|
+ # rspec-expectations config goes here. You can use an alternate
+ # assertion/expectation library such as wrong or the stdlib/minitest
+ # assertions if you prefer.
+ config.expect_with :rspec do |expectations|
+ # This option will default to `true` in RSpec 4. It makes the `description`
+ # and `failure_message` of custom matchers include text for helper methods
+ # defined using `chain`, e.g.:
+ # be_bigger_than(2).and_smaller_than(4).description
+ # # => "be bigger than 2 and smaller than 4"
+ # ...rather than:
+ # # => "be bigger than 2"
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
+ end
+
+ # rspec-mocks config goes here. You can use an alternate test double
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
+ config.mock_with :rspec do |mocks|
+ # Prevents you from mocking or stubbing a method that does not exist on
+ # a real object. This is generally recommended, and will default to
+ # `true` in RSpec 4.
+ mocks.verify_partial_doubles = true
+ end
+
+ # This option will default to `:apply_to_host_groups` in RSpec 4 (and will
+ # have no way to turn it off -- the option exists only for backwards
+ # compatibility in RSpec 3). It causes shared context metadata to be
+ # inherited by the metadata hash of host groups and examples, rather than
+ # triggering implicit auto-inclusion in groups with matching metadata.
+ config.shared_context_metadata_behavior = :apply_to_host_groups
+
+# The settings below are suggested to provide a good initial experience
+# with RSpec, but feel free to customize to your heart's content.
+=begin
+ # This allows you to limit a spec run to individual examples or groups
+ # you care about by tagging them with `:focus` metadata. When nothing
+ # is tagged with `:focus`, all examples get run. RSpec also provides
+ # aliases for `it`, `describe`, and `context` that include `:focus`
+ # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
+ config.filter_run_when_matching :focus
+
+ # Allows RSpec to persist some state between runs in order to support
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
+ # you configure your source control system to ignore this file.
+ config.example_status_persistence_file_path = "spec/examples.txt"
+
+ # Limits the available syntax to the non-monkey patched syntax that is
+ # recommended. For more details, see:
+ # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
+ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
+ config.disable_monkey_patching!
+
+ # Many RSpec users commonly either run the entire suite or an individual
+ # file, and it's useful to allow more verbose output when running an
+ # individual spec file.
+ if config.files_to_run.one?
+ # Use the documentation formatter for detailed output,
+ # unless a formatter has already been configured
+ # (e.g. via a command-line flag).
+ config.default_formatter = "doc"
+ end
+
+ # Print the 10 slowest examples and example groups at the
+ # end of the spec run, to help surface which specs are running
+ # particularly slow.
+ config.profile_examples = 10
+
+ # Run specs in random order to surface order dependencies. If you find an
+ # order dependency and want to debug it, you can fix the order by providing
+ # the seed, which is printed after each run.
+ # --seed 1234
+ config.order = :random
+
+ # Seed global randomization in this process using the `--seed` CLI option.
+ # Setting this allows you to use `--seed` to deterministically reproduce
+ # test failures related to randomization by passing the same `--seed` value
+ # as the one that triggered the failure.
+ Kernel.srand config.seed
+=end
+end
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/log/.keep b/dylan_eckert/rails2/DojoSecrets/test/controllers/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/log/.keep
rename to dylan_eckert/rails2/DojoSecrets/test/controllers/.keep
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/test/controllers/.keep b/dylan_eckert/rails2/DojoSecrets/test/fixtures/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/test/controllers/.keep
rename to dylan_eckert/rails2/DojoSecrets/test/fixtures/.keep
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/test/fixtures/.keep b/dylan_eckert/rails2/DojoSecrets/test/fixtures/files/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/test/fixtures/.keep
rename to dylan_eckert/rails2/DojoSecrets/test/fixtures/files/.keep
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/test/helpers/.keep b/dylan_eckert/rails2/DojoSecrets/test/helpers/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/test/helpers/.keep
rename to dylan_eckert/rails2/DojoSecrets/test/helpers/.keep
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/test/integration/.keep b/dylan_eckert/rails2/DojoSecrets/test/integration/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/test/integration/.keep
rename to dylan_eckert/rails2/DojoSecrets/test/integration/.keep
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/test/mailers/.keep b/dylan_eckert/rails2/DojoSecrets/test/mailers/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/test/mailers/.keep
rename to dylan_eckert/rails2/DojoSecrets/test/mailers/.keep
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/test/models/.keep b/dylan_eckert/rails2/DojoSecrets/test/models/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/test/models/.keep
rename to dylan_eckert/rails2/DojoSecrets/test/models/.keep
diff --git a/Rodolfo_Valdivieso/models/self_join/test/test_helper.rb b/dylan_eckert/rails2/DojoSecrets/test/test_helper.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/self_join/test/test_helper.rb
rename to dylan_eckert/rails2/DojoSecrets/test/test_helper.rb
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/vendor/assets/javascripts/.keep b/dylan_eckert/rails2/DojoSecrets/tmp/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/vendor/assets/javascripts/.keep
rename to dylan_eckert/rails2/DojoSecrets/tmp/.keep
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/vendor/assets/stylesheets/.keep b/dylan_eckert/rails2/DojoSecrets/vendor/assets/javascripts/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/vendor/assets/stylesheets/.keep
rename to dylan_eckert/rails2/DojoSecrets/vendor/assets/javascripts/.keep
diff --git a/Stephen Weil/Rails/Models/optimize/app/assets/images/.keep b/dylan_eckert/rails2/DojoSecrets/vendor/assets/stylesheets/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/app/assets/images/.keep
rename to dylan_eckert/rails2/DojoSecrets/vendor/assets/stylesheets/.keep
diff --git a/dylan_eckert/rails2/auth1/application_controller.rb b/dylan_eckert/rails2/auth1/application_controller.rb
new file mode 100644
index 0000000..b4155ec
--- /dev/null
+++ b/dylan_eckert/rails2/auth1/application_controller.rb
@@ -0,0 +1,8 @@
+class ApplicationController < ActionController::Base
+ protect_from_forgery with: :exception
+
+ def current_user
+ User.find(session[:user_id]) if session[:user_id]
+ end
+ helper_method :current_user
+end
diff --git a/dylan_eckert/rails2/auth1/layouts/application.html.erb b/dylan_eckert/rails2/auth1/layouts/application.html.erb
new file mode 100644
index 0000000..1f916b7
--- /dev/null
+++ b/dylan_eckert/rails2/auth1/layouts/application.html.erb
@@ -0,0 +1,29 @@
+
+
+
+ DojoSecrets
+ <%= csrf_meta_tags %>
+
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
+ <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
+
+
+
+
+ <% if flash[:errors] %>
+ <% flash[:errors].each do |e| %>
+ <%= e %>
+ <% end %>
+ <% end %>
+
+ <% if current_user %>
+
+ <% end %>
+ <%= yield %>
+
+
+
diff --git a/dylan_eckert/rails2/auth1/layouts/mailer.html.erb b/dylan_eckert/rails2/auth1/layouts/mailer.html.erb
new file mode 100644
index 0000000..cbd34d2
--- /dev/null
+++ b/dylan_eckert/rails2/auth1/layouts/mailer.html.erb
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+ <%= yield %>
+
+
diff --git a/dylan_eckert/rails2/auth1/layouts/mailer.text.erb b/dylan_eckert/rails2/auth1/layouts/mailer.text.erb
new file mode 100644
index 0000000..37f0bdd
--- /dev/null
+++ b/dylan_eckert/rails2/auth1/layouts/mailer.text.erb
@@ -0,0 +1 @@
+<%= yield %>
diff --git a/dylan_eckert/rails2/auth1/sessions/new.html.erb b/dylan_eckert/rails2/auth1/sessions/new.html.erb
new file mode 100644
index 0000000..50bb3a6
--- /dev/null
+++ b/dylan_eckert/rails2/auth1/sessions/new.html.erb
@@ -0,0 +1,6 @@
+
diff --git a/dylan_eckert/rails2/auth1/sessions_controller.rb b/dylan_eckert/rails2/auth1/sessions_controller.rb
new file mode 100644
index 0000000..8edfb36
--- /dev/null
+++ b/dylan_eckert/rails2/auth1/sessions_controller.rb
@@ -0,0 +1,22 @@
+class SessionsController < ApplicationController
+ def new
+ end
+
+ def create
+ @user = User.find_by_email(params[:email])
+ # find by email
+ if @user && @user.authenticate(params[:password])
+ # if the user matches a user in the database, set the session id to the user being authenticated
+ session[:user_id] = @user.id
+ redirect_to "/users/#{@user.id}"
+ else
+ flash[:errors] = ["Invalid username or password"]
+ redirect_to "/sessions/new"
+ end
+ end
+
+ def destroy
+ reset_session
+ redirect_to "/sessions/new"
+ end
+end
diff --git a/dylan_eckert/rails2/auth1/spec/controllers/users_controller_spec.rb b/dylan_eckert/rails2/auth1/spec/controllers/users_controller_spec.rb
new file mode 100644
index 0000000..e2c3d3b
--- /dev/null
+++ b/dylan_eckert/rails2/auth1/spec/controllers/users_controller_spec.rb
@@ -0,0 +1,5 @@
+require 'rails_helper'
+
+RSpec.describe UsersController, type: :controller do
+
+end
diff --git a/dylan_eckert/rails2/auth1/spec/factories/users.rb b/dylan_eckert/rails2/auth1/spec/factories/users.rb
new file mode 100644
index 0000000..35b5824
--- /dev/null
+++ b/dylan_eckert/rails2/auth1/spec/factories/users.rb
@@ -0,0 +1,8 @@
+FactoryBot.define do
+ factory :user do
+ name "Dylan Eckert"
+ email "email@email.com"
+ password "password"
+ password_confirmation "password"
+ end
+end
diff --git a/dylan_eckert/rails2/auth1/spec/helpers/sessions_helper_spec.rb b/dylan_eckert/rails2/auth1/spec/helpers/sessions_helper_spec.rb
new file mode 100644
index 0000000..9484198
--- /dev/null
+++ b/dylan_eckert/rails2/auth1/spec/helpers/sessions_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'rails_helper'
+
+# Specs in this file have access to a helper object that includes
+# the SessionsHelper. For example:
+#
+# describe SessionsHelper do
+# describe "string concat" do
+# it "concats two strings with spaces" do
+# expect(helper.concat_strings("this","that")).to eq("this that")
+# end
+# end
+# end
+RSpec.describe SessionsHelper, type: :helper do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/dylan_eckert/rails2/auth1/spec/helpers/users_helper_spec.rb b/dylan_eckert/rails2/auth1/spec/helpers/users_helper_spec.rb
new file mode 100644
index 0000000..b2e3444
--- /dev/null
+++ b/dylan_eckert/rails2/auth1/spec/helpers/users_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'rails_helper'
+
+# Specs in this file have access to a helper object that includes
+# the UsersHelper. For example:
+#
+# describe UsersHelper do
+# describe "string concat" do
+# it "concats two strings with spaces" do
+# expect(helper.concat_strings("this","that")).to eq("this that")
+# end
+# end
+# end
+RSpec.describe UsersHelper, type: :helper do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/dylan_eckert/rails2/auth1/spec/models/user_spec.rb b/dylan_eckert/rails2/auth1/spec/models/user_spec.rb
new file mode 100644
index 0000000..648c0b2
--- /dev/null
+++ b/dylan_eckert/rails2/auth1/spec/models/user_spec.rb
@@ -0,0 +1,39 @@
+require 'rails_helper'
+
+RSpec.describe User, type: :model do
+ context "with valid attributes" do
+ it "should save" do
+ expect(build(:user)).to be_valid
+ end
+ it 'automatically encrypts the password into the password_digest attribute' do
+ expect(build(:user).password_digest.present?).to eq(true)
+ end
+ it 'email as lowercase' do
+ expect(create(:user, email: 'EMAIL@GMAIL.COM').email).to eq('email@gmail.com')
+ end
+ end
+ context "with invalid attributes should not save if" do
+ it 'name is blank' do
+ expect(build(:user, name: '')).to be_invalid
+ end
+ it 'email is blank' do
+ expect(build(:user, email: '')).to be_invalid
+ end
+ it 'email format is wrong' do
+ emails = %w[@ user@ @example.com]
+ emails.each do |email|
+ expect(build(:user, email: email)).to be_invalid
+ end
+ end
+ it 'email is not unique' do
+ create(:user)
+ expect(build(:user)).to be_invalid
+ end
+ it 'password is blank' do
+ expect(build(:user, password: '')).to be_invalid
+ end
+ it "password doesn't match password_confirmation" do
+ expect(build(:user, password_confirmation: 'notpassword')).to be_invalid
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/auth1/spec/rails_helper.rb b/dylan_eckert/rails2/auth1/spec/rails_helper.rb
new file mode 100644
index 0000000..c136077
--- /dev/null
+++ b/dylan_eckert/rails2/auth1/spec/rails_helper.rb
@@ -0,0 +1,58 @@
+# This file is copied to spec/ when you run 'rails generate rspec:install'
+require 'spec_helper'
+require 'factory_bot_rails'
+ENV['RAILS_ENV'] ||= 'test'
+require File.expand_path('../../config/environment', __FILE__)
+# Prevent database truncation if the environment is production
+abort("The Rails environment is running in production mode!") if Rails.env.production?
+require 'rspec/rails'
+# Add additional requires below this line. Rails is not loaded until this point!
+
+# Requires supporting ruby files with custom matchers and macros, etc, in
+# spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
+# run as spec files by default. This means that files in spec/support that end
+# in _spec.rb will both be required and run as specs, causing the specs to be
+# run twice. It is recommended that you do not name files matching this glob to
+# end with _spec.rb. You can configure this pattern with the --pattern
+# option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
+#
+# The following line is provided for convenience purposes. It has the downside
+# of increasing the boot-up time by auto-requiring all files in the support
+# directory. Alternatively, in the individual `*_spec.rb` files, manually
+# require only the support files necessary.
+#
+# Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
+
+# Checks for pending migrations and applies them before tests are run.
+# If you are not using ActiveRecord, you can remove this line.
+ActiveRecord::Migration.maintain_test_schema!
+
+RSpec.configure do |config|
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
+ config.include FactoryBot::Syntax::Methods
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
+ # examples within a transaction, remove the following line or assign false
+ # instead of true.
+ config.use_transactional_fixtures = true
+
+ # RSpec Rails can automatically mix in different behaviours to your tests
+ # based on their file location, for example enabling you to call `get` and
+ # `post` in specs under `spec/controllers`.
+ #
+ # You can disable this behaviour by removing the line below, and instead
+ # explicitly tag your specs with their type, e.g.:
+ #
+ # RSpec.describe UsersController, :type => :controller do
+ # # ...
+ # end
+ #
+ # The different available types are documented in the features, such as in
+ # https://relishapp.com/rspec/rspec-rails/docs
+ config.infer_spec_type_from_file_location!
+
+ # Filter lines from Rails gems in backtraces.
+ config.filter_rails_from_backtrace!
+ # arbitrary gems may also be filtered via:
+ # config.filter_gems_from_backtrace("gem name")
+end
diff --git a/dylan_eckert/rails2/auth1/spec/spec_helper.rb b/dylan_eckert/rails2/auth1/spec/spec_helper.rb
new file mode 100644
index 0000000..6bd448f
--- /dev/null
+++ b/dylan_eckert/rails2/auth1/spec/spec_helper.rb
@@ -0,0 +1,111 @@
+# This file was generated by the `rails generate rspec:install` command. Conventionally, all
+# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
+# The generated `.rspec` file contains `--require spec_helper` which will cause
+# this file to always be loaded, without a need to explicitly require it in any
+# files.
+#
+# Given that it is always loaded, you are encouraged to keep this file as
+# light-weight as possible. Requiring heavyweight dependencies from this file
+# will add to the boot time of your test suite on EVERY test run, even for an
+# individual file that may not need all of that loaded. Instead, consider making
+# a separate helper file that requires the additional dependencies and performs
+# the additional setup, and require it from the spec files that actually need
+# it.
+#
+def log_in email: "oscar@gmail.com", password: "password"
+ visit '/sessions/new' unless current_path == "/sessions/new"
+ fill_in 'Email', with: email
+ fill_in 'Password', with: password
+ click_button 'Log In'
+end
+# The code below should already be included in your file
+RSpec.configure do |config|
+ config.expect_with :rspec do |expectations|
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
+ end
+ config.mock_with :rspec do |mocks|
+ mocks.verify_partial_doubles = true
+ end
+end
+# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
+RSpec.configure do |config|
+ # rspec-expectations config goes here. You can use an alternate
+ # assertion/expectation library such as wrong or the stdlib/minitest
+ # assertions if you prefer.
+ config.expect_with :rspec do |expectations|
+ # This option will default to `true` in RSpec 4. It makes the `description`
+ # and `failure_message` of custom matchers include text for helper methods
+ # defined using `chain`, e.g.:
+ # be_bigger_than(2).and_smaller_than(4).description
+ # # => "be bigger than 2 and smaller than 4"
+ # ...rather than:
+ # # => "be bigger than 2"
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
+ end
+
+ # rspec-mocks config goes here. You can use an alternate test double
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
+ config.mock_with :rspec do |mocks|
+ # Prevents you from mocking or stubbing a method that does not exist on
+ # a real object. This is generally recommended, and will default to
+ # `true` in RSpec 4.
+ mocks.verify_partial_doubles = true
+ end
+
+ # This option will default to `:apply_to_host_groups` in RSpec 4 (and will
+ # have no way to turn it off -- the option exists only for backwards
+ # compatibility in RSpec 3). It causes shared context metadata to be
+ # inherited by the metadata hash of host groups and examples, rather than
+ # triggering implicit auto-inclusion in groups with matching metadata.
+ config.shared_context_metadata_behavior = :apply_to_host_groups
+
+# The settings below are suggested to provide a good initial experience
+# with RSpec, but feel free to customize to your heart's content.
+=begin
+ # This allows you to limit a spec run to individual examples or groups
+ # you care about by tagging them with `:focus` metadata. When nothing
+ # is tagged with `:focus`, all examples get run. RSpec also provides
+ # aliases for `it`, `describe`, and `context` that include `:focus`
+ # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
+ config.filter_run_when_matching :focus
+
+ # Allows RSpec to persist some state between runs in order to support
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
+ # you configure your source control system to ignore this file.
+ config.example_status_persistence_file_path = "spec/examples.txt"
+
+ # Limits the available syntax to the non-monkey patched syntax that is
+ # recommended. For more details, see:
+ # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
+ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
+ config.disable_monkey_patching!
+
+ # Many RSpec users commonly either run the entire suite or an individual
+ # file, and it's useful to allow more verbose output when running an
+ # individual spec file.
+ if config.files_to_run.one?
+ # Use the documentation formatter for detailed output,
+ # unless a formatter has already been configured
+ # (e.g. via a command-line flag).
+ config.default_formatter = "doc"
+ end
+
+ # Print the 10 slowest examples and example groups at the
+ # end of the spec run, to help surface which specs are running
+ # particularly slow.
+ config.profile_examples = 10
+
+ # Run specs in random order to surface order dependencies. If you find an
+ # order dependency and want to debug it, you can fix the order by providing
+ # the seed, which is printed after each run.
+ # --seed 1234
+ config.order = :random
+
+ # Seed global randomization in this process using the `--seed` CLI option.
+ # Setting this allows you to use `--seed` to deterministically reproduce
+ # test failures related to randomization by passing the same `--seed` value
+ # as the one that triggered the failure.
+ Kernel.srand config.seed
+=end
+end
diff --git a/dylan_eckert/rails2/auth1/user.rb b/dylan_eckert/rails2/auth1/user.rb
new file mode 100644
index 0000000..ca6fbd6
--- /dev/null
+++ b/dylan_eckert/rails2/auth1/user.rb
@@ -0,0 +1,15 @@
+class User < ApplicationRecord
+ has_secure_password
+
+ EMAIL_REGEX = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]+)\z/i
+ validates :name, presence: true
+ validates :email, presence: true, uniqueness: { case_sensitive: false }, format: { with: EMAIL_REGEX }
+
+ before_save :email_lowercase
+ # line above says that before saving the user to the database to run the email_lowercase method
+
+ def email_lowercase
+ email.downcase!
+ # the built in method for lowercasing something is .downcase!
+ end
+end
diff --git a/dylan_eckert/rails2/auth1/users/edit.html.erb b/dylan_eckert/rails2/auth1/users/edit.html.erb
new file mode 100644
index 0000000..ea91003
--- /dev/null
+++ b/dylan_eckert/rails2/auth1/users/edit.html.erb
@@ -0,0 +1 @@
+
Edit User
diff --git a/dylan_eckert/rails2/auth1/users/new.html.erb b/dylan_eckert/rails2/auth1/users/new.html.erb
new file mode 100644
index 0000000..efcecda
--- /dev/null
+++ b/dylan_eckert/rails2/auth1/users/new.html.erb
@@ -0,0 +1 @@
+
New User
diff --git a/dylan_eckert/rails2/auth1/users/show.html.erb b/dylan_eckert/rails2/auth1/users/show.html.erb
new file mode 100644
index 0000000..4f41143
--- /dev/null
+++ b/dylan_eckert/rails2/auth1/users/show.html.erb
@@ -0,0 +1 @@
+
<%= @user.name %>
diff --git a/dylan_eckert/rails2/auth1/users_controller.rb b/dylan_eckert/rails2/auth1/users_controller.rb
new file mode 100644
index 0000000..aae708e
--- /dev/null
+++ b/dylan_eckert/rails2/auth1/users_controller.rb
@@ -0,0 +1,13 @@
+class UsersController < ApplicationController
+
+ def new
+ end
+
+ def show
+ @user = User.find(params[:id])
+ end
+
+ def edit
+ end
+
+end
diff --git a/dylan_eckert/rails2/auth2/.gitignore b/dylan_eckert/rails2/auth2/.gitignore
new file mode 100644
index 0000000..48fb168
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/.gitignore
@@ -0,0 +1,17 @@
+# See https://help.github.com/articles/ignoring-files for more about ignoring files.
+#
+# If you find yourself ignoring temporary files generated by your text editor
+# or operating system, you probably want to add a global ignore instead:
+# git config --global core.excludesfile '~/.gitignore_global'
+
+# Ignore bundler config.
+/.bundle
+
+# Ignore all logfiles and tempfiles.
+/log/*
+/tmp/*
+!/log/.keep
+!/tmp/.keep
+
+# Ignore Byebug command history file.
+.byebug_history
diff --git a/dylan_eckert/rails2/auth2/.rspec b/dylan_eckert/rails2/auth2/.rspec
new file mode 100644
index 0000000..c99d2e7
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/.rspec
@@ -0,0 +1 @@
+--require spec_helper
diff --git a/dylan_eckert/rails2/auth2/Gemfile b/dylan_eckert/rails2/auth2/Gemfile
new file mode 100644
index 0000000..8d464a7
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/Gemfile
@@ -0,0 +1,54 @@
+source 'https://rubygems.org'
+
+git_source(:github) do |repo_name|
+ repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
+ "https://github.com/#{repo_name}.git"
+end
+
+
+# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
+gem 'rails', '~> 5.0.6'
+# Use postgresql as the database for Active Record
+gem 'pg', '~> 0.18'
+# Use Puma as the app server
+gem 'puma', '~> 3.0'
+# Use SCSS for stylesheets
+gem 'sass-rails', '~> 5.0'
+# Use Uglifier as compressor for JavaScript assets
+gem 'uglifier', '>= 1.3.0'
+# Use CoffeeScript for .coffee assets and views
+gem 'coffee-rails', '~> 4.2'
+# See https://github.com/rails/execjs#readme for more supported runtimes
+# gem 'therubyracer', platforms: :ruby
+
+# Use jquery as the JavaScript library
+gem 'jquery-rails'
+# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
+gem 'turbolinks', '~> 5'
+# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
+gem 'jbuilder', '~> 2.5'
+# Use Redis adapter to run Action Cable in production
+# gem 'redis', '~> 3.0'
+# Use ActiveModel has_secure_password
+gem 'bcrypt', '~> 3.1.7'
+
+# Use Capistrano for deployment
+# gem 'capistrano-rails', group: :development
+
+group :development, :test do
+ gem 'rspec-rails'
+ gem 'factory_bot_rails'
+ gem 'capybara'
+end
+
+group :development do
+ # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
+ gem 'web-console', '>= 3.3.0'
+ gem 'listen', '~> 3.0.5'
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
+ gem 'spring'
+ gem 'spring-watcher-listen', '~> 2.0.0'
+end
+
+# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
+gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
diff --git a/dylan_eckert/rails2/auth2/Gemfile.lock b/dylan_eckert/rails2/auth2/Gemfile.lock
new file mode 100644
index 0000000..1368646
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/Gemfile.lock
@@ -0,0 +1,217 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actioncable (5.0.6)
+ actionpack (= 5.0.6)
+ nio4r (>= 1.2, < 3.0)
+ websocket-driver (~> 0.6.1)
+ actionmailer (5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ mail (~> 2.5, >= 2.5.4)
+ rails-dom-testing (~> 2.0)
+ actionpack (5.0.6)
+ actionview (= 5.0.6)
+ activesupport (= 5.0.6)
+ rack (~> 2.0)
+ rack-test (~> 0.6.3)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
+ actionview (5.0.6)
+ activesupport (= 5.0.6)
+ builder (~> 3.1)
+ erubis (~> 2.7.0)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
+ activejob (5.0.6)
+ activesupport (= 5.0.6)
+ globalid (>= 0.3.6)
+ activemodel (5.0.6)
+ activesupport (= 5.0.6)
+ activerecord (5.0.6)
+ activemodel (= 5.0.6)
+ activesupport (= 5.0.6)
+ arel (~> 7.0)
+ activesupport (5.0.6)
+ concurrent-ruby (~> 1.0, >= 1.0.2)
+ i18n (~> 0.7)
+ minitest (~> 5.1)
+ tzinfo (~> 1.1)
+ addressable (2.5.2)
+ public_suffix (>= 2.0.2, < 4.0)
+ arel (7.1.4)
+ bcrypt (3.1.11)
+ bindex (0.5.0)
+ builder (3.2.3)
+ capybara (2.16.1)
+ addressable
+ mini_mime (>= 0.1.3)
+ nokogiri (>= 1.3.3)
+ rack (>= 1.0.0)
+ rack-test (>= 0.5.4)
+ xpath (~> 2.0)
+ coffee-rails (4.2.2)
+ coffee-script (>= 2.2.0)
+ railties (>= 4.0.0)
+ coffee-script (2.4.1)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.12.2)
+ concurrent-ruby (1.0.5)
+ crass (1.0.3)
+ diff-lcs (1.3)
+ erubis (2.7.0)
+ execjs (2.7.0)
+ factory_bot (4.8.2)
+ activesupport (>= 3.0.0)
+ factory_bot_rails (4.8.2)
+ factory_bot (~> 4.8.2)
+ railties (>= 3.0.0)
+ ffi (1.9.18)
+ globalid (0.4.1)
+ activesupport (>= 4.2.0)
+ i18n (0.9.1)
+ concurrent-ruby (~> 1.0)
+ jbuilder (2.7.0)
+ activesupport (>= 4.2.0)
+ multi_json (>= 1.2)
+ jquery-rails (4.3.1)
+ rails-dom-testing (>= 1, < 3)
+ railties (>= 4.2.0)
+ thor (>= 0.14, < 2.0)
+ listen (3.0.8)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ loofah (2.1.1)
+ crass (~> 1.0.2)
+ nokogiri (>= 1.5.9)
+ mail (2.7.0)
+ mini_mime (>= 0.1.1)
+ method_source (0.9.0)
+ mini_mime (1.0.0)
+ mini_portile2 (2.3.0)
+ minitest (5.10.3)
+ multi_json (1.12.2)
+ nio4r (2.1.0)
+ nokogiri (1.8.1)
+ mini_portile2 (~> 2.3.0)
+ pg (0.21.0)
+ public_suffix (3.0.1)
+ puma (3.11.0)
+ rack (2.0.3)
+ rack-test (0.6.3)
+ rack (>= 1.0)
+ rails (5.0.6)
+ actioncable (= 5.0.6)
+ actionmailer (= 5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ activemodel (= 5.0.6)
+ activerecord (= 5.0.6)
+ activesupport (= 5.0.6)
+ bundler (>= 1.3.0)
+ railties (= 5.0.6)
+ sprockets-rails (>= 2.0.0)
+ rails-dom-testing (2.0.3)
+ activesupport (>= 4.2.0)
+ nokogiri (>= 1.6)
+ rails-html-sanitizer (1.0.3)
+ loofah (~> 2.0)
+ railties (5.0.6)
+ actionpack (= 5.0.6)
+ activesupport (= 5.0.6)
+ method_source
+ rake (>= 0.8.7)
+ thor (>= 0.18.1, < 2.0)
+ rake (12.3.0)
+ rb-fsevent (0.10.2)
+ rb-inotify (0.9.10)
+ ffi (>= 0.5.0, < 2)
+ rspec-core (3.7.0)
+ rspec-support (~> 3.7.0)
+ rspec-expectations (3.7.0)
+ diff-lcs (>= 1.2.0, < 2.0)
+ rspec-support (~> 3.7.0)
+ rspec-mocks (3.7.0)
+ diff-lcs (>= 1.2.0, < 2.0)
+ rspec-support (~> 3.7.0)
+ rspec-rails (3.7.2)
+ actionpack (>= 3.0)
+ activesupport (>= 3.0)
+ railties (>= 3.0)
+ rspec-core (~> 3.7.0)
+ rspec-expectations (~> 3.7.0)
+ rspec-mocks (~> 3.7.0)
+ rspec-support (~> 3.7.0)
+ rspec-support (3.7.0)
+ sass (3.5.3)
+ sass-listen (~> 4.0.0)
+ sass-listen (4.0.0)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ sass-rails (5.0.7)
+ railties (>= 4.0.0, < 6)
+ sass (~> 3.1)
+ sprockets (>= 2.8, < 4.0)
+ sprockets-rails (>= 2.0, < 4.0)
+ tilt (>= 1.1, < 3)
+ spring (2.0.2)
+ activesupport (>= 4.2)
+ spring-watcher-listen (2.0.1)
+ listen (>= 2.7, < 4.0)
+ spring (>= 1.2, < 3.0)
+ sprockets (3.7.1)
+ concurrent-ruby (~> 1.0)
+ rack (> 1, < 3)
+ sprockets-rails (3.2.1)
+ actionpack (>= 4.0)
+ activesupport (>= 4.0)
+ sprockets (>= 3.0.0)
+ thor (0.20.0)
+ thread_safe (0.3.6)
+ tilt (2.0.8)
+ turbolinks (5.0.1)
+ turbolinks-source (~> 5)
+ turbolinks-source (5.0.3)
+ tzinfo (1.2.4)
+ thread_safe (~> 0.1)
+ uglifier (4.0.2)
+ execjs (>= 0.3.0, < 3)
+ web-console (3.5.1)
+ actionview (>= 5.0)
+ activemodel (>= 5.0)
+ bindex (>= 0.4.0)
+ railties (>= 5.0)
+ websocket-driver (0.6.5)
+ websocket-extensions (>= 0.1.0)
+ websocket-extensions (0.1.3)
+ xpath (2.1.0)
+ nokogiri (~> 1.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ bcrypt (~> 3.1.7)
+ capybara
+ coffee-rails (~> 4.2)
+ factory_bot_rails
+ jbuilder (~> 2.5)
+ jquery-rails
+ listen (~> 3.0.5)
+ pg (~> 0.18)
+ puma (~> 3.0)
+ rails (~> 5.0.6)
+ rspec-rails
+ sass-rails (~> 5.0)
+ spring
+ spring-watcher-listen (~> 2.0.0)
+ turbolinks (~> 5)
+ tzinfo-data
+ uglifier (>= 1.3.0)
+ web-console (>= 3.3.0)
+
+BUNDLED WITH
+ 1.16.0
diff --git a/dylan_eckert/rails2/auth2/README.md b/dylan_eckert/rails2/auth2/README.md
new file mode 100644
index 0000000..7db80e4
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/README.md
@@ -0,0 +1,24 @@
+# README
+
+This README would normally document whatever steps are necessary to get the
+application up and running.
+
+Things you may want to cover:
+
+* Ruby version
+
+* System dependencies
+
+* Configuration
+
+* Database creation
+
+* Database initialization
+
+* How to run the test suite
+
+* Services (job queues, cache servers, search engines, etc.)
+
+* Deployment instructions
+
+* ...
diff --git a/dylan_eckert/rails2/auth2/Rakefile b/dylan_eckert/rails2/auth2/Rakefile
new file mode 100644
index 0000000..e85f913
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/Rakefile
@@ -0,0 +1,6 @@
+# Add your own tasks in files placed in lib/tasks ending in .rake,
+# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
+
+require_relative 'config/application'
+
+Rails.application.load_tasks
diff --git a/dylan_eckert/rails2/auth2/app/assets/config/manifest.js b/dylan_eckert/rails2/auth2/app/assets/config/manifest.js
new file mode 100644
index 0000000..b16e53d
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/assets/config/manifest.js
@@ -0,0 +1,3 @@
+//= link_tree ../images
+//= link_directory ../javascripts .js
+//= link_directory ../stylesheets .css
diff --git a/Stephen Weil/Rails/Models/optimize/app/controllers/concerns/.keep b/dylan_eckert/rails2/auth2/app/assets/images/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/app/controllers/concerns/.keep
rename to dylan_eckert/rails2/auth2/app/assets/images/.keep
diff --git a/dylan_eckert/rails2/auth2/app/assets/javascripts/application.js b/dylan_eckert/rails2/auth2/app/assets/javascripts/application.js
new file mode 100644
index 0000000..b12018d
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/assets/javascripts/application.js
@@ -0,0 +1,16 @@
+// This is a manifest file that'll be compiled into application.js, which will include all the files
+// listed below.
+//
+// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
+// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
+//
+// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
+// compiled file. JavaScript code in this file should be added after the last require_* statement.
+//
+// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
+// about supported directives.
+//
+//= require jquery
+//= require jquery_ujs
+//= require turbolinks
+//= require_tree .
diff --git a/dylan_eckert/rails2/auth2/app/assets/javascripts/cable.js b/dylan_eckert/rails2/auth2/app/assets/javascripts/cable.js
new file mode 100644
index 0000000..71ee1e6
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/assets/javascripts/cable.js
@@ -0,0 +1,13 @@
+// Action Cable provides the framework to deal with WebSockets in Rails.
+// You can generate new channels where WebSocket features live using the rails generate channel command.
+//
+//= require action_cable
+//= require_self
+//= require_tree ./channels
+
+(function() {
+ this.App || (this.App = {});
+
+ App.cable = ActionCable.createConsumer();
+
+}).call(this);
diff --git a/Stephen Weil/Rails/Models/optimize/app/mailers/.keep b/dylan_eckert/rails2/auth2/app/assets/javascripts/channels/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/app/mailers/.keep
rename to dylan_eckert/rails2/auth2/app/assets/javascripts/channels/.keep
diff --git a/Rodolfo_Valdivieso/controllers/survey_form/app/assets/javascripts/surveys.coffee b/dylan_eckert/rails2/auth2/app/assets/javascripts/likes.coffee
similarity index 100%
rename from Rodolfo_Valdivieso/controllers/survey_form/app/assets/javascripts/surveys.coffee
rename to dylan_eckert/rails2/auth2/app/assets/javascripts/likes.coffee
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/assets/javascripts/times.coffee b/dylan_eckert/rails2/auth2/app/assets/javascripts/secrets.coffee
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Time_display/app/assets/javascripts/times.coffee
rename to dylan_eckert/rails2/auth2/app/assets/javascripts/secrets.coffee
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/app/assets/javascripts/dojos.coffee b/dylan_eckert/rails2/auth2/app/assets/javascripts/sessions.coffee
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/app/assets/javascripts/dojos.coffee
rename to dylan_eckert/rails2/auth2/app/assets/javascripts/sessions.coffee
diff --git a/richardN/controllers/imc2/app/assets/javascripts/users.coffee b/dylan_eckert/rails2/auth2/app/assets/javascripts/users.coffee
similarity index 100%
rename from richardN/controllers/imc2/app/assets/javascripts/users.coffee
rename to dylan_eckert/rails2/auth2/app/assets/javascripts/users.coffee
diff --git a/dylan_eckert/rails2/auth2/app/assets/stylesheets/application.css b/dylan_eckert/rails2/auth2/app/assets/stylesheets/application.css
new file mode 100644
index 0000000..0ebd7fe
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/assets/stylesheets/application.css
@@ -0,0 +1,15 @@
+/*
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
+ * listed below.
+ *
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
+ * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
+ *
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
+ * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
+ * files in this directory. Styles in this file should be added after the last require_* statement.
+ * It is generally better to create a new file per style scope.
+ *
+ *= require_tree .
+ *= require_self
+ */
diff --git a/dylan_eckert/rails2/auth2/app/assets/stylesheets/likes.scss b/dylan_eckert/rails2/auth2/app/assets/stylesheets/likes.scss
new file mode 100644
index 0000000..dacd946
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/assets/stylesheets/likes.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the Likes controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/dylan_eckert/rails2/auth2/app/assets/stylesheets/secrets.scss b/dylan_eckert/rails2/auth2/app/assets/stylesheets/secrets.scss
new file mode 100644
index 0000000..f1aed55
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/assets/stylesheets/secrets.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the Secrets controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/dylan_eckert/rails2/auth2/app/assets/stylesheets/sessions.scss b/dylan_eckert/rails2/auth2/app/assets/stylesheets/sessions.scss
new file mode 100644
index 0000000..ccb1ed2
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/assets/stylesheets/sessions.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the Sessions controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/brittney_jackson/rails/integrateModels/app/assets/stylesheets/users.scss b/dylan_eckert/rails2/auth2/app/assets/stylesheets/users.scss
similarity index 100%
rename from brittney_jackson/rails/integrateModels/app/assets/stylesheets/users.scss
rename to dylan_eckert/rails2/auth2/app/assets/stylesheets/users.scss
diff --git a/dylan_eckert/rails2/auth2/app/channels/application_cable/channel.rb b/dylan_eckert/rails2/auth2/app/channels/application_cable/channel.rb
new file mode 100644
index 0000000..d672697
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/channels/application_cable/channel.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Channel < ActionCable::Channel::Base
+ end
+end
diff --git a/dylan_eckert/rails2/auth2/app/channels/application_cable/connection.rb b/dylan_eckert/rails2/auth2/app/channels/application_cable/connection.rb
new file mode 100644
index 0000000..0ff5442
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/channels/application_cable/connection.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Connection < ActionCable::Connection::Base
+ end
+end
diff --git a/dylan_eckert/rails2/auth2/app/controllers/application_controller.rb b/dylan_eckert/rails2/auth2/app/controllers/application_controller.rb
new file mode 100644
index 0000000..122a954
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/controllers/application_controller.rb
@@ -0,0 +1,15 @@
+class ApplicationController < ActionController::Base
+ protect_from_forgery with: :exception
+
+ before_action :require_login
+
+ def require_login
+ return redirect_to new_session_path unless session[:user_id]
+ end
+ def current_user
+ # ONLY USE THIS IF YOU ARE NEEDING THE FULL USER INFO (name, email, etc) if you are going for an id, just use session[:user_id]
+ return User.find(session[:user_id]) if session[:user_id]
+ end
+ helper_method :current_user
+ helper_method :require_login
+end
diff --git a/Stephen Weil/Rails/Models/optimize/app/models/.keep b/dylan_eckert/rails2/auth2/app/controllers/concerns/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/app/models/.keep
rename to dylan_eckert/rails2/auth2/app/controllers/concerns/.keep
diff --git a/dylan_eckert/rails2/auth2/app/controllers/likes_controller.rb b/dylan_eckert/rails2/auth2/app/controllers/likes_controller.rb
new file mode 100644
index 0000000..f64accc
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/controllers/likes_controller.rb
@@ -0,0 +1,17 @@
+class LikesController < ApplicationController
+ def create
+ Like.create(like_params)
+ redirect_to secrets_path
+ end
+
+ def destroy
+ @like = Like.find(params[:id])
+ @like.destroy if session[:user_id] === @like.user_id
+ # this is a check to make sure that if somehow a user who didnt create the like tries to delete the like(unlike), the destroy method will not run
+ redirect_to secrets_path
+ end
+ private
+ def like_params
+ params.require(:like).permit(:secret_id).merge(user: current_user)
+ end
+end
diff --git a/dylan_eckert/rails2/auth2/app/controllers/secrets_controller.rb b/dylan_eckert/rails2/auth2/app/controllers/secrets_controller.rb
new file mode 100644
index 0000000..b841f71
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/controllers/secrets_controller.rb
@@ -0,0 +1,23 @@
+class SecretsController < ApplicationController
+ def index
+ @secrets = Secret.all
+ # this is to get all secrets, I then have
+ end
+ def create
+ secret = Secret.new secret_params
+ unless secret.save
+ flash[:errors] = secret.errors.full_messages
+ end
+ redirect_to user_path current_user.id
+ end
+ def destroy
+ @secret = Secret.find(params[:id])
+ @secret.destroy if @secret.user === current_user
+ redirect_to user_path current_user.id
+ end
+ private
+ def secret_params
+ params.require(:secret).permit(:content).merge(user: current_user)
+ # make strong params for secret, including content and merging the user that created it by using my application controller's method current_user to find the current user logged in to the session
+ end
+end
diff --git a/dylan_eckert/rails2/auth2/app/controllers/sessions_controller.rb b/dylan_eckert/rails2/auth2/app/controllers/sessions_controller.rb
new file mode 100644
index 0000000..6a0abf2
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/controllers/sessions_controller.rb
@@ -0,0 +1,26 @@
+class SessionsController < ApplicationController
+ skip_before_action :require_login, except: [:destroy]
+ def new
+ end
+
+ def create
+ user = User.find_by(email: params[:email])
+ # find by email
+ if user
+ if user.try(:authenticate, params[:password])
+ # if the user matches a user in the database, set the session id to the user being authenticated
+ session[:user_id] = user.id
+ return redirect_to user_path user.id
+ end
+ flash[:errors] = ["Invalid password"]
+ else
+ flash[:errors] = ["Invalid email"]
+ end
+ return redirect_back fallback_location: new_session_path
+ end
+
+ def destroy
+ reset_session
+ redirect_to "/sessions/new"
+ end
+end
diff --git a/dylan_eckert/rails2/auth2/app/controllers/users_controller.rb b/dylan_eckert/rails2/auth2/app/controllers/users_controller.rb
new file mode 100644
index 0000000..cb2cd2e
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/controllers/users_controller.rb
@@ -0,0 +1,43 @@
+class UsersController < ApplicationController
+ skip_before_action :require_login, only: [:new, :create]
+ def new
+ end
+
+ def create
+ user = User.create(user_params)
+ if user.valid?
+ session[:user_id] = user.id
+ return redirect_to user_path user.id
+ else
+ flash[:errors] = user.errors.full_messages
+ return redirect_back fallback_location: new_user_path
+ end
+ end
+
+ def show
+ @user = User.find(params[:id])
+ end
+
+ def edit
+ @user = User.find(params[:id])
+ end
+
+ def update
+ user = User.find(params[:id])
+ user.update(user_params)
+ redirect_to user_path user.id
+ end
+
+ def destroy
+ user = User.find(params[:id])
+ user.destroy
+ reset_session
+ redirect_to new_session_path
+ end
+
+ private
+
+ def user_params
+ params.require(:user).permit(:name, :email, :password, :password_confirmation)
+ end
+end
diff --git a/Stephen Weil/Rails/Models/blogs_one/app/helpers/application_helper.rb b/dylan_eckert/rails2/auth2/app/helpers/application_helper.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/app/helpers/application_helper.rb
rename to dylan_eckert/rails2/auth2/app/helpers/application_helper.rb
diff --git a/dylan_eckert/rails2/auth2/app/helpers/likes_helper.rb b/dylan_eckert/rails2/auth2/app/helpers/likes_helper.rb
new file mode 100644
index 0000000..a78a759
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/helpers/likes_helper.rb
@@ -0,0 +1,2 @@
+module LikesHelper
+end
diff --git a/dylan_eckert/rails2/auth2/app/helpers/secrets_helper.rb b/dylan_eckert/rails2/auth2/app/helpers/secrets_helper.rb
new file mode 100644
index 0000000..17ab1ea
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/helpers/secrets_helper.rb
@@ -0,0 +1,2 @@
+module SecretsHelper
+end
diff --git a/dylan_eckert/rails2/auth2/app/helpers/sessions_helper.rb b/dylan_eckert/rails2/auth2/app/helpers/sessions_helper.rb
new file mode 100644
index 0000000..309f8b2
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/helpers/sessions_helper.rb
@@ -0,0 +1,2 @@
+module SessionsHelper
+end
diff --git a/justin_quiros/models/app/helpers/users_helper.rb b/dylan_eckert/rails2/auth2/app/helpers/users_helper.rb
similarity index 100%
rename from justin_quiros/models/app/helpers/users_helper.rb
rename to dylan_eckert/rails2/auth2/app/helpers/users_helper.rb
diff --git a/dylan_eckert/rails2/auth2/app/jobs/application_job.rb b/dylan_eckert/rails2/auth2/app/jobs/application_job.rb
new file mode 100644
index 0000000..a009ace
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/jobs/application_job.rb
@@ -0,0 +1,2 @@
+class ApplicationJob < ActiveJob::Base
+end
diff --git a/dylan_eckert/rails2/auth2/app/mailers/application_mailer.rb b/dylan_eckert/rails2/auth2/app/mailers/application_mailer.rb
new file mode 100644
index 0000000..286b223
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/mailers/application_mailer.rb
@@ -0,0 +1,4 @@
+class ApplicationMailer < ActionMailer::Base
+ default from: 'from@example.com'
+ layout 'mailer'
+end
diff --git a/dylan_eckert/rails2/auth2/app/models/application_record.rb b/dylan_eckert/rails2/auth2/app/models/application_record.rb
new file mode 100644
index 0000000..10a4cba
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/models/application_record.rb
@@ -0,0 +1,3 @@
+class ApplicationRecord < ActiveRecord::Base
+ self.abstract_class = true
+end
diff --git a/Stephen Weil/Rails/Models/optimize/app/models/concerns/.keep b/dylan_eckert/rails2/auth2/app/models/concerns/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/app/models/concerns/.keep
rename to dylan_eckert/rails2/auth2/app/models/concerns/.keep
diff --git a/dylan_eckert/rails2/auth2/app/models/like.rb b/dylan_eckert/rails2/auth2/app/models/like.rb
new file mode 100644
index 0000000..85908ea
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/models/like.rb
@@ -0,0 +1,4 @@
+class Like < ApplicationRecord
+ belongs_to :secret
+ belongs_to :user
+end
diff --git a/dylan_eckert/rails2/auth2/app/models/secret.rb b/dylan_eckert/rails2/auth2/app/models/secret.rb
new file mode 100644
index 0000000..1a3958f
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/models/secret.rb
@@ -0,0 +1,7 @@
+class Secret < ApplicationRecord
+ belongs_to :user
+ has_many :likes, dependent: :destroy
+ has_many :users, through: :likes
+
+ validates :content, presence: true
+end
diff --git a/dylan_eckert/rails2/auth2/app/models/user.rb b/dylan_eckert/rails2/auth2/app/models/user.rb
new file mode 100644
index 0000000..60bda5f
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/models/user.rb
@@ -0,0 +1,20 @@
+class User < ApplicationRecord
+ has_secure_password
+ has_many :secrets
+ has_many :likes, dependent: :destroy
+ has_many :secrets_liked, through: :likes, source: :secret
+ # the line above is there to allow for us so the query User.first.secrets will show all of the secrets the user created, not the secrets the user has liked
+
+ EMAIL_REGEX = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]+)\z/i
+ validates :name, presence: true
+ validates :email, presence: true, uniqueness: { case_sensitive: false }, format: { with: EMAIL_REGEX }
+
+ before_save :input_lowercase
+ # line above says that before saving the user to the database to run the email_lowercase method
+
+ def input_lowercase
+ self.email.downcase!
+ self.name.downcase!
+ # the built in method for lowercasing something is .downcase!
+ end
+end
diff --git a/dylan_eckert/rails2/auth2/app/views/layouts/application.html.erb b/dylan_eckert/rails2/auth2/app/views/layouts/application.html.erb
new file mode 100644
index 0000000..4c62c3f
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/views/layouts/application.html.erb
@@ -0,0 +1,25 @@
+
+
+
+ DojoSecrets
+ <%= csrf_meta_tags %>
+
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
+ <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
+
+
+ <% if flash[:errors] %>
+ <% flash[:errors].each do |error| %>
+
<%= error %>
+ <% end %>
+ <% end %>
+ <% if current_user %>
+
+ <% end %>
+ <%= yield %>
+
+
diff --git a/dylan_eckert/rails2/auth2/app/views/layouts/mailer.html.erb b/dylan_eckert/rails2/auth2/app/views/layouts/mailer.html.erb
new file mode 100644
index 0000000..cbd34d2
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/views/layouts/mailer.html.erb
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+ <%= yield %>
+
+
diff --git a/dylan_eckert/rails2/auth2/app/views/layouts/mailer.text.erb b/dylan_eckert/rails2/auth2/app/views/layouts/mailer.text.erb
new file mode 100644
index 0000000..37f0bdd
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/views/layouts/mailer.text.erb
@@ -0,0 +1 @@
+<%= yield %>
diff --git a/dylan_eckert/rails2/auth2/app/views/likes/create.html.erb b/dylan_eckert/rails2/auth2/app/views/likes/create.html.erb
new file mode 100644
index 0000000..7159391
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/views/likes/create.html.erb
@@ -0,0 +1,2 @@
+
Likes#create
+
Find me in app/views/likes/create.html.erb
diff --git a/dylan_eckert/rails2/auth2/app/views/likes/destroy.html.erb b/dylan_eckert/rails2/auth2/app/views/likes/destroy.html.erb
new file mode 100644
index 0000000..b7ab94f
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/views/likes/destroy.html.erb
@@ -0,0 +1,2 @@
+
Likes#destroy
+
Find me in app/views/likes/destroy.html.erb
diff --git a/dylan_eckert/rails2/auth2/app/views/secrets/index.html.erb b/dylan_eckert/rails2/auth2/app/views/secrets/index.html.erb
new file mode 100644
index 0000000..eb436f1
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/views/secrets/index.html.erb
@@ -0,0 +1,26 @@
+
All Secrets
+<% @secrets.all.each do |secret| %>
+
<%= secret.content %>
+
<%= secret.likes.count %> likes
+ <% if secret.user == current_user %>
+
+ <% end %>
+ <% unless secret.users.include?(current_user) %>
+
+ <% else %>
+
+ <% end %>
+<% end %>
diff --git a/dylan_eckert/rails2/auth2/app/views/sessions/new.html.erb b/dylan_eckert/rails2/auth2/app/views/sessions/new.html.erb
new file mode 100644
index 0000000..9da5dea
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/views/sessions/new.html.erb
@@ -0,0 +1,9 @@
+
Login
+
diff --git a/dylan_eckert/rails2/auth2/app/views/users/edit.html.erb b/dylan_eckert/rails2/auth2/app/views/users/edit.html.erb
new file mode 100644
index 0000000..c23f602
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/views/users/edit.html.erb
@@ -0,0 +1,12 @@
+
+
diff --git a/dylan_eckert/rails2/auth2/app/views/users/show.html.erb b/dylan_eckert/rails2/auth2/app/views/users/show.html.erb
new file mode 100644
index 0000000..6aea1b2
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/app/views/users/show.html.erb
@@ -0,0 +1,21 @@
+
<%= @user.name %>
+
<%= @user.email %>
+
+
+
+<% @user.secrets.each do |secret| %>
+
<%= secret.content %>
+
<%= secret.likes.count %> likes
+ <% if secret.user == current_user %>
+
+ <% end %>
+<% end %>
+Update Account
diff --git a/Stephen Weil/Rails/Models/blogs_one/bin/bundle b/dylan_eckert/rails2/auth2/bin/bundle
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/bin/bundle
rename to dylan_eckert/rails2/auth2/bin/bundle
diff --git a/dylan_eckert/rails2/auth2/bin/rails b/dylan_eckert/rails2/auth2/bin/rails
new file mode 100755
index 0000000..5badb2f
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/bin/rails
@@ -0,0 +1,9 @@
+#!/usr/bin/env ruby
+begin
+ load File.expand_path('../spring', __FILE__)
+rescue LoadError => e
+ raise unless e.message.include?('spring')
+end
+APP_PATH = File.expand_path('../config/application', __dir__)
+require_relative '../config/boot'
+require 'rails/commands'
diff --git a/Stephen Weil/Rails/Models/blogs_one/bin/rake b/dylan_eckert/rails2/auth2/bin/rake
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/bin/rake
rename to dylan_eckert/rails2/auth2/bin/rake
diff --git a/dylan_eckert/rails2/auth2/bin/setup b/dylan_eckert/rails2/auth2/bin/setup
new file mode 100755
index 0000000..e620b4d
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/bin/setup
@@ -0,0 +1,34 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a starting point to setup your application.
+ # Add necessary setup steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ # puts "\n== Copying sample files =="
+ # unless File.exist?('config/database.yml')
+ # cp 'config/database.yml.sample', 'config/database.yml'
+ # end
+
+ puts "\n== Preparing database =="
+ system! 'bin/rails db:setup'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/Stephen Weil/Rails/Models/blogs_one/bin/spring b/dylan_eckert/rails2/auth2/bin/spring
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/bin/spring
rename to dylan_eckert/rails2/auth2/bin/spring
diff --git a/dylan_eckert/rails2/auth2/bin/update b/dylan_eckert/rails2/auth2/bin/update
new file mode 100755
index 0000000..a8e4462
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/bin/update
@@ -0,0 +1,29 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a way to update your development environment automatically.
+ # Add necessary update steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ puts "\n== Updating database =="
+ system! 'bin/rails db:migrate'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/dylan_eckert/rails2/auth2/config.ru b/dylan_eckert/rails2/auth2/config.ru
new file mode 100644
index 0000000..f7ba0b5
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/config.ru
@@ -0,0 +1,5 @@
+# This file is used by Rack-based servers to start the application.
+
+require_relative 'config/environment'
+
+run Rails.application
diff --git a/dylan_eckert/rails2/auth2/config/application.rb b/dylan_eckert/rails2/auth2/config/application.rb
new file mode 100644
index 0000000..65de0bc
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/config/application.rb
@@ -0,0 +1,15 @@
+require_relative 'boot'
+
+require 'rails/all'
+
+# Require the gems listed in Gemfile, including any gems
+# you've limited to :test, :development, or :production.
+Bundler.require(*Rails.groups)
+
+module DojoSecrets
+ class Application < Rails::Application
+ # Settings in config/environments/* take precedence over those specified here.
+ # Application configuration should go into files in config/initializers
+ # -- all .rb files in that directory are automatically loaded.
+ end
+end
diff --git a/dylan_eckert/rails2/auth2/config/boot.rb b/dylan_eckert/rails2/auth2/config/boot.rb
new file mode 100644
index 0000000..30f5120
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/config/boot.rb
@@ -0,0 +1,3 @@
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
+
+require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/dylan_eckert/rails2/auth2/config/cable.yml b/dylan_eckert/rails2/auth2/config/cable.yml
new file mode 100644
index 0000000..0bbde6f
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/config/cable.yml
@@ -0,0 +1,9 @@
+development:
+ adapter: async
+
+test:
+ adapter: async
+
+production:
+ adapter: redis
+ url: redis://localhost:6379/1
diff --git a/dylan_eckert/rails2/auth2/config/database.yml b/dylan_eckert/rails2/auth2/config/database.yml
new file mode 100644
index 0000000..efc5910
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/config/database.yml
@@ -0,0 +1,85 @@
+# PostgreSQL. Versions 9.1 and up are supported.
+#
+# Install the pg driver:
+# gem install pg
+# On OS X with Homebrew:
+# gem install pg -- --with-pg-config=/usr/local/bin/pg_config
+# On OS X with MacPorts:
+# gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
+# On Windows:
+# gem install pg
+# Choose the win32 build.
+# Install PostgreSQL and put its /bin directory on your path.
+#
+# Configure Using Gemfile
+# gem 'pg'
+#
+default: &default
+ adapter: postgresql
+ encoding: unicode
+ # For details on connection pooling, see rails configuration guide
+ # http://guides.rubyonrails.org/configuring.html#database-pooling
+ pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
+
+development:
+ <<: *default
+ database: DojoSecrets_development
+
+ # The specified database role being used to connect to postgres.
+ # To create additional roles in postgres see `$ createuser --help`.
+ # When left blank, postgres will use the default role. This is
+ # the same name as the operating system user that initialized the database.
+ #username: DojoSecrets
+
+ # The password associated with the postgres role (username).
+ #password:
+
+ # Connect on a TCP socket. Omitted by default since the client uses a
+ # domain socket that doesn't need configuration. Windows does not have
+ # domain sockets, so uncomment these lines.
+ #host: localhost
+
+ # The TCP port the server listens on. Defaults to 5432.
+ # If your server runs on a different port number, change accordingly.
+ #port: 5432
+
+ # Schema search path. The server defaults to $user,public
+ #schema_search_path: myapp,sharedapp,public
+
+ # Minimum log levels, in increasing order:
+ # debug5, debug4, debug3, debug2, debug1,
+ # log, notice, warning, error, fatal, and panic
+ # Defaults to warning.
+ #min_messages: notice
+
+# Warning: The database defined as "test" will be erased and
+# re-generated from your development database when you run "rake".
+# Do not set this db to the same as development or production.
+test:
+ <<: *default
+ database: DojoSecrets_test
+
+# As with config/secrets.yml, you never want to store sensitive information,
+# like your database password, in your source code. If your source code is
+# ever seen by anyone, they now have access to your database.
+#
+# Instead, provide the password as a unix environment variable when you boot
+# the app. Read http://guides.rubyonrails.org/configuring.html#configuring-a-database
+# for a full rundown on how to provide these environment variables in a
+# production deployment.
+#
+# On Heroku and other platform providers, you may have a full connection URL
+# available as an environment variable. For example:
+#
+# DATABASE_URL="postgres://myuser:mypass@localhost/somedatabase"
+#
+# You can use this database configuration with:
+#
+# production:
+# url: <%= ENV['DATABASE_URL'] %>
+#
+production:
+ <<: *default
+ database: DojoSecrets_production
+ username: DojoSecrets
+ password: <%= ENV['DOJOSECRETS_DATABASE_PASSWORD'] %>
diff --git a/dylan_eckert/rails2/auth2/config/environment.rb b/dylan_eckert/rails2/auth2/config/environment.rb
new file mode 100644
index 0000000..426333b
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/config/environment.rb
@@ -0,0 +1,5 @@
+# Load the Rails application.
+require_relative 'application'
+
+# Initialize the Rails application.
+Rails.application.initialize!
diff --git a/dylan_eckert/rails2/auth2/config/environments/development.rb b/dylan_eckert/rails2/auth2/config/environments/development.rb
new file mode 100644
index 0000000..77fe74d
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/config/environments/development.rb
@@ -0,0 +1,55 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # In the development environment your application's code is reloaded on
+ # every request. This slows down response time but is perfect for development
+ # since you don't have to rest art the web server when you make code changes.
+ config.cache_classes = false
+
+ config.reload_classes_only_on_change = false
+ # Do not eager load code on boot.
+ config.eager_load = false
+
+ # Show full error reports.
+ config.consider_all_requests_local = true
+
+ # Enable/disable caching. By default caching is disabled.
+ if Rails.root.join('tmp/caching-dev.txt').exist?
+ config.action_controller.perform_caching = true
+
+ config.cache_store = :memory_store
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=172800'
+ }
+ else
+ config.action_controller.perform_caching = false
+
+ config.cache_store = :null_store
+ end
+
+ # Don't care if the mailer can't send.
+ config.action_mailer.raise_delivery_errors = false
+
+ config.action_mailer.perform_caching = false
+
+ # Print deprecation notices to the Rails logger.
+ config.active_support.deprecation = :log
+
+ # Raise an error on page load if there are pending migrations.
+ config.active_record.migration_error = :page_load
+
+ # Debug mode disables concatenation and preprocessing of assets.
+ # This option may cause significant delays in view rendering with a large
+ # number of complex assets.
+ config.assets.debug = true
+
+ # Suppress logger output for asset requests.
+ config.assets.quiet = true
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+
+ # Use an evented file watcher to asynchronously detect changes in source code,
+ # routes, locales, etc. This feature depends on the listen gem.
+ config.file_watcher = ActiveSupport::EventedFileUpdateChecker
+end
diff --git a/dylan_eckert/rails2/auth2/config/environments/production.rb b/dylan_eckert/rails2/auth2/config/environments/production.rb
new file mode 100644
index 0000000..f8e01b7
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/config/environments/production.rb
@@ -0,0 +1,86 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # Code is not reloaded between requests.
+ config.cache_classes = true
+
+ # Eager load code on boot. This eager loads most of Rails and
+ # your application in memory, allowing both threaded web servers
+ # and those relying on copy on write to perform better.
+ # Rake tasks automatically ignore this option for performance.
+ config.eager_load = true
+
+ # Full error reports are disabled and caching is turned on.
+ config.consider_all_requests_local = false
+ config.action_controller.perform_caching = true
+
+ # Disable serving static files from the `/public` folder by default since
+ # Apache or NGINX already handles this.
+ config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
+
+ # Compress JavaScripts and CSS.
+ config.assets.js_compressor = :uglifier
+ # config.assets.css_compressor = :sass
+
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
+ config.assets.compile = false
+
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
+
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
+ # config.action_controller.asset_host = 'http://assets.example.com'
+
+ # Specifies the header that your server uses for sending files.
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
+
+ # Mount Action Cable outside main process or domain
+ # config.action_cable.mount_path = nil
+ # config.action_cable.url = 'wss://example.com/cable'
+ # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
+
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
+ # config.force_ssl = true
+
+ # Use the lowest log level to ensure availability of diagnostic information
+ # when problems arise.
+ config.log_level = :debug
+
+ # Prepend all log lines with the following tags.
+ config.log_tags = [ :request_id ]
+
+ # Use a different cache store in production.
+ # config.cache_store = :mem_cache_store
+
+ # Use a real queuing backend for Active Job (and separate queues per environment)
+ # config.active_job.queue_adapter = :resque
+ # config.active_job.queue_name_prefix = "DojoSecrets_#{Rails.env}"
+ config.action_mailer.perform_caching = false
+
+ # Ignore bad email addresses and do not raise email delivery errors.
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
+ # config.action_mailer.raise_delivery_errors = false
+
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
+ # the I18n.default_locale when a translation cannot be found).
+ config.i18n.fallbacks = true
+
+ # Send deprecation notices to registered listeners.
+ config.active_support.deprecation = :notify
+
+ # Use default logging formatter so that PID and timestamp are not suppressed.
+ config.log_formatter = ::Logger::Formatter.new
+
+ # Use a different logger for distributed setups.
+ # require 'syslog/logger'
+ # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
+
+ if ENV["RAILS_LOG_TO_STDOUT"].present?
+ logger = ActiveSupport::Logger.new(STDOUT)
+ logger.formatter = config.log_formatter
+ config.logger = ActiveSupport::TaggedLogging.new(logger)
+ end
+
+ # Do not dump schema after migrations.
+ config.active_record.dump_schema_after_migration = false
+end
diff --git a/dylan_eckert/rails2/auth2/config/environments/test.rb b/dylan_eckert/rails2/auth2/config/environments/test.rb
new file mode 100644
index 0000000..30587ef
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/config/environments/test.rb
@@ -0,0 +1,42 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # The test environment is used exclusively to run your application's
+ # test suite. You never need to work with it otherwise. Remember that
+ # your test database is "scratch space" for the test suite and is wiped
+ # and recreated between test runs. Don't rely on the data there!
+ config.cache_classes = true
+
+ # Do not eager load code on boot. This avoids loading your whole application
+ # just for the purpose of running a single test. If you are using a tool that
+ # preloads Rails for running tests, you may have to set it to true.
+ config.eager_load = false
+
+ # Configure public file server for tests with Cache-Control for performance.
+ config.public_file_server.enabled = true
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=3600'
+ }
+
+ # Show full error reports and disable caching.
+ config.consider_all_requests_local = true
+ config.action_controller.perform_caching = false
+
+ # Raise exceptions instead of rendering exception templates.
+ config.action_dispatch.show_exceptions = false
+
+ # Disable request forgery protection in test environment.
+ config.action_controller.allow_forgery_protection = false
+ config.action_mailer.perform_caching = false
+
+ # Tell Action Mailer not to deliver emails to the real world.
+ # The :test delivery method accumulates sent emails in the
+ # ActionMailer::Base.deliveries array.
+ config.action_mailer.delivery_method = :test
+
+ # Print deprecation notices to the stderr.
+ config.active_support.deprecation = :stderr
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+end
diff --git a/dylan_eckert/rails2/auth2/config/initializers/application_controller_renderer.rb b/dylan_eckert/rails2/auth2/config/initializers/application_controller_renderer.rb
new file mode 100644
index 0000000..89d2efa
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/config/initializers/application_controller_renderer.rb
@@ -0,0 +1,8 @@
+# Be sure to restart your server when you modify this file.
+
+# ActiveSupport::Reloader.to_prepare do
+# ApplicationController.renderer.defaults.merge!(
+# http_host: 'example.org',
+# https: false
+# )
+# end
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/config/initializers/assets.rb b/dylan_eckert/rails2/auth2/config/initializers/assets.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/config/initializers/assets.rb
rename to dylan_eckert/rails2/auth2/config/initializers/assets.rb
diff --git a/Stephen Weil/Rails/Models/blogs_one/config/initializers/backtrace_silencers.rb b/dylan_eckert/rails2/auth2/config/initializers/backtrace_silencers.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/config/initializers/backtrace_silencers.rb
rename to dylan_eckert/rails2/auth2/config/initializers/backtrace_silencers.rb
diff --git a/dylan_eckert/rails2/auth2/config/initializers/cookies_serializer.rb b/dylan_eckert/rails2/auth2/config/initializers/cookies_serializer.rb
new file mode 100644
index 0000000..5a6a32d
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/config/initializers/cookies_serializer.rb
@@ -0,0 +1,5 @@
+# Be sure to restart your server when you modify this file.
+
+# Specify a serializer for the signed and encrypted cookie jars.
+# Valid options are :json, :marshal, and :hybrid.
+Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Stephen Weil/Rails/Models/blogs_one/config/initializers/filter_parameter_logging.rb b/dylan_eckert/rails2/auth2/config/initializers/filter_parameter_logging.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/config/initializers/filter_parameter_logging.rb
rename to dylan_eckert/rails2/auth2/config/initializers/filter_parameter_logging.rb
diff --git a/Stephen Weil/Rails/Models/blogs_one/config/initializers/inflections.rb b/dylan_eckert/rails2/auth2/config/initializers/inflections.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/config/initializers/inflections.rb
rename to dylan_eckert/rails2/auth2/config/initializers/inflections.rb
diff --git a/Stephen Weil/Rails/Models/blogs_one/config/initializers/mime_types.rb b/dylan_eckert/rails2/auth2/config/initializers/mime_types.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/config/initializers/mime_types.rb
rename to dylan_eckert/rails2/auth2/config/initializers/mime_types.rb
diff --git a/dylan_eckert/rails2/auth2/config/initializers/new_framework_defaults.rb b/dylan_eckert/rails2/auth2/config/initializers/new_framework_defaults.rb
new file mode 100644
index 0000000..dd236b5
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/config/initializers/new_framework_defaults.rb
@@ -0,0 +1,26 @@
+# Be sure to restart your server when you modify this file.
+#
+# This file contains migration options to ease your Rails 5.0 upgrade.
+#
+# Read the Guide for Upgrading Ruby on Rails for more info on each option.
+
+Rails.application.config.action_controller.raise_on_unfiltered_parameters = true
+
+# Enable per-form CSRF tokens. Previous versions had false.
+Rails.application.config.action_controller.per_form_csrf_tokens = true
+
+# Enable origin-checking CSRF mitigation. Previous versions had false.
+Rails.application.config.action_controller.forgery_protection_origin_check = true
+
+# Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`.
+# Previous versions had false.
+ActiveSupport.to_time_preserves_timezone = true
+
+# Require `belongs_to` associations by default. Previous versions had false.
+Rails.application.config.active_record.belongs_to_required_by_default = true
+
+# Do not halt callback chains when a callback returns false. Previous versions had true.
+ActiveSupport.halt_callback_chains_on_return_false = false
+
+# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
+Rails.application.config.ssl_options = { hsts: { subdomains: true } }
diff --git a/dylan_eckert/rails2/auth2/config/initializers/session_store.rb b/dylan_eckert/rails2/auth2/config/initializers/session_store.rb
new file mode 100644
index 0000000..745fa7c
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/config/initializers/session_store.rb
@@ -0,0 +1,3 @@
+# Be sure to restart your server when you modify this file.
+
+Rails.application.config.session_store :cookie_store, key: '_DojoSecrets_session'
diff --git a/dylan_eckert/rails2/auth2/config/initializers/wrap_parameters.rb b/dylan_eckert/rails2/auth2/config/initializers/wrap_parameters.rb
new file mode 100644
index 0000000..bbfc396
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/config/initializers/wrap_parameters.rb
@@ -0,0 +1,14 @@
+# Be sure to restart your server when you modify this file.
+
+# This file contains settings for ActionController::ParamsWrapper which
+# is enabled by default.
+
+# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
+ActiveSupport.on_load(:action_controller) do
+ wrap_parameters format: [:json]
+end
+
+# To enable root element in JSON for ActiveRecord objects.
+# ActiveSupport.on_load(:active_record) do
+# self.include_root_in_json = true
+# end
diff --git a/Stephen Weil/Rails/Models/blogs_one/config/locales/en.yml b/dylan_eckert/rails2/auth2/config/locales/en.yml
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/config/locales/en.yml
rename to dylan_eckert/rails2/auth2/config/locales/en.yml
diff --git a/dylan_eckert/rails2/auth2/config/puma.rb b/dylan_eckert/rails2/auth2/config/puma.rb
new file mode 100644
index 0000000..c7f311f
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/config/puma.rb
@@ -0,0 +1,47 @@
+# Puma can serve each request in a thread from an internal thread pool.
+# The `threads` method setting takes two numbers a minimum and maximum.
+# Any libraries that use thread pools should be configured to match
+# the maximum value specified for Puma. Default is set to 5 threads for minimum
+# and maximum, this matches the default thread size of Active Record.
+#
+threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i
+threads threads_count, threads_count
+
+# Specifies the `port` that Puma will listen on to receive requests, default is 3000.
+#
+port ENV.fetch("PORT") { 3000 }
+
+# Specifies the `environment` that Puma will run in.
+#
+environment ENV.fetch("RAILS_ENV") { "development" }
+
+# Specifies the number of `workers` to boot in clustered mode.
+# Workers are forked webserver processes. If using threads and workers together
+# the concurrency of the application would be max `threads` * `workers`.
+# Workers do not work on JRuby or Windows (both of which do not support
+# processes).
+#
+# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
+
+# Use the `preload_app!` method when specifying a `workers` number.
+# This directive tells Puma to first boot the application and load code
+# before forking the application. This takes advantage of Copy On Write
+# process behavior so workers use less memory. If you use this option
+# you need to make sure to reconnect any threads in the `on_worker_boot`
+# block.
+#
+# preload_app!
+
+# The code in the `on_worker_boot` will be called if you are using
+# clustered mode by specifying a number of `workers`. After each worker
+# process is booted this block will be run, if you are using `preload_app!`
+# option you will want to use this block to reconnect to any threads
+# or connections that may have been created at application boot, Ruby
+# cannot share connections between processes.
+#
+# on_worker_boot do
+# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
+# end
+
+# Allow puma to be restarted by `rails restart` command.
+plugin :tmp_restart
diff --git a/dylan_eckert/rails2/auth2/config/routes.rb b/dylan_eckert/rails2/auth2/config/routes.rb
new file mode 100644
index 0000000..27bab57
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/config/routes.rb
@@ -0,0 +1,8 @@
+Rails.application.routes.draw do
+ resources :sessions, only: [:new, :create, :destroy]
+ resources :users, except: [:index]
+ resources :secrets, only: [:index, :create, :destroy]
+ resources :likes, only: [:create, :destroy]
+ # The priority is based upon order of creation from top to bottom
+ # rake routes lets you see all available routes and their names
+end
diff --git a/dylan_eckert/rails2/auth2/config/secrets.yml b/dylan_eckert/rails2/auth2/config/secrets.yml
new file mode 100644
index 0000000..41e0de4
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/config/secrets.yml
@@ -0,0 +1,22 @@
+# Be sure to restart your server when you modify this file.
+
+# Your secret key is used for verifying the integrity of signed cookies.
+# If you change this key, all old signed cookies will become invalid!
+
+# Make sure the secret is at least 30 characters and all random,
+# no regular words or you'll be exposed to dictionary attacks.
+# You can use `rails secret` to generate a secure secret key.
+
+# Make sure the secrets in this file are kept private
+# if you're sharing your code publicly.
+
+development:
+ secret_key_base: df5bfd362ae400b400d79af9bc419e988c72e7a2df7aebc541137d2f27e125bb93b09d877ecc0cae931a9b8c16ef96f1c7329a8b2d788eadf3a0f5cc9bb4d4e7
+
+test:
+ secret_key_base: 91a21b8af0492c5893228989638a977f5e7cf895e0a94a3a0cd34976a4582b84e68c4e940e3369f2297218eaebf4bce2cc07441512a9c2d645734c20e08024b9
+
+# Do not keep production secrets in the repository,
+# instead read values from the environment.
+production:
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/dylan_eckert/rails2/auth2/config/spring.rb b/dylan_eckert/rails2/auth2/config/spring.rb
new file mode 100644
index 0000000..c9119b4
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/config/spring.rb
@@ -0,0 +1,6 @@
+%w(
+ .ruby-version
+ .rbenv-vars
+ tmp/restart.txt
+ tmp/caching-dev.txt
+).each { |path| Spring.watch(path) }
diff --git a/dylan_eckert/rails2/auth2/db/migrate/20171211192257_create_users.rb b/dylan_eckert/rails2/auth2/db/migrate/20171211192257_create_users.rb
new file mode 100644
index 0000000..9e6ab64
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/db/migrate/20171211192257_create_users.rb
@@ -0,0 +1,11 @@
+class CreateUsers < ActiveRecord::Migration[5.0]
+ def change
+ create_table :users do |t|
+ t.string :name
+ t.string :email
+ t.string :password_digest
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/auth2/db/migrate/20171212235708_create_secrets.rb b/dylan_eckert/rails2/auth2/db/migrate/20171212235708_create_secrets.rb
new file mode 100644
index 0000000..df773f3
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/db/migrate/20171212235708_create_secrets.rb
@@ -0,0 +1,10 @@
+class CreateSecrets < ActiveRecord::Migration[5.0]
+ def change
+ create_table :secrets do |t|
+ t.text :content
+ t.references :user, foreign_key: true
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/auth2/db/migrate/20171212235821_create_likes.rb b/dylan_eckert/rails2/auth2/db/migrate/20171212235821_create_likes.rb
new file mode 100644
index 0000000..0c95c79
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/db/migrate/20171212235821_create_likes.rb
@@ -0,0 +1,10 @@
+class CreateLikes < ActiveRecord::Migration[5.0]
+ def change
+ create_table :likes do |t|
+ t.references :secret, foreign_key: true
+ t.references :user, foreign_key: true
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/auth2/db/schema.rb b/dylan_eckert/rails2/auth2/db/schema.rb
new file mode 100644
index 0000000..e0d9fe8
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/db/schema.rb
@@ -0,0 +1,46 @@
+# This file is auto-generated from the current state of the database. Instead
+# of editing this file, please use the migrations feature of Active Record to
+# incrementally modify your database, and then regenerate this schema definition.
+#
+# Note that this schema.rb definition is the authoritative source for your
+# database schema. If you need to create the application database on another
+# system, you should be using db:schema:load, not running all the migrations
+# from scratch. The latter is a flawed and unsustainable approach (the more migrations
+# you'll amass, the slower it'll run and the greater likelihood for issues).
+#
+# It's strongly recommended that you check this file into your version control system.
+
+ActiveRecord::Schema.define(version: 20171212235821) do
+
+ # These are extensions that must be enabled in order to support this database
+ enable_extension "plpgsql"
+
+ create_table "likes", force: :cascade do |t|
+ t.integer "secret_id"
+ t.integer "user_id"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.index ["secret_id"], name: "index_likes_on_secret_id", using: :btree
+ t.index ["user_id"], name: "index_likes_on_user_id", using: :btree
+ end
+
+ create_table "secrets", force: :cascade do |t|
+ t.text "content"
+ t.integer "user_id"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.index ["user_id"], name: "index_secrets_on_user_id", using: :btree
+ end
+
+ create_table "users", force: :cascade do |t|
+ t.string "name"
+ t.string "email"
+ t.string "password_digest"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ end
+
+ add_foreign_key "likes", "secrets"
+ add_foreign_key "likes", "users"
+ add_foreign_key "secrets", "users"
+end
diff --git a/dylan_eckert/rails2/auth2/db/seeds.rb b/dylan_eckert/rails2/auth2/db/seeds.rb
new file mode 100644
index 0000000..1beea2a
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/db/seeds.rb
@@ -0,0 +1,7 @@
+# This file should contain all the record creation needed to seed the database with its default values.
+# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
+#
+# Examples:
+#
+# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
+# Character.create(name: 'Luke', movie: movies.first)
diff --git a/Stephen Weil/Rails/Models/optimize/lib/assets/.keep b/dylan_eckert/rails2/auth2/lib/assets/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/lib/assets/.keep
rename to dylan_eckert/rails2/auth2/lib/assets/.keep
diff --git a/Stephen Weil/Rails/Models/optimize/lib/tasks/.keep b/dylan_eckert/rails2/auth2/lib/tasks/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/lib/tasks/.keep
rename to dylan_eckert/rails2/auth2/lib/tasks/.keep
diff --git a/Stephen Weil/Rails/Models/optimize/log/.keep b/dylan_eckert/rails2/auth2/log/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/log/.keep
rename to dylan_eckert/rails2/auth2/log/.keep
diff --git a/dylan_eckert/rails2/auth2/public/404.html b/dylan_eckert/rails2/auth2/public/404.html
new file mode 100644
index 0000000..2be3af2
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/public/404.html
@@ -0,0 +1,67 @@
+
+
+
+ The page you were looking for doesn't exist (404)
+
+
+
+
+
+
+
+
+
The page you were looking for doesn't exist.
+
You may have mistyped the address or the page may have moved.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/rails2/auth2/public/422.html b/dylan_eckert/rails2/auth2/public/422.html
new file mode 100644
index 0000000..c08eac0
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/public/422.html
@@ -0,0 +1,67 @@
+
+
+
+ The change you wanted was rejected (422)
+
+
+
+
+
+
+
+
+
The change you wanted was rejected.
+
Maybe you tried to change something you didn't have access to.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/rails2/auth2/public/500.html b/dylan_eckert/rails2/auth2/public/500.html
new file mode 100644
index 0000000..78a030a
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/public/500.html
@@ -0,0 +1,66 @@
+
+
+
+ We're sorry, but something went wrong (500)
+
+
+
+
+
+
+
+
+
We're sorry, but something went wrong.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/Stephen Weil/Rails/Models/optimize/public/favicon.ico b/dylan_eckert/rails2/auth2/public/apple-touch-icon-precomposed.png
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/public/favicon.ico
rename to dylan_eckert/rails2/auth2/public/apple-touch-icon-precomposed.png
diff --git a/Stephen Weil/Rails/Models/optimize/test/controllers/.keep b/dylan_eckert/rails2/auth2/public/apple-touch-icon.png
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/test/controllers/.keep
rename to dylan_eckert/rails2/auth2/public/apple-touch-icon.png
diff --git a/Stephen Weil/Rails/Models/user_login_project/public/favicon.ico b/dylan_eckert/rails2/auth2/public/favicon.ico
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/public/favicon.ico
rename to dylan_eckert/rails2/auth2/public/favicon.ico
diff --git a/Stephen Weil/Rails/Models/blogs_one/public/robots.txt b/dylan_eckert/rails2/auth2/public/robots.txt
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/public/robots.txt
rename to dylan_eckert/rails2/auth2/public/robots.txt
diff --git a/dylan_eckert/rails2/auth2/spec/controllers/secrets_controller_spec.rb b/dylan_eckert/rails2/auth2/spec/controllers/secrets_controller_spec.rb
new file mode 100644
index 0000000..582e299
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/spec/controllers/secrets_controller_spec.rb
@@ -0,0 +1,5 @@
+require 'rails_helper'
+
+RSpec.describe SecretsController, type: :controller do
+
+end
diff --git a/dylan_eckert/rails2/auth2/spec/controllers/users_controller_spec.rb b/dylan_eckert/rails2/auth2/spec/controllers/users_controller_spec.rb
new file mode 100644
index 0000000..e2c3d3b
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/spec/controllers/users_controller_spec.rb
@@ -0,0 +1,5 @@
+require 'rails_helper'
+
+RSpec.describe UsersController, type: :controller do
+
+end
diff --git a/dylan_eckert/rails2/auth2/spec/factories/likes.rb b/dylan_eckert/rails2/auth2/spec/factories/likes.rb
new file mode 100644
index 0000000..56765c9
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/spec/factories/likes.rb
@@ -0,0 +1,6 @@
+FactoryBot.define do
+ factory :like do
+ secret nil
+ user nil
+ end
+end
diff --git a/dylan_eckert/rails2/auth2/spec/factories/secrets.rb b/dylan_eckert/rails2/auth2/spec/factories/secrets.rb
new file mode 100644
index 0000000..af5f0e0
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/spec/factories/secrets.rb
@@ -0,0 +1,6 @@
+FactoryBot.define do
+ factory :secret do
+ content "MyText"
+ user nil
+ end
+end
diff --git a/dylan_eckert/rails2/auth2/spec/factories/users.rb b/dylan_eckert/rails2/auth2/spec/factories/users.rb
new file mode 100644
index 0000000..35b5824
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/spec/factories/users.rb
@@ -0,0 +1,8 @@
+FactoryBot.define do
+ factory :user do
+ name "Dylan Eckert"
+ email "email@email.com"
+ password "password"
+ password_confirmation "password"
+ end
+end
diff --git a/dylan_eckert/rails2/auth2/spec/helpers/likes_helper_spec.rb b/dylan_eckert/rails2/auth2/spec/helpers/likes_helper_spec.rb
new file mode 100644
index 0000000..bc19687
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/spec/helpers/likes_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'rails_helper'
+
+# Specs in this file have access to a helper object that includes
+# the LikesHelper. For example:
+#
+# describe LikesHelper do
+# describe "string concat" do
+# it "concats two strings with spaces" do
+# expect(helper.concat_strings("this","that")).to eq("this that")
+# end
+# end
+# end
+RSpec.describe LikesHelper, type: :helper do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/dylan_eckert/rails2/auth2/spec/helpers/secrets_helper_spec.rb b/dylan_eckert/rails2/auth2/spec/helpers/secrets_helper_spec.rb
new file mode 100644
index 0000000..285256a
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/spec/helpers/secrets_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'rails_helper'
+
+# Specs in this file have access to a helper object that includes
+# the SecretsHelper. For example:
+#
+# describe SecretsHelper do
+# describe "string concat" do
+# it "concats two strings with spaces" do
+# expect(helper.concat_strings("this","that")).to eq("this that")
+# end
+# end
+# end
+RSpec.describe SecretsHelper, type: :helper do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/dylan_eckert/rails2/auth2/spec/helpers/sessions_helper_spec.rb b/dylan_eckert/rails2/auth2/spec/helpers/sessions_helper_spec.rb
new file mode 100644
index 0000000..9484198
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/spec/helpers/sessions_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'rails_helper'
+
+# Specs in this file have access to a helper object that includes
+# the SessionsHelper. For example:
+#
+# describe SessionsHelper do
+# describe "string concat" do
+# it "concats two strings with spaces" do
+# expect(helper.concat_strings("this","that")).to eq("this that")
+# end
+# end
+# end
+RSpec.describe SessionsHelper, type: :helper do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/dylan_eckert/rails2/auth2/spec/helpers/users_helper_spec.rb b/dylan_eckert/rails2/auth2/spec/helpers/users_helper_spec.rb
new file mode 100644
index 0000000..b2e3444
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/spec/helpers/users_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'rails_helper'
+
+# Specs in this file have access to a helper object that includes
+# the UsersHelper. For example:
+#
+# describe UsersHelper do
+# describe "string concat" do
+# it "concats two strings with spaces" do
+# expect(helper.concat_strings("this","that")).to eq("this that")
+# end
+# end
+# end
+RSpec.describe UsersHelper, type: :helper do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/dylan_eckert/rails2/auth2/spec/models/like_spec.rb b/dylan_eckert/rails2/auth2/spec/models/like_spec.rb
new file mode 100644
index 0000000..3284133
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/spec/models/like_spec.rb
@@ -0,0 +1,17 @@
+require 'rails_helper'
+
+RSpec.describe Like, type: :model do
+ describe 'relationships' do
+ before do
+ @user = create(:user)
+ @secret = create(:secret, user: @user)
+ @like = create(:like, secret: @secret, user: @user)
+ end
+ it 'belongs to a user' do
+ expect(@like.user).to eq(@user)
+ end
+ it 'belongs to a secret' do
+ expect(@like.secret).to eq(@secret)
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/auth2/spec/models/secret_spec.rb b/dylan_eckert/rails2/auth2/spec/models/secret_spec.rb
new file mode 100644
index 0000000..fb755b5
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/spec/models/secret_spec.rb
@@ -0,0 +1,24 @@
+require 'rails_helper'
+
+RSpec.describe Secret, type: :model do
+ it 'requires content' do
+ expect(build(:secret, content: "")).to be_invalid
+ end
+
+ context 'relationships' do
+ before do
+ @user = create(:user)
+ @secret = create(:secret, user: @user)
+ @like = create(:like, user: @user, secret: @secret)
+ end
+ it 'belongs to a user' do
+ expect(@secret.user).to eq(@user)
+ end
+ it 'has likes' do
+ expect(@secret.likes).to include(@like)
+ end
+ it 'has users through likes table' do
+ expect(@secret.users).to include(@user)
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/auth2/spec/models/user_spec.rb b/dylan_eckert/rails2/auth2/spec/models/user_spec.rb
new file mode 100644
index 0000000..5d8f4be
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/spec/models/user_spec.rb
@@ -0,0 +1,56 @@
+require 'rails_helper'
+
+RSpec.describe User, type: :model do
+ context "with valid attributes" do
+ it "should save" do
+ expect(build(:user)).to be_valid
+ end
+ it 'automatically encrypts the password into the password_digest attribute' do
+ expect(build(:user).password_digest.present?).to eq(true)
+ end
+ it 'email as lowercase' do
+ expect(create(:user, email: 'EMAIL@GMAIL.COM').email).to eq('email@gmail.com')
+ end
+ end
+ context "with invalid attributes should not save if" do
+ it 'name is blank' do
+ expect(build(:user, name: '')).to be_invalid
+ end
+ it 'email is blank' do
+ expect(build(:user, email: '')).to be_invalid
+ end
+ it 'email format is wrong' do
+ emails = %w[@ user@ @example.com]
+ emails.each do |email|
+ expect(build(:user, email: email)).to be_invalid
+ end
+ end
+ it 'email is not unique' do
+ create(:user)
+ expect(build(:user)).to be_invalid
+ end
+ it 'password is blank' do
+ expect(build(:user, password: '')).to be_invalid
+ end
+ it "password doesn't match password_confirmation" do
+ expect(build(:user, password_confirmation: 'notpassword')).to be_invalid
+ end
+ end
+
+ context 'relationships' do
+ before do
+ @user = create(:user)
+ @secret = create(:secret, content: 'secret 1', user: @user)
+ @like = create(:like, secret: @secret, user: @user)
+ end
+ it 'has secrets' do
+ expect(@user.secrets).to include(@secret)
+ end
+ it 'has likes' do
+ expect(@user.likes).to include(@like)
+ end
+ it "has secrets through likes table" do
+ expect(@user.secrets_liked).to include(@secret)
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/auth2/spec/rails_helper.rb b/dylan_eckert/rails2/auth2/spec/rails_helper.rb
new file mode 100644
index 0000000..c136077
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/spec/rails_helper.rb
@@ -0,0 +1,58 @@
+# This file is copied to spec/ when you run 'rails generate rspec:install'
+require 'spec_helper'
+require 'factory_bot_rails'
+ENV['RAILS_ENV'] ||= 'test'
+require File.expand_path('../../config/environment', __FILE__)
+# Prevent database truncation if the environment is production
+abort("The Rails environment is running in production mode!") if Rails.env.production?
+require 'rspec/rails'
+# Add additional requires below this line. Rails is not loaded until this point!
+
+# Requires supporting ruby files with custom matchers and macros, etc, in
+# spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
+# run as spec files by default. This means that files in spec/support that end
+# in _spec.rb will both be required and run as specs, causing the specs to be
+# run twice. It is recommended that you do not name files matching this glob to
+# end with _spec.rb. You can configure this pattern with the --pattern
+# option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
+#
+# The following line is provided for convenience purposes. It has the downside
+# of increasing the boot-up time by auto-requiring all files in the support
+# directory. Alternatively, in the individual `*_spec.rb` files, manually
+# require only the support files necessary.
+#
+# Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
+
+# Checks for pending migrations and applies them before tests are run.
+# If you are not using ActiveRecord, you can remove this line.
+ActiveRecord::Migration.maintain_test_schema!
+
+RSpec.configure do |config|
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
+ config.include FactoryBot::Syntax::Methods
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
+ # examples within a transaction, remove the following line or assign false
+ # instead of true.
+ config.use_transactional_fixtures = true
+
+ # RSpec Rails can automatically mix in different behaviours to your tests
+ # based on their file location, for example enabling you to call `get` and
+ # `post` in specs under `spec/controllers`.
+ #
+ # You can disable this behaviour by removing the line below, and instead
+ # explicitly tag your specs with their type, e.g.:
+ #
+ # RSpec.describe UsersController, :type => :controller do
+ # # ...
+ # end
+ #
+ # The different available types are documented in the features, such as in
+ # https://relishapp.com/rspec/rspec-rails/docs
+ config.infer_spec_type_from_file_location!
+
+ # Filter lines from Rails gems in backtraces.
+ config.filter_rails_from_backtrace!
+ # arbitrary gems may also be filtered via:
+ # config.filter_gems_from_backtrace("gem name")
+end
diff --git a/dylan_eckert/rails2/auth2/spec/spec_helper.rb b/dylan_eckert/rails2/auth2/spec/spec_helper.rb
new file mode 100644
index 0000000..6bd448f
--- /dev/null
+++ b/dylan_eckert/rails2/auth2/spec/spec_helper.rb
@@ -0,0 +1,111 @@
+# This file was generated by the `rails generate rspec:install` command. Conventionally, all
+# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
+# The generated `.rspec` file contains `--require spec_helper` which will cause
+# this file to always be loaded, without a need to explicitly require it in any
+# files.
+#
+# Given that it is always loaded, you are encouraged to keep this file as
+# light-weight as possible. Requiring heavyweight dependencies from this file
+# will add to the boot time of your test suite on EVERY test run, even for an
+# individual file that may not need all of that loaded. Instead, consider making
+# a separate helper file that requires the additional dependencies and performs
+# the additional setup, and require it from the spec files that actually need
+# it.
+#
+def log_in email: "oscar@gmail.com", password: "password"
+ visit '/sessions/new' unless current_path == "/sessions/new"
+ fill_in 'Email', with: email
+ fill_in 'Password', with: password
+ click_button 'Log In'
+end
+# The code below should already be included in your file
+RSpec.configure do |config|
+ config.expect_with :rspec do |expectations|
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
+ end
+ config.mock_with :rspec do |mocks|
+ mocks.verify_partial_doubles = true
+ end
+end
+# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
+RSpec.configure do |config|
+ # rspec-expectations config goes here. You can use an alternate
+ # assertion/expectation library such as wrong or the stdlib/minitest
+ # assertions if you prefer.
+ config.expect_with :rspec do |expectations|
+ # This option will default to `true` in RSpec 4. It makes the `description`
+ # and `failure_message` of custom matchers include text for helper methods
+ # defined using `chain`, e.g.:
+ # be_bigger_than(2).and_smaller_than(4).description
+ # # => "be bigger than 2 and smaller than 4"
+ # ...rather than:
+ # # => "be bigger than 2"
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
+ end
+
+ # rspec-mocks config goes here. You can use an alternate test double
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
+ config.mock_with :rspec do |mocks|
+ # Prevents you from mocking or stubbing a method that does not exist on
+ # a real object. This is generally recommended, and will default to
+ # `true` in RSpec 4.
+ mocks.verify_partial_doubles = true
+ end
+
+ # This option will default to `:apply_to_host_groups` in RSpec 4 (and will
+ # have no way to turn it off -- the option exists only for backwards
+ # compatibility in RSpec 3). It causes shared context metadata to be
+ # inherited by the metadata hash of host groups and examples, rather than
+ # triggering implicit auto-inclusion in groups with matching metadata.
+ config.shared_context_metadata_behavior = :apply_to_host_groups
+
+# The settings below are suggested to provide a good initial experience
+# with RSpec, but feel free to customize to your heart's content.
+=begin
+ # This allows you to limit a spec run to individual examples or groups
+ # you care about by tagging them with `:focus` metadata. When nothing
+ # is tagged with `:focus`, all examples get run. RSpec also provides
+ # aliases for `it`, `describe`, and `context` that include `:focus`
+ # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
+ config.filter_run_when_matching :focus
+
+ # Allows RSpec to persist some state between runs in order to support
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
+ # you configure your source control system to ignore this file.
+ config.example_status_persistence_file_path = "spec/examples.txt"
+
+ # Limits the available syntax to the non-monkey patched syntax that is
+ # recommended. For more details, see:
+ # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
+ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
+ config.disable_monkey_patching!
+
+ # Many RSpec users commonly either run the entire suite or an individual
+ # file, and it's useful to allow more verbose output when running an
+ # individual spec file.
+ if config.files_to_run.one?
+ # Use the documentation formatter for detailed output,
+ # unless a formatter has already been configured
+ # (e.g. via a command-line flag).
+ config.default_formatter = "doc"
+ end
+
+ # Print the 10 slowest examples and example groups at the
+ # end of the spec run, to help surface which specs are running
+ # particularly slow.
+ config.profile_examples = 10
+
+ # Run specs in random order to surface order dependencies. If you find an
+ # order dependency and want to debug it, you can fix the order by providing
+ # the seed, which is printed after each run.
+ # --seed 1234
+ config.order = :random
+
+ # Seed global randomization in this process using the `--seed` CLI option.
+ # Setting this allows you to use `--seed` to deterministically reproduce
+ # test failures related to randomization by passing the same `--seed` value
+ # as the one that triggered the failure.
+ Kernel.srand config.seed
+=end
+end
diff --git a/Stephen Weil/Rails/Models/optimize/test/fixtures/.keep b/dylan_eckert/rails2/auth2/test/controllers/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/test/fixtures/.keep
rename to dylan_eckert/rails2/auth2/test/controllers/.keep
diff --git a/Stephen Weil/Rails/Models/optimize/test/helpers/.keep b/dylan_eckert/rails2/auth2/test/fixtures/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/test/helpers/.keep
rename to dylan_eckert/rails2/auth2/test/fixtures/.keep
diff --git a/Stephen Weil/Rails/Models/optimize/test/integration/.keep b/dylan_eckert/rails2/auth2/test/fixtures/files/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/test/integration/.keep
rename to dylan_eckert/rails2/auth2/test/fixtures/files/.keep
diff --git a/Stephen Weil/Rails/Models/optimize/test/mailers/.keep b/dylan_eckert/rails2/auth2/test/helpers/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/test/mailers/.keep
rename to dylan_eckert/rails2/auth2/test/helpers/.keep
diff --git a/Stephen Weil/Rails/Models/optimize/test/models/.keep b/dylan_eckert/rails2/auth2/test/integration/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/test/models/.keep
rename to dylan_eckert/rails2/auth2/test/integration/.keep
diff --git a/Stephen Weil/Rails/Models/optimize/vendor/assets/javascripts/.keep b/dylan_eckert/rails2/auth2/test/mailers/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/vendor/assets/javascripts/.keep
rename to dylan_eckert/rails2/auth2/test/mailers/.keep
diff --git a/Stephen Weil/Rails/Models/optimize/vendor/assets/stylesheets/.keep b/dylan_eckert/rails2/auth2/test/models/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/vendor/assets/stylesheets/.keep
rename to dylan_eckert/rails2/auth2/test/models/.keep
diff --git a/Rodolfo_Valdivieso/models/user_login_project/test/test_helper.rb b/dylan_eckert/rails2/auth2/test/test_helper.rb
similarity index 100%
rename from Rodolfo_Valdivieso/models/user_login_project/test/test_helper.rb
rename to dylan_eckert/rails2/auth2/test/test_helper.rb
diff --git a/Stephen Weil/Rails/Models/user_login_project/app/assets/images/.keep b/dylan_eckert/rails2/auth2/tmp/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/app/assets/images/.keep
rename to dylan_eckert/rails2/auth2/tmp/.keep
diff --git a/Stephen Weil/Rails/Models/user_login_project/app/controllers/concerns/.keep b/dylan_eckert/rails2/auth2/vendor/assets/javascripts/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/app/controllers/concerns/.keep
rename to dylan_eckert/rails2/auth2/vendor/assets/javascripts/.keep
diff --git a/Stephen Weil/Rails/Models/user_login_project/app/mailers/.keep b/dylan_eckert/rails2/auth2/vendor/assets/stylesheets/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/app/mailers/.keep
rename to dylan_eckert/rails2/auth2/vendor/assets/stylesheets/.keep
diff --git a/dylan_eckert/rails2/authorization/.gitignore b/dylan_eckert/rails2/authorization/.gitignore
new file mode 100644
index 0000000..48fb168
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/.gitignore
@@ -0,0 +1,17 @@
+# See https://help.github.com/articles/ignoring-files for more about ignoring files.
+#
+# If you find yourself ignoring temporary files generated by your text editor
+# or operating system, you probably want to add a global ignore instead:
+# git config --global core.excludesfile '~/.gitignore_global'
+
+# Ignore bundler config.
+/.bundle
+
+# Ignore all logfiles and tempfiles.
+/log/*
+/tmp/*
+!/log/.keep
+!/tmp/.keep
+
+# Ignore Byebug command history file.
+.byebug_history
diff --git a/dylan_eckert/rails2/authorization/.rspec b/dylan_eckert/rails2/authorization/.rspec
new file mode 100644
index 0000000..c99d2e7
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/.rspec
@@ -0,0 +1 @@
+--require spec_helper
diff --git a/dylan_eckert/rails2/authorization/Gemfile b/dylan_eckert/rails2/authorization/Gemfile
new file mode 100644
index 0000000..8d464a7
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/Gemfile
@@ -0,0 +1,54 @@
+source 'https://rubygems.org'
+
+git_source(:github) do |repo_name|
+ repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
+ "https://github.com/#{repo_name}.git"
+end
+
+
+# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
+gem 'rails', '~> 5.0.6'
+# Use postgresql as the database for Active Record
+gem 'pg', '~> 0.18'
+# Use Puma as the app server
+gem 'puma', '~> 3.0'
+# Use SCSS for stylesheets
+gem 'sass-rails', '~> 5.0'
+# Use Uglifier as compressor for JavaScript assets
+gem 'uglifier', '>= 1.3.0'
+# Use CoffeeScript for .coffee assets and views
+gem 'coffee-rails', '~> 4.2'
+# See https://github.com/rails/execjs#readme for more supported runtimes
+# gem 'therubyracer', platforms: :ruby
+
+# Use jquery as the JavaScript library
+gem 'jquery-rails'
+# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
+gem 'turbolinks', '~> 5'
+# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
+gem 'jbuilder', '~> 2.5'
+# Use Redis adapter to run Action Cable in production
+# gem 'redis', '~> 3.0'
+# Use ActiveModel has_secure_password
+gem 'bcrypt', '~> 3.1.7'
+
+# Use Capistrano for deployment
+# gem 'capistrano-rails', group: :development
+
+group :development, :test do
+ gem 'rspec-rails'
+ gem 'factory_bot_rails'
+ gem 'capybara'
+end
+
+group :development do
+ # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
+ gem 'web-console', '>= 3.3.0'
+ gem 'listen', '~> 3.0.5'
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
+ gem 'spring'
+ gem 'spring-watcher-listen', '~> 2.0.0'
+end
+
+# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
+gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
diff --git a/dylan_eckert/rails2/authorization/Gemfile.lock b/dylan_eckert/rails2/authorization/Gemfile.lock
new file mode 100644
index 0000000..1368646
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/Gemfile.lock
@@ -0,0 +1,217 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actioncable (5.0.6)
+ actionpack (= 5.0.6)
+ nio4r (>= 1.2, < 3.0)
+ websocket-driver (~> 0.6.1)
+ actionmailer (5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ mail (~> 2.5, >= 2.5.4)
+ rails-dom-testing (~> 2.0)
+ actionpack (5.0.6)
+ actionview (= 5.0.6)
+ activesupport (= 5.0.6)
+ rack (~> 2.0)
+ rack-test (~> 0.6.3)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
+ actionview (5.0.6)
+ activesupport (= 5.0.6)
+ builder (~> 3.1)
+ erubis (~> 2.7.0)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
+ activejob (5.0.6)
+ activesupport (= 5.0.6)
+ globalid (>= 0.3.6)
+ activemodel (5.0.6)
+ activesupport (= 5.0.6)
+ activerecord (5.0.6)
+ activemodel (= 5.0.6)
+ activesupport (= 5.0.6)
+ arel (~> 7.0)
+ activesupport (5.0.6)
+ concurrent-ruby (~> 1.0, >= 1.0.2)
+ i18n (~> 0.7)
+ minitest (~> 5.1)
+ tzinfo (~> 1.1)
+ addressable (2.5.2)
+ public_suffix (>= 2.0.2, < 4.0)
+ arel (7.1.4)
+ bcrypt (3.1.11)
+ bindex (0.5.0)
+ builder (3.2.3)
+ capybara (2.16.1)
+ addressable
+ mini_mime (>= 0.1.3)
+ nokogiri (>= 1.3.3)
+ rack (>= 1.0.0)
+ rack-test (>= 0.5.4)
+ xpath (~> 2.0)
+ coffee-rails (4.2.2)
+ coffee-script (>= 2.2.0)
+ railties (>= 4.0.0)
+ coffee-script (2.4.1)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.12.2)
+ concurrent-ruby (1.0.5)
+ crass (1.0.3)
+ diff-lcs (1.3)
+ erubis (2.7.0)
+ execjs (2.7.0)
+ factory_bot (4.8.2)
+ activesupport (>= 3.0.0)
+ factory_bot_rails (4.8.2)
+ factory_bot (~> 4.8.2)
+ railties (>= 3.0.0)
+ ffi (1.9.18)
+ globalid (0.4.1)
+ activesupport (>= 4.2.0)
+ i18n (0.9.1)
+ concurrent-ruby (~> 1.0)
+ jbuilder (2.7.0)
+ activesupport (>= 4.2.0)
+ multi_json (>= 1.2)
+ jquery-rails (4.3.1)
+ rails-dom-testing (>= 1, < 3)
+ railties (>= 4.2.0)
+ thor (>= 0.14, < 2.0)
+ listen (3.0.8)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ loofah (2.1.1)
+ crass (~> 1.0.2)
+ nokogiri (>= 1.5.9)
+ mail (2.7.0)
+ mini_mime (>= 0.1.1)
+ method_source (0.9.0)
+ mini_mime (1.0.0)
+ mini_portile2 (2.3.0)
+ minitest (5.10.3)
+ multi_json (1.12.2)
+ nio4r (2.1.0)
+ nokogiri (1.8.1)
+ mini_portile2 (~> 2.3.0)
+ pg (0.21.0)
+ public_suffix (3.0.1)
+ puma (3.11.0)
+ rack (2.0.3)
+ rack-test (0.6.3)
+ rack (>= 1.0)
+ rails (5.0.6)
+ actioncable (= 5.0.6)
+ actionmailer (= 5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ activemodel (= 5.0.6)
+ activerecord (= 5.0.6)
+ activesupport (= 5.0.6)
+ bundler (>= 1.3.0)
+ railties (= 5.0.6)
+ sprockets-rails (>= 2.0.0)
+ rails-dom-testing (2.0.3)
+ activesupport (>= 4.2.0)
+ nokogiri (>= 1.6)
+ rails-html-sanitizer (1.0.3)
+ loofah (~> 2.0)
+ railties (5.0.6)
+ actionpack (= 5.0.6)
+ activesupport (= 5.0.6)
+ method_source
+ rake (>= 0.8.7)
+ thor (>= 0.18.1, < 2.0)
+ rake (12.3.0)
+ rb-fsevent (0.10.2)
+ rb-inotify (0.9.10)
+ ffi (>= 0.5.0, < 2)
+ rspec-core (3.7.0)
+ rspec-support (~> 3.7.0)
+ rspec-expectations (3.7.0)
+ diff-lcs (>= 1.2.0, < 2.0)
+ rspec-support (~> 3.7.0)
+ rspec-mocks (3.7.0)
+ diff-lcs (>= 1.2.0, < 2.0)
+ rspec-support (~> 3.7.0)
+ rspec-rails (3.7.2)
+ actionpack (>= 3.0)
+ activesupport (>= 3.0)
+ railties (>= 3.0)
+ rspec-core (~> 3.7.0)
+ rspec-expectations (~> 3.7.0)
+ rspec-mocks (~> 3.7.0)
+ rspec-support (~> 3.7.0)
+ rspec-support (3.7.0)
+ sass (3.5.3)
+ sass-listen (~> 4.0.0)
+ sass-listen (4.0.0)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ sass-rails (5.0.7)
+ railties (>= 4.0.0, < 6)
+ sass (~> 3.1)
+ sprockets (>= 2.8, < 4.0)
+ sprockets-rails (>= 2.0, < 4.0)
+ tilt (>= 1.1, < 3)
+ spring (2.0.2)
+ activesupport (>= 4.2)
+ spring-watcher-listen (2.0.1)
+ listen (>= 2.7, < 4.0)
+ spring (>= 1.2, < 3.0)
+ sprockets (3.7.1)
+ concurrent-ruby (~> 1.0)
+ rack (> 1, < 3)
+ sprockets-rails (3.2.1)
+ actionpack (>= 4.0)
+ activesupport (>= 4.0)
+ sprockets (>= 3.0.0)
+ thor (0.20.0)
+ thread_safe (0.3.6)
+ tilt (2.0.8)
+ turbolinks (5.0.1)
+ turbolinks-source (~> 5)
+ turbolinks-source (5.0.3)
+ tzinfo (1.2.4)
+ thread_safe (~> 0.1)
+ uglifier (4.0.2)
+ execjs (>= 0.3.0, < 3)
+ web-console (3.5.1)
+ actionview (>= 5.0)
+ activemodel (>= 5.0)
+ bindex (>= 0.4.0)
+ railties (>= 5.0)
+ websocket-driver (0.6.5)
+ websocket-extensions (>= 0.1.0)
+ websocket-extensions (0.1.3)
+ xpath (2.1.0)
+ nokogiri (~> 1.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ bcrypt (~> 3.1.7)
+ capybara
+ coffee-rails (~> 4.2)
+ factory_bot_rails
+ jbuilder (~> 2.5)
+ jquery-rails
+ listen (~> 3.0.5)
+ pg (~> 0.18)
+ puma (~> 3.0)
+ rails (~> 5.0.6)
+ rspec-rails
+ sass-rails (~> 5.0)
+ spring
+ spring-watcher-listen (~> 2.0.0)
+ turbolinks (~> 5)
+ tzinfo-data
+ uglifier (>= 1.3.0)
+ web-console (>= 3.3.0)
+
+BUNDLED WITH
+ 1.16.0
diff --git a/dylan_eckert/rails2/authorization/README.md b/dylan_eckert/rails2/authorization/README.md
new file mode 100644
index 0000000..7db80e4
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/README.md
@@ -0,0 +1,24 @@
+# README
+
+This README would normally document whatever steps are necessary to get the
+application up and running.
+
+Things you may want to cover:
+
+* Ruby version
+
+* System dependencies
+
+* Configuration
+
+* Database creation
+
+* Database initialization
+
+* How to run the test suite
+
+* Services (job queues, cache servers, search engines, etc.)
+
+* Deployment instructions
+
+* ...
diff --git a/dylan_eckert/rails2/authorization/Rakefile b/dylan_eckert/rails2/authorization/Rakefile
new file mode 100644
index 0000000..e85f913
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/Rakefile
@@ -0,0 +1,6 @@
+# Add your own tasks in files placed in lib/tasks ending in .rake,
+# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
+
+require_relative 'config/application'
+
+Rails.application.load_tasks
diff --git a/dylan_eckert/rails2/authorization/app/assets/config/manifest.js b/dylan_eckert/rails2/authorization/app/assets/config/manifest.js
new file mode 100644
index 0000000..b16e53d
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/assets/config/manifest.js
@@ -0,0 +1,3 @@
+//= link_tree ../images
+//= link_directory ../javascripts .js
+//= link_directory ../stylesheets .css
diff --git a/Stephen Weil/Rails/Models/user_login_project/app/models/.keep b/dylan_eckert/rails2/authorization/app/assets/images/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/app/models/.keep
rename to dylan_eckert/rails2/authorization/app/assets/images/.keep
diff --git a/dylan_eckert/rails2/authorization/app/assets/javascripts/application.js b/dylan_eckert/rails2/authorization/app/assets/javascripts/application.js
new file mode 100644
index 0000000..b12018d
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/assets/javascripts/application.js
@@ -0,0 +1,16 @@
+// This is a manifest file that'll be compiled into application.js, which will include all the files
+// listed below.
+//
+// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
+// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
+//
+// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
+// compiled file. JavaScript code in this file should be added after the last require_* statement.
+//
+// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
+// about supported directives.
+//
+//= require jquery
+//= require jquery_ujs
+//= require turbolinks
+//= require_tree .
diff --git a/dylan_eckert/rails2/authorization/app/assets/javascripts/cable.js b/dylan_eckert/rails2/authorization/app/assets/javascripts/cable.js
new file mode 100644
index 0000000..71ee1e6
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/assets/javascripts/cable.js
@@ -0,0 +1,13 @@
+// Action Cable provides the framework to deal with WebSockets in Rails.
+// You can generate new channels where WebSocket features live using the rails generate channel command.
+//
+//= require action_cable
+//= require_self
+//= require_tree ./channels
+
+(function() {
+ this.App || (this.App = {});
+
+ App.cable = ActionCable.createConsumer();
+
+}).call(this);
diff --git a/Stephen Weil/Rails/Models/user_login_project/app/models/concerns/.keep b/dylan_eckert/rails2/authorization/app/assets/javascripts/channels/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/app/models/concerns/.keep
rename to dylan_eckert/rails2/authorization/app/assets/javascripts/channels/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/app/assets/javascripts/dojos.coffee b/dylan_eckert/rails2/authorization/app/assets/javascripts/likes.coffee
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/app/assets/javascripts/dojos.coffee
rename to dylan_eckert/rails2/authorization/app/assets/javascripts/likes.coffee
diff --git a/Tamisha_Damas/Rails/Controllers & Views /routes_controllers/app/assets/javascripts/displays.coffee b/dylan_eckert/rails2/authorization/app/assets/javascripts/secrets.coffee
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /routes_controllers/app/assets/javascripts/displays.coffee
rename to dylan_eckert/rails2/authorization/app/assets/javascripts/secrets.coffee
diff --git a/Tamisha_Damas/Rails/Controllers & Views /student_dashboard/app/assets/javascripts/dojos.coffee b/dylan_eckert/rails2/authorization/app/assets/javascripts/sessions.coffee
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /student_dashboard/app/assets/javascripts/dojos.coffee
rename to dylan_eckert/rails2/authorization/app/assets/javascripts/sessions.coffee
diff --git a/brittney_jackson/rails/routesControllers/app/assets/javascripts/hellos.coffee b/dylan_eckert/rails2/authorization/app/assets/javascripts/users.coffee
similarity index 100%
rename from brittney_jackson/rails/routesControllers/app/assets/javascripts/hellos.coffee
rename to dylan_eckert/rails2/authorization/app/assets/javascripts/users.coffee
diff --git a/dylan_eckert/rails2/authorization/app/assets/stylesheets/application.css b/dylan_eckert/rails2/authorization/app/assets/stylesheets/application.css
new file mode 100644
index 0000000..0ebd7fe
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/assets/stylesheets/application.css
@@ -0,0 +1,15 @@
+/*
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
+ * listed below.
+ *
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
+ * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
+ *
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
+ * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
+ * files in this directory. Styles in this file should be added after the last require_* statement.
+ * It is generally better to create a new file per style scope.
+ *
+ *= require_tree .
+ *= require_self
+ */
diff --git a/dylan_eckert/rails2/authorization/app/assets/stylesheets/likes.scss b/dylan_eckert/rails2/authorization/app/assets/stylesheets/likes.scss
new file mode 100644
index 0000000..dacd946
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/assets/stylesheets/likes.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the Likes controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/dylan_eckert/rails2/authorization/app/assets/stylesheets/secrets.scss b/dylan_eckert/rails2/authorization/app/assets/stylesheets/secrets.scss
new file mode 100644
index 0000000..f1aed55
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/assets/stylesheets/secrets.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the Secrets controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/dylan_eckert/rails2/authorization/app/assets/stylesheets/sessions.scss b/dylan_eckert/rails2/authorization/app/assets/stylesheets/sessions.scss
new file mode 100644
index 0000000..ccb1ed2
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/assets/stylesheets/sessions.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the Sessions controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/justin_quiros/models/app/assets/stylesheets/users.scss b/dylan_eckert/rails2/authorization/app/assets/stylesheets/users.scss
similarity index 100%
rename from justin_quiros/models/app/assets/stylesheets/users.scss
rename to dylan_eckert/rails2/authorization/app/assets/stylesheets/users.scss
diff --git a/dylan_eckert/rails2/authorization/app/channels/application_cable/channel.rb b/dylan_eckert/rails2/authorization/app/channels/application_cable/channel.rb
new file mode 100644
index 0000000..d672697
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/channels/application_cable/channel.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Channel < ActionCable::Channel::Base
+ end
+end
diff --git a/dylan_eckert/rails2/authorization/app/channels/application_cable/connection.rb b/dylan_eckert/rails2/authorization/app/channels/application_cable/connection.rb
new file mode 100644
index 0000000..0ff5442
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/channels/application_cable/connection.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Connection < ActionCable::Connection::Base
+ end
+end
diff --git a/dylan_eckert/rails2/authorization/app/controllers/application_controller.rb b/dylan_eckert/rails2/authorization/app/controllers/application_controller.rb
new file mode 100644
index 0000000..122a954
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/controllers/application_controller.rb
@@ -0,0 +1,15 @@
+class ApplicationController < ActionController::Base
+ protect_from_forgery with: :exception
+
+ before_action :require_login
+
+ def require_login
+ return redirect_to new_session_path unless session[:user_id]
+ end
+ def current_user
+ # ONLY USE THIS IF YOU ARE NEEDING THE FULL USER INFO (name, email, etc) if you are going for an id, just use session[:user_id]
+ return User.find(session[:user_id]) if session[:user_id]
+ end
+ helper_method :current_user
+ helper_method :require_login
+end
diff --git a/Stephen Weil/Rails/Models/user_login_project/lib/assets/.keep b/dylan_eckert/rails2/authorization/app/controllers/concerns/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/lib/assets/.keep
rename to dylan_eckert/rails2/authorization/app/controllers/concerns/.keep
diff --git a/dylan_eckert/rails2/authorization/app/controllers/likes_controller.rb b/dylan_eckert/rails2/authorization/app/controllers/likes_controller.rb
new file mode 100644
index 0000000..f64accc
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/controllers/likes_controller.rb
@@ -0,0 +1,17 @@
+class LikesController < ApplicationController
+ def create
+ Like.create(like_params)
+ redirect_to secrets_path
+ end
+
+ def destroy
+ @like = Like.find(params[:id])
+ @like.destroy if session[:user_id] === @like.user_id
+ # this is a check to make sure that if somehow a user who didnt create the like tries to delete the like(unlike), the destroy method will not run
+ redirect_to secrets_path
+ end
+ private
+ def like_params
+ params.require(:like).permit(:secret_id).merge(user: current_user)
+ end
+end
diff --git a/dylan_eckert/rails2/authorization/app/controllers/secrets_controller.rb b/dylan_eckert/rails2/authorization/app/controllers/secrets_controller.rb
new file mode 100644
index 0000000..b841f71
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/controllers/secrets_controller.rb
@@ -0,0 +1,23 @@
+class SecretsController < ApplicationController
+ def index
+ @secrets = Secret.all
+ # this is to get all secrets, I then have
+ end
+ def create
+ secret = Secret.new secret_params
+ unless secret.save
+ flash[:errors] = secret.errors.full_messages
+ end
+ redirect_to user_path current_user.id
+ end
+ def destroy
+ @secret = Secret.find(params[:id])
+ @secret.destroy if @secret.user === current_user
+ redirect_to user_path current_user.id
+ end
+ private
+ def secret_params
+ params.require(:secret).permit(:content).merge(user: current_user)
+ # make strong params for secret, including content and merging the user that created it by using my application controller's method current_user to find the current user logged in to the session
+ end
+end
diff --git a/dylan_eckert/rails2/authorization/app/controllers/sessions_controller.rb b/dylan_eckert/rails2/authorization/app/controllers/sessions_controller.rb
new file mode 100644
index 0000000..6a0abf2
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/controllers/sessions_controller.rb
@@ -0,0 +1,26 @@
+class SessionsController < ApplicationController
+ skip_before_action :require_login, except: [:destroy]
+ def new
+ end
+
+ def create
+ user = User.find_by(email: params[:email])
+ # find by email
+ if user
+ if user.try(:authenticate, params[:password])
+ # if the user matches a user in the database, set the session id to the user being authenticated
+ session[:user_id] = user.id
+ return redirect_to user_path user.id
+ end
+ flash[:errors] = ["Invalid password"]
+ else
+ flash[:errors] = ["Invalid email"]
+ end
+ return redirect_back fallback_location: new_session_path
+ end
+
+ def destroy
+ reset_session
+ redirect_to "/sessions/new"
+ end
+end
diff --git a/dylan_eckert/rails2/authorization/app/controllers/users_controller.rb b/dylan_eckert/rails2/authorization/app/controllers/users_controller.rb
new file mode 100644
index 0000000..e59122e
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/controllers/users_controller.rb
@@ -0,0 +1,51 @@
+class UsersController < ApplicationController
+ skip_before_action :require_login, only: [:new, :create]
+ before_action :user_auth, except: [:new, :create]
+ def new
+ end
+
+ def create
+ user = User.create(user_params)
+ if user.valid?
+ session[:user_id] = user.id
+ return redirect_to user_path user.id
+ else
+ flash[:errors] = user.errors.full_messages
+ return redirect_back fallback_location: new_user_path
+ end
+ end
+
+ def show
+ @user = User.find(params[:id])
+ end
+
+ def edit
+ @user = User.find(params[:id])
+ end
+
+ def update
+ user = User.find(params[:id])
+ user.update(user_params)
+ redirect_to user_path user.id
+ end
+
+ def destroy
+ user = User.find(params[:id])
+ user.destroy
+ reset_session
+ redirect_to new_session_path
+ end
+
+ private
+
+ def user_params
+ params.require(:user).permit(:name, :email, :password, :password_confirmation)
+ end
+
+ def user_auth
+ if params[:id].to_i != session[:user_id]
+ # anything put into params or forms are treated as strings, so basically, session[:user_id] is a true integer because it comes from the user object. params[:id] is a string and must be converted to an integer in order for the comparison to occur
+ redirect_to user_path session[:user_id]
+ end
+ end
+end
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/app/helpers/application_helper.rb b/dylan_eckert/rails2/authorization/app/helpers/application_helper.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/app/helpers/application_helper.rb
rename to dylan_eckert/rails2/authorization/app/helpers/application_helper.rb
diff --git a/dylan_eckert/rails2/authorization/app/helpers/likes_helper.rb b/dylan_eckert/rails2/authorization/app/helpers/likes_helper.rb
new file mode 100644
index 0000000..a78a759
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/helpers/likes_helper.rb
@@ -0,0 +1,2 @@
+module LikesHelper
+end
diff --git a/dylan_eckert/rails2/authorization/app/helpers/secrets_helper.rb b/dylan_eckert/rails2/authorization/app/helpers/secrets_helper.rb
new file mode 100644
index 0000000..17ab1ea
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/helpers/secrets_helper.rb
@@ -0,0 +1,2 @@
+module SecretsHelper
+end
diff --git a/dylan_eckert/rails2/authorization/app/helpers/sessions_helper.rb b/dylan_eckert/rails2/authorization/app/helpers/sessions_helper.rb
new file mode 100644
index 0000000..309f8b2
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/helpers/sessions_helper.rb
@@ -0,0 +1,2 @@
+module SessionsHelper
+end
diff --git a/richardN/controllers/imc2/app/helpers/users_helper.rb b/dylan_eckert/rails2/authorization/app/helpers/users_helper.rb
similarity index 100%
rename from richardN/controllers/imc2/app/helpers/users_helper.rb
rename to dylan_eckert/rails2/authorization/app/helpers/users_helper.rb
diff --git a/dylan_eckert/rails2/authorization/app/jobs/application_job.rb b/dylan_eckert/rails2/authorization/app/jobs/application_job.rb
new file mode 100644
index 0000000..a009ace
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/jobs/application_job.rb
@@ -0,0 +1,2 @@
+class ApplicationJob < ActiveJob::Base
+end
diff --git a/dylan_eckert/rails2/authorization/app/mailers/application_mailer.rb b/dylan_eckert/rails2/authorization/app/mailers/application_mailer.rb
new file mode 100644
index 0000000..286b223
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/mailers/application_mailer.rb
@@ -0,0 +1,4 @@
+class ApplicationMailer < ActionMailer::Base
+ default from: 'from@example.com'
+ layout 'mailer'
+end
diff --git a/dylan_eckert/rails2/authorization/app/models/application_record.rb b/dylan_eckert/rails2/authorization/app/models/application_record.rb
new file mode 100644
index 0000000..10a4cba
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/models/application_record.rb
@@ -0,0 +1,3 @@
+class ApplicationRecord < ActiveRecord::Base
+ self.abstract_class = true
+end
diff --git a/Stephen Weil/Rails/Models/user_login_project/lib/tasks/.keep b/dylan_eckert/rails2/authorization/app/models/concerns/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/lib/tasks/.keep
rename to dylan_eckert/rails2/authorization/app/models/concerns/.keep
diff --git a/dylan_eckert/rails2/authorization/app/models/like.rb b/dylan_eckert/rails2/authorization/app/models/like.rb
new file mode 100644
index 0000000..85908ea
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/models/like.rb
@@ -0,0 +1,4 @@
+class Like < ApplicationRecord
+ belongs_to :secret
+ belongs_to :user
+end
diff --git a/dylan_eckert/rails2/authorization/app/models/secret.rb b/dylan_eckert/rails2/authorization/app/models/secret.rb
new file mode 100644
index 0000000..1a3958f
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/models/secret.rb
@@ -0,0 +1,7 @@
+class Secret < ApplicationRecord
+ belongs_to :user
+ has_many :likes, dependent: :destroy
+ has_many :users, through: :likes
+
+ validates :content, presence: true
+end
diff --git a/dylan_eckert/rails2/authorization/app/models/user.rb b/dylan_eckert/rails2/authorization/app/models/user.rb
new file mode 100644
index 0000000..60bda5f
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/models/user.rb
@@ -0,0 +1,20 @@
+class User < ApplicationRecord
+ has_secure_password
+ has_many :secrets
+ has_many :likes, dependent: :destroy
+ has_many :secrets_liked, through: :likes, source: :secret
+ # the line above is there to allow for us so the query User.first.secrets will show all of the secrets the user created, not the secrets the user has liked
+
+ EMAIL_REGEX = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]+)\z/i
+ validates :name, presence: true
+ validates :email, presence: true, uniqueness: { case_sensitive: false }, format: { with: EMAIL_REGEX }
+
+ before_save :input_lowercase
+ # line above says that before saving the user to the database to run the email_lowercase method
+
+ def input_lowercase
+ self.email.downcase!
+ self.name.downcase!
+ # the built in method for lowercasing something is .downcase!
+ end
+end
diff --git a/dylan_eckert/rails2/authorization/app/views/layouts/application.html.erb b/dylan_eckert/rails2/authorization/app/views/layouts/application.html.erb
new file mode 100644
index 0000000..4c62c3f
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/views/layouts/application.html.erb
@@ -0,0 +1,25 @@
+
+
+
+ DojoSecrets
+ <%= csrf_meta_tags %>
+
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
+ <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
+
+
+ <% if flash[:errors] %>
+ <% flash[:errors].each do |error| %>
+
<%= error %>
+ <% end %>
+ <% end %>
+ <% if current_user %>
+
+ <% end %>
+ <%= yield %>
+
+
diff --git a/dylan_eckert/rails2/authorization/app/views/layouts/mailer.html.erb b/dylan_eckert/rails2/authorization/app/views/layouts/mailer.html.erb
new file mode 100644
index 0000000..cbd34d2
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/views/layouts/mailer.html.erb
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+ <%= yield %>
+
+
diff --git a/dylan_eckert/rails2/authorization/app/views/layouts/mailer.text.erb b/dylan_eckert/rails2/authorization/app/views/layouts/mailer.text.erb
new file mode 100644
index 0000000..37f0bdd
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/views/layouts/mailer.text.erb
@@ -0,0 +1 @@
+<%= yield %>
diff --git a/dylan_eckert/rails2/authorization/app/views/likes/create.html.erb b/dylan_eckert/rails2/authorization/app/views/likes/create.html.erb
new file mode 100644
index 0000000..7159391
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/views/likes/create.html.erb
@@ -0,0 +1,2 @@
+
Likes#create
+
Find me in app/views/likes/create.html.erb
diff --git a/dylan_eckert/rails2/authorization/app/views/likes/destroy.html.erb b/dylan_eckert/rails2/authorization/app/views/likes/destroy.html.erb
new file mode 100644
index 0000000..b7ab94f
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/views/likes/destroy.html.erb
@@ -0,0 +1,2 @@
+
Likes#destroy
+
Find me in app/views/likes/destroy.html.erb
diff --git a/dylan_eckert/rails2/authorization/app/views/secrets/index.html.erb b/dylan_eckert/rails2/authorization/app/views/secrets/index.html.erb
new file mode 100644
index 0000000..eb436f1
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/views/secrets/index.html.erb
@@ -0,0 +1,26 @@
+
All Secrets
+<% @secrets.all.each do |secret| %>
+
<%= secret.content %>
+
<%= secret.likes.count %> likes
+ <% if secret.user == current_user %>
+
+ <% end %>
+ <% unless secret.users.include?(current_user) %>
+
+ <% else %>
+
+ <% end %>
+<% end %>
diff --git a/dylan_eckert/rails2/authorization/app/views/sessions/new.html.erb b/dylan_eckert/rails2/authorization/app/views/sessions/new.html.erb
new file mode 100644
index 0000000..9da5dea
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/views/sessions/new.html.erb
@@ -0,0 +1,9 @@
+
Login
+
diff --git a/dylan_eckert/rails2/authorization/app/views/users/edit.html.erb b/dylan_eckert/rails2/authorization/app/views/users/edit.html.erb
new file mode 100644
index 0000000..c23f602
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/views/users/edit.html.erb
@@ -0,0 +1,12 @@
+
+
diff --git a/dylan_eckert/rails2/authorization/app/views/users/show.html.erb b/dylan_eckert/rails2/authorization/app/views/users/show.html.erb
new file mode 100644
index 0000000..6aea1b2
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/app/views/users/show.html.erb
@@ -0,0 +1,21 @@
+
<%= @user.name %>
+
<%= @user.email %>
+
+
+
+<% @user.secrets.each do |secret| %>
+
<%= secret.content %>
+
<%= secret.likes.count %> likes
+ <% if secret.user == current_user %>
+
+ <% end %>
+<% end %>
+Update Account
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/bin/bundle b/dylan_eckert/rails2/authorization/bin/bundle
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/bin/bundle
rename to dylan_eckert/rails2/authorization/bin/bundle
diff --git a/dylan_eckert/rails2/authorization/bin/rails b/dylan_eckert/rails2/authorization/bin/rails
new file mode 100755
index 0000000..5badb2f
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/bin/rails
@@ -0,0 +1,9 @@
+#!/usr/bin/env ruby
+begin
+ load File.expand_path('../spring', __FILE__)
+rescue LoadError => e
+ raise unless e.message.include?('spring')
+end
+APP_PATH = File.expand_path('../config/application', __dir__)
+require_relative '../config/boot'
+require 'rails/commands'
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/bin/rake b/dylan_eckert/rails2/authorization/bin/rake
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/bin/rake
rename to dylan_eckert/rails2/authorization/bin/rake
diff --git a/dylan_eckert/rails2/authorization/bin/setup b/dylan_eckert/rails2/authorization/bin/setup
new file mode 100755
index 0000000..e620b4d
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/bin/setup
@@ -0,0 +1,34 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a starting point to setup your application.
+ # Add necessary setup steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ # puts "\n== Copying sample files =="
+ # unless File.exist?('config/database.yml')
+ # cp 'config/database.yml.sample', 'config/database.yml'
+ # end
+
+ puts "\n== Preparing database =="
+ system! 'bin/rails db:setup'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/bin/spring b/dylan_eckert/rails2/authorization/bin/spring
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/bin/spring
rename to dylan_eckert/rails2/authorization/bin/spring
diff --git a/dylan_eckert/rails2/authorization/bin/update b/dylan_eckert/rails2/authorization/bin/update
new file mode 100755
index 0000000..a8e4462
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/bin/update
@@ -0,0 +1,29 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a way to update your development environment automatically.
+ # Add necessary update steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ puts "\n== Updating database =="
+ system! 'bin/rails db:migrate'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/dylan_eckert/rails2/authorization/config.ru b/dylan_eckert/rails2/authorization/config.ru
new file mode 100644
index 0000000..f7ba0b5
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/config.ru
@@ -0,0 +1,5 @@
+# This file is used by Rack-based servers to start the application.
+
+require_relative 'config/environment'
+
+run Rails.application
diff --git a/dylan_eckert/rails2/authorization/config/application.rb b/dylan_eckert/rails2/authorization/config/application.rb
new file mode 100644
index 0000000..65de0bc
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/config/application.rb
@@ -0,0 +1,15 @@
+require_relative 'boot'
+
+require 'rails/all'
+
+# Require the gems listed in Gemfile, including any gems
+# you've limited to :test, :development, or :production.
+Bundler.require(*Rails.groups)
+
+module DojoSecrets
+ class Application < Rails::Application
+ # Settings in config/environments/* take precedence over those specified here.
+ # Application configuration should go into files in config/initializers
+ # -- all .rb files in that directory are automatically loaded.
+ end
+end
diff --git a/dylan_eckert/rails2/authorization/config/boot.rb b/dylan_eckert/rails2/authorization/config/boot.rb
new file mode 100644
index 0000000..30f5120
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/config/boot.rb
@@ -0,0 +1,3 @@
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
+
+require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/dylan_eckert/rails2/authorization/config/cable.yml b/dylan_eckert/rails2/authorization/config/cable.yml
new file mode 100644
index 0000000..0bbde6f
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/config/cable.yml
@@ -0,0 +1,9 @@
+development:
+ adapter: async
+
+test:
+ adapter: async
+
+production:
+ adapter: redis
+ url: redis://localhost:6379/1
diff --git a/dylan_eckert/rails2/authorization/config/database.yml b/dylan_eckert/rails2/authorization/config/database.yml
new file mode 100644
index 0000000..efc5910
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/config/database.yml
@@ -0,0 +1,85 @@
+# PostgreSQL. Versions 9.1 and up are supported.
+#
+# Install the pg driver:
+# gem install pg
+# On OS X with Homebrew:
+# gem install pg -- --with-pg-config=/usr/local/bin/pg_config
+# On OS X with MacPorts:
+# gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
+# On Windows:
+# gem install pg
+# Choose the win32 build.
+# Install PostgreSQL and put its /bin directory on your path.
+#
+# Configure Using Gemfile
+# gem 'pg'
+#
+default: &default
+ adapter: postgresql
+ encoding: unicode
+ # For details on connection pooling, see rails configuration guide
+ # http://guides.rubyonrails.org/configuring.html#database-pooling
+ pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
+
+development:
+ <<: *default
+ database: DojoSecrets_development
+
+ # The specified database role being used to connect to postgres.
+ # To create additional roles in postgres see `$ createuser --help`.
+ # When left blank, postgres will use the default role. This is
+ # the same name as the operating system user that initialized the database.
+ #username: DojoSecrets
+
+ # The password associated with the postgres role (username).
+ #password:
+
+ # Connect on a TCP socket. Omitted by default since the client uses a
+ # domain socket that doesn't need configuration. Windows does not have
+ # domain sockets, so uncomment these lines.
+ #host: localhost
+
+ # The TCP port the server listens on. Defaults to 5432.
+ # If your server runs on a different port number, change accordingly.
+ #port: 5432
+
+ # Schema search path. The server defaults to $user,public
+ #schema_search_path: myapp,sharedapp,public
+
+ # Minimum log levels, in increasing order:
+ # debug5, debug4, debug3, debug2, debug1,
+ # log, notice, warning, error, fatal, and panic
+ # Defaults to warning.
+ #min_messages: notice
+
+# Warning: The database defined as "test" will be erased and
+# re-generated from your development database when you run "rake".
+# Do not set this db to the same as development or production.
+test:
+ <<: *default
+ database: DojoSecrets_test
+
+# As with config/secrets.yml, you never want to store sensitive information,
+# like your database password, in your source code. If your source code is
+# ever seen by anyone, they now have access to your database.
+#
+# Instead, provide the password as a unix environment variable when you boot
+# the app. Read http://guides.rubyonrails.org/configuring.html#configuring-a-database
+# for a full rundown on how to provide these environment variables in a
+# production deployment.
+#
+# On Heroku and other platform providers, you may have a full connection URL
+# available as an environment variable. For example:
+#
+# DATABASE_URL="postgres://myuser:mypass@localhost/somedatabase"
+#
+# You can use this database configuration with:
+#
+# production:
+# url: <%= ENV['DATABASE_URL'] %>
+#
+production:
+ <<: *default
+ database: DojoSecrets_production
+ username: DojoSecrets
+ password: <%= ENV['DOJOSECRETS_DATABASE_PASSWORD'] %>
diff --git a/dylan_eckert/rails2/authorization/config/environment.rb b/dylan_eckert/rails2/authorization/config/environment.rb
new file mode 100644
index 0000000..426333b
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/config/environment.rb
@@ -0,0 +1,5 @@
+# Load the Rails application.
+require_relative 'application'
+
+# Initialize the Rails application.
+Rails.application.initialize!
diff --git a/dylan_eckert/rails2/authorization/config/environments/development.rb b/dylan_eckert/rails2/authorization/config/environments/development.rb
new file mode 100644
index 0000000..77fe74d
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/config/environments/development.rb
@@ -0,0 +1,55 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # In the development environment your application's code is reloaded on
+ # every request. This slows down response time but is perfect for development
+ # since you don't have to rest art the web server when you make code changes.
+ config.cache_classes = false
+
+ config.reload_classes_only_on_change = false
+ # Do not eager load code on boot.
+ config.eager_load = false
+
+ # Show full error reports.
+ config.consider_all_requests_local = true
+
+ # Enable/disable caching. By default caching is disabled.
+ if Rails.root.join('tmp/caching-dev.txt').exist?
+ config.action_controller.perform_caching = true
+
+ config.cache_store = :memory_store
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=172800'
+ }
+ else
+ config.action_controller.perform_caching = false
+
+ config.cache_store = :null_store
+ end
+
+ # Don't care if the mailer can't send.
+ config.action_mailer.raise_delivery_errors = false
+
+ config.action_mailer.perform_caching = false
+
+ # Print deprecation notices to the Rails logger.
+ config.active_support.deprecation = :log
+
+ # Raise an error on page load if there are pending migrations.
+ config.active_record.migration_error = :page_load
+
+ # Debug mode disables concatenation and preprocessing of assets.
+ # This option may cause significant delays in view rendering with a large
+ # number of complex assets.
+ config.assets.debug = true
+
+ # Suppress logger output for asset requests.
+ config.assets.quiet = true
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+
+ # Use an evented file watcher to asynchronously detect changes in source code,
+ # routes, locales, etc. This feature depends on the listen gem.
+ config.file_watcher = ActiveSupport::EventedFileUpdateChecker
+end
diff --git a/dylan_eckert/rails2/authorization/config/environments/production.rb b/dylan_eckert/rails2/authorization/config/environments/production.rb
new file mode 100644
index 0000000..f8e01b7
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/config/environments/production.rb
@@ -0,0 +1,86 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # Code is not reloaded between requests.
+ config.cache_classes = true
+
+ # Eager load code on boot. This eager loads most of Rails and
+ # your application in memory, allowing both threaded web servers
+ # and those relying on copy on write to perform better.
+ # Rake tasks automatically ignore this option for performance.
+ config.eager_load = true
+
+ # Full error reports are disabled and caching is turned on.
+ config.consider_all_requests_local = false
+ config.action_controller.perform_caching = true
+
+ # Disable serving static files from the `/public` folder by default since
+ # Apache or NGINX already handles this.
+ config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
+
+ # Compress JavaScripts and CSS.
+ config.assets.js_compressor = :uglifier
+ # config.assets.css_compressor = :sass
+
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
+ config.assets.compile = false
+
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
+
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
+ # config.action_controller.asset_host = 'http://assets.example.com'
+
+ # Specifies the header that your server uses for sending files.
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
+
+ # Mount Action Cable outside main process or domain
+ # config.action_cable.mount_path = nil
+ # config.action_cable.url = 'wss://example.com/cable'
+ # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
+
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
+ # config.force_ssl = true
+
+ # Use the lowest log level to ensure availability of diagnostic information
+ # when problems arise.
+ config.log_level = :debug
+
+ # Prepend all log lines with the following tags.
+ config.log_tags = [ :request_id ]
+
+ # Use a different cache store in production.
+ # config.cache_store = :mem_cache_store
+
+ # Use a real queuing backend for Active Job (and separate queues per environment)
+ # config.active_job.queue_adapter = :resque
+ # config.active_job.queue_name_prefix = "DojoSecrets_#{Rails.env}"
+ config.action_mailer.perform_caching = false
+
+ # Ignore bad email addresses and do not raise email delivery errors.
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
+ # config.action_mailer.raise_delivery_errors = false
+
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
+ # the I18n.default_locale when a translation cannot be found).
+ config.i18n.fallbacks = true
+
+ # Send deprecation notices to registered listeners.
+ config.active_support.deprecation = :notify
+
+ # Use default logging formatter so that PID and timestamp are not suppressed.
+ config.log_formatter = ::Logger::Formatter.new
+
+ # Use a different logger for distributed setups.
+ # require 'syslog/logger'
+ # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
+
+ if ENV["RAILS_LOG_TO_STDOUT"].present?
+ logger = ActiveSupport::Logger.new(STDOUT)
+ logger.formatter = config.log_formatter
+ config.logger = ActiveSupport::TaggedLogging.new(logger)
+ end
+
+ # Do not dump schema after migrations.
+ config.active_record.dump_schema_after_migration = false
+end
diff --git a/dylan_eckert/rails2/authorization/config/environments/test.rb b/dylan_eckert/rails2/authorization/config/environments/test.rb
new file mode 100644
index 0000000..30587ef
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/config/environments/test.rb
@@ -0,0 +1,42 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # The test environment is used exclusively to run your application's
+ # test suite. You never need to work with it otherwise. Remember that
+ # your test database is "scratch space" for the test suite and is wiped
+ # and recreated between test runs. Don't rely on the data there!
+ config.cache_classes = true
+
+ # Do not eager load code on boot. This avoids loading your whole application
+ # just for the purpose of running a single test. If you are using a tool that
+ # preloads Rails for running tests, you may have to set it to true.
+ config.eager_load = false
+
+ # Configure public file server for tests with Cache-Control for performance.
+ config.public_file_server.enabled = true
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=3600'
+ }
+
+ # Show full error reports and disable caching.
+ config.consider_all_requests_local = true
+ config.action_controller.perform_caching = false
+
+ # Raise exceptions instead of rendering exception templates.
+ config.action_dispatch.show_exceptions = false
+
+ # Disable request forgery protection in test environment.
+ config.action_controller.allow_forgery_protection = false
+ config.action_mailer.perform_caching = false
+
+ # Tell Action Mailer not to deliver emails to the real world.
+ # The :test delivery method accumulates sent emails in the
+ # ActionMailer::Base.deliveries array.
+ config.action_mailer.delivery_method = :test
+
+ # Print deprecation notices to the stderr.
+ config.active_support.deprecation = :stderr
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+end
diff --git a/dylan_eckert/rails2/authorization/config/initializers/application_controller_renderer.rb b/dylan_eckert/rails2/authorization/config/initializers/application_controller_renderer.rb
new file mode 100644
index 0000000..89d2efa
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/config/initializers/application_controller_renderer.rb
@@ -0,0 +1,8 @@
+# Be sure to restart your server when you modify this file.
+
+# ActiveSupport::Reloader.to_prepare do
+# ApplicationController.renderer.defaults.merge!(
+# http_host: 'example.org',
+# https: false
+# )
+# end
diff --git a/Stephen Weil/Rails/Models/optimize/config/initializers/assets.rb b/dylan_eckert/rails2/authorization/config/initializers/assets.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/config/initializers/assets.rb
rename to dylan_eckert/rails2/authorization/config/initializers/assets.rb
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/config/initializers/backtrace_silencers.rb b/dylan_eckert/rails2/authorization/config/initializers/backtrace_silencers.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/config/initializers/backtrace_silencers.rb
rename to dylan_eckert/rails2/authorization/config/initializers/backtrace_silencers.rb
diff --git a/dylan_eckert/rails2/authorization/config/initializers/cookies_serializer.rb b/dylan_eckert/rails2/authorization/config/initializers/cookies_serializer.rb
new file mode 100644
index 0000000..5a6a32d
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/config/initializers/cookies_serializer.rb
@@ -0,0 +1,5 @@
+# Be sure to restart your server when you modify this file.
+
+# Specify a serializer for the signed and encrypted cookie jars.
+# Valid options are :json, :marshal, and :hybrid.
+Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/config/initializers/filter_parameter_logging.rb b/dylan_eckert/rails2/authorization/config/initializers/filter_parameter_logging.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/config/initializers/filter_parameter_logging.rb
rename to dylan_eckert/rails2/authorization/config/initializers/filter_parameter_logging.rb
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/config/initializers/inflections.rb b/dylan_eckert/rails2/authorization/config/initializers/inflections.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/config/initializers/inflections.rb
rename to dylan_eckert/rails2/authorization/config/initializers/inflections.rb
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/config/initializers/mime_types.rb b/dylan_eckert/rails2/authorization/config/initializers/mime_types.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/config/initializers/mime_types.rb
rename to dylan_eckert/rails2/authorization/config/initializers/mime_types.rb
diff --git a/dylan_eckert/rails2/authorization/config/initializers/new_framework_defaults.rb b/dylan_eckert/rails2/authorization/config/initializers/new_framework_defaults.rb
new file mode 100644
index 0000000..dd236b5
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/config/initializers/new_framework_defaults.rb
@@ -0,0 +1,26 @@
+# Be sure to restart your server when you modify this file.
+#
+# This file contains migration options to ease your Rails 5.0 upgrade.
+#
+# Read the Guide for Upgrading Ruby on Rails for more info on each option.
+
+Rails.application.config.action_controller.raise_on_unfiltered_parameters = true
+
+# Enable per-form CSRF tokens. Previous versions had false.
+Rails.application.config.action_controller.per_form_csrf_tokens = true
+
+# Enable origin-checking CSRF mitigation. Previous versions had false.
+Rails.application.config.action_controller.forgery_protection_origin_check = true
+
+# Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`.
+# Previous versions had false.
+ActiveSupport.to_time_preserves_timezone = true
+
+# Require `belongs_to` associations by default. Previous versions had false.
+Rails.application.config.active_record.belongs_to_required_by_default = true
+
+# Do not halt callback chains when a callback returns false. Previous versions had true.
+ActiveSupport.halt_callback_chains_on_return_false = false
+
+# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
+Rails.application.config.ssl_options = { hsts: { subdomains: true } }
diff --git a/dylan_eckert/rails2/authorization/config/initializers/session_store.rb b/dylan_eckert/rails2/authorization/config/initializers/session_store.rb
new file mode 100644
index 0000000..745fa7c
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/config/initializers/session_store.rb
@@ -0,0 +1,3 @@
+# Be sure to restart your server when you modify this file.
+
+Rails.application.config.session_store :cookie_store, key: '_DojoSecrets_session'
diff --git a/dylan_eckert/rails2/authorization/config/initializers/wrap_parameters.rb b/dylan_eckert/rails2/authorization/config/initializers/wrap_parameters.rb
new file mode 100644
index 0000000..bbfc396
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/config/initializers/wrap_parameters.rb
@@ -0,0 +1,14 @@
+# Be sure to restart your server when you modify this file.
+
+# This file contains settings for ActionController::ParamsWrapper which
+# is enabled by default.
+
+# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
+ActiveSupport.on_load(:action_controller) do
+ wrap_parameters format: [:json]
+end
+
+# To enable root element in JSON for ActiveRecord objects.
+# ActiveSupport.on_load(:active_record) do
+# self.include_root_in_json = true
+# end
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/config/locales/en.yml b/dylan_eckert/rails2/authorization/config/locales/en.yml
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/config/locales/en.yml
rename to dylan_eckert/rails2/authorization/config/locales/en.yml
diff --git a/dylan_eckert/rails2/authorization/config/puma.rb b/dylan_eckert/rails2/authorization/config/puma.rb
new file mode 100644
index 0000000..c7f311f
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/config/puma.rb
@@ -0,0 +1,47 @@
+# Puma can serve each request in a thread from an internal thread pool.
+# The `threads` method setting takes two numbers a minimum and maximum.
+# Any libraries that use thread pools should be configured to match
+# the maximum value specified for Puma. Default is set to 5 threads for minimum
+# and maximum, this matches the default thread size of Active Record.
+#
+threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i
+threads threads_count, threads_count
+
+# Specifies the `port` that Puma will listen on to receive requests, default is 3000.
+#
+port ENV.fetch("PORT") { 3000 }
+
+# Specifies the `environment` that Puma will run in.
+#
+environment ENV.fetch("RAILS_ENV") { "development" }
+
+# Specifies the number of `workers` to boot in clustered mode.
+# Workers are forked webserver processes. If using threads and workers together
+# the concurrency of the application would be max `threads` * `workers`.
+# Workers do not work on JRuby or Windows (both of which do not support
+# processes).
+#
+# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
+
+# Use the `preload_app!` method when specifying a `workers` number.
+# This directive tells Puma to first boot the application and load code
+# before forking the application. This takes advantage of Copy On Write
+# process behavior so workers use less memory. If you use this option
+# you need to make sure to reconnect any threads in the `on_worker_boot`
+# block.
+#
+# preload_app!
+
+# The code in the `on_worker_boot` will be called if you are using
+# clustered mode by specifying a number of `workers`. After each worker
+# process is booted this block will be run, if you are using `preload_app!`
+# option you will want to use this block to reconnect to any threads
+# or connections that may have been created at application boot, Ruby
+# cannot share connections between processes.
+#
+# on_worker_boot do
+# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
+# end
+
+# Allow puma to be restarted by `rails restart` command.
+plugin :tmp_restart
diff --git a/dylan_eckert/rails2/authorization/config/routes.rb b/dylan_eckert/rails2/authorization/config/routes.rb
new file mode 100644
index 0000000..27bab57
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/config/routes.rb
@@ -0,0 +1,8 @@
+Rails.application.routes.draw do
+ resources :sessions, only: [:new, :create, :destroy]
+ resources :users, except: [:index]
+ resources :secrets, only: [:index, :create, :destroy]
+ resources :likes, only: [:create, :destroy]
+ # The priority is based upon order of creation from top to bottom
+ # rake routes lets you see all available routes and their names
+end
diff --git a/dylan_eckert/rails2/authorization/config/secrets.yml b/dylan_eckert/rails2/authorization/config/secrets.yml
new file mode 100644
index 0000000..41e0de4
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/config/secrets.yml
@@ -0,0 +1,22 @@
+# Be sure to restart your server when you modify this file.
+
+# Your secret key is used for verifying the integrity of signed cookies.
+# If you change this key, all old signed cookies will become invalid!
+
+# Make sure the secret is at least 30 characters and all random,
+# no regular words or you'll be exposed to dictionary attacks.
+# You can use `rails secret` to generate a secure secret key.
+
+# Make sure the secrets in this file are kept private
+# if you're sharing your code publicly.
+
+development:
+ secret_key_base: df5bfd362ae400b400d79af9bc419e988c72e7a2df7aebc541137d2f27e125bb93b09d877ecc0cae931a9b8c16ef96f1c7329a8b2d788eadf3a0f5cc9bb4d4e7
+
+test:
+ secret_key_base: 91a21b8af0492c5893228989638a977f5e7cf895e0a94a3a0cd34976a4582b84e68c4e940e3369f2297218eaebf4bce2cc07441512a9c2d645734c20e08024b9
+
+# Do not keep production secrets in the repository,
+# instead read values from the environment.
+production:
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/dylan_eckert/rails2/authorization/config/spring.rb b/dylan_eckert/rails2/authorization/config/spring.rb
new file mode 100644
index 0000000..c9119b4
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/config/spring.rb
@@ -0,0 +1,6 @@
+%w(
+ .ruby-version
+ .rbenv-vars
+ tmp/restart.txt
+ tmp/caching-dev.txt
+).each { |path| Spring.watch(path) }
diff --git a/dylan_eckert/rails2/authorization/db/migrate/20171211192257_create_users.rb b/dylan_eckert/rails2/authorization/db/migrate/20171211192257_create_users.rb
new file mode 100644
index 0000000..9e6ab64
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/db/migrate/20171211192257_create_users.rb
@@ -0,0 +1,11 @@
+class CreateUsers < ActiveRecord::Migration[5.0]
+ def change
+ create_table :users do |t|
+ t.string :name
+ t.string :email
+ t.string :password_digest
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/authorization/db/migrate/20171212235708_create_secrets.rb b/dylan_eckert/rails2/authorization/db/migrate/20171212235708_create_secrets.rb
new file mode 100644
index 0000000..df773f3
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/db/migrate/20171212235708_create_secrets.rb
@@ -0,0 +1,10 @@
+class CreateSecrets < ActiveRecord::Migration[5.0]
+ def change
+ create_table :secrets do |t|
+ t.text :content
+ t.references :user, foreign_key: true
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/authorization/db/migrate/20171212235821_create_likes.rb b/dylan_eckert/rails2/authorization/db/migrate/20171212235821_create_likes.rb
new file mode 100644
index 0000000..0c95c79
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/db/migrate/20171212235821_create_likes.rb
@@ -0,0 +1,10 @@
+class CreateLikes < ActiveRecord::Migration[5.0]
+ def change
+ create_table :likes do |t|
+ t.references :secret, foreign_key: true
+ t.references :user, foreign_key: true
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/authorization/db/schema.rb b/dylan_eckert/rails2/authorization/db/schema.rb
new file mode 100644
index 0000000..e0d9fe8
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/db/schema.rb
@@ -0,0 +1,46 @@
+# This file is auto-generated from the current state of the database. Instead
+# of editing this file, please use the migrations feature of Active Record to
+# incrementally modify your database, and then regenerate this schema definition.
+#
+# Note that this schema.rb definition is the authoritative source for your
+# database schema. If you need to create the application database on another
+# system, you should be using db:schema:load, not running all the migrations
+# from scratch. The latter is a flawed and unsustainable approach (the more migrations
+# you'll amass, the slower it'll run and the greater likelihood for issues).
+#
+# It's strongly recommended that you check this file into your version control system.
+
+ActiveRecord::Schema.define(version: 20171212235821) do
+
+ # These are extensions that must be enabled in order to support this database
+ enable_extension "plpgsql"
+
+ create_table "likes", force: :cascade do |t|
+ t.integer "secret_id"
+ t.integer "user_id"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.index ["secret_id"], name: "index_likes_on_secret_id", using: :btree
+ t.index ["user_id"], name: "index_likes_on_user_id", using: :btree
+ end
+
+ create_table "secrets", force: :cascade do |t|
+ t.text "content"
+ t.integer "user_id"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.index ["user_id"], name: "index_secrets_on_user_id", using: :btree
+ end
+
+ create_table "users", force: :cascade do |t|
+ t.string "name"
+ t.string "email"
+ t.string "password_digest"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ end
+
+ add_foreign_key "likes", "secrets"
+ add_foreign_key "likes", "users"
+ add_foreign_key "secrets", "users"
+end
diff --git a/dylan_eckert/rails2/authorization/db/seeds.rb b/dylan_eckert/rails2/authorization/db/seeds.rb
new file mode 100644
index 0000000..1beea2a
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/db/seeds.rb
@@ -0,0 +1,7 @@
+# This file should contain all the record creation needed to seed the database with its default values.
+# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
+#
+# Examples:
+#
+# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
+# Character.create(name: 'Luke', movie: movies.first)
diff --git a/Stephen Weil/Rails/Models/user_login_project/log/.keep b/dylan_eckert/rails2/authorization/lib/assets/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/log/.keep
rename to dylan_eckert/rails2/authorization/lib/assets/.keep
diff --git a/Stephen Weil/Rails/Models/user_login_project/test/controllers/.keep b/dylan_eckert/rails2/authorization/lib/tasks/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/test/controllers/.keep
rename to dylan_eckert/rails2/authorization/lib/tasks/.keep
diff --git a/Stephen Weil/Rails/Models/user_login_project/test/fixtures/.keep b/dylan_eckert/rails2/authorization/log/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/test/fixtures/.keep
rename to dylan_eckert/rails2/authorization/log/.keep
diff --git a/dylan_eckert/rails2/authorization/public/404.html b/dylan_eckert/rails2/authorization/public/404.html
new file mode 100644
index 0000000..2be3af2
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/public/404.html
@@ -0,0 +1,67 @@
+
+
+
+ The page you were looking for doesn't exist (404)
+
+
+
+
+
+
+
+
+
The page you were looking for doesn't exist.
+
You may have mistyped the address or the page may have moved.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/rails2/authorization/public/422.html b/dylan_eckert/rails2/authorization/public/422.html
new file mode 100644
index 0000000..c08eac0
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/public/422.html
@@ -0,0 +1,67 @@
+
+
+
+ The change you wanted was rejected (422)
+
+
+
+
+
+
+
+
+
The change you wanted was rejected.
+
Maybe you tried to change something you didn't have access to.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/rails2/authorization/public/500.html b/dylan_eckert/rails2/authorization/public/500.html
new file mode 100644
index 0000000..78a030a
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/public/500.html
@@ -0,0 +1,66 @@
+
+
+
+ We're sorry, but something went wrong (500)
+
+
+
+
+
+
+
+
+
We're sorry, but something went wrong.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/Stephen Weil/Rails/Models/user_login_project/test/helpers/.keep b/dylan_eckert/rails2/authorization/public/apple-touch-icon-precomposed.png
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/test/helpers/.keep
rename to dylan_eckert/rails2/authorization/public/apple-touch-icon-precomposed.png
diff --git a/Stephen Weil/Rails/Models/user_login_project/test/integration/.keep b/dylan_eckert/rails2/authorization/public/apple-touch-icon.png
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/test/integration/.keep
rename to dylan_eckert/rails2/authorization/public/apple-touch-icon.png
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/public/favicon.ico b/dylan_eckert/rails2/authorization/public/favicon.ico
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/public/favicon.ico
rename to dylan_eckert/rails2/authorization/public/favicon.ico
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/public/robots.txt b/dylan_eckert/rails2/authorization/public/robots.txt
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/public/robots.txt
rename to dylan_eckert/rails2/authorization/public/robots.txt
diff --git a/dylan_eckert/rails2/authorization/spec/controllers/secrets_controller_spec.rb b/dylan_eckert/rails2/authorization/spec/controllers/secrets_controller_spec.rb
new file mode 100644
index 0000000..582e299
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/spec/controllers/secrets_controller_spec.rb
@@ -0,0 +1,5 @@
+require 'rails_helper'
+
+RSpec.describe SecretsController, type: :controller do
+
+end
diff --git a/dylan_eckert/rails2/authorization/spec/controllers/users_controller_spec.rb b/dylan_eckert/rails2/authorization/spec/controllers/users_controller_spec.rb
new file mode 100644
index 0000000..e2c3d3b
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/spec/controllers/users_controller_spec.rb
@@ -0,0 +1,5 @@
+require 'rails_helper'
+
+RSpec.describe UsersController, type: :controller do
+
+end
diff --git a/dylan_eckert/rails2/authorization/spec/factories/likes.rb b/dylan_eckert/rails2/authorization/spec/factories/likes.rb
new file mode 100644
index 0000000..56765c9
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/spec/factories/likes.rb
@@ -0,0 +1,6 @@
+FactoryBot.define do
+ factory :like do
+ secret nil
+ user nil
+ end
+end
diff --git a/dylan_eckert/rails2/authorization/spec/factories/secrets.rb b/dylan_eckert/rails2/authorization/spec/factories/secrets.rb
new file mode 100644
index 0000000..af5f0e0
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/spec/factories/secrets.rb
@@ -0,0 +1,6 @@
+FactoryBot.define do
+ factory :secret do
+ content "MyText"
+ user nil
+ end
+end
diff --git a/dylan_eckert/rails2/authorization/spec/factories/users.rb b/dylan_eckert/rails2/authorization/spec/factories/users.rb
new file mode 100644
index 0000000..35b5824
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/spec/factories/users.rb
@@ -0,0 +1,8 @@
+FactoryBot.define do
+ factory :user do
+ name "Dylan Eckert"
+ email "email@email.com"
+ password "password"
+ password_confirmation "password"
+ end
+end
diff --git a/dylan_eckert/rails2/authorization/spec/helpers/likes_helper_spec.rb b/dylan_eckert/rails2/authorization/spec/helpers/likes_helper_spec.rb
new file mode 100644
index 0000000..bc19687
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/spec/helpers/likes_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'rails_helper'
+
+# Specs in this file have access to a helper object that includes
+# the LikesHelper. For example:
+#
+# describe LikesHelper do
+# describe "string concat" do
+# it "concats two strings with spaces" do
+# expect(helper.concat_strings("this","that")).to eq("this that")
+# end
+# end
+# end
+RSpec.describe LikesHelper, type: :helper do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/dylan_eckert/rails2/authorization/spec/helpers/secrets_helper_spec.rb b/dylan_eckert/rails2/authorization/spec/helpers/secrets_helper_spec.rb
new file mode 100644
index 0000000..285256a
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/spec/helpers/secrets_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'rails_helper'
+
+# Specs in this file have access to a helper object that includes
+# the SecretsHelper. For example:
+#
+# describe SecretsHelper do
+# describe "string concat" do
+# it "concats two strings with spaces" do
+# expect(helper.concat_strings("this","that")).to eq("this that")
+# end
+# end
+# end
+RSpec.describe SecretsHelper, type: :helper do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/dylan_eckert/rails2/authorization/spec/helpers/sessions_helper_spec.rb b/dylan_eckert/rails2/authorization/spec/helpers/sessions_helper_spec.rb
new file mode 100644
index 0000000..9484198
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/spec/helpers/sessions_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'rails_helper'
+
+# Specs in this file have access to a helper object that includes
+# the SessionsHelper. For example:
+#
+# describe SessionsHelper do
+# describe "string concat" do
+# it "concats two strings with spaces" do
+# expect(helper.concat_strings("this","that")).to eq("this that")
+# end
+# end
+# end
+RSpec.describe SessionsHelper, type: :helper do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/dylan_eckert/rails2/authorization/spec/helpers/users_helper_spec.rb b/dylan_eckert/rails2/authorization/spec/helpers/users_helper_spec.rb
new file mode 100644
index 0000000..b2e3444
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/spec/helpers/users_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'rails_helper'
+
+# Specs in this file have access to a helper object that includes
+# the UsersHelper. For example:
+#
+# describe UsersHelper do
+# describe "string concat" do
+# it "concats two strings with spaces" do
+# expect(helper.concat_strings("this","that")).to eq("this that")
+# end
+# end
+# end
+RSpec.describe UsersHelper, type: :helper do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/dylan_eckert/rails2/authorization/spec/models/like_spec.rb b/dylan_eckert/rails2/authorization/spec/models/like_spec.rb
new file mode 100644
index 0000000..3284133
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/spec/models/like_spec.rb
@@ -0,0 +1,17 @@
+require 'rails_helper'
+
+RSpec.describe Like, type: :model do
+ describe 'relationships' do
+ before do
+ @user = create(:user)
+ @secret = create(:secret, user: @user)
+ @like = create(:like, secret: @secret, user: @user)
+ end
+ it 'belongs to a user' do
+ expect(@like.user).to eq(@user)
+ end
+ it 'belongs to a secret' do
+ expect(@like.secret).to eq(@secret)
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/authorization/spec/models/secret_spec.rb b/dylan_eckert/rails2/authorization/spec/models/secret_spec.rb
new file mode 100644
index 0000000..fb755b5
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/spec/models/secret_spec.rb
@@ -0,0 +1,24 @@
+require 'rails_helper'
+
+RSpec.describe Secret, type: :model do
+ it 'requires content' do
+ expect(build(:secret, content: "")).to be_invalid
+ end
+
+ context 'relationships' do
+ before do
+ @user = create(:user)
+ @secret = create(:secret, user: @user)
+ @like = create(:like, user: @user, secret: @secret)
+ end
+ it 'belongs to a user' do
+ expect(@secret.user).to eq(@user)
+ end
+ it 'has likes' do
+ expect(@secret.likes).to include(@like)
+ end
+ it 'has users through likes table' do
+ expect(@secret.users).to include(@user)
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/authorization/spec/models/user_spec.rb b/dylan_eckert/rails2/authorization/spec/models/user_spec.rb
new file mode 100644
index 0000000..5d8f4be
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/spec/models/user_spec.rb
@@ -0,0 +1,56 @@
+require 'rails_helper'
+
+RSpec.describe User, type: :model do
+ context "with valid attributes" do
+ it "should save" do
+ expect(build(:user)).to be_valid
+ end
+ it 'automatically encrypts the password into the password_digest attribute' do
+ expect(build(:user).password_digest.present?).to eq(true)
+ end
+ it 'email as lowercase' do
+ expect(create(:user, email: 'EMAIL@GMAIL.COM').email).to eq('email@gmail.com')
+ end
+ end
+ context "with invalid attributes should not save if" do
+ it 'name is blank' do
+ expect(build(:user, name: '')).to be_invalid
+ end
+ it 'email is blank' do
+ expect(build(:user, email: '')).to be_invalid
+ end
+ it 'email format is wrong' do
+ emails = %w[@ user@ @example.com]
+ emails.each do |email|
+ expect(build(:user, email: email)).to be_invalid
+ end
+ end
+ it 'email is not unique' do
+ create(:user)
+ expect(build(:user)).to be_invalid
+ end
+ it 'password is blank' do
+ expect(build(:user, password: '')).to be_invalid
+ end
+ it "password doesn't match password_confirmation" do
+ expect(build(:user, password_confirmation: 'notpassword')).to be_invalid
+ end
+ end
+
+ context 'relationships' do
+ before do
+ @user = create(:user)
+ @secret = create(:secret, content: 'secret 1', user: @user)
+ @like = create(:like, secret: @secret, user: @user)
+ end
+ it 'has secrets' do
+ expect(@user.secrets).to include(@secret)
+ end
+ it 'has likes' do
+ expect(@user.likes).to include(@like)
+ end
+ it "has secrets through likes table" do
+ expect(@user.secrets_liked).to include(@secret)
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/authorization/spec/rails_helper.rb b/dylan_eckert/rails2/authorization/spec/rails_helper.rb
new file mode 100644
index 0000000..c136077
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/spec/rails_helper.rb
@@ -0,0 +1,58 @@
+# This file is copied to spec/ when you run 'rails generate rspec:install'
+require 'spec_helper'
+require 'factory_bot_rails'
+ENV['RAILS_ENV'] ||= 'test'
+require File.expand_path('../../config/environment', __FILE__)
+# Prevent database truncation if the environment is production
+abort("The Rails environment is running in production mode!") if Rails.env.production?
+require 'rspec/rails'
+# Add additional requires below this line. Rails is not loaded until this point!
+
+# Requires supporting ruby files with custom matchers and macros, etc, in
+# spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
+# run as spec files by default. This means that files in spec/support that end
+# in _spec.rb will both be required and run as specs, causing the specs to be
+# run twice. It is recommended that you do not name files matching this glob to
+# end with _spec.rb. You can configure this pattern with the --pattern
+# option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
+#
+# The following line is provided for convenience purposes. It has the downside
+# of increasing the boot-up time by auto-requiring all files in the support
+# directory. Alternatively, in the individual `*_spec.rb` files, manually
+# require only the support files necessary.
+#
+# Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
+
+# Checks for pending migrations and applies them before tests are run.
+# If you are not using ActiveRecord, you can remove this line.
+ActiveRecord::Migration.maintain_test_schema!
+
+RSpec.configure do |config|
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
+ config.include FactoryBot::Syntax::Methods
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
+ # examples within a transaction, remove the following line or assign false
+ # instead of true.
+ config.use_transactional_fixtures = true
+
+ # RSpec Rails can automatically mix in different behaviours to your tests
+ # based on their file location, for example enabling you to call `get` and
+ # `post` in specs under `spec/controllers`.
+ #
+ # You can disable this behaviour by removing the line below, and instead
+ # explicitly tag your specs with their type, e.g.:
+ #
+ # RSpec.describe UsersController, :type => :controller do
+ # # ...
+ # end
+ #
+ # The different available types are documented in the features, such as in
+ # https://relishapp.com/rspec/rspec-rails/docs
+ config.infer_spec_type_from_file_location!
+
+ # Filter lines from Rails gems in backtraces.
+ config.filter_rails_from_backtrace!
+ # arbitrary gems may also be filtered via:
+ # config.filter_gems_from_backtrace("gem name")
+end
diff --git a/dylan_eckert/rails2/authorization/spec/spec_helper.rb b/dylan_eckert/rails2/authorization/spec/spec_helper.rb
new file mode 100644
index 0000000..6bd448f
--- /dev/null
+++ b/dylan_eckert/rails2/authorization/spec/spec_helper.rb
@@ -0,0 +1,111 @@
+# This file was generated by the `rails generate rspec:install` command. Conventionally, all
+# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
+# The generated `.rspec` file contains `--require spec_helper` which will cause
+# this file to always be loaded, without a need to explicitly require it in any
+# files.
+#
+# Given that it is always loaded, you are encouraged to keep this file as
+# light-weight as possible. Requiring heavyweight dependencies from this file
+# will add to the boot time of your test suite on EVERY test run, even for an
+# individual file that may not need all of that loaded. Instead, consider making
+# a separate helper file that requires the additional dependencies and performs
+# the additional setup, and require it from the spec files that actually need
+# it.
+#
+def log_in email: "oscar@gmail.com", password: "password"
+ visit '/sessions/new' unless current_path == "/sessions/new"
+ fill_in 'Email', with: email
+ fill_in 'Password', with: password
+ click_button 'Log In'
+end
+# The code below should already be included in your file
+RSpec.configure do |config|
+ config.expect_with :rspec do |expectations|
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
+ end
+ config.mock_with :rspec do |mocks|
+ mocks.verify_partial_doubles = true
+ end
+end
+# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
+RSpec.configure do |config|
+ # rspec-expectations config goes here. You can use an alternate
+ # assertion/expectation library such as wrong or the stdlib/minitest
+ # assertions if you prefer.
+ config.expect_with :rspec do |expectations|
+ # This option will default to `true` in RSpec 4. It makes the `description`
+ # and `failure_message` of custom matchers include text for helper methods
+ # defined using `chain`, e.g.:
+ # be_bigger_than(2).and_smaller_than(4).description
+ # # => "be bigger than 2 and smaller than 4"
+ # ...rather than:
+ # # => "be bigger than 2"
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
+ end
+
+ # rspec-mocks config goes here. You can use an alternate test double
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
+ config.mock_with :rspec do |mocks|
+ # Prevents you from mocking or stubbing a method that does not exist on
+ # a real object. This is generally recommended, and will default to
+ # `true` in RSpec 4.
+ mocks.verify_partial_doubles = true
+ end
+
+ # This option will default to `:apply_to_host_groups` in RSpec 4 (and will
+ # have no way to turn it off -- the option exists only for backwards
+ # compatibility in RSpec 3). It causes shared context metadata to be
+ # inherited by the metadata hash of host groups and examples, rather than
+ # triggering implicit auto-inclusion in groups with matching metadata.
+ config.shared_context_metadata_behavior = :apply_to_host_groups
+
+# The settings below are suggested to provide a good initial experience
+# with RSpec, but feel free to customize to your heart's content.
+=begin
+ # This allows you to limit a spec run to individual examples or groups
+ # you care about by tagging them with `:focus` metadata. When nothing
+ # is tagged with `:focus`, all examples get run. RSpec also provides
+ # aliases for `it`, `describe`, and `context` that include `:focus`
+ # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
+ config.filter_run_when_matching :focus
+
+ # Allows RSpec to persist some state between runs in order to support
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
+ # you configure your source control system to ignore this file.
+ config.example_status_persistence_file_path = "spec/examples.txt"
+
+ # Limits the available syntax to the non-monkey patched syntax that is
+ # recommended. For more details, see:
+ # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
+ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
+ config.disable_monkey_patching!
+
+ # Many RSpec users commonly either run the entire suite or an individual
+ # file, and it's useful to allow more verbose output when running an
+ # individual spec file.
+ if config.files_to_run.one?
+ # Use the documentation formatter for detailed output,
+ # unless a formatter has already been configured
+ # (e.g. via a command-line flag).
+ config.default_formatter = "doc"
+ end
+
+ # Print the 10 slowest examples and example groups at the
+ # end of the spec run, to help surface which specs are running
+ # particularly slow.
+ config.profile_examples = 10
+
+ # Run specs in random order to surface order dependencies. If you find an
+ # order dependency and want to debug it, you can fix the order by providing
+ # the seed, which is printed after each run.
+ # --seed 1234
+ config.order = :random
+
+ # Seed global randomization in this process using the `--seed` CLI option.
+ # Setting this allows you to use `--seed` to deterministically reproduce
+ # test failures related to randomization by passing the same `--seed` value
+ # as the one that triggered the failure.
+ Kernel.srand config.seed
+=end
+end
diff --git a/Stephen Weil/Rails/Models/user_login_project/test/mailers/.keep b/dylan_eckert/rails2/authorization/test/controllers/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/test/mailers/.keep
rename to dylan_eckert/rails2/authorization/test/controllers/.keep
diff --git a/Stephen Weil/Rails/Models/user_login_project/test/models/.keep b/dylan_eckert/rails2/authorization/test/fixtures/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/test/models/.keep
rename to dylan_eckert/rails2/authorization/test/fixtures/.keep
diff --git a/Stephen Weil/Rails/Models/user_login_project/vendor/assets/javascripts/.keep b/dylan_eckert/rails2/authorization/test/fixtures/files/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/vendor/assets/javascripts/.keep
rename to dylan_eckert/rails2/authorization/test/fixtures/files/.keep
diff --git a/Stephen Weil/Rails/Models/user_login_project/vendor/assets/stylesheets/.keep b/dylan_eckert/rails2/authorization/test/helpers/.keep
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/vendor/assets/stylesheets/.keep
rename to dylan_eckert/rails2/authorization/test/helpers/.keep
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/app/assets/images/.keep b/dylan_eckert/rails2/authorization/test/integration/.keep
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/app/assets/images/.keep
rename to dylan_eckert/rails2/authorization/test/integration/.keep
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/app/controllers/concerns/.keep b/dylan_eckert/rails2/authorization/test/mailers/.keep
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/app/controllers/concerns/.keep
rename to dylan_eckert/rails2/authorization/test/mailers/.keep
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/app/mailers/.keep b/dylan_eckert/rails2/authorization/test/models/.keep
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/app/mailers/.keep
rename to dylan_eckert/rails2/authorization/test/models/.keep
diff --git a/Stephen Weil/Rails/Models/blogs_one/test/test_helper.rb b/dylan_eckert/rails2/authorization/test/test_helper.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/blogs_one/test/test_helper.rb
rename to dylan_eckert/rails2/authorization/test/test_helper.rb
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/app/models/.keep b/dylan_eckert/rails2/authorization/tmp/.keep
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/app/models/.keep
rename to dylan_eckert/rails2/authorization/tmp/.keep
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/app/models/concerns/.keep b/dylan_eckert/rails2/authorization/vendor/assets/javascripts/.keep
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/app/models/concerns/.keep
rename to dylan_eckert/rails2/authorization/vendor/assets/javascripts/.keep
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/lib/assets/.keep b/dylan_eckert/rails2/authorization/vendor/assets/stylesheets/.keep
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/lib/assets/.keep
rename to dylan_eckert/rails2/authorization/vendor/assets/stylesheets/.keep
diff --git a/dylan_eckert/rails2/likefeatures/.gitignore b/dylan_eckert/rails2/likefeatures/.gitignore
new file mode 100644
index 0000000..48fb168
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/.gitignore
@@ -0,0 +1,17 @@
+# See https://help.github.com/articles/ignoring-files for more about ignoring files.
+#
+# If you find yourself ignoring temporary files generated by your text editor
+# or operating system, you probably want to add a global ignore instead:
+# git config --global core.excludesfile '~/.gitignore_global'
+
+# Ignore bundler config.
+/.bundle
+
+# Ignore all logfiles and tempfiles.
+/log/*
+/tmp/*
+!/log/.keep
+!/tmp/.keep
+
+# Ignore Byebug command history file.
+.byebug_history
diff --git a/dylan_eckert/rails2/likefeatures/.rspec b/dylan_eckert/rails2/likefeatures/.rspec
new file mode 100644
index 0000000..c99d2e7
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/.rspec
@@ -0,0 +1 @@
+--require spec_helper
diff --git a/dylan_eckert/rails2/likefeatures/Gemfile b/dylan_eckert/rails2/likefeatures/Gemfile
new file mode 100644
index 0000000..8d464a7
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/Gemfile
@@ -0,0 +1,54 @@
+source 'https://rubygems.org'
+
+git_source(:github) do |repo_name|
+ repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
+ "https://github.com/#{repo_name}.git"
+end
+
+
+# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
+gem 'rails', '~> 5.0.6'
+# Use postgresql as the database for Active Record
+gem 'pg', '~> 0.18'
+# Use Puma as the app server
+gem 'puma', '~> 3.0'
+# Use SCSS for stylesheets
+gem 'sass-rails', '~> 5.0'
+# Use Uglifier as compressor for JavaScript assets
+gem 'uglifier', '>= 1.3.0'
+# Use CoffeeScript for .coffee assets and views
+gem 'coffee-rails', '~> 4.2'
+# See https://github.com/rails/execjs#readme for more supported runtimes
+# gem 'therubyracer', platforms: :ruby
+
+# Use jquery as the JavaScript library
+gem 'jquery-rails'
+# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
+gem 'turbolinks', '~> 5'
+# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
+gem 'jbuilder', '~> 2.5'
+# Use Redis adapter to run Action Cable in production
+# gem 'redis', '~> 3.0'
+# Use ActiveModel has_secure_password
+gem 'bcrypt', '~> 3.1.7'
+
+# Use Capistrano for deployment
+# gem 'capistrano-rails', group: :development
+
+group :development, :test do
+ gem 'rspec-rails'
+ gem 'factory_bot_rails'
+ gem 'capybara'
+end
+
+group :development do
+ # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
+ gem 'web-console', '>= 3.3.0'
+ gem 'listen', '~> 3.0.5'
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
+ gem 'spring'
+ gem 'spring-watcher-listen', '~> 2.0.0'
+end
+
+# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
+gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
diff --git a/dylan_eckert/rails2/likefeatures/Gemfile.lock b/dylan_eckert/rails2/likefeatures/Gemfile.lock
new file mode 100644
index 0000000..1368646
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/Gemfile.lock
@@ -0,0 +1,217 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actioncable (5.0.6)
+ actionpack (= 5.0.6)
+ nio4r (>= 1.2, < 3.0)
+ websocket-driver (~> 0.6.1)
+ actionmailer (5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ mail (~> 2.5, >= 2.5.4)
+ rails-dom-testing (~> 2.0)
+ actionpack (5.0.6)
+ actionview (= 5.0.6)
+ activesupport (= 5.0.6)
+ rack (~> 2.0)
+ rack-test (~> 0.6.3)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
+ actionview (5.0.6)
+ activesupport (= 5.0.6)
+ builder (~> 3.1)
+ erubis (~> 2.7.0)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
+ activejob (5.0.6)
+ activesupport (= 5.0.6)
+ globalid (>= 0.3.6)
+ activemodel (5.0.6)
+ activesupport (= 5.0.6)
+ activerecord (5.0.6)
+ activemodel (= 5.0.6)
+ activesupport (= 5.0.6)
+ arel (~> 7.0)
+ activesupport (5.0.6)
+ concurrent-ruby (~> 1.0, >= 1.0.2)
+ i18n (~> 0.7)
+ minitest (~> 5.1)
+ tzinfo (~> 1.1)
+ addressable (2.5.2)
+ public_suffix (>= 2.0.2, < 4.0)
+ arel (7.1.4)
+ bcrypt (3.1.11)
+ bindex (0.5.0)
+ builder (3.2.3)
+ capybara (2.16.1)
+ addressable
+ mini_mime (>= 0.1.3)
+ nokogiri (>= 1.3.3)
+ rack (>= 1.0.0)
+ rack-test (>= 0.5.4)
+ xpath (~> 2.0)
+ coffee-rails (4.2.2)
+ coffee-script (>= 2.2.0)
+ railties (>= 4.0.0)
+ coffee-script (2.4.1)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.12.2)
+ concurrent-ruby (1.0.5)
+ crass (1.0.3)
+ diff-lcs (1.3)
+ erubis (2.7.0)
+ execjs (2.7.0)
+ factory_bot (4.8.2)
+ activesupport (>= 3.0.0)
+ factory_bot_rails (4.8.2)
+ factory_bot (~> 4.8.2)
+ railties (>= 3.0.0)
+ ffi (1.9.18)
+ globalid (0.4.1)
+ activesupport (>= 4.2.0)
+ i18n (0.9.1)
+ concurrent-ruby (~> 1.0)
+ jbuilder (2.7.0)
+ activesupport (>= 4.2.0)
+ multi_json (>= 1.2)
+ jquery-rails (4.3.1)
+ rails-dom-testing (>= 1, < 3)
+ railties (>= 4.2.0)
+ thor (>= 0.14, < 2.0)
+ listen (3.0.8)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ loofah (2.1.1)
+ crass (~> 1.0.2)
+ nokogiri (>= 1.5.9)
+ mail (2.7.0)
+ mini_mime (>= 0.1.1)
+ method_source (0.9.0)
+ mini_mime (1.0.0)
+ mini_portile2 (2.3.0)
+ minitest (5.10.3)
+ multi_json (1.12.2)
+ nio4r (2.1.0)
+ nokogiri (1.8.1)
+ mini_portile2 (~> 2.3.0)
+ pg (0.21.0)
+ public_suffix (3.0.1)
+ puma (3.11.0)
+ rack (2.0.3)
+ rack-test (0.6.3)
+ rack (>= 1.0)
+ rails (5.0.6)
+ actioncable (= 5.0.6)
+ actionmailer (= 5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ activemodel (= 5.0.6)
+ activerecord (= 5.0.6)
+ activesupport (= 5.0.6)
+ bundler (>= 1.3.0)
+ railties (= 5.0.6)
+ sprockets-rails (>= 2.0.0)
+ rails-dom-testing (2.0.3)
+ activesupport (>= 4.2.0)
+ nokogiri (>= 1.6)
+ rails-html-sanitizer (1.0.3)
+ loofah (~> 2.0)
+ railties (5.0.6)
+ actionpack (= 5.0.6)
+ activesupport (= 5.0.6)
+ method_source
+ rake (>= 0.8.7)
+ thor (>= 0.18.1, < 2.0)
+ rake (12.3.0)
+ rb-fsevent (0.10.2)
+ rb-inotify (0.9.10)
+ ffi (>= 0.5.0, < 2)
+ rspec-core (3.7.0)
+ rspec-support (~> 3.7.0)
+ rspec-expectations (3.7.0)
+ diff-lcs (>= 1.2.0, < 2.0)
+ rspec-support (~> 3.7.0)
+ rspec-mocks (3.7.0)
+ diff-lcs (>= 1.2.0, < 2.0)
+ rspec-support (~> 3.7.0)
+ rspec-rails (3.7.2)
+ actionpack (>= 3.0)
+ activesupport (>= 3.0)
+ railties (>= 3.0)
+ rspec-core (~> 3.7.0)
+ rspec-expectations (~> 3.7.0)
+ rspec-mocks (~> 3.7.0)
+ rspec-support (~> 3.7.0)
+ rspec-support (3.7.0)
+ sass (3.5.3)
+ sass-listen (~> 4.0.0)
+ sass-listen (4.0.0)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ sass-rails (5.0.7)
+ railties (>= 4.0.0, < 6)
+ sass (~> 3.1)
+ sprockets (>= 2.8, < 4.0)
+ sprockets-rails (>= 2.0, < 4.0)
+ tilt (>= 1.1, < 3)
+ spring (2.0.2)
+ activesupport (>= 4.2)
+ spring-watcher-listen (2.0.1)
+ listen (>= 2.7, < 4.0)
+ spring (>= 1.2, < 3.0)
+ sprockets (3.7.1)
+ concurrent-ruby (~> 1.0)
+ rack (> 1, < 3)
+ sprockets-rails (3.2.1)
+ actionpack (>= 4.0)
+ activesupport (>= 4.0)
+ sprockets (>= 3.0.0)
+ thor (0.20.0)
+ thread_safe (0.3.6)
+ tilt (2.0.8)
+ turbolinks (5.0.1)
+ turbolinks-source (~> 5)
+ turbolinks-source (5.0.3)
+ tzinfo (1.2.4)
+ thread_safe (~> 0.1)
+ uglifier (4.0.2)
+ execjs (>= 0.3.0, < 3)
+ web-console (3.5.1)
+ actionview (>= 5.0)
+ activemodel (>= 5.0)
+ bindex (>= 0.4.0)
+ railties (>= 5.0)
+ websocket-driver (0.6.5)
+ websocket-extensions (>= 0.1.0)
+ websocket-extensions (0.1.3)
+ xpath (2.1.0)
+ nokogiri (~> 1.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ bcrypt (~> 3.1.7)
+ capybara
+ coffee-rails (~> 4.2)
+ factory_bot_rails
+ jbuilder (~> 2.5)
+ jquery-rails
+ listen (~> 3.0.5)
+ pg (~> 0.18)
+ puma (~> 3.0)
+ rails (~> 5.0.6)
+ rspec-rails
+ sass-rails (~> 5.0)
+ spring
+ spring-watcher-listen (~> 2.0.0)
+ turbolinks (~> 5)
+ tzinfo-data
+ uglifier (>= 1.3.0)
+ web-console (>= 3.3.0)
+
+BUNDLED WITH
+ 1.16.0
diff --git a/dylan_eckert/rails2/likefeatures/README.md b/dylan_eckert/rails2/likefeatures/README.md
new file mode 100644
index 0000000..7db80e4
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/README.md
@@ -0,0 +1,24 @@
+# README
+
+This README would normally document whatever steps are necessary to get the
+application up and running.
+
+Things you may want to cover:
+
+* Ruby version
+
+* System dependencies
+
+* Configuration
+
+* Database creation
+
+* Database initialization
+
+* How to run the test suite
+
+* Services (job queues, cache servers, search engines, etc.)
+
+* Deployment instructions
+
+* ...
diff --git a/dylan_eckert/rails2/likefeatures/Rakefile b/dylan_eckert/rails2/likefeatures/Rakefile
new file mode 100644
index 0000000..e85f913
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/Rakefile
@@ -0,0 +1,6 @@
+# Add your own tasks in files placed in lib/tasks ending in .rake,
+# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
+
+require_relative 'config/application'
+
+Rails.application.load_tasks
diff --git a/dylan_eckert/rails2/likefeatures/app/assets/config/manifest.js b/dylan_eckert/rails2/likefeatures/app/assets/config/manifest.js
new file mode 100644
index 0000000..b16e53d
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/assets/config/manifest.js
@@ -0,0 +1,3 @@
+//= link_tree ../images
+//= link_directory ../javascripts .js
+//= link_directory ../stylesheets .css
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/lib/tasks/.keep b/dylan_eckert/rails2/likefeatures/app/assets/images/.keep
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/lib/tasks/.keep
rename to dylan_eckert/rails2/likefeatures/app/assets/images/.keep
diff --git a/dylan_eckert/rails2/likefeatures/app/assets/javascripts/application.js b/dylan_eckert/rails2/likefeatures/app/assets/javascripts/application.js
new file mode 100644
index 0000000..b12018d
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/assets/javascripts/application.js
@@ -0,0 +1,16 @@
+// This is a manifest file that'll be compiled into application.js, which will include all the files
+// listed below.
+//
+// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
+// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
+//
+// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
+// compiled file. JavaScript code in this file should be added after the last require_* statement.
+//
+// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
+// about supported directives.
+//
+//= require jquery
+//= require jquery_ujs
+//= require turbolinks
+//= require_tree .
diff --git a/dylan_eckert/rails2/likefeatures/app/assets/javascripts/cable.js b/dylan_eckert/rails2/likefeatures/app/assets/javascripts/cable.js
new file mode 100644
index 0000000..71ee1e6
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/assets/javascripts/cable.js
@@ -0,0 +1,13 @@
+// Action Cable provides the framework to deal with WebSockets in Rails.
+// You can generate new channels where WebSocket features live using the rails generate channel command.
+//
+//= require action_cable
+//= require_self
+//= require_tree ./channels
+
+(function() {
+ this.App || (this.App = {});
+
+ App.cable = ActionCable.createConsumer();
+
+}).call(this);
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/log/.keep b/dylan_eckert/rails2/likefeatures/app/assets/javascripts/channels/.keep
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/log/.keep
rename to dylan_eckert/rails2/likefeatures/app/assets/javascripts/channels/.keep
diff --git a/brittney_jackson/rails/timeDisplay/app/assets/javascripts/times.coffee b/dylan_eckert/rails2/likefeatures/app/assets/javascripts/likes.coffee
similarity index 100%
rename from brittney_jackson/rails/timeDisplay/app/assets/javascripts/times.coffee
rename to dylan_eckert/rails2/likefeatures/app/assets/javascripts/likes.coffee
diff --git a/justin_quiros/demo/app/assets/javascripts/products.coffee b/dylan_eckert/rails2/likefeatures/app/assets/javascripts/secrets.coffee
similarity index 100%
rename from justin_quiros/demo/app/assets/javascripts/products.coffee
rename to dylan_eckert/rails2/likefeatures/app/assets/javascripts/secrets.coffee
diff --git a/justin_quiros/display/app/assets/javascripts/times.coffee b/dylan_eckert/rails2/likefeatures/app/assets/javascripts/sessions.coffee
similarity index 100%
rename from justin_quiros/display/app/assets/javascripts/times.coffee
rename to dylan_eckert/rails2/likefeatures/app/assets/javascripts/sessions.coffee
diff --git a/justin_quiros/dojo_dashboard/app/assets/javascripts/dojos.coffee b/dylan_eckert/rails2/likefeatures/app/assets/javascripts/users.coffee
similarity index 100%
rename from justin_quiros/dojo_dashboard/app/assets/javascripts/dojos.coffee
rename to dylan_eckert/rails2/likefeatures/app/assets/javascripts/users.coffee
diff --git a/dylan_eckert/rails2/likefeatures/app/assets/stylesheets/application.css b/dylan_eckert/rails2/likefeatures/app/assets/stylesheets/application.css
new file mode 100644
index 0000000..0ebd7fe
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/assets/stylesheets/application.css
@@ -0,0 +1,15 @@
+/*
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
+ * listed below.
+ *
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
+ * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
+ *
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
+ * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
+ * files in this directory. Styles in this file should be added after the last require_* statement.
+ * It is generally better to create a new file per style scope.
+ *
+ *= require_tree .
+ *= require_self
+ */
diff --git a/dylan_eckert/rails2/likefeatures/app/assets/stylesheets/likes.scss b/dylan_eckert/rails2/likefeatures/app/assets/stylesheets/likes.scss
new file mode 100644
index 0000000..dacd946
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/assets/stylesheets/likes.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the Likes controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/dylan_eckert/rails2/likefeatures/app/assets/stylesheets/secrets.scss b/dylan_eckert/rails2/likefeatures/app/assets/stylesheets/secrets.scss
new file mode 100644
index 0000000..f1aed55
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/assets/stylesheets/secrets.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the Secrets controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/dylan_eckert/rails2/likefeatures/app/assets/stylesheets/sessions.scss b/dylan_eckert/rails2/likefeatures/app/assets/stylesheets/sessions.scss
new file mode 100644
index 0000000..ccb1ed2
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/assets/stylesheets/sessions.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the Sessions controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/richardN/controllers/imc2/app/assets/stylesheets/users.scss b/dylan_eckert/rails2/likefeatures/app/assets/stylesheets/users.scss
similarity index 100%
rename from richardN/controllers/imc2/app/assets/stylesheets/users.scss
rename to dylan_eckert/rails2/likefeatures/app/assets/stylesheets/users.scss
diff --git a/dylan_eckert/rails2/likefeatures/app/channels/application_cable/channel.rb b/dylan_eckert/rails2/likefeatures/app/channels/application_cable/channel.rb
new file mode 100644
index 0000000..d672697
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/channels/application_cable/channel.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Channel < ActionCable::Channel::Base
+ end
+end
diff --git a/dylan_eckert/rails2/likefeatures/app/channels/application_cable/connection.rb b/dylan_eckert/rails2/likefeatures/app/channels/application_cable/connection.rb
new file mode 100644
index 0000000..0ff5442
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/channels/application_cable/connection.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Connection < ActionCable::Connection::Base
+ end
+end
diff --git a/dylan_eckert/rails2/likefeatures/app/controllers/application_controller.rb b/dylan_eckert/rails2/likefeatures/app/controllers/application_controller.rb
new file mode 100644
index 0000000..122a954
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/controllers/application_controller.rb
@@ -0,0 +1,15 @@
+class ApplicationController < ActionController::Base
+ protect_from_forgery with: :exception
+
+ before_action :require_login
+
+ def require_login
+ return redirect_to new_session_path unless session[:user_id]
+ end
+ def current_user
+ # ONLY USE THIS IF YOU ARE NEEDING THE FULL USER INFO (name, email, etc) if you are going for an id, just use session[:user_id]
+ return User.find(session[:user_id]) if session[:user_id]
+ end
+ helper_method :current_user
+ helper_method :require_login
+end
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/vendor/assets/javascripts/.keep b/dylan_eckert/rails2/likefeatures/app/controllers/concerns/.keep
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/vendor/assets/javascripts/.keep
rename to dylan_eckert/rails2/likefeatures/app/controllers/concerns/.keep
diff --git a/dylan_eckert/rails2/likefeatures/app/controllers/likes_controller.rb b/dylan_eckert/rails2/likefeatures/app/controllers/likes_controller.rb
new file mode 100644
index 0000000..f64accc
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/controllers/likes_controller.rb
@@ -0,0 +1,17 @@
+class LikesController < ApplicationController
+ def create
+ Like.create(like_params)
+ redirect_to secrets_path
+ end
+
+ def destroy
+ @like = Like.find(params[:id])
+ @like.destroy if session[:user_id] === @like.user_id
+ # this is a check to make sure that if somehow a user who didnt create the like tries to delete the like(unlike), the destroy method will not run
+ redirect_to secrets_path
+ end
+ private
+ def like_params
+ params.require(:like).permit(:secret_id).merge(user: current_user)
+ end
+end
diff --git a/dylan_eckert/rails2/likefeatures/app/controllers/secrets_controller.rb b/dylan_eckert/rails2/likefeatures/app/controllers/secrets_controller.rb
new file mode 100644
index 0000000..b841f71
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/controllers/secrets_controller.rb
@@ -0,0 +1,23 @@
+class SecretsController < ApplicationController
+ def index
+ @secrets = Secret.all
+ # this is to get all secrets, I then have
+ end
+ def create
+ secret = Secret.new secret_params
+ unless secret.save
+ flash[:errors] = secret.errors.full_messages
+ end
+ redirect_to user_path current_user.id
+ end
+ def destroy
+ @secret = Secret.find(params[:id])
+ @secret.destroy if @secret.user === current_user
+ redirect_to user_path current_user.id
+ end
+ private
+ def secret_params
+ params.require(:secret).permit(:content).merge(user: current_user)
+ # make strong params for secret, including content and merging the user that created it by using my application controller's method current_user to find the current user logged in to the session
+ end
+end
diff --git a/dylan_eckert/rails2/likefeatures/app/controllers/sessions_controller.rb b/dylan_eckert/rails2/likefeatures/app/controllers/sessions_controller.rb
new file mode 100644
index 0000000..6a0abf2
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/controllers/sessions_controller.rb
@@ -0,0 +1,26 @@
+class SessionsController < ApplicationController
+ skip_before_action :require_login, except: [:destroy]
+ def new
+ end
+
+ def create
+ user = User.find_by(email: params[:email])
+ # find by email
+ if user
+ if user.try(:authenticate, params[:password])
+ # if the user matches a user in the database, set the session id to the user being authenticated
+ session[:user_id] = user.id
+ return redirect_to user_path user.id
+ end
+ flash[:errors] = ["Invalid password"]
+ else
+ flash[:errors] = ["Invalid email"]
+ end
+ return redirect_back fallback_location: new_session_path
+ end
+
+ def destroy
+ reset_session
+ redirect_to "/sessions/new"
+ end
+end
diff --git a/dylan_eckert/rails2/likefeatures/app/controllers/users_controller.rb b/dylan_eckert/rails2/likefeatures/app/controllers/users_controller.rb
new file mode 100644
index 0000000..cb2cd2e
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/controllers/users_controller.rb
@@ -0,0 +1,43 @@
+class UsersController < ApplicationController
+ skip_before_action :require_login, only: [:new, :create]
+ def new
+ end
+
+ def create
+ user = User.create(user_params)
+ if user.valid?
+ session[:user_id] = user.id
+ return redirect_to user_path user.id
+ else
+ flash[:errors] = user.errors.full_messages
+ return redirect_back fallback_location: new_user_path
+ end
+ end
+
+ def show
+ @user = User.find(params[:id])
+ end
+
+ def edit
+ @user = User.find(params[:id])
+ end
+
+ def update
+ user = User.find(params[:id])
+ user.update(user_params)
+ redirect_to user_path user.id
+ end
+
+ def destroy
+ user = User.find(params[:id])
+ user.destroy
+ reset_session
+ redirect_to new_session_path
+ end
+
+ private
+
+ def user_params
+ params.require(:user).permit(:name, :email, :password, :password_confirmation)
+ end
+end
diff --git a/Stephen Weil/Rails/Models/optimize/app/helpers/application_helper.rb b/dylan_eckert/rails2/likefeatures/app/helpers/application_helper.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/app/helpers/application_helper.rb
rename to dylan_eckert/rails2/likefeatures/app/helpers/application_helper.rb
diff --git a/dylan_eckert/rails2/likefeatures/app/helpers/likes_helper.rb b/dylan_eckert/rails2/likefeatures/app/helpers/likes_helper.rb
new file mode 100644
index 0000000..a78a759
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/helpers/likes_helper.rb
@@ -0,0 +1,2 @@
+module LikesHelper
+end
diff --git a/dylan_eckert/rails2/likefeatures/app/helpers/secrets_helper.rb b/dylan_eckert/rails2/likefeatures/app/helpers/secrets_helper.rb
new file mode 100644
index 0000000..17ab1ea
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/helpers/secrets_helper.rb
@@ -0,0 +1,2 @@
+module SecretsHelper
+end
diff --git a/dylan_eckert/rails2/likefeatures/app/helpers/sessions_helper.rb b/dylan_eckert/rails2/likefeatures/app/helpers/sessions_helper.rb
new file mode 100644
index 0000000..309f8b2
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/helpers/sessions_helper.rb
@@ -0,0 +1,2 @@
+module SessionsHelper
+end
diff --git a/dylan_eckert/rails2/likefeatures/app/helpers/users_helper.rb b/dylan_eckert/rails2/likefeatures/app/helpers/users_helper.rb
new file mode 100644
index 0000000..2310a24
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/helpers/users_helper.rb
@@ -0,0 +1,2 @@
+module UsersHelper
+end
diff --git a/dylan_eckert/rails2/likefeatures/app/jobs/application_job.rb b/dylan_eckert/rails2/likefeatures/app/jobs/application_job.rb
new file mode 100644
index 0000000..a009ace
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/jobs/application_job.rb
@@ -0,0 +1,2 @@
+class ApplicationJob < ActiveJob::Base
+end
diff --git a/dylan_eckert/rails2/likefeatures/app/mailers/application_mailer.rb b/dylan_eckert/rails2/likefeatures/app/mailers/application_mailer.rb
new file mode 100644
index 0000000..286b223
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/mailers/application_mailer.rb
@@ -0,0 +1,4 @@
+class ApplicationMailer < ActionMailer::Base
+ default from: 'from@example.com'
+ layout 'mailer'
+end
diff --git a/dylan_eckert/rails2/likefeatures/app/models/application_record.rb b/dylan_eckert/rails2/likefeatures/app/models/application_record.rb
new file mode 100644
index 0000000..10a4cba
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/models/application_record.rb
@@ -0,0 +1,3 @@
+class ApplicationRecord < ActiveRecord::Base
+ self.abstract_class = true
+end
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/vendor/assets/stylesheets/.keep b/dylan_eckert/rails2/likefeatures/app/models/concerns/.keep
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/vendor/assets/stylesheets/.keep
rename to dylan_eckert/rails2/likefeatures/app/models/concerns/.keep
diff --git a/dylan_eckert/rails2/likefeatures/app/models/like.rb b/dylan_eckert/rails2/likefeatures/app/models/like.rb
new file mode 100644
index 0000000..85908ea
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/models/like.rb
@@ -0,0 +1,4 @@
+class Like < ApplicationRecord
+ belongs_to :secret
+ belongs_to :user
+end
diff --git a/dylan_eckert/rails2/likefeatures/app/models/secret.rb b/dylan_eckert/rails2/likefeatures/app/models/secret.rb
new file mode 100644
index 0000000..1a3958f
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/models/secret.rb
@@ -0,0 +1,7 @@
+class Secret < ApplicationRecord
+ belongs_to :user
+ has_many :likes, dependent: :destroy
+ has_many :users, through: :likes
+
+ validates :content, presence: true
+end
diff --git a/dylan_eckert/rails2/likefeatures/app/models/user.rb b/dylan_eckert/rails2/likefeatures/app/models/user.rb
new file mode 100644
index 0000000..60bda5f
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/models/user.rb
@@ -0,0 +1,20 @@
+class User < ApplicationRecord
+ has_secure_password
+ has_many :secrets
+ has_many :likes, dependent: :destroy
+ has_many :secrets_liked, through: :likes, source: :secret
+ # the line above is there to allow for us so the query User.first.secrets will show all of the secrets the user created, not the secrets the user has liked
+
+ EMAIL_REGEX = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]+)\z/i
+ validates :name, presence: true
+ validates :email, presence: true, uniqueness: { case_sensitive: false }, format: { with: EMAIL_REGEX }
+
+ before_save :input_lowercase
+ # line above says that before saving the user to the database to run the email_lowercase method
+
+ def input_lowercase
+ self.email.downcase!
+ self.name.downcase!
+ # the built in method for lowercasing something is .downcase!
+ end
+end
diff --git a/dylan_eckert/rails2/likefeatures/app/views/layouts/application.html.erb b/dylan_eckert/rails2/likefeatures/app/views/layouts/application.html.erb
new file mode 100644
index 0000000..4c62c3f
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/views/layouts/application.html.erb
@@ -0,0 +1,25 @@
+
+
+
+ DojoSecrets
+ <%= csrf_meta_tags %>
+
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
+ <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
+
+
+ <% if flash[:errors] %>
+ <% flash[:errors].each do |error| %>
+
<%= error %>
+ <% end %>
+ <% end %>
+ <% if current_user %>
+
+ <% end %>
+ <%= yield %>
+
+
diff --git a/dylan_eckert/rails2/likefeatures/app/views/layouts/mailer.html.erb b/dylan_eckert/rails2/likefeatures/app/views/layouts/mailer.html.erb
new file mode 100644
index 0000000..cbd34d2
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/views/layouts/mailer.html.erb
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+ <%= yield %>
+
+
diff --git a/dylan_eckert/rails2/likefeatures/app/views/layouts/mailer.text.erb b/dylan_eckert/rails2/likefeatures/app/views/layouts/mailer.text.erb
new file mode 100644
index 0000000..37f0bdd
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/views/layouts/mailer.text.erb
@@ -0,0 +1 @@
+<%= yield %>
diff --git a/dylan_eckert/rails2/likefeatures/app/views/likes/create.html.erb b/dylan_eckert/rails2/likefeatures/app/views/likes/create.html.erb
new file mode 100644
index 0000000..7159391
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/views/likes/create.html.erb
@@ -0,0 +1,2 @@
+
Likes#create
+
Find me in app/views/likes/create.html.erb
diff --git a/dylan_eckert/rails2/likefeatures/app/views/likes/destroy.html.erb b/dylan_eckert/rails2/likefeatures/app/views/likes/destroy.html.erb
new file mode 100644
index 0000000..b7ab94f
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/views/likes/destroy.html.erb
@@ -0,0 +1,2 @@
+
Likes#destroy
+
Find me in app/views/likes/destroy.html.erb
diff --git a/dylan_eckert/rails2/likefeatures/app/views/secrets/index.html.erb b/dylan_eckert/rails2/likefeatures/app/views/secrets/index.html.erb
new file mode 100644
index 0000000..f60f6d9
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/views/secrets/index.html.erb
@@ -0,0 +1,26 @@
+
All Secrets
+<% @secrets.all.each do |secret| %>
+
<%= secret.content %>
+
<%= secret.likes.count %> likes
+ <% if secret.user == current_user %>
+
+ <% end %>
+ <% unless secret.users.include?(current_user) %>
+
+ <% else %>
+
+ <% end %>
+<% end %>
diff --git a/dylan_eckert/rails2/likefeatures/app/views/sessions/new.html.erb b/dylan_eckert/rails2/likefeatures/app/views/sessions/new.html.erb
new file mode 100644
index 0000000..9da5dea
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/views/sessions/new.html.erb
@@ -0,0 +1,9 @@
+
Login
+
diff --git a/dylan_eckert/rails2/likefeatures/app/views/users/edit.html.erb b/dylan_eckert/rails2/likefeatures/app/views/users/edit.html.erb
new file mode 100644
index 0000000..c23f602
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/views/users/edit.html.erb
@@ -0,0 +1,12 @@
+
+
diff --git a/dylan_eckert/rails2/likefeatures/app/views/users/show.html.erb b/dylan_eckert/rails2/likefeatures/app/views/users/show.html.erb
new file mode 100644
index 0000000..6aea1b2
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/app/views/users/show.html.erb
@@ -0,0 +1,21 @@
+
<%= @user.name %>
+
<%= @user.email %>
+
+
+
+<% @user.secrets.each do |secret| %>
+
<%= secret.content %>
+
<%= secret.likes.count %> likes
+ <% if secret.user == current_user %>
+
+ <% end %>
+<% end %>
+Update Account
diff --git a/Stephen Weil/Rails/Models/optimize/bin/bundle b/dylan_eckert/rails2/likefeatures/bin/bundle
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/bin/bundle
rename to dylan_eckert/rails2/likefeatures/bin/bundle
diff --git a/dylan_eckert/rails2/likefeatures/bin/rails b/dylan_eckert/rails2/likefeatures/bin/rails
new file mode 100755
index 0000000..5badb2f
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/bin/rails
@@ -0,0 +1,9 @@
+#!/usr/bin/env ruby
+begin
+ load File.expand_path('../spring', __FILE__)
+rescue LoadError => e
+ raise unless e.message.include?('spring')
+end
+APP_PATH = File.expand_path('../config/application', __dir__)
+require_relative '../config/boot'
+require 'rails/commands'
diff --git a/Stephen Weil/Rails/Models/optimize/bin/rake b/dylan_eckert/rails2/likefeatures/bin/rake
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/bin/rake
rename to dylan_eckert/rails2/likefeatures/bin/rake
diff --git a/dylan_eckert/rails2/likefeatures/bin/setup b/dylan_eckert/rails2/likefeatures/bin/setup
new file mode 100755
index 0000000..e620b4d
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/bin/setup
@@ -0,0 +1,34 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a starting point to setup your application.
+ # Add necessary setup steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ # puts "\n== Copying sample files =="
+ # unless File.exist?('config/database.yml')
+ # cp 'config/database.yml.sample', 'config/database.yml'
+ # end
+
+ puts "\n== Preparing database =="
+ system! 'bin/rails db:setup'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/Stephen Weil/Rails/Models/optimize/bin/spring b/dylan_eckert/rails2/likefeatures/bin/spring
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/bin/spring
rename to dylan_eckert/rails2/likefeatures/bin/spring
diff --git a/dylan_eckert/rails2/likefeatures/bin/update b/dylan_eckert/rails2/likefeatures/bin/update
new file mode 100755
index 0000000..a8e4462
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/bin/update
@@ -0,0 +1,29 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a way to update your development environment automatically.
+ # Add necessary update steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ puts "\n== Updating database =="
+ system! 'bin/rails db:migrate'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/dylan_eckert/rails2/likefeatures/config.ru b/dylan_eckert/rails2/likefeatures/config.ru
new file mode 100644
index 0000000..f7ba0b5
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/config.ru
@@ -0,0 +1,5 @@
+# This file is used by Rack-based servers to start the application.
+
+require_relative 'config/environment'
+
+run Rails.application
diff --git a/dylan_eckert/rails2/likefeatures/config/application.rb b/dylan_eckert/rails2/likefeatures/config/application.rb
new file mode 100644
index 0000000..65de0bc
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/config/application.rb
@@ -0,0 +1,15 @@
+require_relative 'boot'
+
+require 'rails/all'
+
+# Require the gems listed in Gemfile, including any gems
+# you've limited to :test, :development, or :production.
+Bundler.require(*Rails.groups)
+
+module DojoSecrets
+ class Application < Rails::Application
+ # Settings in config/environments/* take precedence over those specified here.
+ # Application configuration should go into files in config/initializers
+ # -- all .rb files in that directory are automatically loaded.
+ end
+end
diff --git a/dylan_eckert/rails2/likefeatures/config/boot.rb b/dylan_eckert/rails2/likefeatures/config/boot.rb
new file mode 100644
index 0000000..30f5120
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/config/boot.rb
@@ -0,0 +1,3 @@
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
+
+require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/dylan_eckert/rails2/likefeatures/config/cable.yml b/dylan_eckert/rails2/likefeatures/config/cable.yml
new file mode 100644
index 0000000..0bbde6f
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/config/cable.yml
@@ -0,0 +1,9 @@
+development:
+ adapter: async
+
+test:
+ adapter: async
+
+production:
+ adapter: redis
+ url: redis://localhost:6379/1
diff --git a/dylan_eckert/rails2/likefeatures/config/database.yml b/dylan_eckert/rails2/likefeatures/config/database.yml
new file mode 100644
index 0000000..efc5910
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/config/database.yml
@@ -0,0 +1,85 @@
+# PostgreSQL. Versions 9.1 and up are supported.
+#
+# Install the pg driver:
+# gem install pg
+# On OS X with Homebrew:
+# gem install pg -- --with-pg-config=/usr/local/bin/pg_config
+# On OS X with MacPorts:
+# gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
+# On Windows:
+# gem install pg
+# Choose the win32 build.
+# Install PostgreSQL and put its /bin directory on your path.
+#
+# Configure Using Gemfile
+# gem 'pg'
+#
+default: &default
+ adapter: postgresql
+ encoding: unicode
+ # For details on connection pooling, see rails configuration guide
+ # http://guides.rubyonrails.org/configuring.html#database-pooling
+ pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
+
+development:
+ <<: *default
+ database: DojoSecrets_development
+
+ # The specified database role being used to connect to postgres.
+ # To create additional roles in postgres see `$ createuser --help`.
+ # When left blank, postgres will use the default role. This is
+ # the same name as the operating system user that initialized the database.
+ #username: DojoSecrets
+
+ # The password associated with the postgres role (username).
+ #password:
+
+ # Connect on a TCP socket. Omitted by default since the client uses a
+ # domain socket that doesn't need configuration. Windows does not have
+ # domain sockets, so uncomment these lines.
+ #host: localhost
+
+ # The TCP port the server listens on. Defaults to 5432.
+ # If your server runs on a different port number, change accordingly.
+ #port: 5432
+
+ # Schema search path. The server defaults to $user,public
+ #schema_search_path: myapp,sharedapp,public
+
+ # Minimum log levels, in increasing order:
+ # debug5, debug4, debug3, debug2, debug1,
+ # log, notice, warning, error, fatal, and panic
+ # Defaults to warning.
+ #min_messages: notice
+
+# Warning: The database defined as "test" will be erased and
+# re-generated from your development database when you run "rake".
+# Do not set this db to the same as development or production.
+test:
+ <<: *default
+ database: DojoSecrets_test
+
+# As with config/secrets.yml, you never want to store sensitive information,
+# like your database password, in your source code. If your source code is
+# ever seen by anyone, they now have access to your database.
+#
+# Instead, provide the password as a unix environment variable when you boot
+# the app. Read http://guides.rubyonrails.org/configuring.html#configuring-a-database
+# for a full rundown on how to provide these environment variables in a
+# production deployment.
+#
+# On Heroku and other platform providers, you may have a full connection URL
+# available as an environment variable. For example:
+#
+# DATABASE_URL="postgres://myuser:mypass@localhost/somedatabase"
+#
+# You can use this database configuration with:
+#
+# production:
+# url: <%= ENV['DATABASE_URL'] %>
+#
+production:
+ <<: *default
+ database: DojoSecrets_production
+ username: DojoSecrets
+ password: <%= ENV['DOJOSECRETS_DATABASE_PASSWORD'] %>
diff --git a/dylan_eckert/rails2/likefeatures/config/environment.rb b/dylan_eckert/rails2/likefeatures/config/environment.rb
new file mode 100644
index 0000000..426333b
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/config/environment.rb
@@ -0,0 +1,5 @@
+# Load the Rails application.
+require_relative 'application'
+
+# Initialize the Rails application.
+Rails.application.initialize!
diff --git a/dylan_eckert/rails2/likefeatures/config/environments/development.rb b/dylan_eckert/rails2/likefeatures/config/environments/development.rb
new file mode 100644
index 0000000..77fe74d
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/config/environments/development.rb
@@ -0,0 +1,55 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # In the development environment your application's code is reloaded on
+ # every request. This slows down response time but is perfect for development
+ # since you don't have to rest art the web server when you make code changes.
+ config.cache_classes = false
+
+ config.reload_classes_only_on_change = false
+ # Do not eager load code on boot.
+ config.eager_load = false
+
+ # Show full error reports.
+ config.consider_all_requests_local = true
+
+ # Enable/disable caching. By default caching is disabled.
+ if Rails.root.join('tmp/caching-dev.txt').exist?
+ config.action_controller.perform_caching = true
+
+ config.cache_store = :memory_store
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=172800'
+ }
+ else
+ config.action_controller.perform_caching = false
+
+ config.cache_store = :null_store
+ end
+
+ # Don't care if the mailer can't send.
+ config.action_mailer.raise_delivery_errors = false
+
+ config.action_mailer.perform_caching = false
+
+ # Print deprecation notices to the Rails logger.
+ config.active_support.deprecation = :log
+
+ # Raise an error on page load if there are pending migrations.
+ config.active_record.migration_error = :page_load
+
+ # Debug mode disables concatenation and preprocessing of assets.
+ # This option may cause significant delays in view rendering with a large
+ # number of complex assets.
+ config.assets.debug = true
+
+ # Suppress logger output for asset requests.
+ config.assets.quiet = true
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+
+ # Use an evented file watcher to asynchronously detect changes in source code,
+ # routes, locales, etc. This feature depends on the listen gem.
+ config.file_watcher = ActiveSupport::EventedFileUpdateChecker
+end
diff --git a/dylan_eckert/rails2/likefeatures/config/environments/production.rb b/dylan_eckert/rails2/likefeatures/config/environments/production.rb
new file mode 100644
index 0000000..f8e01b7
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/config/environments/production.rb
@@ -0,0 +1,86 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # Code is not reloaded between requests.
+ config.cache_classes = true
+
+ # Eager load code on boot. This eager loads most of Rails and
+ # your application in memory, allowing both threaded web servers
+ # and those relying on copy on write to perform better.
+ # Rake tasks automatically ignore this option for performance.
+ config.eager_load = true
+
+ # Full error reports are disabled and caching is turned on.
+ config.consider_all_requests_local = false
+ config.action_controller.perform_caching = true
+
+ # Disable serving static files from the `/public` folder by default since
+ # Apache or NGINX already handles this.
+ config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
+
+ # Compress JavaScripts and CSS.
+ config.assets.js_compressor = :uglifier
+ # config.assets.css_compressor = :sass
+
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
+ config.assets.compile = false
+
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
+
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
+ # config.action_controller.asset_host = 'http://assets.example.com'
+
+ # Specifies the header that your server uses for sending files.
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
+
+ # Mount Action Cable outside main process or domain
+ # config.action_cable.mount_path = nil
+ # config.action_cable.url = 'wss://example.com/cable'
+ # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
+
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
+ # config.force_ssl = true
+
+ # Use the lowest log level to ensure availability of diagnostic information
+ # when problems arise.
+ config.log_level = :debug
+
+ # Prepend all log lines with the following tags.
+ config.log_tags = [ :request_id ]
+
+ # Use a different cache store in production.
+ # config.cache_store = :mem_cache_store
+
+ # Use a real queuing backend for Active Job (and separate queues per environment)
+ # config.active_job.queue_adapter = :resque
+ # config.active_job.queue_name_prefix = "DojoSecrets_#{Rails.env}"
+ config.action_mailer.perform_caching = false
+
+ # Ignore bad email addresses and do not raise email delivery errors.
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
+ # config.action_mailer.raise_delivery_errors = false
+
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
+ # the I18n.default_locale when a translation cannot be found).
+ config.i18n.fallbacks = true
+
+ # Send deprecation notices to registered listeners.
+ config.active_support.deprecation = :notify
+
+ # Use default logging formatter so that PID and timestamp are not suppressed.
+ config.log_formatter = ::Logger::Formatter.new
+
+ # Use a different logger for distributed setups.
+ # require 'syslog/logger'
+ # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
+
+ if ENV["RAILS_LOG_TO_STDOUT"].present?
+ logger = ActiveSupport::Logger.new(STDOUT)
+ logger.formatter = config.log_formatter
+ config.logger = ActiveSupport::TaggedLogging.new(logger)
+ end
+
+ # Do not dump schema after migrations.
+ config.active_record.dump_schema_after_migration = false
+end
diff --git a/dylan_eckert/rails2/likefeatures/config/environments/test.rb b/dylan_eckert/rails2/likefeatures/config/environments/test.rb
new file mode 100644
index 0000000..30587ef
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/config/environments/test.rb
@@ -0,0 +1,42 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # The test environment is used exclusively to run your application's
+ # test suite. You never need to work with it otherwise. Remember that
+ # your test database is "scratch space" for the test suite and is wiped
+ # and recreated between test runs. Don't rely on the data there!
+ config.cache_classes = true
+
+ # Do not eager load code on boot. This avoids loading your whole application
+ # just for the purpose of running a single test. If you are using a tool that
+ # preloads Rails for running tests, you may have to set it to true.
+ config.eager_load = false
+
+ # Configure public file server for tests with Cache-Control for performance.
+ config.public_file_server.enabled = true
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=3600'
+ }
+
+ # Show full error reports and disable caching.
+ config.consider_all_requests_local = true
+ config.action_controller.perform_caching = false
+
+ # Raise exceptions instead of rendering exception templates.
+ config.action_dispatch.show_exceptions = false
+
+ # Disable request forgery protection in test environment.
+ config.action_controller.allow_forgery_protection = false
+ config.action_mailer.perform_caching = false
+
+ # Tell Action Mailer not to deliver emails to the real world.
+ # The :test delivery method accumulates sent emails in the
+ # ActionMailer::Base.deliveries array.
+ config.action_mailer.delivery_method = :test
+
+ # Print deprecation notices to the stderr.
+ config.active_support.deprecation = :stderr
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+end
diff --git a/dylan_eckert/rails2/likefeatures/config/initializers/application_controller_renderer.rb b/dylan_eckert/rails2/likefeatures/config/initializers/application_controller_renderer.rb
new file mode 100644
index 0000000..89d2efa
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/config/initializers/application_controller_renderer.rb
@@ -0,0 +1,8 @@
+# Be sure to restart your server when you modify this file.
+
+# ActiveSupport::Reloader.to_prepare do
+# ApplicationController.renderer.defaults.merge!(
+# http_host: 'example.org',
+# https: false
+# )
+# end
diff --git a/Stephen Weil/Rails/Models/user_login_project/config/initializers/assets.rb b/dylan_eckert/rails2/likefeatures/config/initializers/assets.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/config/initializers/assets.rb
rename to dylan_eckert/rails2/likefeatures/config/initializers/assets.rb
diff --git a/Stephen Weil/Rails/Models/optimize/config/initializers/backtrace_silencers.rb b/dylan_eckert/rails2/likefeatures/config/initializers/backtrace_silencers.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/config/initializers/backtrace_silencers.rb
rename to dylan_eckert/rails2/likefeatures/config/initializers/backtrace_silencers.rb
diff --git a/dylan_eckert/rails2/likefeatures/config/initializers/cookies_serializer.rb b/dylan_eckert/rails2/likefeatures/config/initializers/cookies_serializer.rb
new file mode 100644
index 0000000..5a6a32d
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/config/initializers/cookies_serializer.rb
@@ -0,0 +1,5 @@
+# Be sure to restart your server when you modify this file.
+
+# Specify a serializer for the signed and encrypted cookie jars.
+# Valid options are :json, :marshal, and :hybrid.
+Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Stephen Weil/Rails/Models/optimize/config/initializers/filter_parameter_logging.rb b/dylan_eckert/rails2/likefeatures/config/initializers/filter_parameter_logging.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/config/initializers/filter_parameter_logging.rb
rename to dylan_eckert/rails2/likefeatures/config/initializers/filter_parameter_logging.rb
diff --git a/Stephen Weil/Rails/Models/optimize/config/initializers/inflections.rb b/dylan_eckert/rails2/likefeatures/config/initializers/inflections.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/config/initializers/inflections.rb
rename to dylan_eckert/rails2/likefeatures/config/initializers/inflections.rb
diff --git a/Stephen Weil/Rails/Models/optimize/config/initializers/mime_types.rb b/dylan_eckert/rails2/likefeatures/config/initializers/mime_types.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/config/initializers/mime_types.rb
rename to dylan_eckert/rails2/likefeatures/config/initializers/mime_types.rb
diff --git a/dylan_eckert/rails2/likefeatures/config/initializers/new_framework_defaults.rb b/dylan_eckert/rails2/likefeatures/config/initializers/new_framework_defaults.rb
new file mode 100644
index 0000000..dd236b5
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/config/initializers/new_framework_defaults.rb
@@ -0,0 +1,26 @@
+# Be sure to restart your server when you modify this file.
+#
+# This file contains migration options to ease your Rails 5.0 upgrade.
+#
+# Read the Guide for Upgrading Ruby on Rails for more info on each option.
+
+Rails.application.config.action_controller.raise_on_unfiltered_parameters = true
+
+# Enable per-form CSRF tokens. Previous versions had false.
+Rails.application.config.action_controller.per_form_csrf_tokens = true
+
+# Enable origin-checking CSRF mitigation. Previous versions had false.
+Rails.application.config.action_controller.forgery_protection_origin_check = true
+
+# Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`.
+# Previous versions had false.
+ActiveSupport.to_time_preserves_timezone = true
+
+# Require `belongs_to` associations by default. Previous versions had false.
+Rails.application.config.active_record.belongs_to_required_by_default = true
+
+# Do not halt callback chains when a callback returns false. Previous versions had true.
+ActiveSupport.halt_callback_chains_on_return_false = false
+
+# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
+Rails.application.config.ssl_options = { hsts: { subdomains: true } }
diff --git a/dylan_eckert/rails2/likefeatures/config/initializers/session_store.rb b/dylan_eckert/rails2/likefeatures/config/initializers/session_store.rb
new file mode 100644
index 0000000..745fa7c
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/config/initializers/session_store.rb
@@ -0,0 +1,3 @@
+# Be sure to restart your server when you modify this file.
+
+Rails.application.config.session_store :cookie_store, key: '_DojoSecrets_session'
diff --git a/dylan_eckert/rails2/likefeatures/config/initializers/wrap_parameters.rb b/dylan_eckert/rails2/likefeatures/config/initializers/wrap_parameters.rb
new file mode 100644
index 0000000..bbfc396
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/config/initializers/wrap_parameters.rb
@@ -0,0 +1,14 @@
+# Be sure to restart your server when you modify this file.
+
+# This file contains settings for ActionController::ParamsWrapper which
+# is enabled by default.
+
+# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
+ActiveSupport.on_load(:action_controller) do
+ wrap_parameters format: [:json]
+end
+
+# To enable root element in JSON for ActiveRecord objects.
+# ActiveSupport.on_load(:active_record) do
+# self.include_root_in_json = true
+# end
diff --git a/Stephen Weil/Rails/Models/optimize/config/locales/en.yml b/dylan_eckert/rails2/likefeatures/config/locales/en.yml
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/config/locales/en.yml
rename to dylan_eckert/rails2/likefeatures/config/locales/en.yml
diff --git a/dylan_eckert/rails2/likefeatures/config/puma.rb b/dylan_eckert/rails2/likefeatures/config/puma.rb
new file mode 100644
index 0000000..c7f311f
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/config/puma.rb
@@ -0,0 +1,47 @@
+# Puma can serve each request in a thread from an internal thread pool.
+# The `threads` method setting takes two numbers a minimum and maximum.
+# Any libraries that use thread pools should be configured to match
+# the maximum value specified for Puma. Default is set to 5 threads for minimum
+# and maximum, this matches the default thread size of Active Record.
+#
+threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i
+threads threads_count, threads_count
+
+# Specifies the `port` that Puma will listen on to receive requests, default is 3000.
+#
+port ENV.fetch("PORT") { 3000 }
+
+# Specifies the `environment` that Puma will run in.
+#
+environment ENV.fetch("RAILS_ENV") { "development" }
+
+# Specifies the number of `workers` to boot in clustered mode.
+# Workers are forked webserver processes. If using threads and workers together
+# the concurrency of the application would be max `threads` * `workers`.
+# Workers do not work on JRuby or Windows (both of which do not support
+# processes).
+#
+# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
+
+# Use the `preload_app!` method when specifying a `workers` number.
+# This directive tells Puma to first boot the application and load code
+# before forking the application. This takes advantage of Copy On Write
+# process behavior so workers use less memory. If you use this option
+# you need to make sure to reconnect any threads in the `on_worker_boot`
+# block.
+#
+# preload_app!
+
+# The code in the `on_worker_boot` will be called if you are using
+# clustered mode by specifying a number of `workers`. After each worker
+# process is booted this block will be run, if you are using `preload_app!`
+# option you will want to use this block to reconnect to any threads
+# or connections that may have been created at application boot, Ruby
+# cannot share connections between processes.
+#
+# on_worker_boot do
+# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
+# end
+
+# Allow puma to be restarted by `rails restart` command.
+plugin :tmp_restart
diff --git a/dylan_eckert/rails2/likefeatures/config/routes.rb b/dylan_eckert/rails2/likefeatures/config/routes.rb
new file mode 100644
index 0000000..27bab57
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/config/routes.rb
@@ -0,0 +1,8 @@
+Rails.application.routes.draw do
+ resources :sessions, only: [:new, :create, :destroy]
+ resources :users, except: [:index]
+ resources :secrets, only: [:index, :create, :destroy]
+ resources :likes, only: [:create, :destroy]
+ # The priority is based upon order of creation from top to bottom
+ # rake routes lets you see all available routes and their names
+end
diff --git a/dylan_eckert/rails2/likefeatures/config/secrets.yml b/dylan_eckert/rails2/likefeatures/config/secrets.yml
new file mode 100644
index 0000000..41e0de4
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/config/secrets.yml
@@ -0,0 +1,22 @@
+# Be sure to restart your server when you modify this file.
+
+# Your secret key is used for verifying the integrity of signed cookies.
+# If you change this key, all old signed cookies will become invalid!
+
+# Make sure the secret is at least 30 characters and all random,
+# no regular words or you'll be exposed to dictionary attacks.
+# You can use `rails secret` to generate a secure secret key.
+
+# Make sure the secrets in this file are kept private
+# if you're sharing your code publicly.
+
+development:
+ secret_key_base: df5bfd362ae400b400d79af9bc419e988c72e7a2df7aebc541137d2f27e125bb93b09d877ecc0cae931a9b8c16ef96f1c7329a8b2d788eadf3a0f5cc9bb4d4e7
+
+test:
+ secret_key_base: 91a21b8af0492c5893228989638a977f5e7cf895e0a94a3a0cd34976a4582b84e68c4e940e3369f2297218eaebf4bce2cc07441512a9c2d645734c20e08024b9
+
+# Do not keep production secrets in the repository,
+# instead read values from the environment.
+production:
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/dylan_eckert/rails2/likefeatures/config/spring.rb b/dylan_eckert/rails2/likefeatures/config/spring.rb
new file mode 100644
index 0000000..c9119b4
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/config/spring.rb
@@ -0,0 +1,6 @@
+%w(
+ .ruby-version
+ .rbenv-vars
+ tmp/restart.txt
+ tmp/caching-dev.txt
+).each { |path| Spring.watch(path) }
diff --git a/dylan_eckert/rails2/likefeatures/db/migrate/20171211192257_create_users.rb b/dylan_eckert/rails2/likefeatures/db/migrate/20171211192257_create_users.rb
new file mode 100644
index 0000000..9e6ab64
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/db/migrate/20171211192257_create_users.rb
@@ -0,0 +1,11 @@
+class CreateUsers < ActiveRecord::Migration[5.0]
+ def change
+ create_table :users do |t|
+ t.string :name
+ t.string :email
+ t.string :password_digest
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/likefeatures/db/migrate/20171212235708_create_secrets.rb b/dylan_eckert/rails2/likefeatures/db/migrate/20171212235708_create_secrets.rb
new file mode 100644
index 0000000..df773f3
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/db/migrate/20171212235708_create_secrets.rb
@@ -0,0 +1,10 @@
+class CreateSecrets < ActiveRecord::Migration[5.0]
+ def change
+ create_table :secrets do |t|
+ t.text :content
+ t.references :user, foreign_key: true
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/likefeatures/db/migrate/20171212235821_create_likes.rb b/dylan_eckert/rails2/likefeatures/db/migrate/20171212235821_create_likes.rb
new file mode 100644
index 0000000..0c95c79
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/db/migrate/20171212235821_create_likes.rb
@@ -0,0 +1,10 @@
+class CreateLikes < ActiveRecord::Migration[5.0]
+ def change
+ create_table :likes do |t|
+ t.references :secret, foreign_key: true
+ t.references :user, foreign_key: true
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/likefeatures/db/schema.rb b/dylan_eckert/rails2/likefeatures/db/schema.rb
new file mode 100644
index 0000000..e0d9fe8
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/db/schema.rb
@@ -0,0 +1,46 @@
+# This file is auto-generated from the current state of the database. Instead
+# of editing this file, please use the migrations feature of Active Record to
+# incrementally modify your database, and then regenerate this schema definition.
+#
+# Note that this schema.rb definition is the authoritative source for your
+# database schema. If you need to create the application database on another
+# system, you should be using db:schema:load, not running all the migrations
+# from scratch. The latter is a flawed and unsustainable approach (the more migrations
+# you'll amass, the slower it'll run and the greater likelihood for issues).
+#
+# It's strongly recommended that you check this file into your version control system.
+
+ActiveRecord::Schema.define(version: 20171212235821) do
+
+ # These are extensions that must be enabled in order to support this database
+ enable_extension "plpgsql"
+
+ create_table "likes", force: :cascade do |t|
+ t.integer "secret_id"
+ t.integer "user_id"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.index ["secret_id"], name: "index_likes_on_secret_id", using: :btree
+ t.index ["user_id"], name: "index_likes_on_user_id", using: :btree
+ end
+
+ create_table "secrets", force: :cascade do |t|
+ t.text "content"
+ t.integer "user_id"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.index ["user_id"], name: "index_secrets_on_user_id", using: :btree
+ end
+
+ create_table "users", force: :cascade do |t|
+ t.string "name"
+ t.string "email"
+ t.string "password_digest"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ end
+
+ add_foreign_key "likes", "secrets"
+ add_foreign_key "likes", "users"
+ add_foreign_key "secrets", "users"
+end
diff --git a/dylan_eckert/rails2/likefeatures/db/seeds.rb b/dylan_eckert/rails2/likefeatures/db/seeds.rb
new file mode 100644
index 0000000..1beea2a
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/db/seeds.rb
@@ -0,0 +1,7 @@
+# This file should contain all the record creation needed to seed the database with its default values.
+# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
+#
+# Examples:
+#
+# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
+# Character.create(name: 'Luke', movie: movies.first)
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/assets/images/.keep b/dylan_eckert/rails2/likefeatures/lib/assets/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/assets/images/.keep
rename to dylan_eckert/rails2/likefeatures/lib/assets/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/controllers/concerns/.keep b/dylan_eckert/rails2/likefeatures/lib/tasks/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/controllers/concerns/.keep
rename to dylan_eckert/rails2/likefeatures/lib/tasks/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/mailers/.keep b/dylan_eckert/rails2/likefeatures/log/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/mailers/.keep
rename to dylan_eckert/rails2/likefeatures/log/.keep
diff --git a/dylan_eckert/rails2/likefeatures/public/404.html b/dylan_eckert/rails2/likefeatures/public/404.html
new file mode 100644
index 0000000..2be3af2
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/public/404.html
@@ -0,0 +1,67 @@
+
+
+
+ The page you were looking for doesn't exist (404)
+
+
+
+
+
+
+
+
+
The page you were looking for doesn't exist.
+
You may have mistyped the address or the page may have moved.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/rails2/likefeatures/public/422.html b/dylan_eckert/rails2/likefeatures/public/422.html
new file mode 100644
index 0000000..c08eac0
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/public/422.html
@@ -0,0 +1,67 @@
+
+
+
+ The change you wanted was rejected (422)
+
+
+
+
+
+
+
+
+
The change you wanted was rejected.
+
Maybe you tried to change something you didn't have access to.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/rails2/likefeatures/public/500.html b/dylan_eckert/rails2/likefeatures/public/500.html
new file mode 100644
index 0000000..78a030a
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/public/500.html
@@ -0,0 +1,66 @@
+
+
+
+ We're sorry, but something went wrong (500)
+
+
+
+
+
+
+
+
+
We're sorry, but something went wrong.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/models/.keep b/dylan_eckert/rails2/likefeatures/public/apple-touch-icon-precomposed.png
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/models/.keep
rename to dylan_eckert/rails2/likefeatures/public/apple-touch-icon-precomposed.png
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/models/concerns/.keep b/dylan_eckert/rails2/likefeatures/public/apple-touch-icon.png
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/models/concerns/.keep
rename to dylan_eckert/rails2/likefeatures/public/apple-touch-icon.png
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/public/favicon.ico b/dylan_eckert/rails2/likefeatures/public/favicon.ico
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/public/favicon.ico
rename to dylan_eckert/rails2/likefeatures/public/favicon.ico
diff --git a/Stephen Weil/Rails/Models/optimize/public/robots.txt b/dylan_eckert/rails2/likefeatures/public/robots.txt
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/public/robots.txt
rename to dylan_eckert/rails2/likefeatures/public/robots.txt
diff --git a/dylan_eckert/rails2/likefeatures/spec/controllers/secrets_controller_spec.rb b/dylan_eckert/rails2/likefeatures/spec/controllers/secrets_controller_spec.rb
new file mode 100644
index 0000000..582e299
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/spec/controllers/secrets_controller_spec.rb
@@ -0,0 +1,5 @@
+require 'rails_helper'
+
+RSpec.describe SecretsController, type: :controller do
+
+end
diff --git a/dylan_eckert/rails2/likefeatures/spec/controllers/users_controller_spec.rb b/dylan_eckert/rails2/likefeatures/spec/controllers/users_controller_spec.rb
new file mode 100644
index 0000000..e2c3d3b
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/spec/controllers/users_controller_spec.rb
@@ -0,0 +1,5 @@
+require 'rails_helper'
+
+RSpec.describe UsersController, type: :controller do
+
+end
diff --git a/dylan_eckert/rails2/likefeatures/spec/factories/likes.rb b/dylan_eckert/rails2/likefeatures/spec/factories/likes.rb
new file mode 100644
index 0000000..56765c9
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/spec/factories/likes.rb
@@ -0,0 +1,6 @@
+FactoryBot.define do
+ factory :like do
+ secret nil
+ user nil
+ end
+end
diff --git a/dylan_eckert/rails2/likefeatures/spec/factories/secrets.rb b/dylan_eckert/rails2/likefeatures/spec/factories/secrets.rb
new file mode 100644
index 0000000..af5f0e0
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/spec/factories/secrets.rb
@@ -0,0 +1,6 @@
+FactoryBot.define do
+ factory :secret do
+ content "MyText"
+ user nil
+ end
+end
diff --git a/dylan_eckert/rails2/likefeatures/spec/factories/users.rb b/dylan_eckert/rails2/likefeatures/spec/factories/users.rb
new file mode 100644
index 0000000..35b5824
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/spec/factories/users.rb
@@ -0,0 +1,8 @@
+FactoryBot.define do
+ factory :user do
+ name "Dylan Eckert"
+ email "email@email.com"
+ password "password"
+ password_confirmation "password"
+ end
+end
diff --git a/dylan_eckert/rails2/likefeatures/spec/helpers/likes_helper_spec.rb b/dylan_eckert/rails2/likefeatures/spec/helpers/likes_helper_spec.rb
new file mode 100644
index 0000000..bc19687
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/spec/helpers/likes_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'rails_helper'
+
+# Specs in this file have access to a helper object that includes
+# the LikesHelper. For example:
+#
+# describe LikesHelper do
+# describe "string concat" do
+# it "concats two strings with spaces" do
+# expect(helper.concat_strings("this","that")).to eq("this that")
+# end
+# end
+# end
+RSpec.describe LikesHelper, type: :helper do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/dylan_eckert/rails2/likefeatures/spec/helpers/secrets_helper_spec.rb b/dylan_eckert/rails2/likefeatures/spec/helpers/secrets_helper_spec.rb
new file mode 100644
index 0000000..285256a
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/spec/helpers/secrets_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'rails_helper'
+
+# Specs in this file have access to a helper object that includes
+# the SecretsHelper. For example:
+#
+# describe SecretsHelper do
+# describe "string concat" do
+# it "concats two strings with spaces" do
+# expect(helper.concat_strings("this","that")).to eq("this that")
+# end
+# end
+# end
+RSpec.describe SecretsHelper, type: :helper do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/dylan_eckert/rails2/likefeatures/spec/helpers/sessions_helper_spec.rb b/dylan_eckert/rails2/likefeatures/spec/helpers/sessions_helper_spec.rb
new file mode 100644
index 0000000..9484198
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/spec/helpers/sessions_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'rails_helper'
+
+# Specs in this file have access to a helper object that includes
+# the SessionsHelper. For example:
+#
+# describe SessionsHelper do
+# describe "string concat" do
+# it "concats two strings with spaces" do
+# expect(helper.concat_strings("this","that")).to eq("this that")
+# end
+# end
+# end
+RSpec.describe SessionsHelper, type: :helper do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/dylan_eckert/rails2/likefeatures/spec/helpers/users_helper_spec.rb b/dylan_eckert/rails2/likefeatures/spec/helpers/users_helper_spec.rb
new file mode 100644
index 0000000..b2e3444
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/spec/helpers/users_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'rails_helper'
+
+# Specs in this file have access to a helper object that includes
+# the UsersHelper. For example:
+#
+# describe UsersHelper do
+# describe "string concat" do
+# it "concats two strings with spaces" do
+# expect(helper.concat_strings("this","that")).to eq("this that")
+# end
+# end
+# end
+RSpec.describe UsersHelper, type: :helper do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/dylan_eckert/rails2/likefeatures/spec/models/like_spec.rb b/dylan_eckert/rails2/likefeatures/spec/models/like_spec.rb
new file mode 100644
index 0000000..3284133
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/spec/models/like_spec.rb
@@ -0,0 +1,17 @@
+require 'rails_helper'
+
+RSpec.describe Like, type: :model do
+ describe 'relationships' do
+ before do
+ @user = create(:user)
+ @secret = create(:secret, user: @user)
+ @like = create(:like, secret: @secret, user: @user)
+ end
+ it 'belongs to a user' do
+ expect(@like.user).to eq(@user)
+ end
+ it 'belongs to a secret' do
+ expect(@like.secret).to eq(@secret)
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/likefeatures/spec/models/secret_spec.rb b/dylan_eckert/rails2/likefeatures/spec/models/secret_spec.rb
new file mode 100644
index 0000000..fb755b5
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/spec/models/secret_spec.rb
@@ -0,0 +1,24 @@
+require 'rails_helper'
+
+RSpec.describe Secret, type: :model do
+ it 'requires content' do
+ expect(build(:secret, content: "")).to be_invalid
+ end
+
+ context 'relationships' do
+ before do
+ @user = create(:user)
+ @secret = create(:secret, user: @user)
+ @like = create(:like, user: @user, secret: @secret)
+ end
+ it 'belongs to a user' do
+ expect(@secret.user).to eq(@user)
+ end
+ it 'has likes' do
+ expect(@secret.likes).to include(@like)
+ end
+ it 'has users through likes table' do
+ expect(@secret.users).to include(@user)
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/likefeatures/spec/models/user_spec.rb b/dylan_eckert/rails2/likefeatures/spec/models/user_spec.rb
new file mode 100644
index 0000000..5d8f4be
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/spec/models/user_spec.rb
@@ -0,0 +1,56 @@
+require 'rails_helper'
+
+RSpec.describe User, type: :model do
+ context "with valid attributes" do
+ it "should save" do
+ expect(build(:user)).to be_valid
+ end
+ it 'automatically encrypts the password into the password_digest attribute' do
+ expect(build(:user).password_digest.present?).to eq(true)
+ end
+ it 'email as lowercase' do
+ expect(create(:user, email: 'EMAIL@GMAIL.COM').email).to eq('email@gmail.com')
+ end
+ end
+ context "with invalid attributes should not save if" do
+ it 'name is blank' do
+ expect(build(:user, name: '')).to be_invalid
+ end
+ it 'email is blank' do
+ expect(build(:user, email: '')).to be_invalid
+ end
+ it 'email format is wrong' do
+ emails = %w[@ user@ @example.com]
+ emails.each do |email|
+ expect(build(:user, email: email)).to be_invalid
+ end
+ end
+ it 'email is not unique' do
+ create(:user)
+ expect(build(:user)).to be_invalid
+ end
+ it 'password is blank' do
+ expect(build(:user, password: '')).to be_invalid
+ end
+ it "password doesn't match password_confirmation" do
+ expect(build(:user, password_confirmation: 'notpassword')).to be_invalid
+ end
+ end
+
+ context 'relationships' do
+ before do
+ @user = create(:user)
+ @secret = create(:secret, content: 'secret 1', user: @user)
+ @like = create(:like, secret: @secret, user: @user)
+ end
+ it 'has secrets' do
+ expect(@user.secrets).to include(@secret)
+ end
+ it 'has likes' do
+ expect(@user.likes).to include(@like)
+ end
+ it "has secrets through likes table" do
+ expect(@user.secrets_liked).to include(@secret)
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/likefeatures/spec/rails_helper.rb b/dylan_eckert/rails2/likefeatures/spec/rails_helper.rb
new file mode 100644
index 0000000..c136077
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/spec/rails_helper.rb
@@ -0,0 +1,58 @@
+# This file is copied to spec/ when you run 'rails generate rspec:install'
+require 'spec_helper'
+require 'factory_bot_rails'
+ENV['RAILS_ENV'] ||= 'test'
+require File.expand_path('../../config/environment', __FILE__)
+# Prevent database truncation if the environment is production
+abort("The Rails environment is running in production mode!") if Rails.env.production?
+require 'rspec/rails'
+# Add additional requires below this line. Rails is not loaded until this point!
+
+# Requires supporting ruby files with custom matchers and macros, etc, in
+# spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
+# run as spec files by default. This means that files in spec/support that end
+# in _spec.rb will both be required and run as specs, causing the specs to be
+# run twice. It is recommended that you do not name files matching this glob to
+# end with _spec.rb. You can configure this pattern with the --pattern
+# option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
+#
+# The following line is provided for convenience purposes. It has the downside
+# of increasing the boot-up time by auto-requiring all files in the support
+# directory. Alternatively, in the individual `*_spec.rb` files, manually
+# require only the support files necessary.
+#
+# Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
+
+# Checks for pending migrations and applies them before tests are run.
+# If you are not using ActiveRecord, you can remove this line.
+ActiveRecord::Migration.maintain_test_schema!
+
+RSpec.configure do |config|
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
+ config.include FactoryBot::Syntax::Methods
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
+ # examples within a transaction, remove the following line or assign false
+ # instead of true.
+ config.use_transactional_fixtures = true
+
+ # RSpec Rails can automatically mix in different behaviours to your tests
+ # based on their file location, for example enabling you to call `get` and
+ # `post` in specs under `spec/controllers`.
+ #
+ # You can disable this behaviour by removing the line below, and instead
+ # explicitly tag your specs with their type, e.g.:
+ #
+ # RSpec.describe UsersController, :type => :controller do
+ # # ...
+ # end
+ #
+ # The different available types are documented in the features, such as in
+ # https://relishapp.com/rspec/rspec-rails/docs
+ config.infer_spec_type_from_file_location!
+
+ # Filter lines from Rails gems in backtraces.
+ config.filter_rails_from_backtrace!
+ # arbitrary gems may also be filtered via:
+ # config.filter_gems_from_backtrace("gem name")
+end
diff --git a/dylan_eckert/rails2/likefeatures/spec/spec_helper.rb b/dylan_eckert/rails2/likefeatures/spec/spec_helper.rb
new file mode 100644
index 0000000..6bd448f
--- /dev/null
+++ b/dylan_eckert/rails2/likefeatures/spec/spec_helper.rb
@@ -0,0 +1,111 @@
+# This file was generated by the `rails generate rspec:install` command. Conventionally, all
+# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
+# The generated `.rspec` file contains `--require spec_helper` which will cause
+# this file to always be loaded, without a need to explicitly require it in any
+# files.
+#
+# Given that it is always loaded, you are encouraged to keep this file as
+# light-weight as possible. Requiring heavyweight dependencies from this file
+# will add to the boot time of your test suite on EVERY test run, even for an
+# individual file that may not need all of that loaded. Instead, consider making
+# a separate helper file that requires the additional dependencies and performs
+# the additional setup, and require it from the spec files that actually need
+# it.
+#
+def log_in email: "oscar@gmail.com", password: "password"
+ visit '/sessions/new' unless current_path == "/sessions/new"
+ fill_in 'Email', with: email
+ fill_in 'Password', with: password
+ click_button 'Log In'
+end
+# The code below should already be included in your file
+RSpec.configure do |config|
+ config.expect_with :rspec do |expectations|
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
+ end
+ config.mock_with :rspec do |mocks|
+ mocks.verify_partial_doubles = true
+ end
+end
+# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
+RSpec.configure do |config|
+ # rspec-expectations config goes here. You can use an alternate
+ # assertion/expectation library such as wrong or the stdlib/minitest
+ # assertions if you prefer.
+ config.expect_with :rspec do |expectations|
+ # This option will default to `true` in RSpec 4. It makes the `description`
+ # and `failure_message` of custom matchers include text for helper methods
+ # defined using `chain`, e.g.:
+ # be_bigger_than(2).and_smaller_than(4).description
+ # # => "be bigger than 2 and smaller than 4"
+ # ...rather than:
+ # # => "be bigger than 2"
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
+ end
+
+ # rspec-mocks config goes here. You can use an alternate test double
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
+ config.mock_with :rspec do |mocks|
+ # Prevents you from mocking or stubbing a method that does not exist on
+ # a real object. This is generally recommended, and will default to
+ # `true` in RSpec 4.
+ mocks.verify_partial_doubles = true
+ end
+
+ # This option will default to `:apply_to_host_groups` in RSpec 4 (and will
+ # have no way to turn it off -- the option exists only for backwards
+ # compatibility in RSpec 3). It causes shared context metadata to be
+ # inherited by the metadata hash of host groups and examples, rather than
+ # triggering implicit auto-inclusion in groups with matching metadata.
+ config.shared_context_metadata_behavior = :apply_to_host_groups
+
+# The settings below are suggested to provide a good initial experience
+# with RSpec, but feel free to customize to your heart's content.
+=begin
+ # This allows you to limit a spec run to individual examples or groups
+ # you care about by tagging them with `:focus` metadata. When nothing
+ # is tagged with `:focus`, all examples get run. RSpec also provides
+ # aliases for `it`, `describe`, and `context` that include `:focus`
+ # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
+ config.filter_run_when_matching :focus
+
+ # Allows RSpec to persist some state between runs in order to support
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
+ # you configure your source control system to ignore this file.
+ config.example_status_persistence_file_path = "spec/examples.txt"
+
+ # Limits the available syntax to the non-monkey patched syntax that is
+ # recommended. For more details, see:
+ # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
+ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
+ config.disable_monkey_patching!
+
+ # Many RSpec users commonly either run the entire suite or an individual
+ # file, and it's useful to allow more verbose output when running an
+ # individual spec file.
+ if config.files_to_run.one?
+ # Use the documentation formatter for detailed output,
+ # unless a formatter has already been configured
+ # (e.g. via a command-line flag).
+ config.default_formatter = "doc"
+ end
+
+ # Print the 10 slowest examples and example groups at the
+ # end of the spec run, to help surface which specs are running
+ # particularly slow.
+ config.profile_examples = 10
+
+ # Run specs in random order to surface order dependencies. If you find an
+ # order dependency and want to debug it, you can fix the order by providing
+ # the seed, which is printed after each run.
+ # --seed 1234
+ config.order = :random
+
+ # Seed global randomization in this process using the `--seed` CLI option.
+ # Setting this allows you to use `--seed` to deterministically reproduce
+ # test failures related to randomization by passing the same `--seed` value
+ # as the one that triggered the failure.
+ Kernel.srand config.seed
+=end
+end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/lib/assets/.keep b/dylan_eckert/rails2/likefeatures/test/controllers/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/lib/assets/.keep
rename to dylan_eckert/rails2/likefeatures/test/controllers/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/lib/tasks/.keep b/dylan_eckert/rails2/likefeatures/test/fixtures/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/lib/tasks/.keep
rename to dylan_eckert/rails2/likefeatures/test/fixtures/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/log/.keep b/dylan_eckert/rails2/likefeatures/test/fixtures/files/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/log/.keep
rename to dylan_eckert/rails2/likefeatures/test/fixtures/files/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/test/controllers/.keep b/dylan_eckert/rails2/likefeatures/test/helpers/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/test/controllers/.keep
rename to dylan_eckert/rails2/likefeatures/test/helpers/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/test/fixtures/.keep b/dylan_eckert/rails2/likefeatures/test/integration/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/test/fixtures/.keep
rename to dylan_eckert/rails2/likefeatures/test/integration/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/test/helpers/.keep b/dylan_eckert/rails2/likefeatures/test/mailers/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/test/helpers/.keep
rename to dylan_eckert/rails2/likefeatures/test/mailers/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/test/integration/.keep b/dylan_eckert/rails2/likefeatures/test/models/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/test/integration/.keep
rename to dylan_eckert/rails2/likefeatures/test/models/.keep
diff --git a/Stephen Weil/Rails/Models/dojo_ninjas/test/test_helper.rb b/dylan_eckert/rails2/likefeatures/test/test_helper.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/dojo_ninjas/test/test_helper.rb
rename to dylan_eckert/rails2/likefeatures/test/test_helper.rb
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/test/mailers/.keep b/dylan_eckert/rails2/likefeatures/tmp/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/test/mailers/.keep
rename to dylan_eckert/rails2/likefeatures/tmp/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/test/models/.keep b/dylan_eckert/rails2/likefeatures/vendor/assets/javascripts/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/test/models/.keep
rename to dylan_eckert/rails2/likefeatures/vendor/assets/javascripts/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/vendor/assets/javascripts/.keep b/dylan_eckert/rails2/likefeatures/vendor/assets/stylesheets/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/vendor/assets/javascripts/.keep
rename to dylan_eckert/rails2/likefeatures/vendor/assets/stylesheets/.keep
diff --git a/dylan_eckert/rails2/likes/like_spec.rb b/dylan_eckert/rails2/likes/like_spec.rb
new file mode 100644
index 0000000..3284133
--- /dev/null
+++ b/dylan_eckert/rails2/likes/like_spec.rb
@@ -0,0 +1,17 @@
+require 'rails_helper'
+
+RSpec.describe Like, type: :model do
+ describe 'relationships' do
+ before do
+ @user = create(:user)
+ @secret = create(:secret, user: @user)
+ @like = create(:like, secret: @secret, user: @user)
+ end
+ it 'belongs to a user' do
+ expect(@like.user).to eq(@user)
+ end
+ it 'belongs to a secret' do
+ expect(@like.secret).to eq(@secret)
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/likes/secret_spec.rb b/dylan_eckert/rails2/likes/secret_spec.rb
new file mode 100644
index 0000000..fb755b5
--- /dev/null
+++ b/dylan_eckert/rails2/likes/secret_spec.rb
@@ -0,0 +1,24 @@
+require 'rails_helper'
+
+RSpec.describe Secret, type: :model do
+ it 'requires content' do
+ expect(build(:secret, content: "")).to be_invalid
+ end
+
+ context 'relationships' do
+ before do
+ @user = create(:user)
+ @secret = create(:secret, user: @user)
+ @like = create(:like, user: @user, secret: @secret)
+ end
+ it 'belongs to a user' do
+ expect(@secret.user).to eq(@user)
+ end
+ it 'has likes' do
+ expect(@secret.likes).to include(@like)
+ end
+ it 'has users through likes table' do
+ expect(@secret.users).to include(@user)
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/likes/user_spec.rb b/dylan_eckert/rails2/likes/user_spec.rb
new file mode 100644
index 0000000..5d8f4be
--- /dev/null
+++ b/dylan_eckert/rails2/likes/user_spec.rb
@@ -0,0 +1,56 @@
+require 'rails_helper'
+
+RSpec.describe User, type: :model do
+ context "with valid attributes" do
+ it "should save" do
+ expect(build(:user)).to be_valid
+ end
+ it 'automatically encrypts the password into the password_digest attribute' do
+ expect(build(:user).password_digest.present?).to eq(true)
+ end
+ it 'email as lowercase' do
+ expect(create(:user, email: 'EMAIL@GMAIL.COM').email).to eq('email@gmail.com')
+ end
+ end
+ context "with invalid attributes should not save if" do
+ it 'name is blank' do
+ expect(build(:user, name: '')).to be_invalid
+ end
+ it 'email is blank' do
+ expect(build(:user, email: '')).to be_invalid
+ end
+ it 'email format is wrong' do
+ emails = %w[@ user@ @example.com]
+ emails.each do |email|
+ expect(build(:user, email: email)).to be_invalid
+ end
+ end
+ it 'email is not unique' do
+ create(:user)
+ expect(build(:user)).to be_invalid
+ end
+ it 'password is blank' do
+ expect(build(:user, password: '')).to be_invalid
+ end
+ it "password doesn't match password_confirmation" do
+ expect(build(:user, password_confirmation: 'notpassword')).to be_invalid
+ end
+ end
+
+ context 'relationships' do
+ before do
+ @user = create(:user)
+ @secret = create(:secret, content: 'secret 1', user: @user)
+ @like = create(:like, secret: @secret, user: @user)
+ end
+ it 'has secrets' do
+ expect(@user.secrets).to include(@secret)
+ end
+ it 'has likes' do
+ expect(@user.likes).to include(@like)
+ end
+ it "has secrets through likes table" do
+ expect(@user.secrets_liked).to include(@secret)
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/secretfeatures/.gitignore b/dylan_eckert/rails2/secretfeatures/.gitignore
new file mode 100644
index 0000000..48fb168
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/.gitignore
@@ -0,0 +1,17 @@
+# See https://help.github.com/articles/ignoring-files for more about ignoring files.
+#
+# If you find yourself ignoring temporary files generated by your text editor
+# or operating system, you probably want to add a global ignore instead:
+# git config --global core.excludesfile '~/.gitignore_global'
+
+# Ignore bundler config.
+/.bundle
+
+# Ignore all logfiles and tempfiles.
+/log/*
+/tmp/*
+!/log/.keep
+!/tmp/.keep
+
+# Ignore Byebug command history file.
+.byebug_history
diff --git a/dylan_eckert/rails2/secretfeatures/.rspec b/dylan_eckert/rails2/secretfeatures/.rspec
new file mode 100644
index 0000000..c99d2e7
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/.rspec
@@ -0,0 +1 @@
+--require spec_helper
diff --git a/dylan_eckert/rails2/secretfeatures/Gemfile b/dylan_eckert/rails2/secretfeatures/Gemfile
new file mode 100644
index 0000000..8d464a7
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/Gemfile
@@ -0,0 +1,54 @@
+source 'https://rubygems.org'
+
+git_source(:github) do |repo_name|
+ repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
+ "https://github.com/#{repo_name}.git"
+end
+
+
+# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
+gem 'rails', '~> 5.0.6'
+# Use postgresql as the database for Active Record
+gem 'pg', '~> 0.18'
+# Use Puma as the app server
+gem 'puma', '~> 3.0'
+# Use SCSS for stylesheets
+gem 'sass-rails', '~> 5.0'
+# Use Uglifier as compressor for JavaScript assets
+gem 'uglifier', '>= 1.3.0'
+# Use CoffeeScript for .coffee assets and views
+gem 'coffee-rails', '~> 4.2'
+# See https://github.com/rails/execjs#readme for more supported runtimes
+# gem 'therubyracer', platforms: :ruby
+
+# Use jquery as the JavaScript library
+gem 'jquery-rails'
+# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
+gem 'turbolinks', '~> 5'
+# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
+gem 'jbuilder', '~> 2.5'
+# Use Redis adapter to run Action Cable in production
+# gem 'redis', '~> 3.0'
+# Use ActiveModel has_secure_password
+gem 'bcrypt', '~> 3.1.7'
+
+# Use Capistrano for deployment
+# gem 'capistrano-rails', group: :development
+
+group :development, :test do
+ gem 'rspec-rails'
+ gem 'factory_bot_rails'
+ gem 'capybara'
+end
+
+group :development do
+ # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
+ gem 'web-console', '>= 3.3.0'
+ gem 'listen', '~> 3.0.5'
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
+ gem 'spring'
+ gem 'spring-watcher-listen', '~> 2.0.0'
+end
+
+# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
+gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
diff --git a/dylan_eckert/rails2/secretfeatures/Gemfile.lock b/dylan_eckert/rails2/secretfeatures/Gemfile.lock
new file mode 100644
index 0000000..1368646
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/Gemfile.lock
@@ -0,0 +1,217 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actioncable (5.0.6)
+ actionpack (= 5.0.6)
+ nio4r (>= 1.2, < 3.0)
+ websocket-driver (~> 0.6.1)
+ actionmailer (5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ mail (~> 2.5, >= 2.5.4)
+ rails-dom-testing (~> 2.0)
+ actionpack (5.0.6)
+ actionview (= 5.0.6)
+ activesupport (= 5.0.6)
+ rack (~> 2.0)
+ rack-test (~> 0.6.3)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
+ actionview (5.0.6)
+ activesupport (= 5.0.6)
+ builder (~> 3.1)
+ erubis (~> 2.7.0)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
+ activejob (5.0.6)
+ activesupport (= 5.0.6)
+ globalid (>= 0.3.6)
+ activemodel (5.0.6)
+ activesupport (= 5.0.6)
+ activerecord (5.0.6)
+ activemodel (= 5.0.6)
+ activesupport (= 5.0.6)
+ arel (~> 7.0)
+ activesupport (5.0.6)
+ concurrent-ruby (~> 1.0, >= 1.0.2)
+ i18n (~> 0.7)
+ minitest (~> 5.1)
+ tzinfo (~> 1.1)
+ addressable (2.5.2)
+ public_suffix (>= 2.0.2, < 4.0)
+ arel (7.1.4)
+ bcrypt (3.1.11)
+ bindex (0.5.0)
+ builder (3.2.3)
+ capybara (2.16.1)
+ addressable
+ mini_mime (>= 0.1.3)
+ nokogiri (>= 1.3.3)
+ rack (>= 1.0.0)
+ rack-test (>= 0.5.4)
+ xpath (~> 2.0)
+ coffee-rails (4.2.2)
+ coffee-script (>= 2.2.0)
+ railties (>= 4.0.0)
+ coffee-script (2.4.1)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.12.2)
+ concurrent-ruby (1.0.5)
+ crass (1.0.3)
+ diff-lcs (1.3)
+ erubis (2.7.0)
+ execjs (2.7.0)
+ factory_bot (4.8.2)
+ activesupport (>= 3.0.0)
+ factory_bot_rails (4.8.2)
+ factory_bot (~> 4.8.2)
+ railties (>= 3.0.0)
+ ffi (1.9.18)
+ globalid (0.4.1)
+ activesupport (>= 4.2.0)
+ i18n (0.9.1)
+ concurrent-ruby (~> 1.0)
+ jbuilder (2.7.0)
+ activesupport (>= 4.2.0)
+ multi_json (>= 1.2)
+ jquery-rails (4.3.1)
+ rails-dom-testing (>= 1, < 3)
+ railties (>= 4.2.0)
+ thor (>= 0.14, < 2.0)
+ listen (3.0.8)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ loofah (2.1.1)
+ crass (~> 1.0.2)
+ nokogiri (>= 1.5.9)
+ mail (2.7.0)
+ mini_mime (>= 0.1.1)
+ method_source (0.9.0)
+ mini_mime (1.0.0)
+ mini_portile2 (2.3.0)
+ minitest (5.10.3)
+ multi_json (1.12.2)
+ nio4r (2.1.0)
+ nokogiri (1.8.1)
+ mini_portile2 (~> 2.3.0)
+ pg (0.21.0)
+ public_suffix (3.0.1)
+ puma (3.11.0)
+ rack (2.0.3)
+ rack-test (0.6.3)
+ rack (>= 1.0)
+ rails (5.0.6)
+ actioncable (= 5.0.6)
+ actionmailer (= 5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ activemodel (= 5.0.6)
+ activerecord (= 5.0.6)
+ activesupport (= 5.0.6)
+ bundler (>= 1.3.0)
+ railties (= 5.0.6)
+ sprockets-rails (>= 2.0.0)
+ rails-dom-testing (2.0.3)
+ activesupport (>= 4.2.0)
+ nokogiri (>= 1.6)
+ rails-html-sanitizer (1.0.3)
+ loofah (~> 2.0)
+ railties (5.0.6)
+ actionpack (= 5.0.6)
+ activesupport (= 5.0.6)
+ method_source
+ rake (>= 0.8.7)
+ thor (>= 0.18.1, < 2.0)
+ rake (12.3.0)
+ rb-fsevent (0.10.2)
+ rb-inotify (0.9.10)
+ ffi (>= 0.5.0, < 2)
+ rspec-core (3.7.0)
+ rspec-support (~> 3.7.0)
+ rspec-expectations (3.7.0)
+ diff-lcs (>= 1.2.0, < 2.0)
+ rspec-support (~> 3.7.0)
+ rspec-mocks (3.7.0)
+ diff-lcs (>= 1.2.0, < 2.0)
+ rspec-support (~> 3.7.0)
+ rspec-rails (3.7.2)
+ actionpack (>= 3.0)
+ activesupport (>= 3.0)
+ railties (>= 3.0)
+ rspec-core (~> 3.7.0)
+ rspec-expectations (~> 3.7.0)
+ rspec-mocks (~> 3.7.0)
+ rspec-support (~> 3.7.0)
+ rspec-support (3.7.0)
+ sass (3.5.3)
+ sass-listen (~> 4.0.0)
+ sass-listen (4.0.0)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ sass-rails (5.0.7)
+ railties (>= 4.0.0, < 6)
+ sass (~> 3.1)
+ sprockets (>= 2.8, < 4.0)
+ sprockets-rails (>= 2.0, < 4.0)
+ tilt (>= 1.1, < 3)
+ spring (2.0.2)
+ activesupport (>= 4.2)
+ spring-watcher-listen (2.0.1)
+ listen (>= 2.7, < 4.0)
+ spring (>= 1.2, < 3.0)
+ sprockets (3.7.1)
+ concurrent-ruby (~> 1.0)
+ rack (> 1, < 3)
+ sprockets-rails (3.2.1)
+ actionpack (>= 4.0)
+ activesupport (>= 4.0)
+ sprockets (>= 3.0.0)
+ thor (0.20.0)
+ thread_safe (0.3.6)
+ tilt (2.0.8)
+ turbolinks (5.0.1)
+ turbolinks-source (~> 5)
+ turbolinks-source (5.0.3)
+ tzinfo (1.2.4)
+ thread_safe (~> 0.1)
+ uglifier (4.0.2)
+ execjs (>= 0.3.0, < 3)
+ web-console (3.5.1)
+ actionview (>= 5.0)
+ activemodel (>= 5.0)
+ bindex (>= 0.4.0)
+ railties (>= 5.0)
+ websocket-driver (0.6.5)
+ websocket-extensions (>= 0.1.0)
+ websocket-extensions (0.1.3)
+ xpath (2.1.0)
+ nokogiri (~> 1.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ bcrypt (~> 3.1.7)
+ capybara
+ coffee-rails (~> 4.2)
+ factory_bot_rails
+ jbuilder (~> 2.5)
+ jquery-rails
+ listen (~> 3.0.5)
+ pg (~> 0.18)
+ puma (~> 3.0)
+ rails (~> 5.0.6)
+ rspec-rails
+ sass-rails (~> 5.0)
+ spring
+ spring-watcher-listen (~> 2.0.0)
+ turbolinks (~> 5)
+ tzinfo-data
+ uglifier (>= 1.3.0)
+ web-console (>= 3.3.0)
+
+BUNDLED WITH
+ 1.16.0
diff --git a/dylan_eckert/rails2/secretfeatures/README.md b/dylan_eckert/rails2/secretfeatures/README.md
new file mode 100644
index 0000000..7db80e4
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/README.md
@@ -0,0 +1,24 @@
+# README
+
+This README would normally document whatever steps are necessary to get the
+application up and running.
+
+Things you may want to cover:
+
+* Ruby version
+
+* System dependencies
+
+* Configuration
+
+* Database creation
+
+* Database initialization
+
+* How to run the test suite
+
+* Services (job queues, cache servers, search engines, etc.)
+
+* Deployment instructions
+
+* ...
diff --git a/dylan_eckert/rails2/secretfeatures/Rakefile b/dylan_eckert/rails2/secretfeatures/Rakefile
new file mode 100644
index 0000000..e85f913
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/Rakefile
@@ -0,0 +1,6 @@
+# Add your own tasks in files placed in lib/tasks ending in .rake,
+# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
+
+require_relative 'config/application'
+
+Rails.application.load_tasks
diff --git a/dylan_eckert/rails2/secretfeatures/app/assets/config/manifest.js b/dylan_eckert/rails2/secretfeatures/app/assets/config/manifest.js
new file mode 100644
index 0000000..b16e53d
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/assets/config/manifest.js
@@ -0,0 +1,3 @@
+//= link_tree ../images
+//= link_directory ../javascripts .js
+//= link_directory ../stylesheets .css
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/vendor/assets/stylesheets/.keep b/dylan_eckert/rails2/secretfeatures/app/assets/images/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/vendor/assets/stylesheets/.keep
rename to dylan_eckert/rails2/secretfeatures/app/assets/images/.keep
diff --git a/dylan_eckert/rails2/secretfeatures/app/assets/javascripts/application.js b/dylan_eckert/rails2/secretfeatures/app/assets/javascripts/application.js
new file mode 100644
index 0000000..b12018d
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/assets/javascripts/application.js
@@ -0,0 +1,16 @@
+// This is a manifest file that'll be compiled into application.js, which will include all the files
+// listed below.
+//
+// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
+// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
+//
+// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
+// compiled file. JavaScript code in this file should be added after the last require_* statement.
+//
+// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
+// about supported directives.
+//
+//= require jquery
+//= require jquery_ujs
+//= require turbolinks
+//= require_tree .
diff --git a/dylan_eckert/rails2/secretfeatures/app/assets/javascripts/cable.js b/dylan_eckert/rails2/secretfeatures/app/assets/javascripts/cable.js
new file mode 100644
index 0000000..71ee1e6
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/assets/javascripts/cable.js
@@ -0,0 +1,13 @@
+// Action Cable provides the framework to deal with WebSockets in Rails.
+// You can generate new channels where WebSocket features live using the rails generate channel command.
+//
+//= require action_cable
+//= require_self
+//= require_tree ./channels
+
+(function() {
+ this.App || (this.App = {});
+
+ App.cable = ActionCable.createConsumer();
+
+}).call(this);
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/assets/images/.keep b/dylan_eckert/rails2/secretfeatures/app/assets/javascripts/channels/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Time_display/app/assets/images/.keep
rename to dylan_eckert/rails2/secretfeatures/app/assets/javascripts/channels/.keep
diff --git a/justin_quiros/ninja_gold/app/assets/javascripts/rpgs.coffee b/dylan_eckert/rails2/secretfeatures/app/assets/javascripts/likes.coffee
similarity index 100%
rename from justin_quiros/ninja_gold/app/assets/javascripts/rpgs.coffee
rename to dylan_eckert/rails2/secretfeatures/app/assets/javascripts/likes.coffee
diff --git a/justin_quiros/survey/app/assets/javascripts/dojos.coffee b/dylan_eckert/rails2/secretfeatures/app/assets/javascripts/secrets.coffee
similarity index 100%
rename from justin_quiros/survey/app/assets/javascripts/dojos.coffee
rename to dylan_eckert/rails2/secretfeatures/app/assets/javascripts/secrets.coffee
diff --git a/richardN/controllers/routesContollers/app/assets/javascripts/hellos.coffee b/dylan_eckert/rails2/secretfeatures/app/assets/javascripts/sessions.coffee
similarity index 100%
rename from richardN/controllers/routesContollers/app/assets/javascripts/hellos.coffee
rename to dylan_eckert/rails2/secretfeatures/app/assets/javascripts/sessions.coffee
diff --git a/richardN/controllers/timeDisplay/app/assets/javascripts/time_displays.coffee b/dylan_eckert/rails2/secretfeatures/app/assets/javascripts/users.coffee
similarity index 100%
rename from richardN/controllers/timeDisplay/app/assets/javascripts/time_displays.coffee
rename to dylan_eckert/rails2/secretfeatures/app/assets/javascripts/users.coffee
diff --git a/dylan_eckert/rails2/secretfeatures/app/assets/stylesheets/application.css b/dylan_eckert/rails2/secretfeatures/app/assets/stylesheets/application.css
new file mode 100644
index 0000000..0ebd7fe
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/assets/stylesheets/application.css
@@ -0,0 +1,15 @@
+/*
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
+ * listed below.
+ *
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
+ * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
+ *
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
+ * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
+ * files in this directory. Styles in this file should be added after the last require_* statement.
+ * It is generally better to create a new file per style scope.
+ *
+ *= require_tree .
+ *= require_self
+ */
diff --git a/dylan_eckert/rails2/secretfeatures/app/assets/stylesheets/likes.scss b/dylan_eckert/rails2/secretfeatures/app/assets/stylesheets/likes.scss
new file mode 100644
index 0000000..dacd946
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/assets/stylesheets/likes.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the Likes controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/dylan_eckert/rails2/secretfeatures/app/assets/stylesheets/secrets.scss b/dylan_eckert/rails2/secretfeatures/app/assets/stylesheets/secrets.scss
new file mode 100644
index 0000000..f1aed55
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/assets/stylesheets/secrets.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the Secrets controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/dylan_eckert/rails2/secretfeatures/app/assets/stylesheets/sessions.scss b/dylan_eckert/rails2/secretfeatures/app/assets/stylesheets/sessions.scss
new file mode 100644
index 0000000..ccb1ed2
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/assets/stylesheets/sessions.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the Sessions controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/dylan_eckert/rails2/secretfeatures/app/assets/stylesheets/users.scss b/dylan_eckert/rails2/secretfeatures/app/assets/stylesheets/users.scss
new file mode 100644
index 0000000..31a2eac
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/assets/stylesheets/users.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the Users controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/dylan_eckert/rails2/secretfeatures/app/channels/application_cable/channel.rb b/dylan_eckert/rails2/secretfeatures/app/channels/application_cable/channel.rb
new file mode 100644
index 0000000..d672697
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/channels/application_cable/channel.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Channel < ActionCable::Channel::Base
+ end
+end
diff --git a/dylan_eckert/rails2/secretfeatures/app/channels/application_cable/connection.rb b/dylan_eckert/rails2/secretfeatures/app/channels/application_cable/connection.rb
new file mode 100644
index 0000000..0ff5442
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/channels/application_cable/connection.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Connection < ActionCable::Connection::Base
+ end
+end
diff --git a/dylan_eckert/rails2/secretfeatures/app/controllers/application_controller.rb b/dylan_eckert/rails2/secretfeatures/app/controllers/application_controller.rb
new file mode 100644
index 0000000..b521dc2
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/controllers/application_controller.rb
@@ -0,0 +1,14 @@
+class ApplicationController < ActionController::Base
+ protect_from_forgery with: :exception
+
+ before_action :require_login
+
+ def require_login
+ return redirect_to new_session_path unless session[:user_id]
+ end
+ def current_user
+ return User.find(session[:user_id]) if session[:user_id]
+ end
+ helper_method :current_user
+ helper_method :require_login
+end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/controllers/concerns/.keep b/dylan_eckert/rails2/secretfeatures/app/controllers/concerns/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Time_display/app/controllers/concerns/.keep
rename to dylan_eckert/rails2/secretfeatures/app/controllers/concerns/.keep
diff --git a/dylan_eckert/rails2/secretfeatures/app/controllers/likes_controller.rb b/dylan_eckert/rails2/secretfeatures/app/controllers/likes_controller.rb
new file mode 100644
index 0000000..df68c1e
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/controllers/likes_controller.rb
@@ -0,0 +1,7 @@
+class LikesController < ApplicationController
+ def create
+ end
+
+ def destroy
+ end
+end
diff --git a/dylan_eckert/rails2/secretfeatures/app/controllers/secrets_controller.rb b/dylan_eckert/rails2/secretfeatures/app/controllers/secrets_controller.rb
new file mode 100644
index 0000000..b841f71
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/controllers/secrets_controller.rb
@@ -0,0 +1,23 @@
+class SecretsController < ApplicationController
+ def index
+ @secrets = Secret.all
+ # this is to get all secrets, I then have
+ end
+ def create
+ secret = Secret.new secret_params
+ unless secret.save
+ flash[:errors] = secret.errors.full_messages
+ end
+ redirect_to user_path current_user.id
+ end
+ def destroy
+ @secret = Secret.find(params[:id])
+ @secret.destroy if @secret.user === current_user
+ redirect_to user_path current_user.id
+ end
+ private
+ def secret_params
+ params.require(:secret).permit(:content).merge(user: current_user)
+ # make strong params for secret, including content and merging the user that created it by using my application controller's method current_user to find the current user logged in to the session
+ end
+end
diff --git a/dylan_eckert/rails2/secretfeatures/app/controllers/sessions_controller.rb b/dylan_eckert/rails2/secretfeatures/app/controllers/sessions_controller.rb
new file mode 100644
index 0000000..6a0abf2
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/controllers/sessions_controller.rb
@@ -0,0 +1,26 @@
+class SessionsController < ApplicationController
+ skip_before_action :require_login, except: [:destroy]
+ def new
+ end
+
+ def create
+ user = User.find_by(email: params[:email])
+ # find by email
+ if user
+ if user.try(:authenticate, params[:password])
+ # if the user matches a user in the database, set the session id to the user being authenticated
+ session[:user_id] = user.id
+ return redirect_to user_path user.id
+ end
+ flash[:errors] = ["Invalid password"]
+ else
+ flash[:errors] = ["Invalid email"]
+ end
+ return redirect_back fallback_location: new_session_path
+ end
+
+ def destroy
+ reset_session
+ redirect_to "/sessions/new"
+ end
+end
diff --git a/dylan_eckert/rails2/secretfeatures/app/controllers/users_controller.rb b/dylan_eckert/rails2/secretfeatures/app/controllers/users_controller.rb
new file mode 100644
index 0000000..cb2cd2e
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/controllers/users_controller.rb
@@ -0,0 +1,43 @@
+class UsersController < ApplicationController
+ skip_before_action :require_login, only: [:new, :create]
+ def new
+ end
+
+ def create
+ user = User.create(user_params)
+ if user.valid?
+ session[:user_id] = user.id
+ return redirect_to user_path user.id
+ else
+ flash[:errors] = user.errors.full_messages
+ return redirect_back fallback_location: new_user_path
+ end
+ end
+
+ def show
+ @user = User.find(params[:id])
+ end
+
+ def edit
+ @user = User.find(params[:id])
+ end
+
+ def update
+ user = User.find(params[:id])
+ user.update(user_params)
+ redirect_to user_path user.id
+ end
+
+ def destroy
+ user = User.find(params[:id])
+ user.destroy
+ reset_session
+ redirect_to new_session_path
+ end
+
+ private
+
+ def user_params
+ params.require(:user).permit(:name, :email, :password, :password_confirmation)
+ end
+end
diff --git a/Stephen Weil/Rails/Models/user_login_project/app/helpers/application_helper.rb b/dylan_eckert/rails2/secretfeatures/app/helpers/application_helper.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/app/helpers/application_helper.rb
rename to dylan_eckert/rails2/secretfeatures/app/helpers/application_helper.rb
diff --git a/dylan_eckert/rails2/secretfeatures/app/helpers/likes_helper.rb b/dylan_eckert/rails2/secretfeatures/app/helpers/likes_helper.rb
new file mode 100644
index 0000000..a78a759
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/helpers/likes_helper.rb
@@ -0,0 +1,2 @@
+module LikesHelper
+end
diff --git a/dylan_eckert/rails2/secretfeatures/app/helpers/secrets_helper.rb b/dylan_eckert/rails2/secretfeatures/app/helpers/secrets_helper.rb
new file mode 100644
index 0000000..17ab1ea
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/helpers/secrets_helper.rb
@@ -0,0 +1,2 @@
+module SecretsHelper
+end
diff --git a/dylan_eckert/rails2/secretfeatures/app/helpers/sessions_helper.rb b/dylan_eckert/rails2/secretfeatures/app/helpers/sessions_helper.rb
new file mode 100644
index 0000000..309f8b2
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/helpers/sessions_helper.rb
@@ -0,0 +1,2 @@
+module SessionsHelper
+end
diff --git a/dylan_eckert/rails2/secretfeatures/app/helpers/users_helper.rb b/dylan_eckert/rails2/secretfeatures/app/helpers/users_helper.rb
new file mode 100644
index 0000000..2310a24
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/helpers/users_helper.rb
@@ -0,0 +1,2 @@
+module UsersHelper
+end
diff --git a/dylan_eckert/rails2/secretfeatures/app/jobs/application_job.rb b/dylan_eckert/rails2/secretfeatures/app/jobs/application_job.rb
new file mode 100644
index 0000000..a009ace
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/jobs/application_job.rb
@@ -0,0 +1,2 @@
+class ApplicationJob < ActiveJob::Base
+end
diff --git a/dylan_eckert/rails2/secretfeatures/app/mailers/application_mailer.rb b/dylan_eckert/rails2/secretfeatures/app/mailers/application_mailer.rb
new file mode 100644
index 0000000..286b223
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/mailers/application_mailer.rb
@@ -0,0 +1,4 @@
+class ApplicationMailer < ActionMailer::Base
+ default from: 'from@example.com'
+ layout 'mailer'
+end
diff --git a/dylan_eckert/rails2/secretfeatures/app/models/application_record.rb b/dylan_eckert/rails2/secretfeatures/app/models/application_record.rb
new file mode 100644
index 0000000..10a4cba
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/models/application_record.rb
@@ -0,0 +1,3 @@
+class ApplicationRecord < ActiveRecord::Base
+ self.abstract_class = true
+end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/mailers/.keep b/dylan_eckert/rails2/secretfeatures/app/models/concerns/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Time_display/app/mailers/.keep
rename to dylan_eckert/rails2/secretfeatures/app/models/concerns/.keep
diff --git a/dylan_eckert/rails2/secretfeatures/app/models/like.rb b/dylan_eckert/rails2/secretfeatures/app/models/like.rb
new file mode 100644
index 0000000..85908ea
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/models/like.rb
@@ -0,0 +1,4 @@
+class Like < ApplicationRecord
+ belongs_to :secret
+ belongs_to :user
+end
diff --git a/dylan_eckert/rails2/secretfeatures/app/models/secret.rb b/dylan_eckert/rails2/secretfeatures/app/models/secret.rb
new file mode 100644
index 0000000..1a3958f
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/models/secret.rb
@@ -0,0 +1,7 @@
+class Secret < ApplicationRecord
+ belongs_to :user
+ has_many :likes, dependent: :destroy
+ has_many :users, through: :likes
+
+ validates :content, presence: true
+end
diff --git a/dylan_eckert/rails2/secretfeatures/app/models/user.rb b/dylan_eckert/rails2/secretfeatures/app/models/user.rb
new file mode 100644
index 0000000..60bda5f
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/models/user.rb
@@ -0,0 +1,20 @@
+class User < ApplicationRecord
+ has_secure_password
+ has_many :secrets
+ has_many :likes, dependent: :destroy
+ has_many :secrets_liked, through: :likes, source: :secret
+ # the line above is there to allow for us so the query User.first.secrets will show all of the secrets the user created, not the secrets the user has liked
+
+ EMAIL_REGEX = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]+)\z/i
+ validates :name, presence: true
+ validates :email, presence: true, uniqueness: { case_sensitive: false }, format: { with: EMAIL_REGEX }
+
+ before_save :input_lowercase
+ # line above says that before saving the user to the database to run the email_lowercase method
+
+ def input_lowercase
+ self.email.downcase!
+ self.name.downcase!
+ # the built in method for lowercasing something is .downcase!
+ end
+end
diff --git a/dylan_eckert/rails2/secretfeatures/app/views/layouts/application.html.erb b/dylan_eckert/rails2/secretfeatures/app/views/layouts/application.html.erb
new file mode 100644
index 0000000..4c62c3f
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/views/layouts/application.html.erb
@@ -0,0 +1,25 @@
+
+
+
+ DojoSecrets
+ <%= csrf_meta_tags %>
+
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
+ <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
+
+
+ <% if flash[:errors] %>
+ <% flash[:errors].each do |error| %>
+
<%= error %>
+ <% end %>
+ <% end %>
+ <% if current_user %>
+
+ <% end %>
+ <%= yield %>
+
+
diff --git a/dylan_eckert/rails2/secretfeatures/app/views/layouts/mailer.html.erb b/dylan_eckert/rails2/secretfeatures/app/views/layouts/mailer.html.erb
new file mode 100644
index 0000000..cbd34d2
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/views/layouts/mailer.html.erb
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+ <%= yield %>
+
+
diff --git a/dylan_eckert/rails2/secretfeatures/app/views/layouts/mailer.text.erb b/dylan_eckert/rails2/secretfeatures/app/views/layouts/mailer.text.erb
new file mode 100644
index 0000000..37f0bdd
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/views/layouts/mailer.text.erb
@@ -0,0 +1 @@
+<%= yield %>
diff --git a/dylan_eckert/rails2/secretfeatures/app/views/likes/create.html.erb b/dylan_eckert/rails2/secretfeatures/app/views/likes/create.html.erb
new file mode 100644
index 0000000..7159391
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/views/likes/create.html.erb
@@ -0,0 +1,2 @@
+
Likes#create
+
Find me in app/views/likes/create.html.erb
diff --git a/dylan_eckert/rails2/secretfeatures/app/views/likes/destroy.html.erb b/dylan_eckert/rails2/secretfeatures/app/views/likes/destroy.html.erb
new file mode 100644
index 0000000..b7ab94f
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/views/likes/destroy.html.erb
@@ -0,0 +1,2 @@
+
Likes#destroy
+
Find me in app/views/likes/destroy.html.erb
diff --git a/dylan_eckert/rails2/secretfeatures/app/views/secrets/index.html.erb b/dylan_eckert/rails2/secretfeatures/app/views/secrets/index.html.erb
new file mode 100644
index 0000000..748dfce
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/views/secrets/index.html.erb
@@ -0,0 +1,12 @@
+
All Secrets
+<% @secrets.all.each do |secret| %>
+
<%= secret.content %>
+
<%= secret.likes.count %> likes
+ <% if secret.user == current_user %>
+
+ <% end %>
+<% end %>
diff --git a/dylan_eckert/rails2/secretfeatures/app/views/sessions/new.html.erb b/dylan_eckert/rails2/secretfeatures/app/views/sessions/new.html.erb
new file mode 100644
index 0000000..9da5dea
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/views/sessions/new.html.erb
@@ -0,0 +1,9 @@
+
Login
+
diff --git a/dylan_eckert/rails2/secretfeatures/app/views/users/edit.html.erb b/dylan_eckert/rails2/secretfeatures/app/views/users/edit.html.erb
new file mode 100644
index 0000000..c23f602
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/views/users/edit.html.erb
@@ -0,0 +1,12 @@
+
+
diff --git a/dylan_eckert/rails2/secretfeatures/app/views/users/show.html.erb b/dylan_eckert/rails2/secretfeatures/app/views/users/show.html.erb
new file mode 100644
index 0000000..6aea1b2
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/app/views/users/show.html.erb
@@ -0,0 +1,21 @@
+
<%= @user.name %>
+
<%= @user.email %>
+
+
+
+<% @user.secrets.each do |secret| %>
+
<%= secret.content %>
+
<%= secret.likes.count %> likes
+ <% if secret.user == current_user %>
+
+ <% end %>
+<% end %>
+Update Account
diff --git a/Stephen Weil/Rails/Models/user_login_project/bin/bundle b/dylan_eckert/rails2/secretfeatures/bin/bundle
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/bin/bundle
rename to dylan_eckert/rails2/secretfeatures/bin/bundle
diff --git a/dylan_eckert/rails2/secretfeatures/bin/rails b/dylan_eckert/rails2/secretfeatures/bin/rails
new file mode 100755
index 0000000..5badb2f
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/bin/rails
@@ -0,0 +1,9 @@
+#!/usr/bin/env ruby
+begin
+ load File.expand_path('../spring', __FILE__)
+rescue LoadError => e
+ raise unless e.message.include?('spring')
+end
+APP_PATH = File.expand_path('../config/application', __dir__)
+require_relative '../config/boot'
+require 'rails/commands'
diff --git a/Stephen Weil/Rails/Models/user_login_project/bin/rake b/dylan_eckert/rails2/secretfeatures/bin/rake
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/bin/rake
rename to dylan_eckert/rails2/secretfeatures/bin/rake
diff --git a/dylan_eckert/rails2/secretfeatures/bin/setup b/dylan_eckert/rails2/secretfeatures/bin/setup
new file mode 100755
index 0000000..e620b4d
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/bin/setup
@@ -0,0 +1,34 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a starting point to setup your application.
+ # Add necessary setup steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ # puts "\n== Copying sample files =="
+ # unless File.exist?('config/database.yml')
+ # cp 'config/database.yml.sample', 'config/database.yml'
+ # end
+
+ puts "\n== Preparing database =="
+ system! 'bin/rails db:setup'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/Stephen Weil/Rails/Models/user_login_project/bin/spring b/dylan_eckert/rails2/secretfeatures/bin/spring
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/bin/spring
rename to dylan_eckert/rails2/secretfeatures/bin/spring
diff --git a/dylan_eckert/rails2/secretfeatures/bin/update b/dylan_eckert/rails2/secretfeatures/bin/update
new file mode 100755
index 0000000..a8e4462
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/bin/update
@@ -0,0 +1,29 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a way to update your development environment automatically.
+ # Add necessary update steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ puts "\n== Updating database =="
+ system! 'bin/rails db:migrate'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/dylan_eckert/rails2/secretfeatures/config.ru b/dylan_eckert/rails2/secretfeatures/config.ru
new file mode 100644
index 0000000..f7ba0b5
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/config.ru
@@ -0,0 +1,5 @@
+# This file is used by Rack-based servers to start the application.
+
+require_relative 'config/environment'
+
+run Rails.application
diff --git a/dylan_eckert/rails2/secretfeatures/config/application.rb b/dylan_eckert/rails2/secretfeatures/config/application.rb
new file mode 100644
index 0000000..65de0bc
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/config/application.rb
@@ -0,0 +1,15 @@
+require_relative 'boot'
+
+require 'rails/all'
+
+# Require the gems listed in Gemfile, including any gems
+# you've limited to :test, :development, or :production.
+Bundler.require(*Rails.groups)
+
+module DojoSecrets
+ class Application < Rails::Application
+ # Settings in config/environments/* take precedence over those specified here.
+ # Application configuration should go into files in config/initializers
+ # -- all .rb files in that directory are automatically loaded.
+ end
+end
diff --git a/dylan_eckert/rails2/secretfeatures/config/boot.rb b/dylan_eckert/rails2/secretfeatures/config/boot.rb
new file mode 100644
index 0000000..30f5120
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/config/boot.rb
@@ -0,0 +1,3 @@
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
+
+require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/dylan_eckert/rails2/secretfeatures/config/cable.yml b/dylan_eckert/rails2/secretfeatures/config/cable.yml
new file mode 100644
index 0000000..0bbde6f
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/config/cable.yml
@@ -0,0 +1,9 @@
+development:
+ adapter: async
+
+test:
+ adapter: async
+
+production:
+ adapter: redis
+ url: redis://localhost:6379/1
diff --git a/dylan_eckert/rails2/secretfeatures/config/database.yml b/dylan_eckert/rails2/secretfeatures/config/database.yml
new file mode 100644
index 0000000..efc5910
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/config/database.yml
@@ -0,0 +1,85 @@
+# PostgreSQL. Versions 9.1 and up are supported.
+#
+# Install the pg driver:
+# gem install pg
+# On OS X with Homebrew:
+# gem install pg -- --with-pg-config=/usr/local/bin/pg_config
+# On OS X with MacPorts:
+# gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
+# On Windows:
+# gem install pg
+# Choose the win32 build.
+# Install PostgreSQL and put its /bin directory on your path.
+#
+# Configure Using Gemfile
+# gem 'pg'
+#
+default: &default
+ adapter: postgresql
+ encoding: unicode
+ # For details on connection pooling, see rails configuration guide
+ # http://guides.rubyonrails.org/configuring.html#database-pooling
+ pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
+
+development:
+ <<: *default
+ database: DojoSecrets_development
+
+ # The specified database role being used to connect to postgres.
+ # To create additional roles in postgres see `$ createuser --help`.
+ # When left blank, postgres will use the default role. This is
+ # the same name as the operating system user that initialized the database.
+ #username: DojoSecrets
+
+ # The password associated with the postgres role (username).
+ #password:
+
+ # Connect on a TCP socket. Omitted by default since the client uses a
+ # domain socket that doesn't need configuration. Windows does not have
+ # domain sockets, so uncomment these lines.
+ #host: localhost
+
+ # The TCP port the server listens on. Defaults to 5432.
+ # If your server runs on a different port number, change accordingly.
+ #port: 5432
+
+ # Schema search path. The server defaults to $user,public
+ #schema_search_path: myapp,sharedapp,public
+
+ # Minimum log levels, in increasing order:
+ # debug5, debug4, debug3, debug2, debug1,
+ # log, notice, warning, error, fatal, and panic
+ # Defaults to warning.
+ #min_messages: notice
+
+# Warning: The database defined as "test" will be erased and
+# re-generated from your development database when you run "rake".
+# Do not set this db to the same as development or production.
+test:
+ <<: *default
+ database: DojoSecrets_test
+
+# As with config/secrets.yml, you never want to store sensitive information,
+# like your database password, in your source code. If your source code is
+# ever seen by anyone, they now have access to your database.
+#
+# Instead, provide the password as a unix environment variable when you boot
+# the app. Read http://guides.rubyonrails.org/configuring.html#configuring-a-database
+# for a full rundown on how to provide these environment variables in a
+# production deployment.
+#
+# On Heroku and other platform providers, you may have a full connection URL
+# available as an environment variable. For example:
+#
+# DATABASE_URL="postgres://myuser:mypass@localhost/somedatabase"
+#
+# You can use this database configuration with:
+#
+# production:
+# url: <%= ENV['DATABASE_URL'] %>
+#
+production:
+ <<: *default
+ database: DojoSecrets_production
+ username: DojoSecrets
+ password: <%= ENV['DOJOSECRETS_DATABASE_PASSWORD'] %>
diff --git a/dylan_eckert/rails2/secretfeatures/config/environment.rb b/dylan_eckert/rails2/secretfeatures/config/environment.rb
new file mode 100644
index 0000000..426333b
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/config/environment.rb
@@ -0,0 +1,5 @@
+# Load the Rails application.
+require_relative 'application'
+
+# Initialize the Rails application.
+Rails.application.initialize!
diff --git a/dylan_eckert/rails2/secretfeatures/config/environments/development.rb b/dylan_eckert/rails2/secretfeatures/config/environments/development.rb
new file mode 100644
index 0000000..77fe74d
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/config/environments/development.rb
@@ -0,0 +1,55 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # In the development environment your application's code is reloaded on
+ # every request. This slows down response time but is perfect for development
+ # since you don't have to rest art the web server when you make code changes.
+ config.cache_classes = false
+
+ config.reload_classes_only_on_change = false
+ # Do not eager load code on boot.
+ config.eager_load = false
+
+ # Show full error reports.
+ config.consider_all_requests_local = true
+
+ # Enable/disable caching. By default caching is disabled.
+ if Rails.root.join('tmp/caching-dev.txt').exist?
+ config.action_controller.perform_caching = true
+
+ config.cache_store = :memory_store
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=172800'
+ }
+ else
+ config.action_controller.perform_caching = false
+
+ config.cache_store = :null_store
+ end
+
+ # Don't care if the mailer can't send.
+ config.action_mailer.raise_delivery_errors = false
+
+ config.action_mailer.perform_caching = false
+
+ # Print deprecation notices to the Rails logger.
+ config.active_support.deprecation = :log
+
+ # Raise an error on page load if there are pending migrations.
+ config.active_record.migration_error = :page_load
+
+ # Debug mode disables concatenation and preprocessing of assets.
+ # This option may cause significant delays in view rendering with a large
+ # number of complex assets.
+ config.assets.debug = true
+
+ # Suppress logger output for asset requests.
+ config.assets.quiet = true
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+
+ # Use an evented file watcher to asynchronously detect changes in source code,
+ # routes, locales, etc. This feature depends on the listen gem.
+ config.file_watcher = ActiveSupport::EventedFileUpdateChecker
+end
diff --git a/dylan_eckert/rails2/secretfeatures/config/environments/production.rb b/dylan_eckert/rails2/secretfeatures/config/environments/production.rb
new file mode 100644
index 0000000..f8e01b7
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/config/environments/production.rb
@@ -0,0 +1,86 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # Code is not reloaded between requests.
+ config.cache_classes = true
+
+ # Eager load code on boot. This eager loads most of Rails and
+ # your application in memory, allowing both threaded web servers
+ # and those relying on copy on write to perform better.
+ # Rake tasks automatically ignore this option for performance.
+ config.eager_load = true
+
+ # Full error reports are disabled and caching is turned on.
+ config.consider_all_requests_local = false
+ config.action_controller.perform_caching = true
+
+ # Disable serving static files from the `/public` folder by default since
+ # Apache or NGINX already handles this.
+ config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
+
+ # Compress JavaScripts and CSS.
+ config.assets.js_compressor = :uglifier
+ # config.assets.css_compressor = :sass
+
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
+ config.assets.compile = false
+
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
+
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
+ # config.action_controller.asset_host = 'http://assets.example.com'
+
+ # Specifies the header that your server uses for sending files.
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
+
+ # Mount Action Cable outside main process or domain
+ # config.action_cable.mount_path = nil
+ # config.action_cable.url = 'wss://example.com/cable'
+ # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
+
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
+ # config.force_ssl = true
+
+ # Use the lowest log level to ensure availability of diagnostic information
+ # when problems arise.
+ config.log_level = :debug
+
+ # Prepend all log lines with the following tags.
+ config.log_tags = [ :request_id ]
+
+ # Use a different cache store in production.
+ # config.cache_store = :mem_cache_store
+
+ # Use a real queuing backend for Active Job (and separate queues per environment)
+ # config.active_job.queue_adapter = :resque
+ # config.active_job.queue_name_prefix = "DojoSecrets_#{Rails.env}"
+ config.action_mailer.perform_caching = false
+
+ # Ignore bad email addresses and do not raise email delivery errors.
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
+ # config.action_mailer.raise_delivery_errors = false
+
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
+ # the I18n.default_locale when a translation cannot be found).
+ config.i18n.fallbacks = true
+
+ # Send deprecation notices to registered listeners.
+ config.active_support.deprecation = :notify
+
+ # Use default logging formatter so that PID and timestamp are not suppressed.
+ config.log_formatter = ::Logger::Formatter.new
+
+ # Use a different logger for distributed setups.
+ # require 'syslog/logger'
+ # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
+
+ if ENV["RAILS_LOG_TO_STDOUT"].present?
+ logger = ActiveSupport::Logger.new(STDOUT)
+ logger.formatter = config.log_formatter
+ config.logger = ActiveSupport::TaggedLogging.new(logger)
+ end
+
+ # Do not dump schema after migrations.
+ config.active_record.dump_schema_after_migration = false
+end
diff --git a/dylan_eckert/rails2/secretfeatures/config/environments/test.rb b/dylan_eckert/rails2/secretfeatures/config/environments/test.rb
new file mode 100644
index 0000000..30587ef
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/config/environments/test.rb
@@ -0,0 +1,42 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # The test environment is used exclusively to run your application's
+ # test suite. You never need to work with it otherwise. Remember that
+ # your test database is "scratch space" for the test suite and is wiped
+ # and recreated between test runs. Don't rely on the data there!
+ config.cache_classes = true
+
+ # Do not eager load code on boot. This avoids loading your whole application
+ # just for the purpose of running a single test. If you are using a tool that
+ # preloads Rails for running tests, you may have to set it to true.
+ config.eager_load = false
+
+ # Configure public file server for tests with Cache-Control for performance.
+ config.public_file_server.enabled = true
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=3600'
+ }
+
+ # Show full error reports and disable caching.
+ config.consider_all_requests_local = true
+ config.action_controller.perform_caching = false
+
+ # Raise exceptions instead of rendering exception templates.
+ config.action_dispatch.show_exceptions = false
+
+ # Disable request forgery protection in test environment.
+ config.action_controller.allow_forgery_protection = false
+ config.action_mailer.perform_caching = false
+
+ # Tell Action Mailer not to deliver emails to the real world.
+ # The :test delivery method accumulates sent emails in the
+ # ActionMailer::Base.deliveries array.
+ config.action_mailer.delivery_method = :test
+
+ # Print deprecation notices to the stderr.
+ config.active_support.deprecation = :stderr
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+end
diff --git a/dylan_eckert/rails2/secretfeatures/config/initializers/application_controller_renderer.rb b/dylan_eckert/rails2/secretfeatures/config/initializers/application_controller_renderer.rb
new file mode 100644
index 0000000..89d2efa
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/config/initializers/application_controller_renderer.rb
@@ -0,0 +1,8 @@
+# Be sure to restart your server when you modify this file.
+
+# ActiveSupport::Reloader.to_prepare do
+# ApplicationController.renderer.defaults.merge!(
+# http_host: 'example.org',
+# https: false
+# )
+# end
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/config/initializers/assets.rb b/dylan_eckert/rails2/secretfeatures/config/initializers/assets.rb
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/config/initializers/assets.rb
rename to dylan_eckert/rails2/secretfeatures/config/initializers/assets.rb
diff --git a/Stephen Weil/Rails/Models/user_login_project/config/initializers/backtrace_silencers.rb b/dylan_eckert/rails2/secretfeatures/config/initializers/backtrace_silencers.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/config/initializers/backtrace_silencers.rb
rename to dylan_eckert/rails2/secretfeatures/config/initializers/backtrace_silencers.rb
diff --git a/dylan_eckert/rails2/secretfeatures/config/initializers/cookies_serializer.rb b/dylan_eckert/rails2/secretfeatures/config/initializers/cookies_serializer.rb
new file mode 100644
index 0000000..5a6a32d
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/config/initializers/cookies_serializer.rb
@@ -0,0 +1,5 @@
+# Be sure to restart your server when you modify this file.
+
+# Specify a serializer for the signed and encrypted cookie jars.
+# Valid options are :json, :marshal, and :hybrid.
+Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Stephen Weil/Rails/Models/user_login_project/config/initializers/filter_parameter_logging.rb b/dylan_eckert/rails2/secretfeatures/config/initializers/filter_parameter_logging.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/config/initializers/filter_parameter_logging.rb
rename to dylan_eckert/rails2/secretfeatures/config/initializers/filter_parameter_logging.rb
diff --git a/Stephen Weil/Rails/Models/user_login_project/config/initializers/inflections.rb b/dylan_eckert/rails2/secretfeatures/config/initializers/inflections.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/config/initializers/inflections.rb
rename to dylan_eckert/rails2/secretfeatures/config/initializers/inflections.rb
diff --git a/Stephen Weil/Rails/Models/user_login_project/config/initializers/mime_types.rb b/dylan_eckert/rails2/secretfeatures/config/initializers/mime_types.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/config/initializers/mime_types.rb
rename to dylan_eckert/rails2/secretfeatures/config/initializers/mime_types.rb
diff --git a/dylan_eckert/rails2/secretfeatures/config/initializers/new_framework_defaults.rb b/dylan_eckert/rails2/secretfeatures/config/initializers/new_framework_defaults.rb
new file mode 100644
index 0000000..dd236b5
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/config/initializers/new_framework_defaults.rb
@@ -0,0 +1,26 @@
+# Be sure to restart your server when you modify this file.
+#
+# This file contains migration options to ease your Rails 5.0 upgrade.
+#
+# Read the Guide for Upgrading Ruby on Rails for more info on each option.
+
+Rails.application.config.action_controller.raise_on_unfiltered_parameters = true
+
+# Enable per-form CSRF tokens. Previous versions had false.
+Rails.application.config.action_controller.per_form_csrf_tokens = true
+
+# Enable origin-checking CSRF mitigation. Previous versions had false.
+Rails.application.config.action_controller.forgery_protection_origin_check = true
+
+# Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`.
+# Previous versions had false.
+ActiveSupport.to_time_preserves_timezone = true
+
+# Require `belongs_to` associations by default. Previous versions had false.
+Rails.application.config.active_record.belongs_to_required_by_default = true
+
+# Do not halt callback chains when a callback returns false. Previous versions had true.
+ActiveSupport.halt_callback_chains_on_return_false = false
+
+# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
+Rails.application.config.ssl_options = { hsts: { subdomains: true } }
diff --git a/dylan_eckert/rails2/secretfeatures/config/initializers/session_store.rb b/dylan_eckert/rails2/secretfeatures/config/initializers/session_store.rb
new file mode 100644
index 0000000..745fa7c
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/config/initializers/session_store.rb
@@ -0,0 +1,3 @@
+# Be sure to restart your server when you modify this file.
+
+Rails.application.config.session_store :cookie_store, key: '_DojoSecrets_session'
diff --git a/dylan_eckert/rails2/secretfeatures/config/initializers/wrap_parameters.rb b/dylan_eckert/rails2/secretfeatures/config/initializers/wrap_parameters.rb
new file mode 100644
index 0000000..bbfc396
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/config/initializers/wrap_parameters.rb
@@ -0,0 +1,14 @@
+# Be sure to restart your server when you modify this file.
+
+# This file contains settings for ActionController::ParamsWrapper which
+# is enabled by default.
+
+# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
+ActiveSupport.on_load(:action_controller) do
+ wrap_parameters format: [:json]
+end
+
+# To enable root element in JSON for ActiveRecord objects.
+# ActiveSupport.on_load(:active_record) do
+# self.include_root_in_json = true
+# end
diff --git a/Stephen Weil/Rails/Models/user_login_project/config/locales/en.yml b/dylan_eckert/rails2/secretfeatures/config/locales/en.yml
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/config/locales/en.yml
rename to dylan_eckert/rails2/secretfeatures/config/locales/en.yml
diff --git a/dylan_eckert/rails2/secretfeatures/config/puma.rb b/dylan_eckert/rails2/secretfeatures/config/puma.rb
new file mode 100644
index 0000000..c7f311f
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/config/puma.rb
@@ -0,0 +1,47 @@
+# Puma can serve each request in a thread from an internal thread pool.
+# The `threads` method setting takes two numbers a minimum and maximum.
+# Any libraries that use thread pools should be configured to match
+# the maximum value specified for Puma. Default is set to 5 threads for minimum
+# and maximum, this matches the default thread size of Active Record.
+#
+threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i
+threads threads_count, threads_count
+
+# Specifies the `port` that Puma will listen on to receive requests, default is 3000.
+#
+port ENV.fetch("PORT") { 3000 }
+
+# Specifies the `environment` that Puma will run in.
+#
+environment ENV.fetch("RAILS_ENV") { "development" }
+
+# Specifies the number of `workers` to boot in clustered mode.
+# Workers are forked webserver processes. If using threads and workers together
+# the concurrency of the application would be max `threads` * `workers`.
+# Workers do not work on JRuby or Windows (both of which do not support
+# processes).
+#
+# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
+
+# Use the `preload_app!` method when specifying a `workers` number.
+# This directive tells Puma to first boot the application and load code
+# before forking the application. This takes advantage of Copy On Write
+# process behavior so workers use less memory. If you use this option
+# you need to make sure to reconnect any threads in the `on_worker_boot`
+# block.
+#
+# preload_app!
+
+# The code in the `on_worker_boot` will be called if you are using
+# clustered mode by specifying a number of `workers`. After each worker
+# process is booted this block will be run, if you are using `preload_app!`
+# option you will want to use this block to reconnect to any threads
+# or connections that may have been created at application boot, Ruby
+# cannot share connections between processes.
+#
+# on_worker_boot do
+# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
+# end
+
+# Allow puma to be restarted by `rails restart` command.
+plugin :tmp_restart
diff --git a/dylan_eckert/rails2/secretfeatures/config/routes.rb b/dylan_eckert/rails2/secretfeatures/config/routes.rb
new file mode 100644
index 0000000..b6b5bd1
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/config/routes.rb
@@ -0,0 +1,7 @@
+Rails.application.routes.draw do
+ resources :sessions, only: [:new, :create, :destroy]
+ resources :users, except: [:index]
+ resources :secrets, only: [:index, :create, :destroy]
+ # The priority is based upon order of creation from top to bottom
+ # rake routes lets you see all available routes and their names
+end
diff --git a/dylan_eckert/rails2/secretfeatures/config/secrets.yml b/dylan_eckert/rails2/secretfeatures/config/secrets.yml
new file mode 100644
index 0000000..41e0de4
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/config/secrets.yml
@@ -0,0 +1,22 @@
+# Be sure to restart your server when you modify this file.
+
+# Your secret key is used for verifying the integrity of signed cookies.
+# If you change this key, all old signed cookies will become invalid!
+
+# Make sure the secret is at least 30 characters and all random,
+# no regular words or you'll be exposed to dictionary attacks.
+# You can use `rails secret` to generate a secure secret key.
+
+# Make sure the secrets in this file are kept private
+# if you're sharing your code publicly.
+
+development:
+ secret_key_base: df5bfd362ae400b400d79af9bc419e988c72e7a2df7aebc541137d2f27e125bb93b09d877ecc0cae931a9b8c16ef96f1c7329a8b2d788eadf3a0f5cc9bb4d4e7
+
+test:
+ secret_key_base: 91a21b8af0492c5893228989638a977f5e7cf895e0a94a3a0cd34976a4582b84e68c4e940e3369f2297218eaebf4bce2cc07441512a9c2d645734c20e08024b9
+
+# Do not keep production secrets in the repository,
+# instead read values from the environment.
+production:
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/dylan_eckert/rails2/secretfeatures/config/spring.rb b/dylan_eckert/rails2/secretfeatures/config/spring.rb
new file mode 100644
index 0000000..c9119b4
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/config/spring.rb
@@ -0,0 +1,6 @@
+%w(
+ .ruby-version
+ .rbenv-vars
+ tmp/restart.txt
+ tmp/caching-dev.txt
+).each { |path| Spring.watch(path) }
diff --git a/dylan_eckert/rails2/secretfeatures/db/migrate/20171211192257_create_users.rb b/dylan_eckert/rails2/secretfeatures/db/migrate/20171211192257_create_users.rb
new file mode 100644
index 0000000..9e6ab64
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/db/migrate/20171211192257_create_users.rb
@@ -0,0 +1,11 @@
+class CreateUsers < ActiveRecord::Migration[5.0]
+ def change
+ create_table :users do |t|
+ t.string :name
+ t.string :email
+ t.string :password_digest
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/secretfeatures/db/migrate/20171212235708_create_secrets.rb b/dylan_eckert/rails2/secretfeatures/db/migrate/20171212235708_create_secrets.rb
new file mode 100644
index 0000000..df773f3
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/db/migrate/20171212235708_create_secrets.rb
@@ -0,0 +1,10 @@
+class CreateSecrets < ActiveRecord::Migration[5.0]
+ def change
+ create_table :secrets do |t|
+ t.text :content
+ t.references :user, foreign_key: true
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/secretfeatures/db/migrate/20171212235821_create_likes.rb b/dylan_eckert/rails2/secretfeatures/db/migrate/20171212235821_create_likes.rb
new file mode 100644
index 0000000..0c95c79
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/db/migrate/20171212235821_create_likes.rb
@@ -0,0 +1,10 @@
+class CreateLikes < ActiveRecord::Migration[5.0]
+ def change
+ create_table :likes do |t|
+ t.references :secret, foreign_key: true
+ t.references :user, foreign_key: true
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/secretfeatures/db/schema.rb b/dylan_eckert/rails2/secretfeatures/db/schema.rb
new file mode 100644
index 0000000..e0d9fe8
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/db/schema.rb
@@ -0,0 +1,46 @@
+# This file is auto-generated from the current state of the database. Instead
+# of editing this file, please use the migrations feature of Active Record to
+# incrementally modify your database, and then regenerate this schema definition.
+#
+# Note that this schema.rb definition is the authoritative source for your
+# database schema. If you need to create the application database on another
+# system, you should be using db:schema:load, not running all the migrations
+# from scratch. The latter is a flawed and unsustainable approach (the more migrations
+# you'll amass, the slower it'll run and the greater likelihood for issues).
+#
+# It's strongly recommended that you check this file into your version control system.
+
+ActiveRecord::Schema.define(version: 20171212235821) do
+
+ # These are extensions that must be enabled in order to support this database
+ enable_extension "plpgsql"
+
+ create_table "likes", force: :cascade do |t|
+ t.integer "secret_id"
+ t.integer "user_id"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.index ["secret_id"], name: "index_likes_on_secret_id", using: :btree
+ t.index ["user_id"], name: "index_likes_on_user_id", using: :btree
+ end
+
+ create_table "secrets", force: :cascade do |t|
+ t.text "content"
+ t.integer "user_id"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.index ["user_id"], name: "index_secrets_on_user_id", using: :btree
+ end
+
+ create_table "users", force: :cascade do |t|
+ t.string "name"
+ t.string "email"
+ t.string "password_digest"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ end
+
+ add_foreign_key "likes", "secrets"
+ add_foreign_key "likes", "users"
+ add_foreign_key "secrets", "users"
+end
diff --git a/dylan_eckert/rails2/secretfeatures/db/seeds.rb b/dylan_eckert/rails2/secretfeatures/db/seeds.rb
new file mode 100644
index 0000000..1beea2a
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/db/seeds.rb
@@ -0,0 +1,7 @@
+# This file should contain all the record creation needed to seed the database with its default values.
+# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
+#
+# Examples:
+#
+# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
+# Character.create(name: 'Luke', movie: movies.first)
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/models/.keep b/dylan_eckert/rails2/secretfeatures/lib/assets/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Time_display/app/models/.keep
rename to dylan_eckert/rails2/secretfeatures/lib/assets/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/app/models/concerns/.keep b/dylan_eckert/rails2/secretfeatures/lib/tasks/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Time_display/app/models/concerns/.keep
rename to dylan_eckert/rails2/secretfeatures/lib/tasks/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/lib/assets/.keep b/dylan_eckert/rails2/secretfeatures/log/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Time_display/lib/assets/.keep
rename to dylan_eckert/rails2/secretfeatures/log/.keep
diff --git a/dylan_eckert/rails2/secretfeatures/public/404.html b/dylan_eckert/rails2/secretfeatures/public/404.html
new file mode 100644
index 0000000..2be3af2
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/public/404.html
@@ -0,0 +1,67 @@
+
+
+
+ The page you were looking for doesn't exist (404)
+
+
+
+
+
+
+
+
+
The page you were looking for doesn't exist.
+
You may have mistyped the address or the page may have moved.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/rails2/secretfeatures/public/422.html b/dylan_eckert/rails2/secretfeatures/public/422.html
new file mode 100644
index 0000000..c08eac0
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/public/422.html
@@ -0,0 +1,67 @@
+
+
+
+ The change you wanted was rejected (422)
+
+
+
+
+
+
+
+
+
The change you wanted was rejected.
+
Maybe you tried to change something you didn't have access to.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/rails2/secretfeatures/public/500.html b/dylan_eckert/rails2/secretfeatures/public/500.html
new file mode 100644
index 0000000..78a030a
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/public/500.html
@@ -0,0 +1,66 @@
+
+
+
+ We're sorry, but something went wrong (500)
+
+
+
+
+
+
+
+
+
We're sorry, but something went wrong.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/lib/tasks/.keep b/dylan_eckert/rails2/secretfeatures/public/apple-touch-icon-precomposed.png
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Time_display/lib/tasks/.keep
rename to dylan_eckert/rails2/secretfeatures/public/apple-touch-icon-precomposed.png
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/log/.keep b/dylan_eckert/rails2/secretfeatures/public/apple-touch-icon.png
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Time_display/log/.keep
rename to dylan_eckert/rails2/secretfeatures/public/apple-touch-icon.png
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/public/favicon.ico b/dylan_eckert/rails2/secretfeatures/public/favicon.ico
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Time_display/public/favicon.ico
rename to dylan_eckert/rails2/secretfeatures/public/favicon.ico
diff --git a/Stephen Weil/Rails/Models/user_login_project/public/robots.txt b/dylan_eckert/rails2/secretfeatures/public/robots.txt
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/public/robots.txt
rename to dylan_eckert/rails2/secretfeatures/public/robots.txt
diff --git a/dylan_eckert/rails2/secretfeatures/spec/controllers/secrets_controller_spec.rb b/dylan_eckert/rails2/secretfeatures/spec/controllers/secrets_controller_spec.rb
new file mode 100644
index 0000000..582e299
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/spec/controllers/secrets_controller_spec.rb
@@ -0,0 +1,5 @@
+require 'rails_helper'
+
+RSpec.describe SecretsController, type: :controller do
+
+end
diff --git a/dylan_eckert/rails2/secretfeatures/spec/controllers/users_controller_spec.rb b/dylan_eckert/rails2/secretfeatures/spec/controllers/users_controller_spec.rb
new file mode 100644
index 0000000..e2c3d3b
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/spec/controllers/users_controller_spec.rb
@@ -0,0 +1,5 @@
+require 'rails_helper'
+
+RSpec.describe UsersController, type: :controller do
+
+end
diff --git a/dylan_eckert/rails2/secretfeatures/spec/factories/likes.rb b/dylan_eckert/rails2/secretfeatures/spec/factories/likes.rb
new file mode 100644
index 0000000..56765c9
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/spec/factories/likes.rb
@@ -0,0 +1,6 @@
+FactoryBot.define do
+ factory :like do
+ secret nil
+ user nil
+ end
+end
diff --git a/dylan_eckert/rails2/secretfeatures/spec/factories/secrets.rb b/dylan_eckert/rails2/secretfeatures/spec/factories/secrets.rb
new file mode 100644
index 0000000..af5f0e0
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/spec/factories/secrets.rb
@@ -0,0 +1,6 @@
+FactoryBot.define do
+ factory :secret do
+ content "MyText"
+ user nil
+ end
+end
diff --git a/dylan_eckert/rails2/secretfeatures/spec/factories/users.rb b/dylan_eckert/rails2/secretfeatures/spec/factories/users.rb
new file mode 100644
index 0000000..35b5824
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/spec/factories/users.rb
@@ -0,0 +1,8 @@
+FactoryBot.define do
+ factory :user do
+ name "Dylan Eckert"
+ email "email@email.com"
+ password "password"
+ password_confirmation "password"
+ end
+end
diff --git a/dylan_eckert/rails2/secretfeatures/spec/helpers/likes_helper_spec.rb b/dylan_eckert/rails2/secretfeatures/spec/helpers/likes_helper_spec.rb
new file mode 100644
index 0000000..bc19687
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/spec/helpers/likes_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'rails_helper'
+
+# Specs in this file have access to a helper object that includes
+# the LikesHelper. For example:
+#
+# describe LikesHelper do
+# describe "string concat" do
+# it "concats two strings with spaces" do
+# expect(helper.concat_strings("this","that")).to eq("this that")
+# end
+# end
+# end
+RSpec.describe LikesHelper, type: :helper do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/dylan_eckert/rails2/secretfeatures/spec/helpers/secrets_helper_spec.rb b/dylan_eckert/rails2/secretfeatures/spec/helpers/secrets_helper_spec.rb
new file mode 100644
index 0000000..285256a
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/spec/helpers/secrets_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'rails_helper'
+
+# Specs in this file have access to a helper object that includes
+# the SecretsHelper. For example:
+#
+# describe SecretsHelper do
+# describe "string concat" do
+# it "concats two strings with spaces" do
+# expect(helper.concat_strings("this","that")).to eq("this that")
+# end
+# end
+# end
+RSpec.describe SecretsHelper, type: :helper do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/dylan_eckert/rails2/secretfeatures/spec/helpers/sessions_helper_spec.rb b/dylan_eckert/rails2/secretfeatures/spec/helpers/sessions_helper_spec.rb
new file mode 100644
index 0000000..9484198
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/spec/helpers/sessions_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'rails_helper'
+
+# Specs in this file have access to a helper object that includes
+# the SessionsHelper. For example:
+#
+# describe SessionsHelper do
+# describe "string concat" do
+# it "concats two strings with spaces" do
+# expect(helper.concat_strings("this","that")).to eq("this that")
+# end
+# end
+# end
+RSpec.describe SessionsHelper, type: :helper do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/dylan_eckert/rails2/secretfeatures/spec/helpers/users_helper_spec.rb b/dylan_eckert/rails2/secretfeatures/spec/helpers/users_helper_spec.rb
new file mode 100644
index 0000000..b2e3444
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/spec/helpers/users_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'rails_helper'
+
+# Specs in this file have access to a helper object that includes
+# the UsersHelper. For example:
+#
+# describe UsersHelper do
+# describe "string concat" do
+# it "concats two strings with spaces" do
+# expect(helper.concat_strings("this","that")).to eq("this that")
+# end
+# end
+# end
+RSpec.describe UsersHelper, type: :helper do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/dylan_eckert/rails2/secretfeatures/spec/models/like_spec.rb b/dylan_eckert/rails2/secretfeatures/spec/models/like_spec.rb
new file mode 100644
index 0000000..3284133
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/spec/models/like_spec.rb
@@ -0,0 +1,17 @@
+require 'rails_helper'
+
+RSpec.describe Like, type: :model do
+ describe 'relationships' do
+ before do
+ @user = create(:user)
+ @secret = create(:secret, user: @user)
+ @like = create(:like, secret: @secret, user: @user)
+ end
+ it 'belongs to a user' do
+ expect(@like.user).to eq(@user)
+ end
+ it 'belongs to a secret' do
+ expect(@like.secret).to eq(@secret)
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/secretfeatures/spec/models/secret_spec.rb b/dylan_eckert/rails2/secretfeatures/spec/models/secret_spec.rb
new file mode 100644
index 0000000..fb755b5
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/spec/models/secret_spec.rb
@@ -0,0 +1,24 @@
+require 'rails_helper'
+
+RSpec.describe Secret, type: :model do
+ it 'requires content' do
+ expect(build(:secret, content: "")).to be_invalid
+ end
+
+ context 'relationships' do
+ before do
+ @user = create(:user)
+ @secret = create(:secret, user: @user)
+ @like = create(:like, user: @user, secret: @secret)
+ end
+ it 'belongs to a user' do
+ expect(@secret.user).to eq(@user)
+ end
+ it 'has likes' do
+ expect(@secret.likes).to include(@like)
+ end
+ it 'has users through likes table' do
+ expect(@secret.users).to include(@user)
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/secretfeatures/spec/models/user_spec.rb b/dylan_eckert/rails2/secretfeatures/spec/models/user_spec.rb
new file mode 100644
index 0000000..5d8f4be
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/spec/models/user_spec.rb
@@ -0,0 +1,56 @@
+require 'rails_helper'
+
+RSpec.describe User, type: :model do
+ context "with valid attributes" do
+ it "should save" do
+ expect(build(:user)).to be_valid
+ end
+ it 'automatically encrypts the password into the password_digest attribute' do
+ expect(build(:user).password_digest.present?).to eq(true)
+ end
+ it 'email as lowercase' do
+ expect(create(:user, email: 'EMAIL@GMAIL.COM').email).to eq('email@gmail.com')
+ end
+ end
+ context "with invalid attributes should not save if" do
+ it 'name is blank' do
+ expect(build(:user, name: '')).to be_invalid
+ end
+ it 'email is blank' do
+ expect(build(:user, email: '')).to be_invalid
+ end
+ it 'email format is wrong' do
+ emails = %w[@ user@ @example.com]
+ emails.each do |email|
+ expect(build(:user, email: email)).to be_invalid
+ end
+ end
+ it 'email is not unique' do
+ create(:user)
+ expect(build(:user)).to be_invalid
+ end
+ it 'password is blank' do
+ expect(build(:user, password: '')).to be_invalid
+ end
+ it "password doesn't match password_confirmation" do
+ expect(build(:user, password_confirmation: 'notpassword')).to be_invalid
+ end
+ end
+
+ context 'relationships' do
+ before do
+ @user = create(:user)
+ @secret = create(:secret, content: 'secret 1', user: @user)
+ @like = create(:like, secret: @secret, user: @user)
+ end
+ it 'has secrets' do
+ expect(@user.secrets).to include(@secret)
+ end
+ it 'has likes' do
+ expect(@user.likes).to include(@like)
+ end
+ it "has secrets through likes table" do
+ expect(@user.secrets_liked).to include(@secret)
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/secretfeatures/spec/rails_helper.rb b/dylan_eckert/rails2/secretfeatures/spec/rails_helper.rb
new file mode 100644
index 0000000..c136077
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/spec/rails_helper.rb
@@ -0,0 +1,58 @@
+# This file is copied to spec/ when you run 'rails generate rspec:install'
+require 'spec_helper'
+require 'factory_bot_rails'
+ENV['RAILS_ENV'] ||= 'test'
+require File.expand_path('../../config/environment', __FILE__)
+# Prevent database truncation if the environment is production
+abort("The Rails environment is running in production mode!") if Rails.env.production?
+require 'rspec/rails'
+# Add additional requires below this line. Rails is not loaded until this point!
+
+# Requires supporting ruby files with custom matchers and macros, etc, in
+# spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
+# run as spec files by default. This means that files in spec/support that end
+# in _spec.rb will both be required and run as specs, causing the specs to be
+# run twice. It is recommended that you do not name files matching this glob to
+# end with _spec.rb. You can configure this pattern with the --pattern
+# option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
+#
+# The following line is provided for convenience purposes. It has the downside
+# of increasing the boot-up time by auto-requiring all files in the support
+# directory. Alternatively, in the individual `*_spec.rb` files, manually
+# require only the support files necessary.
+#
+# Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
+
+# Checks for pending migrations and applies them before tests are run.
+# If you are not using ActiveRecord, you can remove this line.
+ActiveRecord::Migration.maintain_test_schema!
+
+RSpec.configure do |config|
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
+ config.include FactoryBot::Syntax::Methods
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
+ # examples within a transaction, remove the following line or assign false
+ # instead of true.
+ config.use_transactional_fixtures = true
+
+ # RSpec Rails can automatically mix in different behaviours to your tests
+ # based on their file location, for example enabling you to call `get` and
+ # `post` in specs under `spec/controllers`.
+ #
+ # You can disable this behaviour by removing the line below, and instead
+ # explicitly tag your specs with their type, e.g.:
+ #
+ # RSpec.describe UsersController, :type => :controller do
+ # # ...
+ # end
+ #
+ # The different available types are documented in the features, such as in
+ # https://relishapp.com/rspec/rspec-rails/docs
+ config.infer_spec_type_from_file_location!
+
+ # Filter lines from Rails gems in backtraces.
+ config.filter_rails_from_backtrace!
+ # arbitrary gems may also be filtered via:
+ # config.filter_gems_from_backtrace("gem name")
+end
diff --git a/dylan_eckert/rails2/secretfeatures/spec/spec_helper.rb b/dylan_eckert/rails2/secretfeatures/spec/spec_helper.rb
new file mode 100644
index 0000000..6bd448f
--- /dev/null
+++ b/dylan_eckert/rails2/secretfeatures/spec/spec_helper.rb
@@ -0,0 +1,111 @@
+# This file was generated by the `rails generate rspec:install` command. Conventionally, all
+# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
+# The generated `.rspec` file contains `--require spec_helper` which will cause
+# this file to always be loaded, without a need to explicitly require it in any
+# files.
+#
+# Given that it is always loaded, you are encouraged to keep this file as
+# light-weight as possible. Requiring heavyweight dependencies from this file
+# will add to the boot time of your test suite on EVERY test run, even for an
+# individual file that may not need all of that loaded. Instead, consider making
+# a separate helper file that requires the additional dependencies and performs
+# the additional setup, and require it from the spec files that actually need
+# it.
+#
+def log_in email: "oscar@gmail.com", password: "password"
+ visit '/sessions/new' unless current_path == "/sessions/new"
+ fill_in 'Email', with: email
+ fill_in 'Password', with: password
+ click_button 'Log In'
+end
+# The code below should already be included in your file
+RSpec.configure do |config|
+ config.expect_with :rspec do |expectations|
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
+ end
+ config.mock_with :rspec do |mocks|
+ mocks.verify_partial_doubles = true
+ end
+end
+# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
+RSpec.configure do |config|
+ # rspec-expectations config goes here. You can use an alternate
+ # assertion/expectation library such as wrong or the stdlib/minitest
+ # assertions if you prefer.
+ config.expect_with :rspec do |expectations|
+ # This option will default to `true` in RSpec 4. It makes the `description`
+ # and `failure_message` of custom matchers include text for helper methods
+ # defined using `chain`, e.g.:
+ # be_bigger_than(2).and_smaller_than(4).description
+ # # => "be bigger than 2 and smaller than 4"
+ # ...rather than:
+ # # => "be bigger than 2"
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
+ end
+
+ # rspec-mocks config goes here. You can use an alternate test double
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
+ config.mock_with :rspec do |mocks|
+ # Prevents you from mocking or stubbing a method that does not exist on
+ # a real object. This is generally recommended, and will default to
+ # `true` in RSpec 4.
+ mocks.verify_partial_doubles = true
+ end
+
+ # This option will default to `:apply_to_host_groups` in RSpec 4 (and will
+ # have no way to turn it off -- the option exists only for backwards
+ # compatibility in RSpec 3). It causes shared context metadata to be
+ # inherited by the metadata hash of host groups and examples, rather than
+ # triggering implicit auto-inclusion in groups with matching metadata.
+ config.shared_context_metadata_behavior = :apply_to_host_groups
+
+# The settings below are suggested to provide a good initial experience
+# with RSpec, but feel free to customize to your heart's content.
+=begin
+ # This allows you to limit a spec run to individual examples or groups
+ # you care about by tagging them with `:focus` metadata. When nothing
+ # is tagged with `:focus`, all examples get run. RSpec also provides
+ # aliases for `it`, `describe`, and `context` that include `:focus`
+ # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
+ config.filter_run_when_matching :focus
+
+ # Allows RSpec to persist some state between runs in order to support
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
+ # you configure your source control system to ignore this file.
+ config.example_status_persistence_file_path = "spec/examples.txt"
+
+ # Limits the available syntax to the non-monkey patched syntax that is
+ # recommended. For more details, see:
+ # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
+ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
+ config.disable_monkey_patching!
+
+ # Many RSpec users commonly either run the entire suite or an individual
+ # file, and it's useful to allow more verbose output when running an
+ # individual spec file.
+ if config.files_to_run.one?
+ # Use the documentation formatter for detailed output,
+ # unless a formatter has already been configured
+ # (e.g. via a command-line flag).
+ config.default_formatter = "doc"
+ end
+
+ # Print the 10 slowest examples and example groups at the
+ # end of the spec run, to help surface which specs are running
+ # particularly slow.
+ config.profile_examples = 10
+
+ # Run specs in random order to surface order dependencies. If you find an
+ # order dependency and want to debug it, you can fix the order by providing
+ # the seed, which is printed after each run.
+ # --seed 1234
+ config.order = :random
+
+ # Seed global randomization in this process using the `--seed` CLI option.
+ # Setting this allows you to use `--seed` to deterministically reproduce
+ # test failures related to randomization by passing the same `--seed` value
+ # as the one that triggered the failure.
+ Kernel.srand config.seed
+=end
+end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/test/controllers/.keep b/dylan_eckert/rails2/secretfeatures/test/controllers/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Time_display/test/controllers/.keep
rename to dylan_eckert/rails2/secretfeatures/test/controllers/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/test/fixtures/.keep b/dylan_eckert/rails2/secretfeatures/test/fixtures/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Time_display/test/fixtures/.keep
rename to dylan_eckert/rails2/secretfeatures/test/fixtures/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/test/helpers/.keep b/dylan_eckert/rails2/secretfeatures/test/fixtures/files/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Time_display/test/helpers/.keep
rename to dylan_eckert/rails2/secretfeatures/test/fixtures/files/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/test/integration/.keep b/dylan_eckert/rails2/secretfeatures/test/helpers/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Time_display/test/integration/.keep
rename to dylan_eckert/rails2/secretfeatures/test/helpers/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/test/mailers/.keep b/dylan_eckert/rails2/secretfeatures/test/integration/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Time_display/test/mailers/.keep
rename to dylan_eckert/rails2/secretfeatures/test/integration/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/test/models/.keep b/dylan_eckert/rails2/secretfeatures/test/mailers/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Time_display/test/models/.keep
rename to dylan_eckert/rails2/secretfeatures/test/mailers/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/vendor/assets/javascripts/.keep b/dylan_eckert/rails2/secretfeatures/test/models/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Time_display/vendor/assets/javascripts/.keep
rename to dylan_eckert/rails2/secretfeatures/test/models/.keep
diff --git a/Stephen Weil/Rails/Models/optimize/test/test_helper.rb b/dylan_eckert/rails2/secretfeatures/test/test_helper.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/optimize/test/test_helper.rb
rename to dylan_eckert/rails2/secretfeatures/test/test_helper.rb
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/vendor/assets/stylesheets/.keep b/dylan_eckert/rails2/secretfeatures/tmp/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Time_display/vendor/assets/stylesheets/.keep
rename to dylan_eckert/rails2/secretfeatures/tmp/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/app/assets/images/.keep b/dylan_eckert/rails2/secretfeatures/vendor/assets/javascripts/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/app/assets/images/.keep
rename to dylan_eckert/rails2/secretfeatures/vendor/assets/javascripts/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/app/controllers/concerns/.keep b/dylan_eckert/rails2/secretfeatures/vendor/assets/stylesheets/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/app/controllers/concerns/.keep
rename to dylan_eckert/rails2/secretfeatures/vendor/assets/stylesheets/.keep
diff --git a/dylan_eckert/rails2/secrets/secret_spec.rb b/dylan_eckert/rails2/secrets/secret_spec.rb
new file mode 100644
index 0000000..fb755b5
--- /dev/null
+++ b/dylan_eckert/rails2/secrets/secret_spec.rb
@@ -0,0 +1,24 @@
+require 'rails_helper'
+
+RSpec.describe Secret, type: :model do
+ it 'requires content' do
+ expect(build(:secret, content: "")).to be_invalid
+ end
+
+ context 'relationships' do
+ before do
+ @user = create(:user)
+ @secret = create(:secret, user: @user)
+ @like = create(:like, user: @user, secret: @secret)
+ end
+ it 'belongs to a user' do
+ expect(@secret.user).to eq(@user)
+ end
+ it 'has likes' do
+ expect(@secret.likes).to include(@like)
+ end
+ it 'has users through likes table' do
+ expect(@secret.users).to include(@user)
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/secrets/user_spec.rb b/dylan_eckert/rails2/secrets/user_spec.rb
new file mode 100644
index 0000000..5d8f4be
--- /dev/null
+++ b/dylan_eckert/rails2/secrets/user_spec.rb
@@ -0,0 +1,56 @@
+require 'rails_helper'
+
+RSpec.describe User, type: :model do
+ context "with valid attributes" do
+ it "should save" do
+ expect(build(:user)).to be_valid
+ end
+ it 'automatically encrypts the password into the password_digest attribute' do
+ expect(build(:user).password_digest.present?).to eq(true)
+ end
+ it 'email as lowercase' do
+ expect(create(:user, email: 'EMAIL@GMAIL.COM').email).to eq('email@gmail.com')
+ end
+ end
+ context "with invalid attributes should not save if" do
+ it 'name is blank' do
+ expect(build(:user, name: '')).to be_invalid
+ end
+ it 'email is blank' do
+ expect(build(:user, email: '')).to be_invalid
+ end
+ it 'email format is wrong' do
+ emails = %w[@ user@ @example.com]
+ emails.each do |email|
+ expect(build(:user, email: email)).to be_invalid
+ end
+ end
+ it 'email is not unique' do
+ create(:user)
+ expect(build(:user)).to be_invalid
+ end
+ it 'password is blank' do
+ expect(build(:user, password: '')).to be_invalid
+ end
+ it "password doesn't match password_confirmation" do
+ expect(build(:user, password_confirmation: 'notpassword')).to be_invalid
+ end
+ end
+
+ context 'relationships' do
+ before do
+ @user = create(:user)
+ @secret = create(:secret, content: 'secret 1', user: @user)
+ @like = create(:like, secret: @secret, user: @user)
+ end
+ it 'has secrets' do
+ expect(@user.secrets).to include(@secret)
+ end
+ it 'has likes' do
+ expect(@user.likes).to include(@like)
+ end
+ it "has secrets through likes table" do
+ expect(@user.secrets_liked).to include(@secret)
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/user/user.rb b/dylan_eckert/rails2/user/user.rb
new file mode 100644
index 0000000..ca6fbd6
--- /dev/null
+++ b/dylan_eckert/rails2/user/user.rb
@@ -0,0 +1,15 @@
+class User < ApplicationRecord
+ has_secure_password
+
+ EMAIL_REGEX = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]+)\z/i
+ validates :name, presence: true
+ validates :email, presence: true, uniqueness: { case_sensitive: false }, format: { with: EMAIL_REGEX }
+
+ before_save :email_lowercase
+ # line above says that before saving the user to the database to run the email_lowercase method
+
+ def email_lowercase
+ email.downcase!
+ # the built in method for lowercasing something is .downcase!
+ end
+end
diff --git a/dylan_eckert/rails2/user/user_spec.rb b/dylan_eckert/rails2/user/user_spec.rb
new file mode 100644
index 0000000..e5b4747
--- /dev/null
+++ b/dylan_eckert/rails2/user/user_spec.rb
@@ -0,0 +1,39 @@
+require 'rails_helper'
+
+RSpec.describe User, type: :model do
+ context "with valid attributes" do
+ it "should save" do
+ expect(build(:user)).to be_valid
+ end
+ it 'automatically encrypts the password into the password_digest attribute' do
+ expect(build(:user).password_digest.present?).to eq(true)
+ end
+ it 'email as lowercase' do
+ expect(create(:user, email: 'EMAIL@GMAIL.COM').email).to eq('email@gmail.com')
+ end
+ end
+ context "with invalid attributes should not save if" do
+ it 'name is blank' do
+ expect(build(:user, name: '')).to be_invalid
+ end
+ it 'email is blank' do
+ expect(build(:user, email: '')).to be_invalid
+ end
+ it 'email format is wrong' do
+ emails = %w[@ user@ @example.com]
+ emails.each do |email|
+ expect(build(:user, email: email)).to be_invalid
+ end
+ end
+ it 'email is not unique' do
+ create(:user)
+ expect(build(:user)).to be_invalid
+ end
+ it 'password is blank' do
+ expect(build(:user, password: '')).to be_invalid
+ end
+ it "password doesn't match password_confirmation" do
+ expect(build(:user, password_confirmation: 'notpassword')).to be_invalid
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/user/users.rb b/dylan_eckert/rails2/user/users.rb
new file mode 100644
index 0000000..35b5824
--- /dev/null
+++ b/dylan_eckert/rails2/user/users.rb
@@ -0,0 +1,8 @@
+FactoryBot.define do
+ factory :user do
+ name "Dylan Eckert"
+ email "email@email.com"
+ password "password"
+ password_confirmation "password"
+ end
+end
diff --git a/dylan_eckert/rails2/userfeats/.gitignore b/dylan_eckert/rails2/userfeats/.gitignore
new file mode 100644
index 0000000..48fb168
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/.gitignore
@@ -0,0 +1,17 @@
+# See https://help.github.com/articles/ignoring-files for more about ignoring files.
+#
+# If you find yourself ignoring temporary files generated by your text editor
+# or operating system, you probably want to add a global ignore instead:
+# git config --global core.excludesfile '~/.gitignore_global'
+
+# Ignore bundler config.
+/.bundle
+
+# Ignore all logfiles and tempfiles.
+/log/*
+/tmp/*
+!/log/.keep
+!/tmp/.keep
+
+# Ignore Byebug command history file.
+.byebug_history
diff --git a/dylan_eckert/rails2/userfeats/.rspec b/dylan_eckert/rails2/userfeats/.rspec
new file mode 100644
index 0000000..c99d2e7
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/.rspec
@@ -0,0 +1 @@
+--require spec_helper
diff --git a/dylan_eckert/rails2/userfeats/Gemfile b/dylan_eckert/rails2/userfeats/Gemfile
new file mode 100644
index 0000000..8d464a7
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/Gemfile
@@ -0,0 +1,54 @@
+source 'https://rubygems.org'
+
+git_source(:github) do |repo_name|
+ repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
+ "https://github.com/#{repo_name}.git"
+end
+
+
+# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
+gem 'rails', '~> 5.0.6'
+# Use postgresql as the database for Active Record
+gem 'pg', '~> 0.18'
+# Use Puma as the app server
+gem 'puma', '~> 3.0'
+# Use SCSS for stylesheets
+gem 'sass-rails', '~> 5.0'
+# Use Uglifier as compressor for JavaScript assets
+gem 'uglifier', '>= 1.3.0'
+# Use CoffeeScript for .coffee assets and views
+gem 'coffee-rails', '~> 4.2'
+# See https://github.com/rails/execjs#readme for more supported runtimes
+# gem 'therubyracer', platforms: :ruby
+
+# Use jquery as the JavaScript library
+gem 'jquery-rails'
+# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
+gem 'turbolinks', '~> 5'
+# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
+gem 'jbuilder', '~> 2.5'
+# Use Redis adapter to run Action Cable in production
+# gem 'redis', '~> 3.0'
+# Use ActiveModel has_secure_password
+gem 'bcrypt', '~> 3.1.7'
+
+# Use Capistrano for deployment
+# gem 'capistrano-rails', group: :development
+
+group :development, :test do
+ gem 'rspec-rails'
+ gem 'factory_bot_rails'
+ gem 'capybara'
+end
+
+group :development do
+ # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
+ gem 'web-console', '>= 3.3.0'
+ gem 'listen', '~> 3.0.5'
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
+ gem 'spring'
+ gem 'spring-watcher-listen', '~> 2.0.0'
+end
+
+# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
+gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
diff --git a/dylan_eckert/rails2/userfeats/Gemfile.lock b/dylan_eckert/rails2/userfeats/Gemfile.lock
new file mode 100644
index 0000000..1368646
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/Gemfile.lock
@@ -0,0 +1,217 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actioncable (5.0.6)
+ actionpack (= 5.0.6)
+ nio4r (>= 1.2, < 3.0)
+ websocket-driver (~> 0.6.1)
+ actionmailer (5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ mail (~> 2.5, >= 2.5.4)
+ rails-dom-testing (~> 2.0)
+ actionpack (5.0.6)
+ actionview (= 5.0.6)
+ activesupport (= 5.0.6)
+ rack (~> 2.0)
+ rack-test (~> 0.6.3)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
+ actionview (5.0.6)
+ activesupport (= 5.0.6)
+ builder (~> 3.1)
+ erubis (~> 2.7.0)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
+ activejob (5.0.6)
+ activesupport (= 5.0.6)
+ globalid (>= 0.3.6)
+ activemodel (5.0.6)
+ activesupport (= 5.0.6)
+ activerecord (5.0.6)
+ activemodel (= 5.0.6)
+ activesupport (= 5.0.6)
+ arel (~> 7.0)
+ activesupport (5.0.6)
+ concurrent-ruby (~> 1.0, >= 1.0.2)
+ i18n (~> 0.7)
+ minitest (~> 5.1)
+ tzinfo (~> 1.1)
+ addressable (2.5.2)
+ public_suffix (>= 2.0.2, < 4.0)
+ arel (7.1.4)
+ bcrypt (3.1.11)
+ bindex (0.5.0)
+ builder (3.2.3)
+ capybara (2.16.1)
+ addressable
+ mini_mime (>= 0.1.3)
+ nokogiri (>= 1.3.3)
+ rack (>= 1.0.0)
+ rack-test (>= 0.5.4)
+ xpath (~> 2.0)
+ coffee-rails (4.2.2)
+ coffee-script (>= 2.2.0)
+ railties (>= 4.0.0)
+ coffee-script (2.4.1)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.12.2)
+ concurrent-ruby (1.0.5)
+ crass (1.0.3)
+ diff-lcs (1.3)
+ erubis (2.7.0)
+ execjs (2.7.0)
+ factory_bot (4.8.2)
+ activesupport (>= 3.0.0)
+ factory_bot_rails (4.8.2)
+ factory_bot (~> 4.8.2)
+ railties (>= 3.0.0)
+ ffi (1.9.18)
+ globalid (0.4.1)
+ activesupport (>= 4.2.0)
+ i18n (0.9.1)
+ concurrent-ruby (~> 1.0)
+ jbuilder (2.7.0)
+ activesupport (>= 4.2.0)
+ multi_json (>= 1.2)
+ jquery-rails (4.3.1)
+ rails-dom-testing (>= 1, < 3)
+ railties (>= 4.2.0)
+ thor (>= 0.14, < 2.0)
+ listen (3.0.8)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ loofah (2.1.1)
+ crass (~> 1.0.2)
+ nokogiri (>= 1.5.9)
+ mail (2.7.0)
+ mini_mime (>= 0.1.1)
+ method_source (0.9.0)
+ mini_mime (1.0.0)
+ mini_portile2 (2.3.0)
+ minitest (5.10.3)
+ multi_json (1.12.2)
+ nio4r (2.1.0)
+ nokogiri (1.8.1)
+ mini_portile2 (~> 2.3.0)
+ pg (0.21.0)
+ public_suffix (3.0.1)
+ puma (3.11.0)
+ rack (2.0.3)
+ rack-test (0.6.3)
+ rack (>= 1.0)
+ rails (5.0.6)
+ actioncable (= 5.0.6)
+ actionmailer (= 5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ activemodel (= 5.0.6)
+ activerecord (= 5.0.6)
+ activesupport (= 5.0.6)
+ bundler (>= 1.3.0)
+ railties (= 5.0.6)
+ sprockets-rails (>= 2.0.0)
+ rails-dom-testing (2.0.3)
+ activesupport (>= 4.2.0)
+ nokogiri (>= 1.6)
+ rails-html-sanitizer (1.0.3)
+ loofah (~> 2.0)
+ railties (5.0.6)
+ actionpack (= 5.0.6)
+ activesupport (= 5.0.6)
+ method_source
+ rake (>= 0.8.7)
+ thor (>= 0.18.1, < 2.0)
+ rake (12.3.0)
+ rb-fsevent (0.10.2)
+ rb-inotify (0.9.10)
+ ffi (>= 0.5.0, < 2)
+ rspec-core (3.7.0)
+ rspec-support (~> 3.7.0)
+ rspec-expectations (3.7.0)
+ diff-lcs (>= 1.2.0, < 2.0)
+ rspec-support (~> 3.7.0)
+ rspec-mocks (3.7.0)
+ diff-lcs (>= 1.2.0, < 2.0)
+ rspec-support (~> 3.7.0)
+ rspec-rails (3.7.2)
+ actionpack (>= 3.0)
+ activesupport (>= 3.0)
+ railties (>= 3.0)
+ rspec-core (~> 3.7.0)
+ rspec-expectations (~> 3.7.0)
+ rspec-mocks (~> 3.7.0)
+ rspec-support (~> 3.7.0)
+ rspec-support (3.7.0)
+ sass (3.5.3)
+ sass-listen (~> 4.0.0)
+ sass-listen (4.0.0)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ sass-rails (5.0.7)
+ railties (>= 4.0.0, < 6)
+ sass (~> 3.1)
+ sprockets (>= 2.8, < 4.0)
+ sprockets-rails (>= 2.0, < 4.0)
+ tilt (>= 1.1, < 3)
+ spring (2.0.2)
+ activesupport (>= 4.2)
+ spring-watcher-listen (2.0.1)
+ listen (>= 2.7, < 4.0)
+ spring (>= 1.2, < 3.0)
+ sprockets (3.7.1)
+ concurrent-ruby (~> 1.0)
+ rack (> 1, < 3)
+ sprockets-rails (3.2.1)
+ actionpack (>= 4.0)
+ activesupport (>= 4.0)
+ sprockets (>= 3.0.0)
+ thor (0.20.0)
+ thread_safe (0.3.6)
+ tilt (2.0.8)
+ turbolinks (5.0.1)
+ turbolinks-source (~> 5)
+ turbolinks-source (5.0.3)
+ tzinfo (1.2.4)
+ thread_safe (~> 0.1)
+ uglifier (4.0.2)
+ execjs (>= 0.3.0, < 3)
+ web-console (3.5.1)
+ actionview (>= 5.0)
+ activemodel (>= 5.0)
+ bindex (>= 0.4.0)
+ railties (>= 5.0)
+ websocket-driver (0.6.5)
+ websocket-extensions (>= 0.1.0)
+ websocket-extensions (0.1.3)
+ xpath (2.1.0)
+ nokogiri (~> 1.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ bcrypt (~> 3.1.7)
+ capybara
+ coffee-rails (~> 4.2)
+ factory_bot_rails
+ jbuilder (~> 2.5)
+ jquery-rails
+ listen (~> 3.0.5)
+ pg (~> 0.18)
+ puma (~> 3.0)
+ rails (~> 5.0.6)
+ rspec-rails
+ sass-rails (~> 5.0)
+ spring
+ spring-watcher-listen (~> 2.0.0)
+ turbolinks (~> 5)
+ tzinfo-data
+ uglifier (>= 1.3.0)
+ web-console (>= 3.3.0)
+
+BUNDLED WITH
+ 1.16.0
diff --git a/dylan_eckert/rails2/userfeats/README.md b/dylan_eckert/rails2/userfeats/README.md
new file mode 100644
index 0000000..7db80e4
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/README.md
@@ -0,0 +1,24 @@
+# README
+
+This README would normally document whatever steps are necessary to get the
+application up and running.
+
+Things you may want to cover:
+
+* Ruby version
+
+* System dependencies
+
+* Configuration
+
+* Database creation
+
+* Database initialization
+
+* How to run the test suite
+
+* Services (job queues, cache servers, search engines, etc.)
+
+* Deployment instructions
+
+* ...
diff --git a/dylan_eckert/rails2/userfeats/Rakefile b/dylan_eckert/rails2/userfeats/Rakefile
new file mode 100644
index 0000000..e85f913
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/Rakefile
@@ -0,0 +1,6 @@
+# Add your own tasks in files placed in lib/tasks ending in .rake,
+# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
+
+require_relative 'config/application'
+
+Rails.application.load_tasks
diff --git a/dylan_eckert/rails2/userfeats/app/assets/config/manifest.js b/dylan_eckert/rails2/userfeats/app/assets/config/manifest.js
new file mode 100644
index 0000000..b16e53d
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/app/assets/config/manifest.js
@@ -0,0 +1,3 @@
+//= link_tree ../images
+//= link_directory ../javascripts .js
+//= link_directory ../stylesheets .css
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/app/mailers/.keep b/dylan_eckert/rails2/userfeats/app/assets/images/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/app/mailers/.keep
rename to dylan_eckert/rails2/userfeats/app/assets/images/.keep
diff --git a/dylan_eckert/rails2/userfeats/app/assets/javascripts/application.js b/dylan_eckert/rails2/userfeats/app/assets/javascripts/application.js
new file mode 100644
index 0000000..b12018d
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/app/assets/javascripts/application.js
@@ -0,0 +1,16 @@
+// This is a manifest file that'll be compiled into application.js, which will include all the files
+// listed below.
+//
+// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
+// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
+//
+// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
+// compiled file. JavaScript code in this file should be added after the last require_* statement.
+//
+// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
+// about supported directives.
+//
+//= require jquery
+//= require jquery_ujs
+//= require turbolinks
+//= require_tree .
diff --git a/dylan_eckert/rails2/userfeats/app/assets/javascripts/cable.js b/dylan_eckert/rails2/userfeats/app/assets/javascripts/cable.js
new file mode 100644
index 0000000..71ee1e6
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/app/assets/javascripts/cable.js
@@ -0,0 +1,13 @@
+// Action Cable provides the framework to deal with WebSockets in Rails.
+// You can generate new channels where WebSocket features live using the rails generate channel command.
+//
+//= require action_cable
+//= require_self
+//= require_tree ./channels
+
+(function() {
+ this.App || (this.App = {});
+
+ App.cable = ActionCable.createConsumer();
+
+}).call(this);
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/app/models/.keep b/dylan_eckert/rails2/userfeats/app/assets/javascripts/channels/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/app/models/.keep
rename to dylan_eckert/rails2/userfeats/app/assets/javascripts/channels/.keep
diff --git a/dylan_eckert/rails2/userfeats/app/assets/javascripts/sessions.coffee b/dylan_eckert/rails2/userfeats/app/assets/javascripts/sessions.coffee
new file mode 100644
index 0000000..24f83d1
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/app/assets/javascripts/sessions.coffee
@@ -0,0 +1,3 @@
+# Place all the behaviors and hooks related to the matching controller here.
+# All this logic will automatically be available in application.js.
+# You can use CoffeeScript in this file: http://coffeescript.org/
diff --git a/dylan_eckert/rails2/userfeats/app/assets/javascripts/users.coffee b/dylan_eckert/rails2/userfeats/app/assets/javascripts/users.coffee
new file mode 100644
index 0000000..24f83d1
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/app/assets/javascripts/users.coffee
@@ -0,0 +1,3 @@
+# Place all the behaviors and hooks related to the matching controller here.
+# All this logic will automatically be available in application.js.
+# You can use CoffeeScript in this file: http://coffeescript.org/
diff --git a/dylan_eckert/rails2/userfeats/app/assets/stylesheets/application.css b/dylan_eckert/rails2/userfeats/app/assets/stylesheets/application.css
new file mode 100644
index 0000000..0ebd7fe
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/app/assets/stylesheets/application.css
@@ -0,0 +1,15 @@
+/*
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
+ * listed below.
+ *
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
+ * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
+ *
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
+ * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
+ * files in this directory. Styles in this file should be added after the last require_* statement.
+ * It is generally better to create a new file per style scope.
+ *
+ *= require_tree .
+ *= require_self
+ */
diff --git a/dylan_eckert/rails2/userfeats/app/assets/stylesheets/sessions.scss b/dylan_eckert/rails2/userfeats/app/assets/stylesheets/sessions.scss
new file mode 100644
index 0000000..ccb1ed2
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/app/assets/stylesheets/sessions.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the Sessions controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/dylan_eckert/rails2/userfeats/app/assets/stylesheets/users.scss b/dylan_eckert/rails2/userfeats/app/assets/stylesheets/users.scss
new file mode 100644
index 0000000..31a2eac
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/app/assets/stylesheets/users.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the Users controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/dylan_eckert/rails2/userfeats/app/channels/application_cable/channel.rb b/dylan_eckert/rails2/userfeats/app/channels/application_cable/channel.rb
new file mode 100644
index 0000000..d672697
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/app/channels/application_cable/channel.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Channel < ActionCable::Channel::Base
+ end
+end
diff --git a/dylan_eckert/rails2/userfeats/app/channels/application_cable/connection.rb b/dylan_eckert/rails2/userfeats/app/channels/application_cable/connection.rb
new file mode 100644
index 0000000..0ff5442
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/app/channels/application_cable/connection.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Connection < ActionCable::Connection::Base
+ end
+end
diff --git a/dylan_eckert/rails2/userfeats/app/controllers/application_controller.rb b/dylan_eckert/rails2/userfeats/app/controllers/application_controller.rb
new file mode 100644
index 0000000..b521dc2
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/app/controllers/application_controller.rb
@@ -0,0 +1,14 @@
+class ApplicationController < ActionController::Base
+ protect_from_forgery with: :exception
+
+ before_action :require_login
+
+ def require_login
+ return redirect_to new_session_path unless session[:user_id]
+ end
+ def current_user
+ return User.find(session[:user_id]) if session[:user_id]
+ end
+ helper_method :current_user
+ helper_method :require_login
+end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/app/models/concerns/.keep b/dylan_eckert/rails2/userfeats/app/controllers/concerns/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/app/models/concerns/.keep
rename to dylan_eckert/rails2/userfeats/app/controllers/concerns/.keep
diff --git a/dylan_eckert/rails2/userfeats/app/controllers/sessions_controller.rb b/dylan_eckert/rails2/userfeats/app/controllers/sessions_controller.rb
new file mode 100644
index 0000000..6a0abf2
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/app/controllers/sessions_controller.rb
@@ -0,0 +1,26 @@
+class SessionsController < ApplicationController
+ skip_before_action :require_login, except: [:destroy]
+ def new
+ end
+
+ def create
+ user = User.find_by(email: params[:email])
+ # find by email
+ if user
+ if user.try(:authenticate, params[:password])
+ # if the user matches a user in the database, set the session id to the user being authenticated
+ session[:user_id] = user.id
+ return redirect_to user_path user.id
+ end
+ flash[:errors] = ["Invalid password"]
+ else
+ flash[:errors] = ["Invalid email"]
+ end
+ return redirect_back fallback_location: new_session_path
+ end
+
+ def destroy
+ reset_session
+ redirect_to "/sessions/new"
+ end
+end
diff --git a/dylan_eckert/rails2/userfeats/app/controllers/users_controller.rb b/dylan_eckert/rails2/userfeats/app/controllers/users_controller.rb
new file mode 100644
index 0000000..7c8c16f
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/app/controllers/users_controller.rb
@@ -0,0 +1,31 @@
+class UsersController < ApplicationController
+ skip_before_action :require_login, only: [:new, :create]
+ def new
+
+ end
+
+ def create
+ user = User.create(user_params)
+ if user.valid?
+ session[:user_id] = user.id
+ return redirect_to user_path user.id
+ else
+ flash[:errors] = user.errors.full_messages
+ return redirect_back fallback_location: new_user_path
+ end
+ end
+
+ def show
+ @user = User.find(params[:id])
+ end
+
+ def edit
+ @user = User.find(params[:id])
+ end
+
+
+ private
+ def user_params
+ params.require(:user).permit(:name, :email, :password, :password_confirmation)
+ end
+end
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/app/helpers/application_helper.rb b/dylan_eckert/rails2/userfeats/app/helpers/application_helper.rb
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/app/helpers/application_helper.rb
rename to dylan_eckert/rails2/userfeats/app/helpers/application_helper.rb
diff --git a/dylan_eckert/rails2/userfeats/app/helpers/sessions_helper.rb b/dylan_eckert/rails2/userfeats/app/helpers/sessions_helper.rb
new file mode 100644
index 0000000..309f8b2
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/app/helpers/sessions_helper.rb
@@ -0,0 +1,2 @@
+module SessionsHelper
+end
diff --git a/dylan_eckert/rails2/userfeats/app/helpers/users_helper.rb b/dylan_eckert/rails2/userfeats/app/helpers/users_helper.rb
new file mode 100644
index 0000000..2310a24
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/app/helpers/users_helper.rb
@@ -0,0 +1,2 @@
+module UsersHelper
+end
diff --git a/dylan_eckert/rails2/userfeats/app/jobs/application_job.rb b/dylan_eckert/rails2/userfeats/app/jobs/application_job.rb
new file mode 100644
index 0000000..a009ace
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/app/jobs/application_job.rb
@@ -0,0 +1,2 @@
+class ApplicationJob < ActiveJob::Base
+end
diff --git a/dylan_eckert/rails2/userfeats/app/mailers/application_mailer.rb b/dylan_eckert/rails2/userfeats/app/mailers/application_mailer.rb
new file mode 100644
index 0000000..286b223
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/app/mailers/application_mailer.rb
@@ -0,0 +1,4 @@
+class ApplicationMailer < ActionMailer::Base
+ default from: 'from@example.com'
+ layout 'mailer'
+end
diff --git a/dylan_eckert/rails2/userfeats/app/models/application_record.rb b/dylan_eckert/rails2/userfeats/app/models/application_record.rb
new file mode 100644
index 0000000..10a4cba
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/app/models/application_record.rb
@@ -0,0 +1,3 @@
+class ApplicationRecord < ActiveRecord::Base
+ self.abstract_class = true
+end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/lib/assets/.keep b/dylan_eckert/rails2/userfeats/app/models/concerns/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/lib/assets/.keep
rename to dylan_eckert/rails2/userfeats/app/models/concerns/.keep
diff --git a/dylan_eckert/rails2/userfeats/app/models/user.rb b/dylan_eckert/rails2/userfeats/app/models/user.rb
new file mode 100644
index 0000000..3e5165c
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/app/models/user.rb
@@ -0,0 +1,16 @@
+class User < ApplicationRecord
+ has_secure_password
+
+ EMAIL_REGEX = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]+)\z/i
+ validates :name, presence: true
+ validates :email, presence: true, uniqueness: { case_sensitive: false }, format: { with: EMAIL_REGEX }
+
+ before_save :input_lowercase
+ # line above says that before saving the user to the database to run the email_lowercase method
+
+ def input_lowercase
+ self.email.downcase!
+ self.name.downcase!
+ # the built in method for lowercasing something is .downcase!
+ end
+end
diff --git a/dylan_eckert/rails2/userfeats/app/views/layouts/application.html.erb b/dylan_eckert/rails2/userfeats/app/views/layouts/application.html.erb
new file mode 100644
index 0000000..4c62c3f
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/app/views/layouts/application.html.erb
@@ -0,0 +1,25 @@
+
+
+
+ DojoSecrets
+ <%= csrf_meta_tags %>
+
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
+ <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
+
+
+ <% if flash[:errors] %>
+ <% flash[:errors].each do |error| %>
+
<%= error %>
+ <% end %>
+ <% end %>
+ <% if current_user %>
+
+ <% end %>
+ <%= yield %>
+
+
diff --git a/dylan_eckert/rails2/userfeats/app/views/layouts/mailer.html.erb b/dylan_eckert/rails2/userfeats/app/views/layouts/mailer.html.erb
new file mode 100644
index 0000000..cbd34d2
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/app/views/layouts/mailer.html.erb
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+ <%= yield %>
+
+
diff --git a/dylan_eckert/rails2/userfeats/app/views/layouts/mailer.text.erb b/dylan_eckert/rails2/userfeats/app/views/layouts/mailer.text.erb
new file mode 100644
index 0000000..37f0bdd
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/app/views/layouts/mailer.text.erb
@@ -0,0 +1 @@
+<%= yield %>
diff --git a/dylan_eckert/rails2/userfeats/app/views/sessions/new.html.erb b/dylan_eckert/rails2/userfeats/app/views/sessions/new.html.erb
new file mode 100644
index 0000000..9da5dea
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/app/views/sessions/new.html.erb
@@ -0,0 +1,9 @@
+
Login
+
diff --git a/dylan_eckert/rails2/userfeats/app/views/users/edit.html.erb b/dylan_eckert/rails2/userfeats/app/views/users/edit.html.erb
new file mode 100644
index 0000000..ea91003
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/app/views/users/edit.html.erb
@@ -0,0 +1 @@
+
Edit User
diff --git a/dylan_eckert/rails2/userfeats/app/views/users/new.html.erb b/dylan_eckert/rails2/userfeats/app/views/users/new.html.erb
new file mode 100644
index 0000000..f4aed5d
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/app/views/users/new.html.erb
@@ -0,0 +1,13 @@
+
Register
+
diff --git a/dylan_eckert/rails2/userfeats/app/views/users/show.html.erb b/dylan_eckert/rails2/userfeats/app/views/users/show.html.erb
new file mode 100644
index 0000000..a054ea7
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/app/views/users/show.html.erb
@@ -0,0 +1,15 @@
+
<%= @user.name %>
+
<%= @user.email %>
+
+
Secrets
+
+
content of secret
+
number of likes
+
+
+
+
Secrets Liked
+
+
content of secret
+
number of likes
+
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/bin/bundle b/dylan_eckert/rails2/userfeats/bin/bundle
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/bin/bundle
rename to dylan_eckert/rails2/userfeats/bin/bundle
diff --git a/dylan_eckert/rails2/userfeats/bin/rails b/dylan_eckert/rails2/userfeats/bin/rails
new file mode 100755
index 0000000..5badb2f
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/bin/rails
@@ -0,0 +1,9 @@
+#!/usr/bin/env ruby
+begin
+ load File.expand_path('../spring', __FILE__)
+rescue LoadError => e
+ raise unless e.message.include?('spring')
+end
+APP_PATH = File.expand_path('../config/application', __dir__)
+require_relative '../config/boot'
+require 'rails/commands'
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/bin/rake b/dylan_eckert/rails2/userfeats/bin/rake
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/bin/rake
rename to dylan_eckert/rails2/userfeats/bin/rake
diff --git a/dylan_eckert/rails2/userfeats/bin/setup b/dylan_eckert/rails2/userfeats/bin/setup
new file mode 100755
index 0000000..e620b4d
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/bin/setup
@@ -0,0 +1,34 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a starting point to setup your application.
+ # Add necessary setup steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ # puts "\n== Copying sample files =="
+ # unless File.exist?('config/database.yml')
+ # cp 'config/database.yml.sample', 'config/database.yml'
+ # end
+
+ puts "\n== Preparing database =="
+ system! 'bin/rails db:setup'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/bin/spring b/dylan_eckert/rails2/userfeats/bin/spring
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/bin/spring
rename to dylan_eckert/rails2/userfeats/bin/spring
diff --git a/dylan_eckert/rails2/userfeats/bin/update b/dylan_eckert/rails2/userfeats/bin/update
new file mode 100755
index 0000000..a8e4462
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/bin/update
@@ -0,0 +1,29 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a way to update your development environment automatically.
+ # Add necessary update steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ puts "\n== Updating database =="
+ system! 'bin/rails db:migrate'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/dylan_eckert/rails2/userfeats/config.ru b/dylan_eckert/rails2/userfeats/config.ru
new file mode 100644
index 0000000..f7ba0b5
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/config.ru
@@ -0,0 +1,5 @@
+# This file is used by Rack-based servers to start the application.
+
+require_relative 'config/environment'
+
+run Rails.application
diff --git a/dylan_eckert/rails2/userfeats/config/application.rb b/dylan_eckert/rails2/userfeats/config/application.rb
new file mode 100644
index 0000000..65de0bc
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/config/application.rb
@@ -0,0 +1,15 @@
+require_relative 'boot'
+
+require 'rails/all'
+
+# Require the gems listed in Gemfile, including any gems
+# you've limited to :test, :development, or :production.
+Bundler.require(*Rails.groups)
+
+module DojoSecrets
+ class Application < Rails::Application
+ # Settings in config/environments/* take precedence over those specified here.
+ # Application configuration should go into files in config/initializers
+ # -- all .rb files in that directory are automatically loaded.
+ end
+end
diff --git a/dylan_eckert/rails2/userfeats/config/boot.rb b/dylan_eckert/rails2/userfeats/config/boot.rb
new file mode 100644
index 0000000..30f5120
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/config/boot.rb
@@ -0,0 +1,3 @@
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
+
+require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/dylan_eckert/rails2/userfeats/config/cable.yml b/dylan_eckert/rails2/userfeats/config/cable.yml
new file mode 100644
index 0000000..0bbde6f
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/config/cable.yml
@@ -0,0 +1,9 @@
+development:
+ adapter: async
+
+test:
+ adapter: async
+
+production:
+ adapter: redis
+ url: redis://localhost:6379/1
diff --git a/dylan_eckert/rails2/userfeats/config/database.yml b/dylan_eckert/rails2/userfeats/config/database.yml
new file mode 100644
index 0000000..efc5910
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/config/database.yml
@@ -0,0 +1,85 @@
+# PostgreSQL. Versions 9.1 and up are supported.
+#
+# Install the pg driver:
+# gem install pg
+# On OS X with Homebrew:
+# gem install pg -- --with-pg-config=/usr/local/bin/pg_config
+# On OS X with MacPorts:
+# gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
+# On Windows:
+# gem install pg
+# Choose the win32 build.
+# Install PostgreSQL and put its /bin directory on your path.
+#
+# Configure Using Gemfile
+# gem 'pg'
+#
+default: &default
+ adapter: postgresql
+ encoding: unicode
+ # For details on connection pooling, see rails configuration guide
+ # http://guides.rubyonrails.org/configuring.html#database-pooling
+ pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
+
+development:
+ <<: *default
+ database: DojoSecrets_development
+
+ # The specified database role being used to connect to postgres.
+ # To create additional roles in postgres see `$ createuser --help`.
+ # When left blank, postgres will use the default role. This is
+ # the same name as the operating system user that initialized the database.
+ #username: DojoSecrets
+
+ # The password associated with the postgres role (username).
+ #password:
+
+ # Connect on a TCP socket. Omitted by default since the client uses a
+ # domain socket that doesn't need configuration. Windows does not have
+ # domain sockets, so uncomment these lines.
+ #host: localhost
+
+ # The TCP port the server listens on. Defaults to 5432.
+ # If your server runs on a different port number, change accordingly.
+ #port: 5432
+
+ # Schema search path. The server defaults to $user,public
+ #schema_search_path: myapp,sharedapp,public
+
+ # Minimum log levels, in increasing order:
+ # debug5, debug4, debug3, debug2, debug1,
+ # log, notice, warning, error, fatal, and panic
+ # Defaults to warning.
+ #min_messages: notice
+
+# Warning: The database defined as "test" will be erased and
+# re-generated from your development database when you run "rake".
+# Do not set this db to the same as development or production.
+test:
+ <<: *default
+ database: DojoSecrets_test
+
+# As with config/secrets.yml, you never want to store sensitive information,
+# like your database password, in your source code. If your source code is
+# ever seen by anyone, they now have access to your database.
+#
+# Instead, provide the password as a unix environment variable when you boot
+# the app. Read http://guides.rubyonrails.org/configuring.html#configuring-a-database
+# for a full rundown on how to provide these environment variables in a
+# production deployment.
+#
+# On Heroku and other platform providers, you may have a full connection URL
+# available as an environment variable. For example:
+#
+# DATABASE_URL="postgres://myuser:mypass@localhost/somedatabase"
+#
+# You can use this database configuration with:
+#
+# production:
+# url: <%= ENV['DATABASE_URL'] %>
+#
+production:
+ <<: *default
+ database: DojoSecrets_production
+ username: DojoSecrets
+ password: <%= ENV['DOJOSECRETS_DATABASE_PASSWORD'] %>
diff --git a/dylan_eckert/rails2/userfeats/config/environment.rb b/dylan_eckert/rails2/userfeats/config/environment.rb
new file mode 100644
index 0000000..426333b
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/config/environment.rb
@@ -0,0 +1,5 @@
+# Load the Rails application.
+require_relative 'application'
+
+# Initialize the Rails application.
+Rails.application.initialize!
diff --git a/dylan_eckert/rails2/userfeats/config/environments/development.rb b/dylan_eckert/rails2/userfeats/config/environments/development.rb
new file mode 100644
index 0000000..77fe74d
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/config/environments/development.rb
@@ -0,0 +1,55 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # In the development environment your application's code is reloaded on
+ # every request. This slows down response time but is perfect for development
+ # since you don't have to rest art the web server when you make code changes.
+ config.cache_classes = false
+
+ config.reload_classes_only_on_change = false
+ # Do not eager load code on boot.
+ config.eager_load = false
+
+ # Show full error reports.
+ config.consider_all_requests_local = true
+
+ # Enable/disable caching. By default caching is disabled.
+ if Rails.root.join('tmp/caching-dev.txt').exist?
+ config.action_controller.perform_caching = true
+
+ config.cache_store = :memory_store
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=172800'
+ }
+ else
+ config.action_controller.perform_caching = false
+
+ config.cache_store = :null_store
+ end
+
+ # Don't care if the mailer can't send.
+ config.action_mailer.raise_delivery_errors = false
+
+ config.action_mailer.perform_caching = false
+
+ # Print deprecation notices to the Rails logger.
+ config.active_support.deprecation = :log
+
+ # Raise an error on page load if there are pending migrations.
+ config.active_record.migration_error = :page_load
+
+ # Debug mode disables concatenation and preprocessing of assets.
+ # This option may cause significant delays in view rendering with a large
+ # number of complex assets.
+ config.assets.debug = true
+
+ # Suppress logger output for asset requests.
+ config.assets.quiet = true
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+
+ # Use an evented file watcher to asynchronously detect changes in source code,
+ # routes, locales, etc. This feature depends on the listen gem.
+ config.file_watcher = ActiveSupport::EventedFileUpdateChecker
+end
diff --git a/dylan_eckert/rails2/userfeats/config/environments/production.rb b/dylan_eckert/rails2/userfeats/config/environments/production.rb
new file mode 100644
index 0000000..f8e01b7
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/config/environments/production.rb
@@ -0,0 +1,86 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # Code is not reloaded between requests.
+ config.cache_classes = true
+
+ # Eager load code on boot. This eager loads most of Rails and
+ # your application in memory, allowing both threaded web servers
+ # and those relying on copy on write to perform better.
+ # Rake tasks automatically ignore this option for performance.
+ config.eager_load = true
+
+ # Full error reports are disabled and caching is turned on.
+ config.consider_all_requests_local = false
+ config.action_controller.perform_caching = true
+
+ # Disable serving static files from the `/public` folder by default since
+ # Apache or NGINX already handles this.
+ config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
+
+ # Compress JavaScripts and CSS.
+ config.assets.js_compressor = :uglifier
+ # config.assets.css_compressor = :sass
+
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
+ config.assets.compile = false
+
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
+
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
+ # config.action_controller.asset_host = 'http://assets.example.com'
+
+ # Specifies the header that your server uses for sending files.
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
+
+ # Mount Action Cable outside main process or domain
+ # config.action_cable.mount_path = nil
+ # config.action_cable.url = 'wss://example.com/cable'
+ # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
+
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
+ # config.force_ssl = true
+
+ # Use the lowest log level to ensure availability of diagnostic information
+ # when problems arise.
+ config.log_level = :debug
+
+ # Prepend all log lines with the following tags.
+ config.log_tags = [ :request_id ]
+
+ # Use a different cache store in production.
+ # config.cache_store = :mem_cache_store
+
+ # Use a real queuing backend for Active Job (and separate queues per environment)
+ # config.active_job.queue_adapter = :resque
+ # config.active_job.queue_name_prefix = "DojoSecrets_#{Rails.env}"
+ config.action_mailer.perform_caching = false
+
+ # Ignore bad email addresses and do not raise email delivery errors.
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
+ # config.action_mailer.raise_delivery_errors = false
+
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
+ # the I18n.default_locale when a translation cannot be found).
+ config.i18n.fallbacks = true
+
+ # Send deprecation notices to registered listeners.
+ config.active_support.deprecation = :notify
+
+ # Use default logging formatter so that PID and timestamp are not suppressed.
+ config.log_formatter = ::Logger::Formatter.new
+
+ # Use a different logger for distributed setups.
+ # require 'syslog/logger'
+ # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
+
+ if ENV["RAILS_LOG_TO_STDOUT"].present?
+ logger = ActiveSupport::Logger.new(STDOUT)
+ logger.formatter = config.log_formatter
+ config.logger = ActiveSupport::TaggedLogging.new(logger)
+ end
+
+ # Do not dump schema after migrations.
+ config.active_record.dump_schema_after_migration = false
+end
diff --git a/dylan_eckert/rails2/userfeats/config/environments/test.rb b/dylan_eckert/rails2/userfeats/config/environments/test.rb
new file mode 100644
index 0000000..30587ef
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/config/environments/test.rb
@@ -0,0 +1,42 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # The test environment is used exclusively to run your application's
+ # test suite. You never need to work with it otherwise. Remember that
+ # your test database is "scratch space" for the test suite and is wiped
+ # and recreated between test runs. Don't rely on the data there!
+ config.cache_classes = true
+
+ # Do not eager load code on boot. This avoids loading your whole application
+ # just for the purpose of running a single test. If you are using a tool that
+ # preloads Rails for running tests, you may have to set it to true.
+ config.eager_load = false
+
+ # Configure public file server for tests with Cache-Control for performance.
+ config.public_file_server.enabled = true
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=3600'
+ }
+
+ # Show full error reports and disable caching.
+ config.consider_all_requests_local = true
+ config.action_controller.perform_caching = false
+
+ # Raise exceptions instead of rendering exception templates.
+ config.action_dispatch.show_exceptions = false
+
+ # Disable request forgery protection in test environment.
+ config.action_controller.allow_forgery_protection = false
+ config.action_mailer.perform_caching = false
+
+ # Tell Action Mailer not to deliver emails to the real world.
+ # The :test delivery method accumulates sent emails in the
+ # ActionMailer::Base.deliveries array.
+ config.action_mailer.delivery_method = :test
+
+ # Print deprecation notices to the stderr.
+ config.active_support.deprecation = :stderr
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+end
diff --git a/dylan_eckert/rails2/userfeats/config/initializers/application_controller_renderer.rb b/dylan_eckert/rails2/userfeats/config/initializers/application_controller_renderer.rb
new file mode 100644
index 0000000..89d2efa
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/config/initializers/application_controller_renderer.rb
@@ -0,0 +1,8 @@
+# Be sure to restart your server when you modify this file.
+
+# ActiveSupport::Reloader.to_prepare do
+# ApplicationController.renderer.defaults.merge!(
+# http_host: 'example.org',
+# https: false
+# )
+# end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/initializers/assets.rb b/dylan_eckert/rails2/userfeats/config/initializers/assets.rb
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/initializers/assets.rb
rename to dylan_eckert/rails2/userfeats/config/initializers/assets.rb
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/config/initializers/backtrace_silencers.rb b/dylan_eckert/rails2/userfeats/config/initializers/backtrace_silencers.rb
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/config/initializers/backtrace_silencers.rb
rename to dylan_eckert/rails2/userfeats/config/initializers/backtrace_silencers.rb
diff --git a/dylan_eckert/rails2/userfeats/config/initializers/cookies_serializer.rb b/dylan_eckert/rails2/userfeats/config/initializers/cookies_serializer.rb
new file mode 100644
index 0000000..5a6a32d
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/config/initializers/cookies_serializer.rb
@@ -0,0 +1,5 @@
+# Be sure to restart your server when you modify this file.
+
+# Specify a serializer for the signed and encrypted cookie jars.
+# Valid options are :json, :marshal, and :hybrid.
+Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/config/initializers/filter_parameter_logging.rb b/dylan_eckert/rails2/userfeats/config/initializers/filter_parameter_logging.rb
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/config/initializers/filter_parameter_logging.rb
rename to dylan_eckert/rails2/userfeats/config/initializers/filter_parameter_logging.rb
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/config/initializers/inflections.rb b/dylan_eckert/rails2/userfeats/config/initializers/inflections.rb
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/config/initializers/inflections.rb
rename to dylan_eckert/rails2/userfeats/config/initializers/inflections.rb
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/config/initializers/mime_types.rb b/dylan_eckert/rails2/userfeats/config/initializers/mime_types.rb
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/config/initializers/mime_types.rb
rename to dylan_eckert/rails2/userfeats/config/initializers/mime_types.rb
diff --git a/dylan_eckert/rails2/userfeats/config/initializers/new_framework_defaults.rb b/dylan_eckert/rails2/userfeats/config/initializers/new_framework_defaults.rb
new file mode 100644
index 0000000..dd236b5
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/config/initializers/new_framework_defaults.rb
@@ -0,0 +1,26 @@
+# Be sure to restart your server when you modify this file.
+#
+# This file contains migration options to ease your Rails 5.0 upgrade.
+#
+# Read the Guide for Upgrading Ruby on Rails for more info on each option.
+
+Rails.application.config.action_controller.raise_on_unfiltered_parameters = true
+
+# Enable per-form CSRF tokens. Previous versions had false.
+Rails.application.config.action_controller.per_form_csrf_tokens = true
+
+# Enable origin-checking CSRF mitigation. Previous versions had false.
+Rails.application.config.action_controller.forgery_protection_origin_check = true
+
+# Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`.
+# Previous versions had false.
+ActiveSupport.to_time_preserves_timezone = true
+
+# Require `belongs_to` associations by default. Previous versions had false.
+Rails.application.config.active_record.belongs_to_required_by_default = true
+
+# Do not halt callback chains when a callback returns false. Previous versions had true.
+ActiveSupport.halt_callback_chains_on_return_false = false
+
+# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
+Rails.application.config.ssl_options = { hsts: { subdomains: true } }
diff --git a/dylan_eckert/rails2/userfeats/config/initializers/session_store.rb b/dylan_eckert/rails2/userfeats/config/initializers/session_store.rb
new file mode 100644
index 0000000..745fa7c
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/config/initializers/session_store.rb
@@ -0,0 +1,3 @@
+# Be sure to restart your server when you modify this file.
+
+Rails.application.config.session_store :cookie_store, key: '_DojoSecrets_session'
diff --git a/dylan_eckert/rails2/userfeats/config/initializers/wrap_parameters.rb b/dylan_eckert/rails2/userfeats/config/initializers/wrap_parameters.rb
new file mode 100644
index 0000000..bbfc396
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/config/initializers/wrap_parameters.rb
@@ -0,0 +1,14 @@
+# Be sure to restart your server when you modify this file.
+
+# This file contains settings for ActionController::ParamsWrapper which
+# is enabled by default.
+
+# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
+ActiveSupport.on_load(:action_controller) do
+ wrap_parameters format: [:json]
+end
+
+# To enable root element in JSON for ActiveRecord objects.
+# ActiveSupport.on_load(:active_record) do
+# self.include_root_in_json = true
+# end
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/config/locales/en.yml b/dylan_eckert/rails2/userfeats/config/locales/en.yml
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/config/locales/en.yml
rename to dylan_eckert/rails2/userfeats/config/locales/en.yml
diff --git a/dylan_eckert/rails2/userfeats/config/puma.rb b/dylan_eckert/rails2/userfeats/config/puma.rb
new file mode 100644
index 0000000..c7f311f
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/config/puma.rb
@@ -0,0 +1,47 @@
+# Puma can serve each request in a thread from an internal thread pool.
+# The `threads` method setting takes two numbers a minimum and maximum.
+# Any libraries that use thread pools should be configured to match
+# the maximum value specified for Puma. Default is set to 5 threads for minimum
+# and maximum, this matches the default thread size of Active Record.
+#
+threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i
+threads threads_count, threads_count
+
+# Specifies the `port` that Puma will listen on to receive requests, default is 3000.
+#
+port ENV.fetch("PORT") { 3000 }
+
+# Specifies the `environment` that Puma will run in.
+#
+environment ENV.fetch("RAILS_ENV") { "development" }
+
+# Specifies the number of `workers` to boot in clustered mode.
+# Workers are forked webserver processes. If using threads and workers together
+# the concurrency of the application would be max `threads` * `workers`.
+# Workers do not work on JRuby or Windows (both of which do not support
+# processes).
+#
+# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
+
+# Use the `preload_app!` method when specifying a `workers` number.
+# This directive tells Puma to first boot the application and load code
+# before forking the application. This takes advantage of Copy On Write
+# process behavior so workers use less memory. If you use this option
+# you need to make sure to reconnect any threads in the `on_worker_boot`
+# block.
+#
+# preload_app!
+
+# The code in the `on_worker_boot` will be called if you are using
+# clustered mode by specifying a number of `workers`. After each worker
+# process is booted this block will be run, if you are using `preload_app!`
+# option you will want to use this block to reconnect to any threads
+# or connections that may have been created at application boot, Ruby
+# cannot share connections between processes.
+#
+# on_worker_boot do
+# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
+# end
+
+# Allow puma to be restarted by `rails restart` command.
+plugin :tmp_restart
diff --git a/dylan_eckert/rails2/userfeats/config/routes.rb b/dylan_eckert/rails2/userfeats/config/routes.rb
new file mode 100644
index 0000000..8c38e83
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/config/routes.rb
@@ -0,0 +1,5 @@
+Rails.application.routes.draw do
+ resources :sessions, only: [:new, :create, :destroy]
+ resources :users, except: [:index]
+ # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
+end
diff --git a/dylan_eckert/rails2/userfeats/config/secrets.yml b/dylan_eckert/rails2/userfeats/config/secrets.yml
new file mode 100644
index 0000000..41e0de4
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/config/secrets.yml
@@ -0,0 +1,22 @@
+# Be sure to restart your server when you modify this file.
+
+# Your secret key is used for verifying the integrity of signed cookies.
+# If you change this key, all old signed cookies will become invalid!
+
+# Make sure the secret is at least 30 characters and all random,
+# no regular words or you'll be exposed to dictionary attacks.
+# You can use `rails secret` to generate a secure secret key.
+
+# Make sure the secrets in this file are kept private
+# if you're sharing your code publicly.
+
+development:
+ secret_key_base: df5bfd362ae400b400d79af9bc419e988c72e7a2df7aebc541137d2f27e125bb93b09d877ecc0cae931a9b8c16ef96f1c7329a8b2d788eadf3a0f5cc9bb4d4e7
+
+test:
+ secret_key_base: 91a21b8af0492c5893228989638a977f5e7cf895e0a94a3a0cd34976a4582b84e68c4e940e3369f2297218eaebf4bce2cc07441512a9c2d645734c20e08024b9
+
+# Do not keep production secrets in the repository,
+# instead read values from the environment.
+production:
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/dylan_eckert/rails2/userfeats/config/spring.rb b/dylan_eckert/rails2/userfeats/config/spring.rb
new file mode 100644
index 0000000..c9119b4
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/config/spring.rb
@@ -0,0 +1,6 @@
+%w(
+ .ruby-version
+ .rbenv-vars
+ tmp/restart.txt
+ tmp/caching-dev.txt
+).each { |path| Spring.watch(path) }
diff --git a/dylan_eckert/rails2/userfeats/db/migrate/20171211192257_create_users.rb b/dylan_eckert/rails2/userfeats/db/migrate/20171211192257_create_users.rb
new file mode 100644
index 0000000..9e6ab64
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/db/migrate/20171211192257_create_users.rb
@@ -0,0 +1,11 @@
+class CreateUsers < ActiveRecord::Migration[5.0]
+ def change
+ create_table :users do |t|
+ t.string :name
+ t.string :email
+ t.string :password_digest
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/userfeats/db/schema.rb b/dylan_eckert/rails2/userfeats/db/schema.rb
new file mode 100644
index 0000000..76f3396
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/db/schema.rb
@@ -0,0 +1,26 @@
+# This file is auto-generated from the current state of the database. Instead
+# of editing this file, please use the migrations feature of Active Record to
+# incrementally modify your database, and then regenerate this schema definition.
+#
+# Note that this schema.rb definition is the authoritative source for your
+# database schema. If you need to create the application database on another
+# system, you should be using db:schema:load, not running all the migrations
+# from scratch. The latter is a flawed and unsustainable approach (the more migrations
+# you'll amass, the slower it'll run and the greater likelihood for issues).
+#
+# It's strongly recommended that you check this file into your version control system.
+
+ActiveRecord::Schema.define(version: 20171211192257) do
+
+ # These are extensions that must be enabled in order to support this database
+ enable_extension "plpgsql"
+
+ create_table "users", force: :cascade do |t|
+ t.string "name"
+ t.string "email"
+ t.string "password_digest"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ end
+
+end
diff --git a/dylan_eckert/rails2/userfeats/db/seeds.rb b/dylan_eckert/rails2/userfeats/db/seeds.rb
new file mode 100644
index 0000000..1beea2a
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/db/seeds.rb
@@ -0,0 +1,7 @@
+# This file should contain all the record creation needed to seed the database with its default values.
+# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
+#
+# Examples:
+#
+# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
+# Character.create(name: 'Luke', movie: movies.first)
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/lib/tasks/.keep b/dylan_eckert/rails2/userfeats/lib/assets/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/lib/tasks/.keep
rename to dylan_eckert/rails2/userfeats/lib/assets/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/log/.keep b/dylan_eckert/rails2/userfeats/lib/tasks/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/log/.keep
rename to dylan_eckert/rails2/userfeats/lib/tasks/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/test/controllers/.keep b/dylan_eckert/rails2/userfeats/log/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/test/controllers/.keep
rename to dylan_eckert/rails2/userfeats/log/.keep
diff --git a/dylan_eckert/rails2/userfeats/public/404.html b/dylan_eckert/rails2/userfeats/public/404.html
new file mode 100644
index 0000000..2be3af2
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/public/404.html
@@ -0,0 +1,67 @@
+
+
+
+ The page you were looking for doesn't exist (404)
+
+
+
+
+
+
+
+
+
The page you were looking for doesn't exist.
+
You may have mistyped the address or the page may have moved.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/rails2/userfeats/public/422.html b/dylan_eckert/rails2/userfeats/public/422.html
new file mode 100644
index 0000000..c08eac0
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/public/422.html
@@ -0,0 +1,67 @@
+
+
+
+ The change you wanted was rejected (422)
+
+
+
+
+
+
+
+
+
The change you wanted was rejected.
+
Maybe you tried to change something you didn't have access to.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/rails2/userfeats/public/500.html b/dylan_eckert/rails2/userfeats/public/500.html
new file mode 100644
index 0000000..78a030a
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/public/500.html
@@ -0,0 +1,66 @@
+
+
+
+ We're sorry, but something went wrong (500)
+
+
+
+
+
+
+
+
+
We're sorry, but something went wrong.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/public/favicon.ico b/dylan_eckert/rails2/userfeats/public/apple-touch-icon-precomposed.png
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/public/favicon.ico
rename to dylan_eckert/rails2/userfeats/public/apple-touch-icon-precomposed.png
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/test/fixtures/.keep b/dylan_eckert/rails2/userfeats/public/apple-touch-icon.png
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/test/fixtures/.keep
rename to dylan_eckert/rails2/userfeats/public/apple-touch-icon.png
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/public/favicon.ico b/dylan_eckert/rails2/userfeats/public/favicon.ico
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/public/favicon.ico
rename to dylan_eckert/rails2/userfeats/public/favicon.ico
diff --git a/Tamisha_Damas/Rails II/dojo_secrets/public/robots.txt b/dylan_eckert/rails2/userfeats/public/robots.txt
similarity index 100%
rename from Tamisha_Damas/Rails II/dojo_secrets/public/robots.txt
rename to dylan_eckert/rails2/userfeats/public/robots.txt
diff --git a/dylan_eckert/rails2/userfeats/spec/controllers/users_controller_spec.rb b/dylan_eckert/rails2/userfeats/spec/controllers/users_controller_spec.rb
new file mode 100644
index 0000000..e2c3d3b
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/spec/controllers/users_controller_spec.rb
@@ -0,0 +1,5 @@
+require 'rails_helper'
+
+RSpec.describe UsersController, type: :controller do
+
+end
diff --git a/dylan_eckert/rails2/userfeats/spec/factories/users.rb b/dylan_eckert/rails2/userfeats/spec/factories/users.rb
new file mode 100644
index 0000000..35b5824
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/spec/factories/users.rb
@@ -0,0 +1,8 @@
+FactoryBot.define do
+ factory :user do
+ name "Dylan Eckert"
+ email "email@email.com"
+ password "password"
+ password_confirmation "password"
+ end
+end
diff --git a/dylan_eckert/rails2/userfeats/spec/helpers/sessions_helper_spec.rb b/dylan_eckert/rails2/userfeats/spec/helpers/sessions_helper_spec.rb
new file mode 100644
index 0000000..9484198
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/spec/helpers/sessions_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'rails_helper'
+
+# Specs in this file have access to a helper object that includes
+# the SessionsHelper. For example:
+#
+# describe SessionsHelper do
+# describe "string concat" do
+# it "concats two strings with spaces" do
+# expect(helper.concat_strings("this","that")).to eq("this that")
+# end
+# end
+# end
+RSpec.describe SessionsHelper, type: :helper do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/dylan_eckert/rails2/userfeats/spec/helpers/users_helper_spec.rb b/dylan_eckert/rails2/userfeats/spec/helpers/users_helper_spec.rb
new file mode 100644
index 0000000..b2e3444
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/spec/helpers/users_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'rails_helper'
+
+# Specs in this file have access to a helper object that includes
+# the UsersHelper. For example:
+#
+# describe UsersHelper do
+# describe "string concat" do
+# it "concats two strings with spaces" do
+# expect(helper.concat_strings("this","that")).to eq("this that")
+# end
+# end
+# end
+RSpec.describe UsersHelper, type: :helper do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/dylan_eckert/rails2/userfeats/spec/models/user_spec.rb b/dylan_eckert/rails2/userfeats/spec/models/user_spec.rb
new file mode 100644
index 0000000..648c0b2
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/spec/models/user_spec.rb
@@ -0,0 +1,39 @@
+require 'rails_helper'
+
+RSpec.describe User, type: :model do
+ context "with valid attributes" do
+ it "should save" do
+ expect(build(:user)).to be_valid
+ end
+ it 'automatically encrypts the password into the password_digest attribute' do
+ expect(build(:user).password_digest.present?).to eq(true)
+ end
+ it 'email as lowercase' do
+ expect(create(:user, email: 'EMAIL@GMAIL.COM').email).to eq('email@gmail.com')
+ end
+ end
+ context "with invalid attributes should not save if" do
+ it 'name is blank' do
+ expect(build(:user, name: '')).to be_invalid
+ end
+ it 'email is blank' do
+ expect(build(:user, email: '')).to be_invalid
+ end
+ it 'email format is wrong' do
+ emails = %w[@ user@ @example.com]
+ emails.each do |email|
+ expect(build(:user, email: email)).to be_invalid
+ end
+ end
+ it 'email is not unique' do
+ create(:user)
+ expect(build(:user)).to be_invalid
+ end
+ it 'password is blank' do
+ expect(build(:user, password: '')).to be_invalid
+ end
+ it "password doesn't match password_confirmation" do
+ expect(build(:user, password_confirmation: 'notpassword')).to be_invalid
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/userfeats/spec/rails_helper.rb b/dylan_eckert/rails2/userfeats/spec/rails_helper.rb
new file mode 100644
index 0000000..c136077
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/spec/rails_helper.rb
@@ -0,0 +1,58 @@
+# This file is copied to spec/ when you run 'rails generate rspec:install'
+require 'spec_helper'
+require 'factory_bot_rails'
+ENV['RAILS_ENV'] ||= 'test'
+require File.expand_path('../../config/environment', __FILE__)
+# Prevent database truncation if the environment is production
+abort("The Rails environment is running in production mode!") if Rails.env.production?
+require 'rspec/rails'
+# Add additional requires below this line. Rails is not loaded until this point!
+
+# Requires supporting ruby files with custom matchers and macros, etc, in
+# spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
+# run as spec files by default. This means that files in spec/support that end
+# in _spec.rb will both be required and run as specs, causing the specs to be
+# run twice. It is recommended that you do not name files matching this glob to
+# end with _spec.rb. You can configure this pattern with the --pattern
+# option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
+#
+# The following line is provided for convenience purposes. It has the downside
+# of increasing the boot-up time by auto-requiring all files in the support
+# directory. Alternatively, in the individual `*_spec.rb` files, manually
+# require only the support files necessary.
+#
+# Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
+
+# Checks for pending migrations and applies them before tests are run.
+# If you are not using ActiveRecord, you can remove this line.
+ActiveRecord::Migration.maintain_test_schema!
+
+RSpec.configure do |config|
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
+ config.include FactoryBot::Syntax::Methods
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
+ # examples within a transaction, remove the following line or assign false
+ # instead of true.
+ config.use_transactional_fixtures = true
+
+ # RSpec Rails can automatically mix in different behaviours to your tests
+ # based on their file location, for example enabling you to call `get` and
+ # `post` in specs under `spec/controllers`.
+ #
+ # You can disable this behaviour by removing the line below, and instead
+ # explicitly tag your specs with their type, e.g.:
+ #
+ # RSpec.describe UsersController, :type => :controller do
+ # # ...
+ # end
+ #
+ # The different available types are documented in the features, such as in
+ # https://relishapp.com/rspec/rspec-rails/docs
+ config.infer_spec_type_from_file_location!
+
+ # Filter lines from Rails gems in backtraces.
+ config.filter_rails_from_backtrace!
+ # arbitrary gems may also be filtered via:
+ # config.filter_gems_from_backtrace("gem name")
+end
diff --git a/dylan_eckert/rails2/userfeats/spec/spec_helper.rb b/dylan_eckert/rails2/userfeats/spec/spec_helper.rb
new file mode 100644
index 0000000..6bd448f
--- /dev/null
+++ b/dylan_eckert/rails2/userfeats/spec/spec_helper.rb
@@ -0,0 +1,111 @@
+# This file was generated by the `rails generate rspec:install` command. Conventionally, all
+# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
+# The generated `.rspec` file contains `--require spec_helper` which will cause
+# this file to always be loaded, without a need to explicitly require it in any
+# files.
+#
+# Given that it is always loaded, you are encouraged to keep this file as
+# light-weight as possible. Requiring heavyweight dependencies from this file
+# will add to the boot time of your test suite on EVERY test run, even for an
+# individual file that may not need all of that loaded. Instead, consider making
+# a separate helper file that requires the additional dependencies and performs
+# the additional setup, and require it from the spec files that actually need
+# it.
+#
+def log_in email: "oscar@gmail.com", password: "password"
+ visit '/sessions/new' unless current_path == "/sessions/new"
+ fill_in 'Email', with: email
+ fill_in 'Password', with: password
+ click_button 'Log In'
+end
+# The code below should already be included in your file
+RSpec.configure do |config|
+ config.expect_with :rspec do |expectations|
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
+ end
+ config.mock_with :rspec do |mocks|
+ mocks.verify_partial_doubles = true
+ end
+end
+# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
+RSpec.configure do |config|
+ # rspec-expectations config goes here. You can use an alternate
+ # assertion/expectation library such as wrong or the stdlib/minitest
+ # assertions if you prefer.
+ config.expect_with :rspec do |expectations|
+ # This option will default to `true` in RSpec 4. It makes the `description`
+ # and `failure_message` of custom matchers include text for helper methods
+ # defined using `chain`, e.g.:
+ # be_bigger_than(2).and_smaller_than(4).description
+ # # => "be bigger than 2 and smaller than 4"
+ # ...rather than:
+ # # => "be bigger than 2"
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
+ end
+
+ # rspec-mocks config goes here. You can use an alternate test double
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
+ config.mock_with :rspec do |mocks|
+ # Prevents you from mocking or stubbing a method that does not exist on
+ # a real object. This is generally recommended, and will default to
+ # `true` in RSpec 4.
+ mocks.verify_partial_doubles = true
+ end
+
+ # This option will default to `:apply_to_host_groups` in RSpec 4 (and will
+ # have no way to turn it off -- the option exists only for backwards
+ # compatibility in RSpec 3). It causes shared context metadata to be
+ # inherited by the metadata hash of host groups and examples, rather than
+ # triggering implicit auto-inclusion in groups with matching metadata.
+ config.shared_context_metadata_behavior = :apply_to_host_groups
+
+# The settings below are suggested to provide a good initial experience
+# with RSpec, but feel free to customize to your heart's content.
+=begin
+ # This allows you to limit a spec run to individual examples or groups
+ # you care about by tagging them with `:focus` metadata. When nothing
+ # is tagged with `:focus`, all examples get run. RSpec also provides
+ # aliases for `it`, `describe`, and `context` that include `:focus`
+ # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
+ config.filter_run_when_matching :focus
+
+ # Allows RSpec to persist some state between runs in order to support
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
+ # you configure your source control system to ignore this file.
+ config.example_status_persistence_file_path = "spec/examples.txt"
+
+ # Limits the available syntax to the non-monkey patched syntax that is
+ # recommended. For more details, see:
+ # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
+ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
+ config.disable_monkey_patching!
+
+ # Many RSpec users commonly either run the entire suite or an individual
+ # file, and it's useful to allow more verbose output when running an
+ # individual spec file.
+ if config.files_to_run.one?
+ # Use the documentation formatter for detailed output,
+ # unless a formatter has already been configured
+ # (e.g. via a command-line flag).
+ config.default_formatter = "doc"
+ end
+
+ # Print the 10 slowest examples and example groups at the
+ # end of the spec run, to help surface which specs are running
+ # particularly slow.
+ config.profile_examples = 10
+
+ # Run specs in random order to surface order dependencies. If you find an
+ # order dependency and want to debug it, you can fix the order by providing
+ # the seed, which is printed after each run.
+ # --seed 1234
+ config.order = :random
+
+ # Seed global randomization in this process using the `--seed` CLI option.
+ # Setting this allows you to use `--seed` to deterministically reproduce
+ # test failures related to randomization by passing the same `--seed` value
+ # as the one that triggered the failure.
+ Kernel.srand config.seed
+=end
+end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/test/helpers/.keep b/dylan_eckert/rails2/userfeats/test/controllers/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/test/helpers/.keep
rename to dylan_eckert/rails2/userfeats/test/controllers/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/test/integration/.keep b/dylan_eckert/rails2/userfeats/test/fixtures/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/test/integration/.keep
rename to dylan_eckert/rails2/userfeats/test/fixtures/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/test/mailers/.keep b/dylan_eckert/rails2/userfeats/test/fixtures/files/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/test/mailers/.keep
rename to dylan_eckert/rails2/userfeats/test/fixtures/files/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/test/models/.keep b/dylan_eckert/rails2/userfeats/test/helpers/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/test/models/.keep
rename to dylan_eckert/rails2/userfeats/test/helpers/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/vendor/assets/javascripts/.keep b/dylan_eckert/rails2/userfeats/test/integration/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/vendor/assets/javascripts/.keep
rename to dylan_eckert/rails2/userfeats/test/integration/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/vendor/assets/stylesheets/.keep b/dylan_eckert/rails2/userfeats/test/mailers/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 2/vendor/assets/stylesheets/.keep
rename to dylan_eckert/rails2/userfeats/test/mailers/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/app/assets/images/.keep b/dylan_eckert/rails2/userfeats/test/models/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/app/assets/images/.keep
rename to dylan_eckert/rails2/userfeats/test/models/.keep
diff --git a/Stephen Weil/Rails/Models/user_login_project/test/test_helper.rb b/dylan_eckert/rails2/userfeats/test/test_helper.rb
similarity index 100%
rename from Stephen Weil/Rails/Models/user_login_project/test/test_helper.rb
rename to dylan_eckert/rails2/userfeats/test/test_helper.rb
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/app/controllers/concerns/.keep b/dylan_eckert/rails2/userfeats/tmp/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/app/controllers/concerns/.keep
rename to dylan_eckert/rails2/userfeats/tmp/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/app/mailers/.keep b/dylan_eckert/rails2/userfeats/vendor/assets/javascripts/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/app/mailers/.keep
rename to dylan_eckert/rails2/userfeats/vendor/assets/javascripts/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/app/models/.keep b/dylan_eckert/rails2/userfeats/vendor/assets/stylesheets/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/app/models/.keep
rename to dylan_eckert/rails2/userfeats/vendor/assets/stylesheets/.keep
diff --git a/dylan_eckert/rails2/usersettings/.gitignore b/dylan_eckert/rails2/usersettings/.gitignore
new file mode 100644
index 0000000..48fb168
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/.gitignore
@@ -0,0 +1,17 @@
+# See https://help.github.com/articles/ignoring-files for more about ignoring files.
+#
+# If you find yourself ignoring temporary files generated by your text editor
+# or operating system, you probably want to add a global ignore instead:
+# git config --global core.excludesfile '~/.gitignore_global'
+
+# Ignore bundler config.
+/.bundle
+
+# Ignore all logfiles and tempfiles.
+/log/*
+/tmp/*
+!/log/.keep
+!/tmp/.keep
+
+# Ignore Byebug command history file.
+.byebug_history
diff --git a/dylan_eckert/rails2/usersettings/.rspec b/dylan_eckert/rails2/usersettings/.rspec
new file mode 100644
index 0000000..c99d2e7
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/.rspec
@@ -0,0 +1 @@
+--require spec_helper
diff --git a/dylan_eckert/rails2/usersettings/Gemfile b/dylan_eckert/rails2/usersettings/Gemfile
new file mode 100644
index 0000000..8d464a7
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/Gemfile
@@ -0,0 +1,54 @@
+source 'https://rubygems.org'
+
+git_source(:github) do |repo_name|
+ repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
+ "https://github.com/#{repo_name}.git"
+end
+
+
+# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
+gem 'rails', '~> 5.0.6'
+# Use postgresql as the database for Active Record
+gem 'pg', '~> 0.18'
+# Use Puma as the app server
+gem 'puma', '~> 3.0'
+# Use SCSS for stylesheets
+gem 'sass-rails', '~> 5.0'
+# Use Uglifier as compressor for JavaScript assets
+gem 'uglifier', '>= 1.3.0'
+# Use CoffeeScript for .coffee assets and views
+gem 'coffee-rails', '~> 4.2'
+# See https://github.com/rails/execjs#readme for more supported runtimes
+# gem 'therubyracer', platforms: :ruby
+
+# Use jquery as the JavaScript library
+gem 'jquery-rails'
+# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
+gem 'turbolinks', '~> 5'
+# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
+gem 'jbuilder', '~> 2.5'
+# Use Redis adapter to run Action Cable in production
+# gem 'redis', '~> 3.0'
+# Use ActiveModel has_secure_password
+gem 'bcrypt', '~> 3.1.7'
+
+# Use Capistrano for deployment
+# gem 'capistrano-rails', group: :development
+
+group :development, :test do
+ gem 'rspec-rails'
+ gem 'factory_bot_rails'
+ gem 'capybara'
+end
+
+group :development do
+ # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
+ gem 'web-console', '>= 3.3.0'
+ gem 'listen', '~> 3.0.5'
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
+ gem 'spring'
+ gem 'spring-watcher-listen', '~> 2.0.0'
+end
+
+# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
+gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
diff --git a/dylan_eckert/rails2/usersettings/Gemfile.lock b/dylan_eckert/rails2/usersettings/Gemfile.lock
new file mode 100644
index 0000000..1368646
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/Gemfile.lock
@@ -0,0 +1,217 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actioncable (5.0.6)
+ actionpack (= 5.0.6)
+ nio4r (>= 1.2, < 3.0)
+ websocket-driver (~> 0.6.1)
+ actionmailer (5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ mail (~> 2.5, >= 2.5.4)
+ rails-dom-testing (~> 2.0)
+ actionpack (5.0.6)
+ actionview (= 5.0.6)
+ activesupport (= 5.0.6)
+ rack (~> 2.0)
+ rack-test (~> 0.6.3)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
+ actionview (5.0.6)
+ activesupport (= 5.0.6)
+ builder (~> 3.1)
+ erubis (~> 2.7.0)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
+ activejob (5.0.6)
+ activesupport (= 5.0.6)
+ globalid (>= 0.3.6)
+ activemodel (5.0.6)
+ activesupport (= 5.0.6)
+ activerecord (5.0.6)
+ activemodel (= 5.0.6)
+ activesupport (= 5.0.6)
+ arel (~> 7.0)
+ activesupport (5.0.6)
+ concurrent-ruby (~> 1.0, >= 1.0.2)
+ i18n (~> 0.7)
+ minitest (~> 5.1)
+ tzinfo (~> 1.1)
+ addressable (2.5.2)
+ public_suffix (>= 2.0.2, < 4.0)
+ arel (7.1.4)
+ bcrypt (3.1.11)
+ bindex (0.5.0)
+ builder (3.2.3)
+ capybara (2.16.1)
+ addressable
+ mini_mime (>= 0.1.3)
+ nokogiri (>= 1.3.3)
+ rack (>= 1.0.0)
+ rack-test (>= 0.5.4)
+ xpath (~> 2.0)
+ coffee-rails (4.2.2)
+ coffee-script (>= 2.2.0)
+ railties (>= 4.0.0)
+ coffee-script (2.4.1)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.12.2)
+ concurrent-ruby (1.0.5)
+ crass (1.0.3)
+ diff-lcs (1.3)
+ erubis (2.7.0)
+ execjs (2.7.0)
+ factory_bot (4.8.2)
+ activesupport (>= 3.0.0)
+ factory_bot_rails (4.8.2)
+ factory_bot (~> 4.8.2)
+ railties (>= 3.0.0)
+ ffi (1.9.18)
+ globalid (0.4.1)
+ activesupport (>= 4.2.0)
+ i18n (0.9.1)
+ concurrent-ruby (~> 1.0)
+ jbuilder (2.7.0)
+ activesupport (>= 4.2.0)
+ multi_json (>= 1.2)
+ jquery-rails (4.3.1)
+ rails-dom-testing (>= 1, < 3)
+ railties (>= 4.2.0)
+ thor (>= 0.14, < 2.0)
+ listen (3.0.8)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ loofah (2.1.1)
+ crass (~> 1.0.2)
+ nokogiri (>= 1.5.9)
+ mail (2.7.0)
+ mini_mime (>= 0.1.1)
+ method_source (0.9.0)
+ mini_mime (1.0.0)
+ mini_portile2 (2.3.0)
+ minitest (5.10.3)
+ multi_json (1.12.2)
+ nio4r (2.1.0)
+ nokogiri (1.8.1)
+ mini_portile2 (~> 2.3.0)
+ pg (0.21.0)
+ public_suffix (3.0.1)
+ puma (3.11.0)
+ rack (2.0.3)
+ rack-test (0.6.3)
+ rack (>= 1.0)
+ rails (5.0.6)
+ actioncable (= 5.0.6)
+ actionmailer (= 5.0.6)
+ actionpack (= 5.0.6)
+ actionview (= 5.0.6)
+ activejob (= 5.0.6)
+ activemodel (= 5.0.6)
+ activerecord (= 5.0.6)
+ activesupport (= 5.0.6)
+ bundler (>= 1.3.0)
+ railties (= 5.0.6)
+ sprockets-rails (>= 2.0.0)
+ rails-dom-testing (2.0.3)
+ activesupport (>= 4.2.0)
+ nokogiri (>= 1.6)
+ rails-html-sanitizer (1.0.3)
+ loofah (~> 2.0)
+ railties (5.0.6)
+ actionpack (= 5.0.6)
+ activesupport (= 5.0.6)
+ method_source
+ rake (>= 0.8.7)
+ thor (>= 0.18.1, < 2.0)
+ rake (12.3.0)
+ rb-fsevent (0.10.2)
+ rb-inotify (0.9.10)
+ ffi (>= 0.5.0, < 2)
+ rspec-core (3.7.0)
+ rspec-support (~> 3.7.0)
+ rspec-expectations (3.7.0)
+ diff-lcs (>= 1.2.0, < 2.0)
+ rspec-support (~> 3.7.0)
+ rspec-mocks (3.7.0)
+ diff-lcs (>= 1.2.0, < 2.0)
+ rspec-support (~> 3.7.0)
+ rspec-rails (3.7.2)
+ actionpack (>= 3.0)
+ activesupport (>= 3.0)
+ railties (>= 3.0)
+ rspec-core (~> 3.7.0)
+ rspec-expectations (~> 3.7.0)
+ rspec-mocks (~> 3.7.0)
+ rspec-support (~> 3.7.0)
+ rspec-support (3.7.0)
+ sass (3.5.3)
+ sass-listen (~> 4.0.0)
+ sass-listen (4.0.0)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ sass-rails (5.0.7)
+ railties (>= 4.0.0, < 6)
+ sass (~> 3.1)
+ sprockets (>= 2.8, < 4.0)
+ sprockets-rails (>= 2.0, < 4.0)
+ tilt (>= 1.1, < 3)
+ spring (2.0.2)
+ activesupport (>= 4.2)
+ spring-watcher-listen (2.0.1)
+ listen (>= 2.7, < 4.0)
+ spring (>= 1.2, < 3.0)
+ sprockets (3.7.1)
+ concurrent-ruby (~> 1.0)
+ rack (> 1, < 3)
+ sprockets-rails (3.2.1)
+ actionpack (>= 4.0)
+ activesupport (>= 4.0)
+ sprockets (>= 3.0.0)
+ thor (0.20.0)
+ thread_safe (0.3.6)
+ tilt (2.0.8)
+ turbolinks (5.0.1)
+ turbolinks-source (~> 5)
+ turbolinks-source (5.0.3)
+ tzinfo (1.2.4)
+ thread_safe (~> 0.1)
+ uglifier (4.0.2)
+ execjs (>= 0.3.0, < 3)
+ web-console (3.5.1)
+ actionview (>= 5.0)
+ activemodel (>= 5.0)
+ bindex (>= 0.4.0)
+ railties (>= 5.0)
+ websocket-driver (0.6.5)
+ websocket-extensions (>= 0.1.0)
+ websocket-extensions (0.1.3)
+ xpath (2.1.0)
+ nokogiri (~> 1.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ bcrypt (~> 3.1.7)
+ capybara
+ coffee-rails (~> 4.2)
+ factory_bot_rails
+ jbuilder (~> 2.5)
+ jquery-rails
+ listen (~> 3.0.5)
+ pg (~> 0.18)
+ puma (~> 3.0)
+ rails (~> 5.0.6)
+ rspec-rails
+ sass-rails (~> 5.0)
+ spring
+ spring-watcher-listen (~> 2.0.0)
+ turbolinks (~> 5)
+ tzinfo-data
+ uglifier (>= 1.3.0)
+ web-console (>= 3.3.0)
+
+BUNDLED WITH
+ 1.16.0
diff --git a/dylan_eckert/rails2/usersettings/README.md b/dylan_eckert/rails2/usersettings/README.md
new file mode 100644
index 0000000..7db80e4
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/README.md
@@ -0,0 +1,24 @@
+# README
+
+This README would normally document whatever steps are necessary to get the
+application up and running.
+
+Things you may want to cover:
+
+* Ruby version
+
+* System dependencies
+
+* Configuration
+
+* Database creation
+
+* Database initialization
+
+* How to run the test suite
+
+* Services (job queues, cache servers, search engines, etc.)
+
+* Deployment instructions
+
+* ...
diff --git a/dylan_eckert/rails2/usersettings/Rakefile b/dylan_eckert/rails2/usersettings/Rakefile
new file mode 100644
index 0000000..e85f913
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/Rakefile
@@ -0,0 +1,6 @@
+# Add your own tasks in files placed in lib/tasks ending in .rake,
+# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
+
+require_relative 'config/application'
+
+Rails.application.load_tasks
diff --git a/dylan_eckert/rails2/usersettings/app/assets/config/manifest.js b/dylan_eckert/rails2/usersettings/app/assets/config/manifest.js
new file mode 100644
index 0000000..b16e53d
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/app/assets/config/manifest.js
@@ -0,0 +1,3 @@
+//= link_tree ../images
+//= link_directory ../javascripts .js
+//= link_directory ../stylesheets .css
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/app/models/concerns/.keep b/dylan_eckert/rails2/usersettings/app/assets/images/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/app/models/concerns/.keep
rename to dylan_eckert/rails2/usersettings/app/assets/images/.keep
diff --git a/dylan_eckert/rails2/usersettings/app/assets/javascripts/application.js b/dylan_eckert/rails2/usersettings/app/assets/javascripts/application.js
new file mode 100644
index 0000000..b12018d
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/app/assets/javascripts/application.js
@@ -0,0 +1,16 @@
+// This is a manifest file that'll be compiled into application.js, which will include all the files
+// listed below.
+//
+// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
+// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
+//
+// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
+// compiled file. JavaScript code in this file should be added after the last require_* statement.
+//
+// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
+// about supported directives.
+//
+//= require jquery
+//= require jquery_ujs
+//= require turbolinks
+//= require_tree .
diff --git a/dylan_eckert/rails2/usersettings/app/assets/javascripts/cable.js b/dylan_eckert/rails2/usersettings/app/assets/javascripts/cable.js
new file mode 100644
index 0000000..71ee1e6
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/app/assets/javascripts/cable.js
@@ -0,0 +1,13 @@
+// Action Cable provides the framework to deal with WebSockets in Rails.
+// You can generate new channels where WebSocket features live using the rails generate channel command.
+//
+//= require action_cable
+//= require_self
+//= require_tree ./channels
+
+(function() {
+ this.App || (this.App = {});
+
+ App.cable = ActionCable.createConsumer();
+
+}).call(this);
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/lib/assets/.keep b/dylan_eckert/rails2/usersettings/app/assets/javascripts/channels/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/lib/assets/.keep
rename to dylan_eckert/rails2/usersettings/app/assets/javascripts/channels/.keep
diff --git a/dylan_eckert/rails2/usersettings/app/assets/javascripts/sessions.coffee b/dylan_eckert/rails2/usersettings/app/assets/javascripts/sessions.coffee
new file mode 100644
index 0000000..24f83d1
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/app/assets/javascripts/sessions.coffee
@@ -0,0 +1,3 @@
+# Place all the behaviors and hooks related to the matching controller here.
+# All this logic will automatically be available in application.js.
+# You can use CoffeeScript in this file: http://coffeescript.org/
diff --git a/dylan_eckert/rails2/usersettings/app/assets/javascripts/users.coffee b/dylan_eckert/rails2/usersettings/app/assets/javascripts/users.coffee
new file mode 100644
index 0000000..24f83d1
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/app/assets/javascripts/users.coffee
@@ -0,0 +1,3 @@
+# Place all the behaviors and hooks related to the matching controller here.
+# All this logic will automatically be available in application.js.
+# You can use CoffeeScript in this file: http://coffeescript.org/
diff --git a/dylan_eckert/rails2/usersettings/app/assets/stylesheets/application.css b/dylan_eckert/rails2/usersettings/app/assets/stylesheets/application.css
new file mode 100644
index 0000000..0ebd7fe
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/app/assets/stylesheets/application.css
@@ -0,0 +1,15 @@
+/*
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
+ * listed below.
+ *
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
+ * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
+ *
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
+ * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
+ * files in this directory. Styles in this file should be added after the last require_* statement.
+ * It is generally better to create a new file per style scope.
+ *
+ *= require_tree .
+ *= require_self
+ */
diff --git a/dylan_eckert/rails2/usersettings/app/assets/stylesheets/sessions.scss b/dylan_eckert/rails2/usersettings/app/assets/stylesheets/sessions.scss
new file mode 100644
index 0000000..ccb1ed2
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/app/assets/stylesheets/sessions.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the Sessions controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/dylan_eckert/rails2/usersettings/app/assets/stylesheets/users.scss b/dylan_eckert/rails2/usersettings/app/assets/stylesheets/users.scss
new file mode 100644
index 0000000..31a2eac
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/app/assets/stylesheets/users.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the Users controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/dylan_eckert/rails2/usersettings/app/channels/application_cable/channel.rb b/dylan_eckert/rails2/usersettings/app/channels/application_cable/channel.rb
new file mode 100644
index 0000000..d672697
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/app/channels/application_cable/channel.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Channel < ActionCable::Channel::Base
+ end
+end
diff --git a/dylan_eckert/rails2/usersettings/app/channels/application_cable/connection.rb b/dylan_eckert/rails2/usersettings/app/channels/application_cable/connection.rb
new file mode 100644
index 0000000..0ff5442
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/app/channels/application_cable/connection.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Connection < ActionCable::Connection::Base
+ end
+end
diff --git a/dylan_eckert/rails2/usersettings/app/controllers/application_controller.rb b/dylan_eckert/rails2/usersettings/app/controllers/application_controller.rb
new file mode 100644
index 0000000..b521dc2
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/app/controllers/application_controller.rb
@@ -0,0 +1,14 @@
+class ApplicationController < ActionController::Base
+ protect_from_forgery with: :exception
+
+ before_action :require_login
+
+ def require_login
+ return redirect_to new_session_path unless session[:user_id]
+ end
+ def current_user
+ return User.find(session[:user_id]) if session[:user_id]
+ end
+ helper_method :current_user
+ helper_method :require_login
+end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/lib/tasks/.keep b/dylan_eckert/rails2/usersettings/app/controllers/concerns/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/lib/tasks/.keep
rename to dylan_eckert/rails2/usersettings/app/controllers/concerns/.keep
diff --git a/dylan_eckert/rails2/usersettings/app/controllers/sessions_controller.rb b/dylan_eckert/rails2/usersettings/app/controllers/sessions_controller.rb
new file mode 100644
index 0000000..6a0abf2
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/app/controllers/sessions_controller.rb
@@ -0,0 +1,26 @@
+class SessionsController < ApplicationController
+ skip_before_action :require_login, except: [:destroy]
+ def new
+ end
+
+ def create
+ user = User.find_by(email: params[:email])
+ # find by email
+ if user
+ if user.try(:authenticate, params[:password])
+ # if the user matches a user in the database, set the session id to the user being authenticated
+ session[:user_id] = user.id
+ return redirect_to user_path user.id
+ end
+ flash[:errors] = ["Invalid password"]
+ else
+ flash[:errors] = ["Invalid email"]
+ end
+ return redirect_back fallback_location: new_session_path
+ end
+
+ def destroy
+ reset_session
+ redirect_to "/sessions/new"
+ end
+end
diff --git a/dylan_eckert/rails2/usersettings/app/controllers/users_controller.rb b/dylan_eckert/rails2/usersettings/app/controllers/users_controller.rb
new file mode 100644
index 0000000..cb2cd2e
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/app/controllers/users_controller.rb
@@ -0,0 +1,43 @@
+class UsersController < ApplicationController
+ skip_before_action :require_login, only: [:new, :create]
+ def new
+ end
+
+ def create
+ user = User.create(user_params)
+ if user.valid?
+ session[:user_id] = user.id
+ return redirect_to user_path user.id
+ else
+ flash[:errors] = user.errors.full_messages
+ return redirect_back fallback_location: new_user_path
+ end
+ end
+
+ def show
+ @user = User.find(params[:id])
+ end
+
+ def edit
+ @user = User.find(params[:id])
+ end
+
+ def update
+ user = User.find(params[:id])
+ user.update(user_params)
+ redirect_to user_path user.id
+ end
+
+ def destroy
+ user = User.find(params[:id])
+ user.destroy
+ reset_session
+ redirect_to new_session_path
+ end
+
+ private
+
+ def user_params
+ params.require(:user).permit(:name, :email, :password, :password_confirmation)
+ end
+end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/helpers/application_helper.rb b/dylan_eckert/rails2/usersettings/app/helpers/application_helper.rb
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/app/helpers/application_helper.rb
rename to dylan_eckert/rails2/usersettings/app/helpers/application_helper.rb
diff --git a/dylan_eckert/rails2/usersettings/app/helpers/sessions_helper.rb b/dylan_eckert/rails2/usersettings/app/helpers/sessions_helper.rb
new file mode 100644
index 0000000..309f8b2
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/app/helpers/sessions_helper.rb
@@ -0,0 +1,2 @@
+module SessionsHelper
+end
diff --git a/dylan_eckert/rails2/usersettings/app/helpers/users_helper.rb b/dylan_eckert/rails2/usersettings/app/helpers/users_helper.rb
new file mode 100644
index 0000000..2310a24
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/app/helpers/users_helper.rb
@@ -0,0 +1,2 @@
+module UsersHelper
+end
diff --git a/dylan_eckert/rails2/usersettings/app/jobs/application_job.rb b/dylan_eckert/rails2/usersettings/app/jobs/application_job.rb
new file mode 100644
index 0000000..a009ace
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/app/jobs/application_job.rb
@@ -0,0 +1,2 @@
+class ApplicationJob < ActiveJob::Base
+end
diff --git a/dylan_eckert/rails2/usersettings/app/mailers/application_mailer.rb b/dylan_eckert/rails2/usersettings/app/mailers/application_mailer.rb
new file mode 100644
index 0000000..286b223
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/app/mailers/application_mailer.rb
@@ -0,0 +1,4 @@
+class ApplicationMailer < ActionMailer::Base
+ default from: 'from@example.com'
+ layout 'mailer'
+end
diff --git a/dylan_eckert/rails2/usersettings/app/models/application_record.rb b/dylan_eckert/rails2/usersettings/app/models/application_record.rb
new file mode 100644
index 0000000..10a4cba
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/app/models/application_record.rb
@@ -0,0 +1,3 @@
+class ApplicationRecord < ActiveRecord::Base
+ self.abstract_class = true
+end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/log/.keep b/dylan_eckert/rails2/usersettings/app/models/concerns/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/log/.keep
rename to dylan_eckert/rails2/usersettings/app/models/concerns/.keep
diff --git a/dylan_eckert/rails2/usersettings/app/models/user.rb b/dylan_eckert/rails2/usersettings/app/models/user.rb
new file mode 100644
index 0000000..3e5165c
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/app/models/user.rb
@@ -0,0 +1,16 @@
+class User < ApplicationRecord
+ has_secure_password
+
+ EMAIL_REGEX = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]+)\z/i
+ validates :name, presence: true
+ validates :email, presence: true, uniqueness: { case_sensitive: false }, format: { with: EMAIL_REGEX }
+
+ before_save :input_lowercase
+ # line above says that before saving the user to the database to run the email_lowercase method
+
+ def input_lowercase
+ self.email.downcase!
+ self.name.downcase!
+ # the built in method for lowercasing something is .downcase!
+ end
+end
diff --git a/dylan_eckert/rails2/usersettings/app/views/layouts/application.html.erb b/dylan_eckert/rails2/usersettings/app/views/layouts/application.html.erb
new file mode 100644
index 0000000..4c62c3f
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/app/views/layouts/application.html.erb
@@ -0,0 +1,25 @@
+
+
+
+ DojoSecrets
+ <%= csrf_meta_tags %>
+
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
+ <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
+
+
+ <% if flash[:errors] %>
+ <% flash[:errors].each do |error| %>
+
<%= error %>
+ <% end %>
+ <% end %>
+ <% if current_user %>
+
+ <% end %>
+ <%= yield %>
+
+
diff --git a/dylan_eckert/rails2/usersettings/app/views/layouts/mailer.html.erb b/dylan_eckert/rails2/usersettings/app/views/layouts/mailer.html.erb
new file mode 100644
index 0000000..cbd34d2
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/app/views/layouts/mailer.html.erb
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+ <%= yield %>
+
+
diff --git a/dylan_eckert/rails2/usersettings/app/views/layouts/mailer.text.erb b/dylan_eckert/rails2/usersettings/app/views/layouts/mailer.text.erb
new file mode 100644
index 0000000..37f0bdd
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/app/views/layouts/mailer.text.erb
@@ -0,0 +1 @@
+<%= yield %>
diff --git a/dylan_eckert/rails2/usersettings/app/views/sessions/new.html.erb b/dylan_eckert/rails2/usersettings/app/views/sessions/new.html.erb
new file mode 100644
index 0000000..9da5dea
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/app/views/sessions/new.html.erb
@@ -0,0 +1,9 @@
+
Login
+
diff --git a/dylan_eckert/rails2/usersettings/app/views/users/edit.html.erb b/dylan_eckert/rails2/usersettings/app/views/users/edit.html.erb
new file mode 100644
index 0000000..c23f602
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/app/views/users/edit.html.erb
@@ -0,0 +1,12 @@
+
+
diff --git a/dylan_eckert/rails2/usersettings/app/views/users/show.html.erb b/dylan_eckert/rails2/usersettings/app/views/users/show.html.erb
new file mode 100644
index 0000000..9056b69
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/app/views/users/show.html.erb
@@ -0,0 +1,16 @@
+
<%= @user.name %>
+
<%= @user.email %>
+
+
Secrets
+
+
content of secret
+
number of likes
+
+
+
+
Secrets Liked
+
+
content of secret
+
number of likes
+
+Update Account
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/bin/bundle b/dylan_eckert/rails2/usersettings/bin/bundle
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/bin/bundle
rename to dylan_eckert/rails2/usersettings/bin/bundle
diff --git a/dylan_eckert/rails2/usersettings/bin/rails b/dylan_eckert/rails2/usersettings/bin/rails
new file mode 100755
index 0000000..5badb2f
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/bin/rails
@@ -0,0 +1,9 @@
+#!/usr/bin/env ruby
+begin
+ load File.expand_path('../spring', __FILE__)
+rescue LoadError => e
+ raise unless e.message.include?('spring')
+end
+APP_PATH = File.expand_path('../config/application', __dir__)
+require_relative '../config/boot'
+require 'rails/commands'
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/bin/rake b/dylan_eckert/rails2/usersettings/bin/rake
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/bin/rake
rename to dylan_eckert/rails2/usersettings/bin/rake
diff --git a/dylan_eckert/rails2/usersettings/bin/setup b/dylan_eckert/rails2/usersettings/bin/setup
new file mode 100755
index 0000000..e620b4d
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/bin/setup
@@ -0,0 +1,34 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a starting point to setup your application.
+ # Add necessary setup steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ # puts "\n== Copying sample files =="
+ # unless File.exist?('config/database.yml')
+ # cp 'config/database.yml.sample', 'config/database.yml'
+ # end
+
+ puts "\n== Preparing database =="
+ system! 'bin/rails db:setup'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/bin/spring b/dylan_eckert/rails2/usersettings/bin/spring
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/bin/spring
rename to dylan_eckert/rails2/usersettings/bin/spring
diff --git a/dylan_eckert/rails2/usersettings/bin/update b/dylan_eckert/rails2/usersettings/bin/update
new file mode 100755
index 0000000..a8e4462
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/bin/update
@@ -0,0 +1,29 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a way to update your development environment automatically.
+ # Add necessary update steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ puts "\n== Updating database =="
+ system! 'bin/rails db:migrate'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/dylan_eckert/rails2/usersettings/config.ru b/dylan_eckert/rails2/usersettings/config.ru
new file mode 100644
index 0000000..f7ba0b5
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/config.ru
@@ -0,0 +1,5 @@
+# This file is used by Rack-based servers to start the application.
+
+require_relative 'config/environment'
+
+run Rails.application
diff --git a/dylan_eckert/rails2/usersettings/config/application.rb b/dylan_eckert/rails2/usersettings/config/application.rb
new file mode 100644
index 0000000..65de0bc
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/config/application.rb
@@ -0,0 +1,15 @@
+require_relative 'boot'
+
+require 'rails/all'
+
+# Require the gems listed in Gemfile, including any gems
+# you've limited to :test, :development, or :production.
+Bundler.require(*Rails.groups)
+
+module DojoSecrets
+ class Application < Rails::Application
+ # Settings in config/environments/* take precedence over those specified here.
+ # Application configuration should go into files in config/initializers
+ # -- all .rb files in that directory are automatically loaded.
+ end
+end
diff --git a/dylan_eckert/rails2/usersettings/config/boot.rb b/dylan_eckert/rails2/usersettings/config/boot.rb
new file mode 100644
index 0000000..30f5120
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/config/boot.rb
@@ -0,0 +1,3 @@
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
+
+require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/dylan_eckert/rails2/usersettings/config/cable.yml b/dylan_eckert/rails2/usersettings/config/cable.yml
new file mode 100644
index 0000000..0bbde6f
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/config/cable.yml
@@ -0,0 +1,9 @@
+development:
+ adapter: async
+
+test:
+ adapter: async
+
+production:
+ adapter: redis
+ url: redis://localhost:6379/1
diff --git a/dylan_eckert/rails2/usersettings/config/database.yml b/dylan_eckert/rails2/usersettings/config/database.yml
new file mode 100644
index 0000000..efc5910
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/config/database.yml
@@ -0,0 +1,85 @@
+# PostgreSQL. Versions 9.1 and up are supported.
+#
+# Install the pg driver:
+# gem install pg
+# On OS X with Homebrew:
+# gem install pg -- --with-pg-config=/usr/local/bin/pg_config
+# On OS X with MacPorts:
+# gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
+# On Windows:
+# gem install pg
+# Choose the win32 build.
+# Install PostgreSQL and put its /bin directory on your path.
+#
+# Configure Using Gemfile
+# gem 'pg'
+#
+default: &default
+ adapter: postgresql
+ encoding: unicode
+ # For details on connection pooling, see rails configuration guide
+ # http://guides.rubyonrails.org/configuring.html#database-pooling
+ pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
+
+development:
+ <<: *default
+ database: DojoSecrets_development
+
+ # The specified database role being used to connect to postgres.
+ # To create additional roles in postgres see `$ createuser --help`.
+ # When left blank, postgres will use the default role. This is
+ # the same name as the operating system user that initialized the database.
+ #username: DojoSecrets
+
+ # The password associated with the postgres role (username).
+ #password:
+
+ # Connect on a TCP socket. Omitted by default since the client uses a
+ # domain socket that doesn't need configuration. Windows does not have
+ # domain sockets, so uncomment these lines.
+ #host: localhost
+
+ # The TCP port the server listens on. Defaults to 5432.
+ # If your server runs on a different port number, change accordingly.
+ #port: 5432
+
+ # Schema search path. The server defaults to $user,public
+ #schema_search_path: myapp,sharedapp,public
+
+ # Minimum log levels, in increasing order:
+ # debug5, debug4, debug3, debug2, debug1,
+ # log, notice, warning, error, fatal, and panic
+ # Defaults to warning.
+ #min_messages: notice
+
+# Warning: The database defined as "test" will be erased and
+# re-generated from your development database when you run "rake".
+# Do not set this db to the same as development or production.
+test:
+ <<: *default
+ database: DojoSecrets_test
+
+# As with config/secrets.yml, you never want to store sensitive information,
+# like your database password, in your source code. If your source code is
+# ever seen by anyone, they now have access to your database.
+#
+# Instead, provide the password as a unix environment variable when you boot
+# the app. Read http://guides.rubyonrails.org/configuring.html#configuring-a-database
+# for a full rundown on how to provide these environment variables in a
+# production deployment.
+#
+# On Heroku and other platform providers, you may have a full connection URL
+# available as an environment variable. For example:
+#
+# DATABASE_URL="postgres://myuser:mypass@localhost/somedatabase"
+#
+# You can use this database configuration with:
+#
+# production:
+# url: <%= ENV['DATABASE_URL'] %>
+#
+production:
+ <<: *default
+ database: DojoSecrets_production
+ username: DojoSecrets
+ password: <%= ENV['DOJOSECRETS_DATABASE_PASSWORD'] %>
diff --git a/dylan_eckert/rails2/usersettings/config/environment.rb b/dylan_eckert/rails2/usersettings/config/environment.rb
new file mode 100644
index 0000000..426333b
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/config/environment.rb
@@ -0,0 +1,5 @@
+# Load the Rails application.
+require_relative 'application'
+
+# Initialize the Rails application.
+Rails.application.initialize!
diff --git a/dylan_eckert/rails2/usersettings/config/environments/development.rb b/dylan_eckert/rails2/usersettings/config/environments/development.rb
new file mode 100644
index 0000000..77fe74d
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/config/environments/development.rb
@@ -0,0 +1,55 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # In the development environment your application's code is reloaded on
+ # every request. This slows down response time but is perfect for development
+ # since you don't have to rest art the web server when you make code changes.
+ config.cache_classes = false
+
+ config.reload_classes_only_on_change = false
+ # Do not eager load code on boot.
+ config.eager_load = false
+
+ # Show full error reports.
+ config.consider_all_requests_local = true
+
+ # Enable/disable caching. By default caching is disabled.
+ if Rails.root.join('tmp/caching-dev.txt').exist?
+ config.action_controller.perform_caching = true
+
+ config.cache_store = :memory_store
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=172800'
+ }
+ else
+ config.action_controller.perform_caching = false
+
+ config.cache_store = :null_store
+ end
+
+ # Don't care if the mailer can't send.
+ config.action_mailer.raise_delivery_errors = false
+
+ config.action_mailer.perform_caching = false
+
+ # Print deprecation notices to the Rails logger.
+ config.active_support.deprecation = :log
+
+ # Raise an error on page load if there are pending migrations.
+ config.active_record.migration_error = :page_load
+
+ # Debug mode disables concatenation and preprocessing of assets.
+ # This option may cause significant delays in view rendering with a large
+ # number of complex assets.
+ config.assets.debug = true
+
+ # Suppress logger output for asset requests.
+ config.assets.quiet = true
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+
+ # Use an evented file watcher to asynchronously detect changes in source code,
+ # routes, locales, etc. This feature depends on the listen gem.
+ config.file_watcher = ActiveSupport::EventedFileUpdateChecker
+end
diff --git a/dylan_eckert/rails2/usersettings/config/environments/production.rb b/dylan_eckert/rails2/usersettings/config/environments/production.rb
new file mode 100644
index 0000000..f8e01b7
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/config/environments/production.rb
@@ -0,0 +1,86 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # Code is not reloaded between requests.
+ config.cache_classes = true
+
+ # Eager load code on boot. This eager loads most of Rails and
+ # your application in memory, allowing both threaded web servers
+ # and those relying on copy on write to perform better.
+ # Rake tasks automatically ignore this option for performance.
+ config.eager_load = true
+
+ # Full error reports are disabled and caching is turned on.
+ config.consider_all_requests_local = false
+ config.action_controller.perform_caching = true
+
+ # Disable serving static files from the `/public` folder by default since
+ # Apache or NGINX already handles this.
+ config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
+
+ # Compress JavaScripts and CSS.
+ config.assets.js_compressor = :uglifier
+ # config.assets.css_compressor = :sass
+
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
+ config.assets.compile = false
+
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
+
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
+ # config.action_controller.asset_host = 'http://assets.example.com'
+
+ # Specifies the header that your server uses for sending files.
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
+
+ # Mount Action Cable outside main process or domain
+ # config.action_cable.mount_path = nil
+ # config.action_cable.url = 'wss://example.com/cable'
+ # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
+
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
+ # config.force_ssl = true
+
+ # Use the lowest log level to ensure availability of diagnostic information
+ # when problems arise.
+ config.log_level = :debug
+
+ # Prepend all log lines with the following tags.
+ config.log_tags = [ :request_id ]
+
+ # Use a different cache store in production.
+ # config.cache_store = :mem_cache_store
+
+ # Use a real queuing backend for Active Job (and separate queues per environment)
+ # config.active_job.queue_adapter = :resque
+ # config.active_job.queue_name_prefix = "DojoSecrets_#{Rails.env}"
+ config.action_mailer.perform_caching = false
+
+ # Ignore bad email addresses and do not raise email delivery errors.
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
+ # config.action_mailer.raise_delivery_errors = false
+
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
+ # the I18n.default_locale when a translation cannot be found).
+ config.i18n.fallbacks = true
+
+ # Send deprecation notices to registered listeners.
+ config.active_support.deprecation = :notify
+
+ # Use default logging formatter so that PID and timestamp are not suppressed.
+ config.log_formatter = ::Logger::Formatter.new
+
+ # Use a different logger for distributed setups.
+ # require 'syslog/logger'
+ # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
+
+ if ENV["RAILS_LOG_TO_STDOUT"].present?
+ logger = ActiveSupport::Logger.new(STDOUT)
+ logger.formatter = config.log_formatter
+ config.logger = ActiveSupport::TaggedLogging.new(logger)
+ end
+
+ # Do not dump schema after migrations.
+ config.active_record.dump_schema_after_migration = false
+end
diff --git a/dylan_eckert/rails2/usersettings/config/environments/test.rb b/dylan_eckert/rails2/usersettings/config/environments/test.rb
new file mode 100644
index 0000000..30587ef
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/config/environments/test.rb
@@ -0,0 +1,42 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # The test environment is used exclusively to run your application's
+ # test suite. You never need to work with it otherwise. Remember that
+ # your test database is "scratch space" for the test suite and is wiped
+ # and recreated between test runs. Don't rely on the data there!
+ config.cache_classes = true
+
+ # Do not eager load code on boot. This avoids loading your whole application
+ # just for the purpose of running a single test. If you are using a tool that
+ # preloads Rails for running tests, you may have to set it to true.
+ config.eager_load = false
+
+ # Configure public file server for tests with Cache-Control for performance.
+ config.public_file_server.enabled = true
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=3600'
+ }
+
+ # Show full error reports and disable caching.
+ config.consider_all_requests_local = true
+ config.action_controller.perform_caching = false
+
+ # Raise exceptions instead of rendering exception templates.
+ config.action_dispatch.show_exceptions = false
+
+ # Disable request forgery protection in test environment.
+ config.action_controller.allow_forgery_protection = false
+ config.action_mailer.perform_caching = false
+
+ # Tell Action Mailer not to deliver emails to the real world.
+ # The :test delivery method accumulates sent emails in the
+ # ActionMailer::Base.deliveries array.
+ config.action_mailer.delivery_method = :test
+
+ # Print deprecation notices to the stderr.
+ config.active_support.deprecation = :stderr
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+end
diff --git a/dylan_eckert/rails2/usersettings/config/initializers/application_controller_renderer.rb b/dylan_eckert/rails2/usersettings/config/initializers/application_controller_renderer.rb
new file mode 100644
index 0000000..89d2efa
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/config/initializers/application_controller_renderer.rb
@@ -0,0 +1,8 @@
+# Be sure to restart your server when you modify this file.
+
+# ActiveSupport::Reloader.to_prepare do
+# ApplicationController.renderer.defaults.merge!(
+# http_host: 'example.org',
+# https: false
+# )
+# end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Time_display/config/initializers/assets.rb b/dylan_eckert/rails2/usersettings/config/initializers/assets.rb
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Time_display/config/initializers/assets.rb
rename to dylan_eckert/rails2/usersettings/config/initializers/assets.rb
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/initializers/backtrace_silencers.rb b/dylan_eckert/rails2/usersettings/config/initializers/backtrace_silencers.rb
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/initializers/backtrace_silencers.rb
rename to dylan_eckert/rails2/usersettings/config/initializers/backtrace_silencers.rb
diff --git a/dylan_eckert/rails2/usersettings/config/initializers/cookies_serializer.rb b/dylan_eckert/rails2/usersettings/config/initializers/cookies_serializer.rb
new file mode 100644
index 0000000..5a6a32d
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/config/initializers/cookies_serializer.rb
@@ -0,0 +1,5 @@
+# Be sure to restart your server when you modify this file.
+
+# Specify a serializer for the signed and encrypted cookie jars.
+# Valid options are :json, :marshal, and :hybrid.
+Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/initializers/filter_parameter_logging.rb b/dylan_eckert/rails2/usersettings/config/initializers/filter_parameter_logging.rb
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/initializers/filter_parameter_logging.rb
rename to dylan_eckert/rails2/usersettings/config/initializers/filter_parameter_logging.rb
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/initializers/inflections.rb b/dylan_eckert/rails2/usersettings/config/initializers/inflections.rb
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/initializers/inflections.rb
rename to dylan_eckert/rails2/usersettings/config/initializers/inflections.rb
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/initializers/mime_types.rb b/dylan_eckert/rails2/usersettings/config/initializers/mime_types.rb
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/initializers/mime_types.rb
rename to dylan_eckert/rails2/usersettings/config/initializers/mime_types.rb
diff --git a/dylan_eckert/rails2/usersettings/config/initializers/new_framework_defaults.rb b/dylan_eckert/rails2/usersettings/config/initializers/new_framework_defaults.rb
new file mode 100644
index 0000000..dd236b5
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/config/initializers/new_framework_defaults.rb
@@ -0,0 +1,26 @@
+# Be sure to restart your server when you modify this file.
+#
+# This file contains migration options to ease your Rails 5.0 upgrade.
+#
+# Read the Guide for Upgrading Ruby on Rails for more info on each option.
+
+Rails.application.config.action_controller.raise_on_unfiltered_parameters = true
+
+# Enable per-form CSRF tokens. Previous versions had false.
+Rails.application.config.action_controller.per_form_csrf_tokens = true
+
+# Enable origin-checking CSRF mitigation. Previous versions had false.
+Rails.application.config.action_controller.forgery_protection_origin_check = true
+
+# Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`.
+# Previous versions had false.
+ActiveSupport.to_time_preserves_timezone = true
+
+# Require `belongs_to` associations by default. Previous versions had false.
+Rails.application.config.active_record.belongs_to_required_by_default = true
+
+# Do not halt callback chains when a callback returns false. Previous versions had true.
+ActiveSupport.halt_callback_chains_on_return_false = false
+
+# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
+Rails.application.config.ssl_options = { hsts: { subdomains: true } }
diff --git a/dylan_eckert/rails2/usersettings/config/initializers/session_store.rb b/dylan_eckert/rails2/usersettings/config/initializers/session_store.rb
new file mode 100644
index 0000000..745fa7c
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/config/initializers/session_store.rb
@@ -0,0 +1,3 @@
+# Be sure to restart your server when you modify this file.
+
+Rails.application.config.session_store :cookie_store, key: '_DojoSecrets_session'
diff --git a/dylan_eckert/rails2/usersettings/config/initializers/wrap_parameters.rb b/dylan_eckert/rails2/usersettings/config/initializers/wrap_parameters.rb
new file mode 100644
index 0000000..bbfc396
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/config/initializers/wrap_parameters.rb
@@ -0,0 +1,14 @@
+# Be sure to restart your server when you modify this file.
+
+# This file contains settings for ActionController::ParamsWrapper which
+# is enabled by default.
+
+# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
+ActiveSupport.on_load(:action_controller) do
+ wrap_parameters format: [:json]
+end
+
+# To enable root element in JSON for ActiveRecord objects.
+# ActiveSupport.on_load(:active_record) do
+# self.include_root_in_json = true
+# end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/locales/en.yml b/dylan_eckert/rails2/usersettings/config/locales/en.yml
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/config/locales/en.yml
rename to dylan_eckert/rails2/usersettings/config/locales/en.yml
diff --git a/dylan_eckert/rails2/usersettings/config/puma.rb b/dylan_eckert/rails2/usersettings/config/puma.rb
new file mode 100644
index 0000000..c7f311f
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/config/puma.rb
@@ -0,0 +1,47 @@
+# Puma can serve each request in a thread from an internal thread pool.
+# The `threads` method setting takes two numbers a minimum and maximum.
+# Any libraries that use thread pools should be configured to match
+# the maximum value specified for Puma. Default is set to 5 threads for minimum
+# and maximum, this matches the default thread size of Active Record.
+#
+threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i
+threads threads_count, threads_count
+
+# Specifies the `port` that Puma will listen on to receive requests, default is 3000.
+#
+port ENV.fetch("PORT") { 3000 }
+
+# Specifies the `environment` that Puma will run in.
+#
+environment ENV.fetch("RAILS_ENV") { "development" }
+
+# Specifies the number of `workers` to boot in clustered mode.
+# Workers are forked webserver processes. If using threads and workers together
+# the concurrency of the application would be max `threads` * `workers`.
+# Workers do not work on JRuby or Windows (both of which do not support
+# processes).
+#
+# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
+
+# Use the `preload_app!` method when specifying a `workers` number.
+# This directive tells Puma to first boot the application and load code
+# before forking the application. This takes advantage of Copy On Write
+# process behavior so workers use less memory. If you use this option
+# you need to make sure to reconnect any threads in the `on_worker_boot`
+# block.
+#
+# preload_app!
+
+# The code in the `on_worker_boot` will be called if you are using
+# clustered mode by specifying a number of `workers`. After each worker
+# process is booted this block will be run, if you are using `preload_app!`
+# option you will want to use this block to reconnect to any threads
+# or connections that may have been created at application boot, Ruby
+# cannot share connections between processes.
+#
+# on_worker_boot do
+# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
+# end
+
+# Allow puma to be restarted by `rails restart` command.
+plugin :tmp_restart
diff --git a/dylan_eckert/rails2/usersettings/config/routes.rb b/dylan_eckert/rails2/usersettings/config/routes.rb
new file mode 100644
index 0000000..8c38e83
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/config/routes.rb
@@ -0,0 +1,5 @@
+Rails.application.routes.draw do
+ resources :sessions, only: [:new, :create, :destroy]
+ resources :users, except: [:index]
+ # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
+end
diff --git a/dylan_eckert/rails2/usersettings/config/secrets.yml b/dylan_eckert/rails2/usersettings/config/secrets.yml
new file mode 100644
index 0000000..41e0de4
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/config/secrets.yml
@@ -0,0 +1,22 @@
+# Be sure to restart your server when you modify this file.
+
+# Your secret key is used for verifying the integrity of signed cookies.
+# If you change this key, all old signed cookies will become invalid!
+
+# Make sure the secret is at least 30 characters and all random,
+# no regular words or you'll be exposed to dictionary attacks.
+# You can use `rails secret` to generate a secure secret key.
+
+# Make sure the secrets in this file are kept private
+# if you're sharing your code publicly.
+
+development:
+ secret_key_base: df5bfd362ae400b400d79af9bc419e988c72e7a2df7aebc541137d2f27e125bb93b09d877ecc0cae931a9b8c16ef96f1c7329a8b2d788eadf3a0f5cc9bb4d4e7
+
+test:
+ secret_key_base: 91a21b8af0492c5893228989638a977f5e7cf895e0a94a3a0cd34976a4582b84e68c4e940e3369f2297218eaebf4bce2cc07441512a9c2d645734c20e08024b9
+
+# Do not keep production secrets in the repository,
+# instead read values from the environment.
+production:
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/dylan_eckert/rails2/usersettings/config/spring.rb b/dylan_eckert/rails2/usersettings/config/spring.rb
new file mode 100644
index 0000000..c9119b4
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/config/spring.rb
@@ -0,0 +1,6 @@
+%w(
+ .ruby-version
+ .rbenv-vars
+ tmp/restart.txt
+ tmp/caching-dev.txt
+).each { |path| Spring.watch(path) }
diff --git a/dylan_eckert/rails2/usersettings/db/migrate/20171211192257_create_users.rb b/dylan_eckert/rails2/usersettings/db/migrate/20171211192257_create_users.rb
new file mode 100644
index 0000000..9e6ab64
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/db/migrate/20171211192257_create_users.rb
@@ -0,0 +1,11 @@
+class CreateUsers < ActiveRecord::Migration[5.0]
+ def change
+ create_table :users do |t|
+ t.string :name
+ t.string :email
+ t.string :password_digest
+
+ t.timestamps
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/usersettings/db/schema.rb b/dylan_eckert/rails2/usersettings/db/schema.rb
new file mode 100644
index 0000000..76f3396
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/db/schema.rb
@@ -0,0 +1,26 @@
+# This file is auto-generated from the current state of the database. Instead
+# of editing this file, please use the migrations feature of Active Record to
+# incrementally modify your database, and then regenerate this schema definition.
+#
+# Note that this schema.rb definition is the authoritative source for your
+# database schema. If you need to create the application database on another
+# system, you should be using db:schema:load, not running all the migrations
+# from scratch. The latter is a flawed and unsustainable approach (the more migrations
+# you'll amass, the slower it'll run and the greater likelihood for issues).
+#
+# It's strongly recommended that you check this file into your version control system.
+
+ActiveRecord::Schema.define(version: 20171211192257) do
+
+ # These are extensions that must be enabled in order to support this database
+ enable_extension "plpgsql"
+
+ create_table "users", force: :cascade do |t|
+ t.string "name"
+ t.string "email"
+ t.string "password_digest"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ end
+
+end
diff --git a/dylan_eckert/rails2/usersettings/db/seeds.rb b/dylan_eckert/rails2/usersettings/db/seeds.rb
new file mode 100644
index 0000000..1beea2a
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/db/seeds.rb
@@ -0,0 +1,7 @@
+# This file should contain all the record creation needed to seed the database with its default values.
+# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
+#
+# Examples:
+#
+# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
+# Character.create(name: 'Luke', movie: movies.first)
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/test/controllers/.keep b/dylan_eckert/rails2/usersettings/lib/assets/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/test/controllers/.keep
rename to dylan_eckert/rails2/usersettings/lib/assets/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/test/fixtures/.keep b/dylan_eckert/rails2/usersettings/lib/tasks/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/test/fixtures/.keep
rename to dylan_eckert/rails2/usersettings/lib/tasks/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/test/helpers/.keep b/dylan_eckert/rails2/usersettings/log/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/test/helpers/.keep
rename to dylan_eckert/rails2/usersettings/log/.keep
diff --git a/dylan_eckert/rails2/usersettings/public/404.html b/dylan_eckert/rails2/usersettings/public/404.html
new file mode 100644
index 0000000..2be3af2
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/public/404.html
@@ -0,0 +1,67 @@
+
+
+
+ The page you were looking for doesn't exist (404)
+
+
+
+
+
+
+
+
+
The page you were looking for doesn't exist.
+
You may have mistyped the address or the page may have moved.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/rails2/usersettings/public/422.html b/dylan_eckert/rails2/usersettings/public/422.html
new file mode 100644
index 0000000..c08eac0
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/public/422.html
@@ -0,0 +1,67 @@
+
+
+
+ The change you wanted was rejected (422)
+
+
+
+
+
+
+
+
+
The change you wanted was rejected.
+
Maybe you tried to change something you didn't have access to.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/dylan_eckert/rails2/usersettings/public/500.html b/dylan_eckert/rails2/usersettings/public/500.html
new file mode 100644
index 0000000..78a030a
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/public/500.html
@@ -0,0 +1,66 @@
+
+
+
+ We're sorry, but something went wrong (500)
+
+
+
+
+
+
+
+
+
We're sorry, but something went wrong.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/public/apple-touch-icon-precomposed.png b/dylan_eckert/rails2/usersettings/public/apple-touch-icon-precomposed.png
similarity index 100%
rename from Tamisha_Damas/Rails/Models /Friends(self_join)/public/apple-touch-icon-precomposed.png
rename to dylan_eckert/rails2/usersettings/public/apple-touch-icon-precomposed.png
diff --git a/Tamisha_Damas/Rails/Models /Friends(self_join)/public/apple-touch-icon.png b/dylan_eckert/rails2/usersettings/public/apple-touch-icon.png
similarity index 100%
rename from Tamisha_Damas/Rails/Models /Friends(self_join)/public/apple-touch-icon.png
rename to dylan_eckert/rails2/usersettings/public/apple-touch-icon.png
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/public/favicon.ico b/dylan_eckert/rails2/usersettings/public/favicon.ico
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /intergrating_m/public/favicon.ico
rename to dylan_eckert/rails2/usersettings/public/favicon.ico
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/public/robots.txt b/dylan_eckert/rails2/usersettings/public/robots.txt
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/public/robots.txt
rename to dylan_eckert/rails2/usersettings/public/robots.txt
diff --git a/dylan_eckert/rails2/usersettings/spec/controllers/users_controller_spec.rb b/dylan_eckert/rails2/usersettings/spec/controllers/users_controller_spec.rb
new file mode 100644
index 0000000..e2c3d3b
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/spec/controllers/users_controller_spec.rb
@@ -0,0 +1,5 @@
+require 'rails_helper'
+
+RSpec.describe UsersController, type: :controller do
+
+end
diff --git a/dylan_eckert/rails2/usersettings/spec/factories/users.rb b/dylan_eckert/rails2/usersettings/spec/factories/users.rb
new file mode 100644
index 0000000..35b5824
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/spec/factories/users.rb
@@ -0,0 +1,8 @@
+FactoryBot.define do
+ factory :user do
+ name "Dylan Eckert"
+ email "email@email.com"
+ password "password"
+ password_confirmation "password"
+ end
+end
diff --git a/dylan_eckert/rails2/usersettings/spec/helpers/sessions_helper_spec.rb b/dylan_eckert/rails2/usersettings/spec/helpers/sessions_helper_spec.rb
new file mode 100644
index 0000000..9484198
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/spec/helpers/sessions_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'rails_helper'
+
+# Specs in this file have access to a helper object that includes
+# the SessionsHelper. For example:
+#
+# describe SessionsHelper do
+# describe "string concat" do
+# it "concats two strings with spaces" do
+# expect(helper.concat_strings("this","that")).to eq("this that")
+# end
+# end
+# end
+RSpec.describe SessionsHelper, type: :helper do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/dylan_eckert/rails2/usersettings/spec/helpers/users_helper_spec.rb b/dylan_eckert/rails2/usersettings/spec/helpers/users_helper_spec.rb
new file mode 100644
index 0000000..b2e3444
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/spec/helpers/users_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'rails_helper'
+
+# Specs in this file have access to a helper object that includes
+# the UsersHelper. For example:
+#
+# describe UsersHelper do
+# describe "string concat" do
+# it "concats two strings with spaces" do
+# expect(helper.concat_strings("this","that")).to eq("this that")
+# end
+# end
+# end
+RSpec.describe UsersHelper, type: :helper do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/dylan_eckert/rails2/usersettings/spec/models/user_spec.rb b/dylan_eckert/rails2/usersettings/spec/models/user_spec.rb
new file mode 100644
index 0000000..648c0b2
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/spec/models/user_spec.rb
@@ -0,0 +1,39 @@
+require 'rails_helper'
+
+RSpec.describe User, type: :model do
+ context "with valid attributes" do
+ it "should save" do
+ expect(build(:user)).to be_valid
+ end
+ it 'automatically encrypts the password into the password_digest attribute' do
+ expect(build(:user).password_digest.present?).to eq(true)
+ end
+ it 'email as lowercase' do
+ expect(create(:user, email: 'EMAIL@GMAIL.COM').email).to eq('email@gmail.com')
+ end
+ end
+ context "with invalid attributes should not save if" do
+ it 'name is blank' do
+ expect(build(:user, name: '')).to be_invalid
+ end
+ it 'email is blank' do
+ expect(build(:user, email: '')).to be_invalid
+ end
+ it 'email format is wrong' do
+ emails = %w[@ user@ @example.com]
+ emails.each do |email|
+ expect(build(:user, email: email)).to be_invalid
+ end
+ end
+ it 'email is not unique' do
+ create(:user)
+ expect(build(:user)).to be_invalid
+ end
+ it 'password is blank' do
+ expect(build(:user, password: '')).to be_invalid
+ end
+ it "password doesn't match password_confirmation" do
+ expect(build(:user, password_confirmation: 'notpassword')).to be_invalid
+ end
+ end
+end
diff --git a/dylan_eckert/rails2/usersettings/spec/rails_helper.rb b/dylan_eckert/rails2/usersettings/spec/rails_helper.rb
new file mode 100644
index 0000000..c136077
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/spec/rails_helper.rb
@@ -0,0 +1,58 @@
+# This file is copied to spec/ when you run 'rails generate rspec:install'
+require 'spec_helper'
+require 'factory_bot_rails'
+ENV['RAILS_ENV'] ||= 'test'
+require File.expand_path('../../config/environment', __FILE__)
+# Prevent database truncation if the environment is production
+abort("The Rails environment is running in production mode!") if Rails.env.production?
+require 'rspec/rails'
+# Add additional requires below this line. Rails is not loaded until this point!
+
+# Requires supporting ruby files with custom matchers and macros, etc, in
+# spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
+# run as spec files by default. This means that files in spec/support that end
+# in _spec.rb will both be required and run as specs, causing the specs to be
+# run twice. It is recommended that you do not name files matching this glob to
+# end with _spec.rb. You can configure this pattern with the --pattern
+# option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
+#
+# The following line is provided for convenience purposes. It has the downside
+# of increasing the boot-up time by auto-requiring all files in the support
+# directory. Alternatively, in the individual `*_spec.rb` files, manually
+# require only the support files necessary.
+#
+# Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
+
+# Checks for pending migrations and applies them before tests are run.
+# If you are not using ActiveRecord, you can remove this line.
+ActiveRecord::Migration.maintain_test_schema!
+
+RSpec.configure do |config|
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
+ config.include FactoryBot::Syntax::Methods
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
+ # examples within a transaction, remove the following line or assign false
+ # instead of true.
+ config.use_transactional_fixtures = true
+
+ # RSpec Rails can automatically mix in different behaviours to your tests
+ # based on their file location, for example enabling you to call `get` and
+ # `post` in specs under `spec/controllers`.
+ #
+ # You can disable this behaviour by removing the line below, and instead
+ # explicitly tag your specs with their type, e.g.:
+ #
+ # RSpec.describe UsersController, :type => :controller do
+ # # ...
+ # end
+ #
+ # The different available types are documented in the features, such as in
+ # https://relishapp.com/rspec/rspec-rails/docs
+ config.infer_spec_type_from_file_location!
+
+ # Filter lines from Rails gems in backtraces.
+ config.filter_rails_from_backtrace!
+ # arbitrary gems may also be filtered via:
+ # config.filter_gems_from_backtrace("gem name")
+end
diff --git a/dylan_eckert/rails2/usersettings/spec/spec_helper.rb b/dylan_eckert/rails2/usersettings/spec/spec_helper.rb
new file mode 100644
index 0000000..6bd448f
--- /dev/null
+++ b/dylan_eckert/rails2/usersettings/spec/spec_helper.rb
@@ -0,0 +1,111 @@
+# This file was generated by the `rails generate rspec:install` command. Conventionally, all
+# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
+# The generated `.rspec` file contains `--require spec_helper` which will cause
+# this file to always be loaded, without a need to explicitly require it in any
+# files.
+#
+# Given that it is always loaded, you are encouraged to keep this file as
+# light-weight as possible. Requiring heavyweight dependencies from this file
+# will add to the boot time of your test suite on EVERY test run, even for an
+# individual file that may not need all of that loaded. Instead, consider making
+# a separate helper file that requires the additional dependencies and performs
+# the additional setup, and require it from the spec files that actually need
+# it.
+#
+def log_in email: "oscar@gmail.com", password: "password"
+ visit '/sessions/new' unless current_path == "/sessions/new"
+ fill_in 'Email', with: email
+ fill_in 'Password', with: password
+ click_button 'Log In'
+end
+# The code below should already be included in your file
+RSpec.configure do |config|
+ config.expect_with :rspec do |expectations|
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
+ end
+ config.mock_with :rspec do |mocks|
+ mocks.verify_partial_doubles = true
+ end
+end
+# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
+RSpec.configure do |config|
+ # rspec-expectations config goes here. You can use an alternate
+ # assertion/expectation library such as wrong or the stdlib/minitest
+ # assertions if you prefer.
+ config.expect_with :rspec do |expectations|
+ # This option will default to `true` in RSpec 4. It makes the `description`
+ # and `failure_message` of custom matchers include text for helper methods
+ # defined using `chain`, e.g.:
+ # be_bigger_than(2).and_smaller_than(4).description
+ # # => "be bigger than 2 and smaller than 4"
+ # ...rather than:
+ # # => "be bigger than 2"
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
+ end
+
+ # rspec-mocks config goes here. You can use an alternate test double
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
+ config.mock_with :rspec do |mocks|
+ # Prevents you from mocking or stubbing a method that does not exist on
+ # a real object. This is generally recommended, and will default to
+ # `true` in RSpec 4.
+ mocks.verify_partial_doubles = true
+ end
+
+ # This option will default to `:apply_to_host_groups` in RSpec 4 (and will
+ # have no way to turn it off -- the option exists only for backwards
+ # compatibility in RSpec 3). It causes shared context metadata to be
+ # inherited by the metadata hash of host groups and examples, rather than
+ # triggering implicit auto-inclusion in groups with matching metadata.
+ config.shared_context_metadata_behavior = :apply_to_host_groups
+
+# The settings below are suggested to provide a good initial experience
+# with RSpec, but feel free to customize to your heart's content.
+=begin
+ # This allows you to limit a spec run to individual examples or groups
+ # you care about by tagging them with `:focus` metadata. When nothing
+ # is tagged with `:focus`, all examples get run. RSpec also provides
+ # aliases for `it`, `describe`, and `context` that include `:focus`
+ # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
+ config.filter_run_when_matching :focus
+
+ # Allows RSpec to persist some state between runs in order to support
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
+ # you configure your source control system to ignore this file.
+ config.example_status_persistence_file_path = "spec/examples.txt"
+
+ # Limits the available syntax to the non-monkey patched syntax that is
+ # recommended. For more details, see:
+ # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
+ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
+ config.disable_monkey_patching!
+
+ # Many RSpec users commonly either run the entire suite or an individual
+ # file, and it's useful to allow more verbose output when running an
+ # individual spec file.
+ if config.files_to_run.one?
+ # Use the documentation formatter for detailed output,
+ # unless a formatter has already been configured
+ # (e.g. via a command-line flag).
+ config.default_formatter = "doc"
+ end
+
+ # Print the 10 slowest examples and example groups at the
+ # end of the spec run, to help surface which specs are running
+ # particularly slow.
+ config.profile_examples = 10
+
+ # Run specs in random order to surface order dependencies. If you find an
+ # order dependency and want to debug it, you can fix the order by providing
+ # the seed, which is printed after each run.
+ # --seed 1234
+ config.order = :random
+
+ # Seed global randomization in this process using the `--seed` CLI option.
+ # Setting this allows you to use `--seed` to deterministically reproduce
+ # test failures related to randomization by passing the same `--seed` value
+ # as the one that triggered the failure.
+ Kernel.srand config.seed
+=end
+end
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/test/integration/.keep b/dylan_eckert/rails2/usersettings/test/controllers/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/test/integration/.keep
rename to dylan_eckert/rails2/usersettings/test/controllers/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/test/mailers/.keep b/dylan_eckert/rails2/usersettings/test/fixtures/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/test/mailers/.keep
rename to dylan_eckert/rails2/usersettings/test/fixtures/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/test/models/.keep b/dylan_eckert/rails2/usersettings/test/fixtures/files/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/test/models/.keep
rename to dylan_eckert/rails2/usersettings/test/fixtures/files/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/vendor/assets/javascripts/.keep b/dylan_eckert/rails2/usersettings/test/helpers/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/vendor/assets/javascripts/.keep
rename to dylan_eckert/rails2/usersettings/test/helpers/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/vendor/assets/stylesheets/.keep b/dylan_eckert/rails2/usersettings/test/integration/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /dojo_dashboard 3/vendor/assets/stylesheets/.keep
rename to dylan_eckert/rails2/usersettings/test/integration/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/app/assets/images/.keep b/dylan_eckert/rails2/usersettings/test/mailers/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /intergrating_m/app/assets/images/.keep
rename to dylan_eckert/rails2/usersettings/test/mailers/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/app/controllers/concerns/.keep b/dylan_eckert/rails2/usersettings/test/models/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /intergrating_m/app/controllers/concerns/.keep
rename to dylan_eckert/rails2/usersettings/test/models/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /Survey_Form/test/test_helper.rb b/dylan_eckert/rails2/usersettings/test/test_helper.rb
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /Survey_Form/test/test_helper.rb
rename to dylan_eckert/rails2/usersettings/test/test_helper.rb
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/app/mailers/.keep b/dylan_eckert/rails2/usersettings/tmp/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /intergrating_m/app/mailers/.keep
rename to dylan_eckert/rails2/usersettings/tmp/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/app/models/.keep b/dylan_eckert/rails2/usersettings/vendor/assets/javascripts/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /intergrating_m/app/models/.keep
rename to dylan_eckert/rails2/usersettings/vendor/assets/javascripts/.keep
diff --git a/Tamisha_Damas/Rails/Controllers & Views /intergrating_m/app/models/concerns/.keep b/dylan_eckert/rails2/usersettings/vendor/assets/stylesheets/.keep
similarity index 100%
rename from Tamisha_Damas/Rails/Controllers & Views /intergrating_m/app/models/concerns/.keep
rename to dylan_eckert/rails2/usersettings/vendor/assets/stylesheets/.keep
diff --git a/dylan_eckert/rails2/zips/auth1.zip b/dylan_eckert/rails2/zips/auth1.zip
new file mode 100644
index 0000000..930201a
Binary files /dev/null and b/dylan_eckert/rails2/zips/auth1.zip differ
diff --git a/dylan_eckert/rails2/zips/auth2.zip b/dylan_eckert/rails2/zips/auth2.zip
new file mode 100644
index 0000000..8098525
Binary files /dev/null and b/dylan_eckert/rails2/zips/auth2.zip differ
diff --git a/dylan_eckert/rails2/zips/authorization.zip b/dylan_eckert/rails2/zips/authorization.zip
new file mode 100644
index 0000000..a07c39b
Binary files /dev/null and b/dylan_eckert/rails2/zips/authorization.zip differ
diff --git a/dylan_eckert/rails2/zips/likefeatures.zip b/dylan_eckert/rails2/zips/likefeatures.zip
new file mode 100644
index 0000000..e5caf22
Binary files /dev/null and b/dylan_eckert/rails2/zips/likefeatures.zip differ
diff --git a/dylan_eckert/rails2/zips/likes.zip b/dylan_eckert/rails2/zips/likes.zip
new file mode 100644
index 0000000..a422f28
Binary files /dev/null and b/dylan_eckert/rails2/zips/likes.zip differ
diff --git a/dylan_eckert/rails2/zips/secretfeatures.zip b/dylan_eckert/rails2/zips/secretfeatures.zip
new file mode 100644
index 0000000..2ea27e5
Binary files /dev/null and b/dylan_eckert/rails2/zips/secretfeatures.zip differ
diff --git a/dylan_eckert/rails2/zips/secrets.zip b/dylan_eckert/rails2/zips/secrets.zip
new file mode 100644
index 0000000..80d8ba6
Binary files /dev/null and b/dylan_eckert/rails2/zips/secrets.zip differ
diff --git a/dylan_eckert/rails2/zips/user.zip b/dylan_eckert/rails2/zips/user.zip
new file mode 100644
index 0000000..0951441
Binary files /dev/null and b/dylan_eckert/rails2/zips/user.zip differ
diff --git a/dylan_eckert/rails2/zips/userfeats.zip b/dylan_eckert/rails2/zips/userfeats.zip
new file mode 100644
index 0000000..9c3edfc
Binary files /dev/null and b/dylan_eckert/rails2/zips/userfeats.zip differ
diff --git a/dylan_eckert/rails2/zips/usersettings.zip b/dylan_eckert/rails2/zips/usersettings.zip
new file mode 100644
index 0000000..395082a
Binary files /dev/null and b/dylan_eckert/rails2/zips/usersettings.zip differ
diff --git a/dylan_eckert/tdd/railstdd/capybara.zip b/dylan_eckert/tdd/railstdd/capybara.zip
new file mode 100644
index 0000000..2a1fc70
Binary files /dev/null and b/dylan_eckert/tdd/railstdd/capybara.zip differ
diff --git a/dylan_eckert/tdd/railstdd/msa.zip b/dylan_eckert/tdd/railstdd/msa.zip
new file mode 100644
index 0000000..107bd82
Binary files /dev/null and b/dylan_eckert/tdd/railstdd/msa.zip differ
diff --git a/dylan_eckert/tdd/rubytdd/bank.zip b/dylan_eckert/tdd/rubytdd/bank.zip
new file mode 100644
index 0000000..29e35bf
Binary files /dev/null and b/dylan_eckert/tdd/rubytdd/bank.zip differ
diff --git a/dylan_eckert/tdd/rubytdd/project.zip b/dylan_eckert/tdd/rubytdd/project.zip
new file mode 100644
index 0000000..927a4e0
Binary files /dev/null and b/dylan_eckert/tdd/rubytdd/project.zip differ
diff --git a/justin_quiros/13.rb b/justin_quiros/13.rb
deleted file mode 100644
index e81ca8c..0000000
--- a/justin_quiros/13.rb
+++ /dev/null
@@ -1,49 +0,0 @@
-# 1
-# (1..255).each {|i| puts i}
-
-# 2
-# (1..255).each {|i| puts i if i.odd?}
-
-# 3
-# sum = 0
-# (0..255).each {|i| puts "New number: #{i} Sum: #{sum+=i}"}
-
-# 4
-# [1,3,5,7,9,13].each {|i| puts i}
-
-# 5
-# puts [-3, -5, -7].max
-
-# # 6
-# x = [1,2,4,3]
-# puts x.reduce(:+) / x.length.to_f
-
-# 7
-# y = []
-# (1..255).each {|i| y.push(i) if i.odd?}
-# puts y
-
-# 8
-# y = 1
-# arr = [4,3,2,6]
-# puts arr.count {|i| y < i }
-
-# 9
-# arr = [1, 5, 10, -2]
-# arr.map! {|i| puts i*i}
-
-#10
-# arr = [1, 5, 10, -2]
-# puts arr.each_index { |index| arr[index] = 0 if arr[index] < 0 }
-
-# 11
-# arr = [1, 5, 10, -2]
-# puts arr.max, arr.min, arr.reduce(:+) / arr.length.to_f
-
-# 12
-# arr = [1, 5, 10, 7, -2]
-# puts arr.rotate!(1)
-
-#13
-# arr = [-1, -3, 2]
-# puts arr.each_index { |i| arr[i] = "Dojo" if arr[i] < 0 }
\ No newline at end of file
diff --git a/justin_quiros/animals/dog.rb b/justin_quiros/animals/dog.rb
deleted file mode 100644
index cb40c8c..0000000
--- a/justin_quiros/animals/dog.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-require_relative 'mammal'
-class Dog < Mammal
- def pet
- @health += 5
- self
- end
- def walk
- @health -= 1
- self
- end
- def run
- @health -= 10
- self
- end
- def subclass_method
- display_health
- end
-end
-
-dog = Dog.new
-
-dog.subclass_method.walk.walk.walk.run.run.pet.subclass_method
\ No newline at end of file
diff --git a/justin_quiros/animals/lion.rb b/justin_quiros/animals/lion.rb
deleted file mode 100644
index c4346b2..0000000
--- a/justin_quiros/animals/lion.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-require_relative 'mammal'
-class Lion < Mammal
- def initialize
- @health = 170
- end
- def fly
- @health -= 10
- self
- end
- def attack_town
- @health -= 50
- self
- end
- def eat_humans
- @health += 20
- self
- end
- def display_health
- puts "This is a lion! "
- super
- end
-end
-
-lion = Lion.new.display_health.attack_town.attack_town.attack_town.eat_humans.eat_humans.fly.fly.display_health
\ No newline at end of file
diff --git a/justin_quiros/animals/mammal.rb b/justin_quiros/animals/mammal.rb
deleted file mode 100644
index 14c3bc4..0000000
--- a/justin_quiros/animals/mammal.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class Mammal
- def initialize
- @health = 150
- end
- def display_health
- puts "Current health: #{@health}"
- self
- end
-end
diff --git a/justin_quiros/array.rb b/justin_quiros/array.rb
deleted file mode 100644
index f284e53..0000000
--- a/justin_quiros/array.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-a = ["Justin", "Dustin", "Mike", "Corie"]
-b = [5, 6, 9, 3]
-c = ["Dustin", 3]
-# a = %w{Justin Matt Doug}
-# # x = a+b-c
-# puts a.fetch(1) #displays the element of index 1
-# a. delete("Corie") #deletes corie from array
-#puts a.reverse #reverses order of array
-# puts "Length of a is #{a.length}" #displays length of array
-#puts a.sort #sorts array alphanumerically
-#puts b.sort
-#a.slice!(0) #removes index 0 from array permanently
-# puts a.shuffle.join(',') #randomly shuffles array and seperates with a ,
-# a.insert(2, "Josh") #inserts josh at index 2
-puts a.values_at(2,3).join(' and ') #puts values at index 2 and 3 and joins with an and
diff --git a/justin_quiros/bank_account.rb b/justin_quiros/bank_account.rb
deleted file mode 100644
index 3561604..0000000
--- a/justin_quiros/bank_account.rb
+++ /dev/null
@@ -1,95 +0,0 @@
-class BankAccount
- @@no_of_accounts = 0
- private
- @interest
-
- public
- def initialize
- create_account()
- @@no_of_accounts += 1
- @check_bal = 0
- @save_bal = 0
- @interest = 0.01
- end
-
- def check_account_bal
- return @check_bal
- self
- end
-
- def save_account_bal
- return @save_bal
- self
- end
-
- def deposit(num, acct)
- if acct.end_with?("savings")
- @save_bal += num
- self
- elsif acct.end_with?("checkings")
- @check_bal += num
- self
- else
- puts "Please enter the correct account type."
- self
- end
- end
-
- def withdrawl(num, acct)
- if acct.end_with?("savings")
- if @save_bal > num
- @save_bal -= num
- self
- else @save_bal < num
- puts "Sorry, this account has insufficient funds."
- self
- end
- end
- if acct.end_with?("checkings")
- if @check_bal > num
- @check_bal -= num
- self
- else @check_bal < num
- puts "Sorry, this account has insufficient funds."
- self
- end
- end
- self
- end
-
- def account_total
- puts "Your total balance is #{@check_bal + @save_bal}"
- self
- end
-
- def self.no_of_accounts
- return @@no_of_accounts
- self
- end
-
- def account_information
-
- puts "Account num: #{@account_num}"
- puts "Total account balance: #{@check_bal + @save_bal}"
- puts "Checking account balance: #{@check_bal}"
- puts "Saving account balance: #{@save_bal}"
- puts "Your current interest rate:" + show_interest().to_s
- self
- end
-
- private
- def create_account
- @account_num = Random.rand(100000..700000)
- end
- def show_interest
- return @interest
- end
-end
-
-user1 = BankAccount.new.deposit(1000, "savings").withdrawl(20, "savings").deposit(1000, "checkings").withdrawl(100, "checkings").account_total
-user1.account_information
-p "This bank has " + BankAccount.no_of_accounts.to_s + " bank accounts."
-
-
-
-
diff --git a/justin_quiros/bpm/.gitignore b/justin_quiros/bpm/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/justin_quiros/bpm/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/justin_quiros/bpm/Gemfile b/justin_quiros/bpm/Gemfile
deleted file mode 100644
index 0ee61bd..0000000
--- a/justin_quiros/bpm/Gemfile
+++ /dev/null
@@ -1,48 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
-gem 'hirb'
diff --git a/justin_quiros/bpm/Gemfile.lock b/justin_quiros/bpm/Gemfile.lock
deleted file mode 100644
index c2e340f..0000000
--- a/justin_quiros/bpm/Gemfile.lock
+++ /dev/null
@@ -1,174 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- bcrypt (3.1.11)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- bcrypt (~> 3.1.7)
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/justin_quiros/bpm/README.rdoc b/justin_quiros/bpm/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/justin_quiros/bpm/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/justin_quiros/bpm/Rakefile b/justin_quiros/bpm/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/justin_quiros/bpm/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/justin_quiros/bpm/app/assets/images/.keep b/justin_quiros/bpm/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/bpm/app/assets/javascripts/application.js b/justin_quiros/bpm/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/justin_quiros/bpm/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/justin_quiros/bpm/app/assets/stylesheets/application.css b/justin_quiros/bpm/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/justin_quiros/bpm/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/justin_quiros/bpm/app/controllers/application_controller.rb b/justin_quiros/bpm/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/justin_quiros/bpm/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/justin_quiros/bpm/app/controllers/concerns/.keep b/justin_quiros/bpm/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/bpm/app/helpers/application_helper.rb b/justin_quiros/bpm/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/justin_quiros/bpm/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/justin_quiros/bpm/app/mailers/.keep b/justin_quiros/bpm/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/bpm/app/models/.keep b/justin_quiros/bpm/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/bpm/app/models/blog.rb b/justin_quiros/bpm/app/models/blog.rb
deleted file mode 100644
index 83e3a64..0000000
--- a/justin_quiros/bpm/app/models/blog.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class Blog < ActiveRecord::Base
-
- has_many :users
- has_many :posts
- has_many :owners
- has_many :users, through: :owners
- has_many :comments, as: :imageable
-
- validates :name, :description, presence: true
-end
diff --git a/justin_quiros/bpm/app/models/comment.rb b/justin_quiros/bpm/app/models/comment.rb
deleted file mode 100644
index 96598ab..0000000
--- a/justin_quiros/bpm/app/models/comment.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-class Comment < ActiveRecord::Base
- belongs_to :imageable, polymorphic: true
-end
diff --git a/justin_quiros/bpm/app/models/concerns/.keep b/justin_quiros/bpm/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/bpm/app/models/message.rb b/justin_quiros/bpm/app/models/message.rb
deleted file mode 100644
index 3b5a974..0000000
--- a/justin_quiros/bpm/app/models/message.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-class Message < ActiveRecord::Base
-
- belongs_to :post
- belongs_to :user
- has_many :comments, as: :imageable
-
- validates :author, presence: true
- validates :message, length: { in: 15..1000 }
-end
-
-
-# Query I used to get messages that were on the last blog
-# I connected the tables from the middle out
-# Blog -> Post -> Message
-# Post.joins(:messages).joins(:blog).where(blog: Blog.last)
\ No newline at end of file
diff --git a/justin_quiros/bpm/app/models/owner.rb b/justin_quiros/bpm/app/models/owner.rb
deleted file mode 100644
index dfd7701..0000000
--- a/justin_quiros/bpm/app/models/owner.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class Owner < ActiveRecord::Base
-
- belongs_to :user
- belongs_to :blog
-end
diff --git a/justin_quiros/bpm/app/models/post.rb b/justin_quiros/bpm/app/models/post.rb
deleted file mode 100644
index 5fd19e8..0000000
--- a/justin_quiros/bpm/app/models/post.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-class Post < ActiveRecord::Base
-
- belongs_to :blog
- belongs_to :user
- has_many :comments, as: :imageable
-
- has_many :messages, :dependent => :destroy
- validates :title, :content, presence: true
- validates :title, length: { in: 7..1000 }
-end
-
-
-# Post.joins(:messages).joins(:blog).where(blog: Blog.last)
diff --git a/justin_quiros/bpm/app/models/user.rb b/justin_quiros/bpm/app/models/user.rb
deleted file mode 100644
index 2168871..0000000
--- a/justin_quiros/bpm/app/models/user.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-class User < ActiveRecord::Base
-
- has_many :messages
- has_many :posts
- has_many :owners
- has_many :blogs, through: :owners
- has_many :comments, as: :imageable
-
- EMAIL_REGEX = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]+)\z/i
- validates :first_name, :last_name, presence: true, length: { in: 2..20 }
- validates :email, presence: true, uniqueness: { case_sensitive: false }, format: { with: EMAIL_REGEX }, length: { in: 4..40 }
-
-end
diff --git a/justin_quiros/bpm/app/views/layouts/application.html.erb b/justin_quiros/bpm/app/views/layouts/application.html.erb
deleted file mode 100644
index 534513e..0000000
--- a/justin_quiros/bpm/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- Bpm
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/justin_quiros/bpm/bin/bundle b/justin_quiros/bpm/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/justin_quiros/bpm/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/justin_quiros/bpm/bin/rails b/justin_quiros/bpm/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/justin_quiros/bpm/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/justin_quiros/bpm/bin/rake b/justin_quiros/bpm/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/justin_quiros/bpm/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/justin_quiros/bpm/bin/setup b/justin_quiros/bpm/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/justin_quiros/bpm/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/justin_quiros/bpm/bin/spring b/justin_quiros/bpm/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/justin_quiros/bpm/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/justin_quiros/bpm/config.ru b/justin_quiros/bpm/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/justin_quiros/bpm/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/justin_quiros/bpm/config/application.rb b/justin_quiros/bpm/config/application.rb
deleted file mode 100644
index e10519e..0000000
--- a/justin_quiros/bpm/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module Bpm
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/justin_quiros/bpm/config/boot.rb b/justin_quiros/bpm/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/justin_quiros/bpm/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/justin_quiros/bpm/config/database.yml b/justin_quiros/bpm/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/justin_quiros/bpm/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/justin_quiros/bpm/config/environment.rb b/justin_quiros/bpm/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/justin_quiros/bpm/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/justin_quiros/bpm/config/environments/development.rb b/justin_quiros/bpm/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/justin_quiros/bpm/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/justin_quiros/bpm/config/environments/production.rb b/justin_quiros/bpm/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/justin_quiros/bpm/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/justin_quiros/bpm/config/environments/test.rb b/justin_quiros/bpm/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/justin_quiros/bpm/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/justin_quiros/bpm/config/initializers/assets.rb b/justin_quiros/bpm/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/justin_quiros/bpm/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/justin_quiros/bpm/config/initializers/backtrace_silencers.rb b/justin_quiros/bpm/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/justin_quiros/bpm/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/justin_quiros/bpm/config/initializers/cookies_serializer.rb b/justin_quiros/bpm/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/justin_quiros/bpm/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/justin_quiros/bpm/config/initializers/filter_parameter_logging.rb b/justin_quiros/bpm/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/justin_quiros/bpm/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/justin_quiros/bpm/config/initializers/inflections.rb b/justin_quiros/bpm/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/justin_quiros/bpm/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/justin_quiros/bpm/config/initializers/mime_types.rb b/justin_quiros/bpm/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/justin_quiros/bpm/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/justin_quiros/bpm/config/initializers/session_store.rb b/justin_quiros/bpm/config/initializers/session_store.rb
deleted file mode 100644
index e1f9e8c..0000000
--- a/justin_quiros/bpm/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_bpm_session'
diff --git a/justin_quiros/bpm/config/initializers/wrap_parameters.rb b/justin_quiros/bpm/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/justin_quiros/bpm/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/justin_quiros/bpm/config/locales/en.yml b/justin_quiros/bpm/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/justin_quiros/bpm/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/justin_quiros/bpm/config/routes.rb b/justin_quiros/bpm/config/routes.rb
deleted file mode 100644
index 3f66539..0000000
--- a/justin_quiros/bpm/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/justin_quiros/bpm/config/secrets.yml b/justin_quiros/bpm/config/secrets.yml
deleted file mode 100644
index 8c85ae8..0000000
--- a/justin_quiros/bpm/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 2adcd4f35cb3dc81529333e364fabd5813be799165a74a6701653e75a59305485ae232c4fce047bbe84099d2ff757d82fffa45e1f06095763665f792af9f0625
-
-test:
- secret_key_base: 3a7598ecf1e015abaa8232648420dc8b608e70b8264d005763cb57e93cd510f9fd964bf10623e4fbe6e749d1197ea95eb1a47d4ca04d9b0acbaabe4b394501d0
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/justin_quiros/bpm/db/migrate/20171130134326_create_blogs.rb b/justin_quiros/bpm/db/migrate/20171130134326_create_blogs.rb
deleted file mode 100644
index 87471d4..0000000
--- a/justin_quiros/bpm/db/migrate/20171130134326_create_blogs.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class CreateBlogs < ActiveRecord::Migration
- def change
- create_table :blogs do |t|
- t.string :name
- t.text :description
-
- t.timestamps null: false
- end
- end
-end
diff --git a/justin_quiros/bpm/db/migrate/20171130134338_create_posts.rb b/justin_quiros/bpm/db/migrate/20171130134338_create_posts.rb
deleted file mode 100644
index 90e2db8..0000000
--- a/justin_quiros/bpm/db/migrate/20171130134338_create_posts.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreatePosts < ActiveRecord::Migration
- def change
- create_table :posts do |t|
- t.string :title
- t.text :content
- t.references :blog, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/justin_quiros/bpm/db/migrate/20171130134346_create_messages.rb b/justin_quiros/bpm/db/migrate/20171130134346_create_messages.rb
deleted file mode 100644
index cf927e7..0000000
--- a/justin_quiros/bpm/db/migrate/20171130134346_create_messages.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreateMessages < ActiveRecord::Migration
- def change
- create_table :messages do |t|
- t.string :author
- t.text :message
- t.references :post, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/justin_quiros/bpm/db/migrate/20171130165120_create_users.rb b/justin_quiros/bpm/db/migrate/20171130165120_create_users.rb
deleted file mode 100644
index cc285fe..0000000
--- a/justin_quiros/bpm/db/migrate/20171130165120_create_users.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreateUsers < ActiveRecord::Migration
- def change
- create_table :users do |t|
- t.string :first_name
- t.string :last_name
- t.string :email
-
- t.timestamps null: false
- end
- end
-end
diff --git a/justin_quiros/bpm/db/migrate/20171130173850_create_owners.rb b/justin_quiros/bpm/db/migrate/20171130173850_create_owners.rb
deleted file mode 100644
index e76114e..0000000
--- a/justin_quiros/bpm/db/migrate/20171130173850_create_owners.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class CreateOwners < ActiveRecord::Migration
- def change
- create_table :owners do |t|
- t.references :user, index: true, foreign_key: true
- t.references :blog, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/justin_quiros/bpm/db/migrate/20171130182335_add_user_to_post.rb b/justin_quiros/bpm/db/migrate/20171130182335_add_user_to_post.rb
deleted file mode 100644
index 3009ed7..0000000
--- a/justin_quiros/bpm/db/migrate/20171130182335_add_user_to_post.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class AddUserToPost < ActiveRecord::Migration
- def change
- add_reference :posts, :user, index: true, foreign_key: true
- end
-end
diff --git a/justin_quiros/bpm/db/migrate/20171130202315_create_comments.rb b/justin_quiros/bpm/db/migrate/20171130202315_create_comments.rb
deleted file mode 100644
index e8c1724..0000000
--- a/justin_quiros/bpm/db/migrate/20171130202315_create_comments.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class CreateComments < ActiveRecord::Migration
- def change
- create_table :comments do |t|
- t.references :imageable, polymorphic: true, index: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/justin_quiros/bpm/db/schema.rb b/justin_quiros/bpm/db/schema.rb
deleted file mode 100644
index 20e98bc..0000000
--- a/justin_quiros/bpm/db/schema.rb
+++ /dev/null
@@ -1,74 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171130202315) do
-
- create_table "blogs", force: :cascade do |t|
- t.string "name"
- t.text "description"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- create_table "comments", force: :cascade do |t|
- t.integer "imageable_id"
- t.string "imageable_type"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "comments", ["imageable_type", "imageable_id"], name: "index_comments_on_imageable_type_and_imageable_id"
-
- create_table "messages", force: :cascade do |t|
- t.string "author"
- t.text "message"
- t.integer "post_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- t.integer "user_id"
- end
-
- add_index "messages", ["post_id"], name: "index_messages_on_post_id"
- add_index "messages", ["user_id"], name: "index_messages_on_user_id"
-
- create_table "owners", force: :cascade do |t|
- t.integer "user_id"
- t.integer "blog_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "owners", ["blog_id"], name: "index_owners_on_blog_id"
- add_index "owners", ["user_id"], name: "index_owners_on_user_id"
-
- create_table "posts", force: :cascade do |t|
- t.string "title"
- t.text "content"
- t.integer "blog_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- t.integer "user_id"
- end
-
- add_index "posts", ["blog_id"], name: "index_posts_on_blog_id"
- add_index "posts", ["user_id"], name: "index_posts_on_user_id"
-
- create_table "users", force: :cascade do |t|
- t.string "first_name"
- t.string "last_name"
- t.string "email"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/justin_quiros/bpm/db/seeds.rb b/justin_quiros/bpm/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/justin_quiros/bpm/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/justin_quiros/bpm/lib/assets/.keep b/justin_quiros/bpm/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/bpm/lib/tasks/.keep b/justin_quiros/bpm/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/bpm/log/.keep b/justin_quiros/bpm/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/bpm/public/404.html b/justin_quiros/bpm/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/justin_quiros/bpm/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/justin_quiros/bpm/public/422.html b/justin_quiros/bpm/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/justin_quiros/bpm/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
diff --git a/justin_quiros/demo/bin/bundle b/justin_quiros/demo/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/justin_quiros/demo/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/justin_quiros/demo/bin/rails b/justin_quiros/demo/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/justin_quiros/demo/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/justin_quiros/demo/bin/rake b/justin_quiros/demo/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/justin_quiros/demo/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/justin_quiros/demo/bin/setup b/justin_quiros/demo/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/justin_quiros/demo/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/justin_quiros/demo/bin/spring b/justin_quiros/demo/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/justin_quiros/demo/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/justin_quiros/demo/config.ru b/justin_quiros/demo/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/justin_quiros/demo/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/justin_quiros/demo/config/application.rb b/justin_quiros/demo/config/application.rb
deleted file mode 100644
index ecdb688..0000000
--- a/justin_quiros/demo/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module Demo
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/justin_quiros/demo/config/boot.rb b/justin_quiros/demo/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/justin_quiros/demo/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/justin_quiros/demo/config/database.yml b/justin_quiros/demo/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/justin_quiros/demo/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/justin_quiros/demo/config/environment.rb b/justin_quiros/demo/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/justin_quiros/demo/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/justin_quiros/demo/config/environments/development.rb b/justin_quiros/demo/config/environments/development.rb
deleted file mode 100644
index 0624810..0000000
--- a/justin_quiros/demo/config/environments/development.rb
+++ /dev/null
@@ -1,46 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Use the below so you don't have to shut down server everytime you make a change in your controller
- config.reload_classes_only_on_change = false
-
- # Use the below to get rid of unwanted text in console
- config.log_level = :warn
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/justin_quiros/demo/config/environments/production.rb b/justin_quiros/demo/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/justin_quiros/demo/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/justin_quiros/demo/config/environments/test.rb b/justin_quiros/demo/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/justin_quiros/demo/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/justin_quiros/demo/config/initializers/assets.rb b/justin_quiros/demo/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/justin_quiros/demo/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/justin_quiros/demo/config/initializers/backtrace_silencers.rb b/justin_quiros/demo/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/justin_quiros/demo/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/justin_quiros/demo/config/initializers/cookies_serializer.rb b/justin_quiros/demo/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/justin_quiros/demo/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/justin_quiros/demo/config/initializers/filter_parameter_logging.rb b/justin_quiros/demo/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/justin_quiros/demo/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/justin_quiros/demo/config/initializers/inflections.rb b/justin_quiros/demo/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/justin_quiros/demo/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/justin_quiros/demo/config/initializers/mime_types.rb b/justin_quiros/demo/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/justin_quiros/demo/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/justin_quiros/demo/config/initializers/rails_footnotes.rb b/justin_quiros/demo/config/initializers/rails_footnotes.rb
deleted file mode 100644
index 9a15363..0000000
--- a/justin_quiros/demo/config/initializers/rails_footnotes.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-defined?(Footnotes) && Footnotes.setup do |f|
- # Whether or not to enable footnotes
- f.enabled = Rails.env.development?
- # You can also use a lambda / proc to conditionally toggle footnotes
- # Example :
- # f.enabled = -> { User.current.admin? }
- # Beware of thread-safety though, Footnotes.enabled is NOT thread safe
- # and should not be modified anywhere else.
-
- # Only toggle some notes :
- # f.notes = [:session, :cookies, :params, :filters, :routes, :env, :queries, :log]
-
- # Change the prefix :
- # f.prefix = 'mvim://open?url=file://%s&line=%d&column=%d'
-
- # Disable style :
- # f.no_style = true
-
- # Lock notes to top right :
- # f.lock_top_right = true
-
- # Change font size :
- # f.font_size = '11px'
-
- # Allow to open multiple notes :
- # f.multiple_notes = true
-end
diff --git a/justin_quiros/demo/config/initializers/session_store.rb b/justin_quiros/demo/config/initializers/session_store.rb
deleted file mode 100644
index 27842ef..0000000
--- a/justin_quiros/demo/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_demo_session'
diff --git a/justin_quiros/demo/config/initializers/wrap_parameters.rb b/justin_quiros/demo/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/justin_quiros/demo/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/justin_quiros/demo/config/locales/en.yml b/justin_quiros/demo/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/justin_quiros/demo/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/justin_quiros/demo/config/routes.rb b/justin_quiros/demo/config/routes.rb
deleted file mode 100644
index 28bdd92..0000000
--- a/justin_quiros/demo/config/routes.rb
+++ /dev/null
@@ -1,73 +0,0 @@
-Rails.application.routes.draw do
- get 'products/index'
- get 'products/new'
- post "products" => 'products#new'
- root 'products#index'
-
- resources :products
-
- get "products" => "products#index"
- get "products/new" => "products#new"
- post "products" => "products#create"
- get "products/:id" => "products#show"
- get "products/:id/edit" => "products#edit"
- patch "products/:id" => "products#update"
- delete "products/:id" => "products#destroy"
-
-
-
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/justin_quiros/demo/config/secrets.yml b/justin_quiros/demo/config/secrets.yml
deleted file mode 100644
index d78a5f5..0000000
--- a/justin_quiros/demo/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: b57506a4396865b961fc24e19d82d160d6f30102c00320353e7bfab882b930632cede8f49fbf904e0920580964f890bbbe61d13393365099fab53e387d5b5801
-
-test:
- secret_key_base: 36894e87d42fff7805e5ccd637940710790753be7a2a3e08de161be8ada0e8d5fca4fa3dab127063ed075dc7fd7d408ed171c3b39c27989d072b866786249b96
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/justin_quiros/demo/db/migrate/20171201182659_create_products.rb b/justin_quiros/demo/db/migrate/20171201182659_create_products.rb
deleted file mode 100644
index 012aece..0000000
--- a/justin_quiros/demo/db/migrate/20171201182659_create_products.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class CreateProducts < ActiveRecord::Migration
- def change
- create_table :products do |t|
- t.string :name
- t.text :description
-
- t.timestamps null: false
- end
- end
-end
diff --git a/justin_quiros/demo/db/schema.rb b/justin_quiros/demo/db/schema.rb
deleted file mode 100644
index 279b761..0000000
--- a/justin_quiros/demo/db/schema.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171201182659) do
-
- create_table "products", force: :cascade do |t|
- t.string "name"
- t.text "description"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/justin_quiros/demo/db/seeds.rb b/justin_quiros/demo/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/justin_quiros/demo/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/justin_quiros/demo/lib/assets/.keep b/justin_quiros/demo/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/demo/lib/tasks/.keep b/justin_quiros/demo/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/demo/log/.keep b/justin_quiros/demo/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/demo/public/404.html b/justin_quiros/demo/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/justin_quiros/demo/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/justin_quiros/demo/public/422.html b/justin_quiros/demo/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/justin_quiros/demo/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/justin_quiros/demo/public/favicon.ico b/justin_quiros/demo/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/demo/public/robots.txt b/justin_quiros/demo/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/justin_quiros/demo/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/justin_quiros/demo/test/controllers/.keep b/justin_quiros/demo/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/demo/test/controllers/products_controller_test.rb b/justin_quiros/demo/test/controllers/products_controller_test.rb
deleted file mode 100644
index d97d2ba..0000000
--- a/justin_quiros/demo/test/controllers/products_controller_test.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-require 'test_helper'
-
-class ProductsControllerTest < ActionController::TestCase
- test "should get index" do
- get :index
- assert_response :success
- end
-
- test "should get new" do
- get :new
- assert_response :success
- end
-
-end
diff --git a/justin_quiros/demo/test/fixtures/.keep b/justin_quiros/demo/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/demo/test/fixtures/products.yml b/justin_quiros/demo/test/fixtures/products.yml
deleted file mode 100644
index 2ff75a8..0000000
--- a/justin_quiros/demo/test/fixtures/products.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- name: MyString
- description: MyText
-
-two:
- name: MyString
- description: MyText
diff --git a/justin_quiros/demo/test/helpers/.keep b/justin_quiros/demo/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/demo/test/integration/.keep b/justin_quiros/demo/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/demo/test/mailers/.keep b/justin_quiros/demo/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/demo/test/models/.keep b/justin_quiros/demo/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/demo/test/models/product_test.rb b/justin_quiros/demo/test/models/product_test.rb
deleted file mode 100644
index 211cdd0..0000000
--- a/justin_quiros/demo/test/models/product_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class ProductTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/justin_quiros/demo/test/test_helper.rb b/justin_quiros/demo/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/justin_quiros/demo/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/justin_quiros/demo/vendor/assets/javascripts/.keep b/justin_quiros/demo/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/demo/vendor/assets/stylesheets/.keep b/justin_quiros/demo/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/display/.gitignore b/justin_quiros/display/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/justin_quiros/display/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/justin_quiros/display/Gemfile b/justin_quiros/display/Gemfile
deleted file mode 100644
index acc0432..0000000
--- a/justin_quiros/display/Gemfile
+++ /dev/null
@@ -1,50 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-gem 'hirb'
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-gem 'rails-footnotes', '>= 4.0.0', '<5'
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
diff --git a/justin_quiros/display/Gemfile.lock b/justin_quiros/display/Gemfile.lock
deleted file mode 100644
index eefb285..0000000
--- a/justin_quiros/display/Gemfile.lock
+++ /dev/null
@@ -1,175 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-footnotes (4.1.8)
- rails (>= 3.2)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- rails-footnotes (>= 4.0.0, < 5)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/justin_quiros/display/README.rdoc b/justin_quiros/display/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/justin_quiros/display/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/justin_quiros/display/Rakefile b/justin_quiros/display/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/justin_quiros/display/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/justin_quiros/display/app/assets/images/.keep b/justin_quiros/display/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/display/app/assets/javascripts/application.js b/justin_quiros/display/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/justin_quiros/display/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/justin_quiros/display/app/assets/stylesheets/application.css b/justin_quiros/display/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/justin_quiros/display/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/justin_quiros/display/app/assets/stylesheets/times.scss b/justin_quiros/display/app/assets/stylesheets/times.scss
deleted file mode 100644
index 8aca602..0000000
--- a/justin_quiros/display/app/assets/stylesheets/times.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-// Place all the styles related to the Times controller here.
-// They will automatically be included in application.css.
-// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/justin_quiros/display/app/controllers/application_controller.rb b/justin_quiros/display/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/justin_quiros/display/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/justin_quiros/display/app/controllers/concerns/.keep b/justin_quiros/display/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/display/app/controllers/times_controller.rb b/justin_quiros/display/app/controllers/times_controller.rb
deleted file mode 100644
index 1a43f93..0000000
--- a/justin_quiros/display/app/controllers/times_controller.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-class TimesController < ApplicationController
- def main
- @date = Time.now.strftime("%m/%d/%Y")
- @time = Time.now.strftime("%H:%M:%S")
- end
-end
diff --git a/justin_quiros/display/app/helpers/application_helper.rb b/justin_quiros/display/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/justin_quiros/display/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/justin_quiros/display/app/helpers/times_helper.rb b/justin_quiros/display/app/helpers/times_helper.rb
deleted file mode 100644
index db171a4..0000000
--- a/justin_quiros/display/app/helpers/times_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module TimesHelper
-end
diff --git a/justin_quiros/display/app/mailers/.keep b/justin_quiros/display/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/display/app/models/.keep b/justin_quiros/display/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/display/app/models/concerns/.keep b/justin_quiros/display/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/display/app/views/layouts/application.html.erb b/justin_quiros/display/app/views/layouts/application.html.erb
deleted file mode 100644
index 6f0044c..0000000
--- a/justin_quiros/display/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- Display
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/justin_quiros/display/app/views/times/main.html.erb b/justin_quiros/display/app/views/times/main.html.erb
deleted file mode 100644
index c67cc27..0000000
--- a/justin_quiros/display/app/views/times/main.html.erb
+++ /dev/null
@@ -1,3 +0,0 @@
-
The current time and date:
-
<%= @date %>
-
<%= @time %>
diff --git a/justin_quiros/display/bin/bundle b/justin_quiros/display/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/justin_quiros/display/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/justin_quiros/display/bin/rails b/justin_quiros/display/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/justin_quiros/display/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/justin_quiros/display/bin/rake b/justin_quiros/display/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/justin_quiros/display/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/justin_quiros/display/bin/setup b/justin_quiros/display/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/justin_quiros/display/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/justin_quiros/display/bin/spring b/justin_quiros/display/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/justin_quiros/display/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/justin_quiros/display/config.ru b/justin_quiros/display/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/justin_quiros/display/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/justin_quiros/display/config/application.rb b/justin_quiros/display/config/application.rb
deleted file mode 100644
index 04a7b99..0000000
--- a/justin_quiros/display/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module Display
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/justin_quiros/display/config/boot.rb b/justin_quiros/display/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/justin_quiros/display/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/justin_quiros/display/config/database.yml b/justin_quiros/display/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/justin_quiros/display/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/justin_quiros/display/config/environment.rb b/justin_quiros/display/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/justin_quiros/display/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/justin_quiros/display/config/environments/development.rb b/justin_quiros/display/config/environments/development.rb
deleted file mode 100644
index b9b130c..0000000
--- a/justin_quiros/display/config/environments/development.rb
+++ /dev/null
@@ -1,48 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
-
- # Use the below so you don't have to shut down server everytime you make a change in your controller
- config.reload_classes_only_on_change = false
-
- # Use the below to get rid of unwanted text in console
- config.log_level = :warn
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/justin_quiros/display/config/environments/production.rb b/justin_quiros/display/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/justin_quiros/display/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/justin_quiros/display/config/environments/test.rb b/justin_quiros/display/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/justin_quiros/display/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/justin_quiros/display/config/initializers/assets.rb b/justin_quiros/display/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/justin_quiros/display/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/justin_quiros/display/config/initializers/backtrace_silencers.rb b/justin_quiros/display/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/justin_quiros/display/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/justin_quiros/display/config/initializers/cookies_serializer.rb b/justin_quiros/display/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/justin_quiros/display/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/justin_quiros/display/config/initializers/filter_parameter_logging.rb b/justin_quiros/display/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/justin_quiros/display/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/justin_quiros/display/config/initializers/inflections.rb b/justin_quiros/display/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/justin_quiros/display/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/justin_quiros/display/config/initializers/mime_types.rb b/justin_quiros/display/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/justin_quiros/display/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/justin_quiros/display/config/initializers/session_store.rb b/justin_quiros/display/config/initializers/session_store.rb
deleted file mode 100644
index a9cccfc..0000000
--- a/justin_quiros/display/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_display_session'
diff --git a/justin_quiros/display/config/initializers/wrap_parameters.rb b/justin_quiros/display/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/justin_quiros/display/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/justin_quiros/display/config/locales/en.yml b/justin_quiros/display/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/justin_quiros/display/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/justin_quiros/display/config/routes.rb b/justin_quiros/display/config/routes.rb
deleted file mode 100644
index ff97cf0..0000000
--- a/justin_quiros/display/config/routes.rb
+++ /dev/null
@@ -1,60 +0,0 @@
-Rails.application.routes.draw do
- get 'times/main'
-
- get '/' => 'times#main'
-
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/justin_quiros/display/config/secrets.yml b/justin_quiros/display/config/secrets.yml
deleted file mode 100644
index a640577..0000000
--- a/justin_quiros/display/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 0848331822edc2ce6a66f09bc831e2a98431c74a386bdf4097a27635e026cb388d8326f73d2da1bc79428e966e6e7b00b71762fade69d885d693eb3314737538
-
-test:
- secret_key_base: e08455af1dd3f09a85b6c6029fb6fe0e131017cc20deec04a10d5b27e8a2100bf2f04b025abb4d3868dc581df6db15f49ebf0819abc26e697a5be430fcf5401f
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/justin_quiros/display/db/seeds.rb b/justin_quiros/display/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/justin_quiros/display/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/justin_quiros/display/lib/assets/.keep b/justin_quiros/display/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/display/lib/tasks/.keep b/justin_quiros/display/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/display/log/.keep b/justin_quiros/display/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/display/public/404.html b/justin_quiros/display/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/justin_quiros/display/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/justin_quiros/display/public/422.html b/justin_quiros/display/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/justin_quiros/display/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/justin_quiros/display/public/favicon.ico b/justin_quiros/display/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/display/public/robots.txt b/justin_quiros/display/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/justin_quiros/display/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/justin_quiros/display/test/controllers/.keep b/justin_quiros/display/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/display/test/controllers/times_controller_test.rb b/justin_quiros/display/test/controllers/times_controller_test.rb
deleted file mode 100644
index 649dafa..0000000
--- a/justin_quiros/display/test/controllers/times_controller_test.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-require 'test_helper'
-
-class TimesControllerTest < ActionController::TestCase
- test "should get main" do
- get :main
- assert_response :success
- end
-
-end
diff --git a/justin_quiros/display/test/fixtures/.keep b/justin_quiros/display/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/display/test/helpers/.keep b/justin_quiros/display/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/display/test/integration/.keep b/justin_quiros/display/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/display/test/mailers/.keep b/justin_quiros/display/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/display/test/models/.keep b/justin_quiros/display/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/display/test/test_helper.rb b/justin_quiros/display/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/justin_quiros/display/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/justin_quiros/display/vendor/assets/javascripts/.keep b/justin_quiros/display/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/display/vendor/assets/stylesheets/.keep b/justin_quiros/display/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_dashboard/.gitignore b/justin_quiros/dojo_dashboard/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/justin_quiros/dojo_dashboard/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/justin_quiros/dojo_dashboard/Gemfile b/justin_quiros/dojo_dashboard/Gemfile
deleted file mode 100644
index 53b91be..0000000
--- a/justin_quiros/dojo_dashboard/Gemfile
+++ /dev/null
@@ -1,48 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-gem 'hirb'
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
diff --git a/justin_quiros/dojo_dashboard/Gemfile.lock b/justin_quiros/dojo_dashboard/Gemfile.lock
deleted file mode 100644
index 69988e1..0000000
--- a/justin_quiros/dojo_dashboard/Gemfile.lock
+++ /dev/null
@@ -1,172 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (4.0.1)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/justin_quiros/dojo_dashboard/README.rdoc b/justin_quiros/dojo_dashboard/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/justin_quiros/dojo_dashboard/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/justin_quiros/dojo_dashboard/Rakefile b/justin_quiros/dojo_dashboard/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/justin_quiros/dojo_dashboard/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/justin_quiros/dojo_dashboard/app/assets/images/.keep b/justin_quiros/dojo_dashboard/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_dashboard/app/assets/javascripts/application.js b/justin_quiros/dojo_dashboard/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/justin_quiros/dojo_dashboard/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/justin_quiros/dojo_dashboard/app/assets/stylesheets/application.css b/justin_quiros/dojo_dashboard/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/justin_quiros/dojo_dashboard/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/justin_quiros/dojo_dashboard/app/assets/stylesheets/dojos.scss b/justin_quiros/dojo_dashboard/app/assets/stylesheets/dojos.scss
deleted file mode 100644
index fb30922..0000000
--- a/justin_quiros/dojo_dashboard/app/assets/stylesheets/dojos.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-// Place all the styles related to the Dojos controller here.
-// They will automatically be included in application.css.
-// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/justin_quiros/dojo_dashboard/app/controllers/application_controller.rb b/justin_quiros/dojo_dashboard/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/justin_quiros/dojo_dashboard/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/justin_quiros/dojo_dashboard/app/controllers/concerns/.keep b/justin_quiros/dojo_dashboard/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_dashboard/app/controllers/dojos_controller.rb b/justin_quiros/dojo_dashboard/app/controllers/dojos_controller.rb
deleted file mode 100644
index 1e9cbed..0000000
--- a/justin_quiros/dojo_dashboard/app/controllers/dojos_controller.rb
+++ /dev/null
@@ -1,54 +0,0 @@
-class DojosController < ApplicationController
- def index
- @dojos = Dojo.all
- end
-
- def new
- @dojo = Dojo.new
- end
-
- def create
- # session[:form] = form_params
- @dojo = Dojo.new(form_params)
- if @dojo.save
- flash[:success] = "You have successfully created a Dojo!"
- redirect_to dojos_path
- else
- flash[:errors] = @dojo.errors.full_messages
- redirect_to dojos_new_path
- end
- end
-
- def show
- @dojo = Dojo.find(params[:id])
- end
-
- def edit
- @dojo = Dojo.find(params[:id])
-
- end
-
- def update
- dojo = Dojo.find(params[:id])
-
- if dojo.update(form_params)
- flash[:success] = "You have successfully updated a Dojo!"
- redirect_to dojos_path
- else
- flash[:errors] = dojo.errors.full_messages
- redirect_to :back
- end
- end
-
- def destroy
- dojo = Dojo.find(params[:id])
- dojo.destroy
- redirect_to dojos_path
- end
-
- private
- def form_params
- params.require(:form).permit(:branch, :street, :city, :state)
- end
-end
-
\ No newline at end of file
diff --git a/justin_quiros/dojo_dashboard/app/helpers/application_helper.rb b/justin_quiros/dojo_dashboard/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/justin_quiros/dojo_dashboard/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/justin_quiros/dojo_dashboard/app/helpers/dojos_helper.rb b/justin_quiros/dojo_dashboard/app/helpers/dojos_helper.rb
deleted file mode 100644
index 194211a..0000000
--- a/justin_quiros/dojo_dashboard/app/helpers/dojos_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module DojosHelper
-end
diff --git a/justin_quiros/dojo_dashboard/app/mailers/.keep b/justin_quiros/dojo_dashboard/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_dashboard/app/models/.keep b/justin_quiros/dojo_dashboard/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_dashboard/app/models/concerns/.keep b/justin_quiros/dojo_dashboard/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_dashboard/app/models/dojo.rb b/justin_quiros/dojo_dashboard/app/models/dojo.rb
deleted file mode 100644
index b387055..0000000
--- a/justin_quiros/dojo_dashboard/app/models/dojo.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-class Dojo < ActiveRecord::Base
- validates :branch, :street, :city, presence: true, length: { in: 2..40 }
- validates :state, presence: true, length: { is: 2 }
-end
diff --git a/justin_quiros/dojo_dashboard/app/views/dojos/edit.html.erb b/justin_quiros/dojo_dashboard/app/views/dojos/edit.html.erb
deleted file mode 100644
index db49cfa..0000000
--- a/justin_quiros/dojo_dashboard/app/views/dojos/edit.html.erb
+++ /dev/null
@@ -1,21 +0,0 @@
-
Editing <%= @dojo.city %>
-<% if flash[:errors] %>
- <% flash[:errors].each do |error| %>
-
<%= error %>
- <% end %>
-<% end %>
-
-
-
Home | Show
\ No newline at end of file
diff --git a/justin_quiros/dojo_dashboard/app/views/dojos/index.html.erb b/justin_quiros/dojo_dashboard/app/views/dojos/index.html.erb
deleted file mode 100644
index 4cf6445..0000000
--- a/justin_quiros/dojo_dashboard/app/views/dojos/index.html.erb
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
\ No newline at end of file
diff --git a/justin_quiros/dojo_dashboard/app/views/dojos/show.html.erb b/justin_quiros/dojo_dashboard/app/views/dojos/show.html.erb
deleted file mode 100644
index e6c4a19..0000000
--- a/justin_quiros/dojo_dashboard/app/views/dojos/show.html.erb
+++ /dev/null
@@ -1,4 +0,0 @@
-
<%= @dojo.city %> Dojo
-
Address: <%= @dojo.street %>
-
City: <%= @dojo.city %>
-Home | Edit
\ No newline at end of file
diff --git a/justin_quiros/dojo_dashboard/app/views/layouts/application.html.erb b/justin_quiros/dojo_dashboard/app/views/layouts/application.html.erb
deleted file mode 100644
index 0a5ffc5..0000000
--- a/justin_quiros/dojo_dashboard/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- DojoDashboard
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/justin_quiros/dojo_dashboard/bin/bundle b/justin_quiros/dojo_dashboard/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/justin_quiros/dojo_dashboard/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/justin_quiros/dojo_dashboard/bin/rails b/justin_quiros/dojo_dashboard/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/justin_quiros/dojo_dashboard/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/justin_quiros/dojo_dashboard/bin/rake b/justin_quiros/dojo_dashboard/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/justin_quiros/dojo_dashboard/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/justin_quiros/dojo_dashboard/bin/setup b/justin_quiros/dojo_dashboard/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/justin_quiros/dojo_dashboard/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/justin_quiros/dojo_dashboard/bin/spring b/justin_quiros/dojo_dashboard/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/justin_quiros/dojo_dashboard/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/justin_quiros/dojo_dashboard/config.ru b/justin_quiros/dojo_dashboard/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/justin_quiros/dojo_dashboard/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/justin_quiros/dojo_dashboard/config/application.rb b/justin_quiros/dojo_dashboard/config/application.rb
deleted file mode 100644
index 0e5ac64..0000000
--- a/justin_quiros/dojo_dashboard/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module DojoDashboard
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/justin_quiros/dojo_dashboard/config/boot.rb b/justin_quiros/dojo_dashboard/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/justin_quiros/dojo_dashboard/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/justin_quiros/dojo_dashboard/config/database.yml b/justin_quiros/dojo_dashboard/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/justin_quiros/dojo_dashboard/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/justin_quiros/dojo_dashboard/config/environment.rb b/justin_quiros/dojo_dashboard/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/justin_quiros/dojo_dashboard/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/justin_quiros/dojo_dashboard/config/environments/development.rb b/justin_quiros/dojo_dashboard/config/environments/development.rb
deleted file mode 100644
index 587a52e..0000000
--- a/justin_quiros/dojo_dashboard/config/environments/development.rb
+++ /dev/null
@@ -1,47 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Use the below so you don't have to shut down server everytime you make a change in your controller
- config.reload_classes_only_on_change = false
-
- # Use the below to get rid of unwanted text in console
- config.log_level = :warn
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/justin_quiros/dojo_dashboard/config/environments/production.rb b/justin_quiros/dojo_dashboard/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/justin_quiros/dojo_dashboard/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/justin_quiros/dojo_dashboard/config/environments/test.rb b/justin_quiros/dojo_dashboard/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/justin_quiros/dojo_dashboard/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/justin_quiros/dojo_dashboard/config/initializers/assets.rb b/justin_quiros/dojo_dashboard/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/justin_quiros/dojo_dashboard/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/justin_quiros/dojo_dashboard/config/initializers/backtrace_silencers.rb b/justin_quiros/dojo_dashboard/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/justin_quiros/dojo_dashboard/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/justin_quiros/dojo_dashboard/config/initializers/cookies_serializer.rb b/justin_quiros/dojo_dashboard/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/justin_quiros/dojo_dashboard/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/justin_quiros/dojo_dashboard/config/initializers/filter_parameter_logging.rb b/justin_quiros/dojo_dashboard/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/justin_quiros/dojo_dashboard/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/justin_quiros/dojo_dashboard/config/initializers/inflections.rb b/justin_quiros/dojo_dashboard/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/justin_quiros/dojo_dashboard/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/justin_quiros/dojo_dashboard/config/initializers/mime_types.rb b/justin_quiros/dojo_dashboard/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/justin_quiros/dojo_dashboard/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/justin_quiros/dojo_dashboard/config/initializers/session_store.rb b/justin_quiros/dojo_dashboard/config/initializers/session_store.rb
deleted file mode 100644
index d8522bf..0000000
--- a/justin_quiros/dojo_dashboard/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_dojo_dashboard_session'
diff --git a/justin_quiros/dojo_dashboard/config/initializers/wrap_parameters.rb b/justin_quiros/dojo_dashboard/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/justin_quiros/dojo_dashboard/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/justin_quiros/dojo_dashboard/config/locales/en.yml b/justin_quiros/dojo_dashboard/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/justin_quiros/dojo_dashboard/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/justin_quiros/dojo_dashboard/config/routes.rb b/justin_quiros/dojo_dashboard/config/routes.rb
deleted file mode 100644
index 445e575..0000000
--- a/justin_quiros/dojo_dashboard/config/routes.rb
+++ /dev/null
@@ -1,65 +0,0 @@
-Rails.application.routes.draw do
-
- get "dojos" => 'dojos#index'
- get "dojos/new" => 'dojos#new'
- post "dojos/create" => 'dojos#create'
- get "dojos/:id" => 'dojos#show'
- get "dojos/:id/edit" => 'dojos#edit'
- patch "dojos/:id/edit" => 'dojos#update'
- delete "dojos/:id" => 'dojos#destroy'
-
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/justin_quiros/dojo_dashboard/config/secrets.yml b/justin_quiros/dojo_dashboard/config/secrets.yml
deleted file mode 100644
index 9430dc1..0000000
--- a/justin_quiros/dojo_dashboard/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 7a7a0f859c51b032b28d214542e690851cef105ada0a6cc7e519bf2e31af064242291f1cfbca7683ffe20142f7ddc087aeb6a5f4ecc7f0eee1c987296602dd9c
-
-test:
- secret_key_base: d38d67298b102b67cfeaffd5ac59a542943eb1c2c1fc5b2950180355da39164ea4b577a463c59e5eb11c8dab727b7a7c19e65d80f2d5f40d6b586f4f748d2238
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/justin_quiros/dojo_dashboard/db/migrate/20171203234313_create_dojos.rb b/justin_quiros/dojo_dashboard/db/migrate/20171203234313_create_dojos.rb
deleted file mode 100644
index 0df8b3d..0000000
--- a/justin_quiros/dojo_dashboard/db/migrate/20171203234313_create_dojos.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-class CreateDojos < ActiveRecord::Migration
- def change
- create_table :dojos do |t|
- t.string :branch
- t.string :street
- t.string :city
- t.string :state
-
- t.timestamps null: false
- end
- end
-end
diff --git a/justin_quiros/dojo_dashboard/db/schema.rb b/justin_quiros/dojo_dashboard/db/schema.rb
deleted file mode 100644
index d15f0de..0000000
--- a/justin_quiros/dojo_dashboard/db/schema.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171203234313) do
-
- create_table "dojos", force: :cascade do |t|
- t.string "branch"
- t.string "street"
- t.string "city"
- t.string "state"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/justin_quiros/dojo_dashboard/db/seeds.rb b/justin_quiros/dojo_dashboard/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/justin_quiros/dojo_dashboard/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/justin_quiros/dojo_dashboard/lib/assets/.keep b/justin_quiros/dojo_dashboard/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_dashboard/lib/tasks/.keep b/justin_quiros/dojo_dashboard/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_dashboard/log/.keep b/justin_quiros/dojo_dashboard/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_dashboard/public/404.html b/justin_quiros/dojo_dashboard/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/justin_quiros/dojo_dashboard/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/justin_quiros/dojo_dashboard/public/422.html b/justin_quiros/dojo_dashboard/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/justin_quiros/dojo_dashboard/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/justin_quiros/dojo_dashboard/public/favicon.ico b/justin_quiros/dojo_dashboard/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_dashboard/public/robots.txt b/justin_quiros/dojo_dashboard/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/justin_quiros/dojo_dashboard/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/justin_quiros/dojo_dashboard/test/controllers/.keep b/justin_quiros/dojo_dashboard/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_dashboard/test/controllers/dojos_controller_test.rb b/justin_quiros/dojo_dashboard/test/controllers/dojos_controller_test.rb
deleted file mode 100644
index 3c565bf..0000000
--- a/justin_quiros/dojo_dashboard/test/controllers/dojos_controller_test.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-require 'test_helper'
-
-class DojosControllerTest < ActionController::TestCase
- test "should get index" do
- get :index
- assert_response :success
- end
-
-end
diff --git a/justin_quiros/dojo_dashboard/test/fixtures/.keep b/justin_quiros/dojo_dashboard/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_dashboard/test/fixtures/dojos.yml b/justin_quiros/dojo_dashboard/test/fixtures/dojos.yml
deleted file mode 100644
index 215263e..0000000
--- a/justin_quiros/dojo_dashboard/test/fixtures/dojos.yml
+++ /dev/null
@@ -1,13 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- branch: MyString
- street: MyString
- city: MyString
- state: MyString
-
-two:
- branch: MyString
- street: MyString
- city: MyString
- state: MyString
diff --git a/justin_quiros/dojo_dashboard/test/helpers/.keep b/justin_quiros/dojo_dashboard/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_dashboard/test/integration/.keep b/justin_quiros/dojo_dashboard/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_dashboard/test/mailers/.keep b/justin_quiros/dojo_dashboard/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_dashboard/test/models/.keep b/justin_quiros/dojo_dashboard/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_dashboard/test/models/dojo_test.rb b/justin_quiros/dojo_dashboard/test/models/dojo_test.rb
deleted file mode 100644
index a078f30..0000000
--- a/justin_quiros/dojo_dashboard/test/models/dojo_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class DojoTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/justin_quiros/dojo_dashboard/test/test_helper.rb b/justin_quiros/dojo_dashboard/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/justin_quiros/dojo_dashboard/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/justin_quiros/dojo_dashboard/vendor/assets/javascripts/.keep b/justin_quiros/dojo_dashboard/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_dashboard/vendor/assets/stylesheets/.keep b/justin_quiros/dojo_dashboard/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_ninjas/.gitignore b/justin_quiros/dojo_ninjas/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/justin_quiros/dojo_ninjas/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/justin_quiros/dojo_ninjas/Gemfile b/justin_quiros/dojo_ninjas/Gemfile
deleted file mode 100644
index 0ee61bd..0000000
--- a/justin_quiros/dojo_ninjas/Gemfile
+++ /dev/null
@@ -1,48 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
-gem 'hirb'
diff --git a/justin_quiros/dojo_ninjas/Gemfile.lock b/justin_quiros/dojo_ninjas/Gemfile.lock
deleted file mode 100644
index c2e340f..0000000
--- a/justin_quiros/dojo_ninjas/Gemfile.lock
+++ /dev/null
@@ -1,174 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- bcrypt (3.1.11)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- bcrypt (~> 3.1.7)
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/justin_quiros/dojo_ninjas/README.rdoc b/justin_quiros/dojo_ninjas/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/justin_quiros/dojo_ninjas/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/justin_quiros/dojo_ninjas/Rakefile b/justin_quiros/dojo_ninjas/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/justin_quiros/dojo_ninjas/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/justin_quiros/dojo_ninjas/app/assets/images/.keep b/justin_quiros/dojo_ninjas/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_ninjas/app/assets/javascripts/application.js b/justin_quiros/dojo_ninjas/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/justin_quiros/dojo_ninjas/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/justin_quiros/dojo_ninjas/app/assets/stylesheets/application.css b/justin_quiros/dojo_ninjas/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/justin_quiros/dojo_ninjas/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/justin_quiros/dojo_ninjas/app/controllers/application_controller.rb b/justin_quiros/dojo_ninjas/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/justin_quiros/dojo_ninjas/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/justin_quiros/dojo_ninjas/app/controllers/concerns/.keep b/justin_quiros/dojo_ninjas/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_ninjas/app/helpers/application_helper.rb b/justin_quiros/dojo_ninjas/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/justin_quiros/dojo_ninjas/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/justin_quiros/dojo_ninjas/app/mailers/.keep b/justin_quiros/dojo_ninjas/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_ninjas/app/models/.keep b/justin_quiros/dojo_ninjas/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_ninjas/app/models/concerns/.keep b/justin_quiros/dojo_ninjas/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_ninjas/app/models/dojo.rb b/justin_quiros/dojo_ninjas/app/models/dojo.rb
deleted file mode 100644
index a4a2e9a..0000000
--- a/justin_quiros/dojo_ninjas/app/models/dojo.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-class Dojo < ActiveRecord::Base
- validates :name, :city, :state, presence: true, length: { in: 2..40 }
- has_many :ninjas, :dependent => :nullify
-end
diff --git a/justin_quiros/dojo_ninjas/app/models/ninja.rb b/justin_quiros/dojo_ninjas/app/models/ninja.rb
deleted file mode 100644
index 8ea043e..0000000
--- a/justin_quiros/dojo_ninjas/app/models/ninja.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-class Ninja < ActiveRecord::Base
- validates :first_name, :last_name, presence: true, length: { in: 2..20 }
- belongs_to :dojo
-
- def name
- self.first_name
- end
-end
diff --git a/justin_quiros/dojo_ninjas/app/views/layouts/application.html.erb b/justin_quiros/dojo_ninjas/app/views/layouts/application.html.erb
deleted file mode 100644
index 40d7e51..0000000
--- a/justin_quiros/dojo_ninjas/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- DojoNinjas
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/justin_quiros/dojo_ninjas/bin/bundle b/justin_quiros/dojo_ninjas/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/justin_quiros/dojo_ninjas/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/justin_quiros/dojo_ninjas/bin/rails b/justin_quiros/dojo_ninjas/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/justin_quiros/dojo_ninjas/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/justin_quiros/dojo_ninjas/bin/rake b/justin_quiros/dojo_ninjas/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/justin_quiros/dojo_ninjas/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/justin_quiros/dojo_ninjas/bin/setup b/justin_quiros/dojo_ninjas/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/justin_quiros/dojo_ninjas/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/justin_quiros/dojo_ninjas/bin/spring b/justin_quiros/dojo_ninjas/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/justin_quiros/dojo_ninjas/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/justin_quiros/dojo_ninjas/config.ru b/justin_quiros/dojo_ninjas/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/justin_quiros/dojo_ninjas/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/justin_quiros/dojo_ninjas/config/application.rb b/justin_quiros/dojo_ninjas/config/application.rb
deleted file mode 100644
index 156a9d5..0000000
--- a/justin_quiros/dojo_ninjas/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module DojoNinjas
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/justin_quiros/dojo_ninjas/config/boot.rb b/justin_quiros/dojo_ninjas/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/justin_quiros/dojo_ninjas/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/justin_quiros/dojo_ninjas/config/database.yml b/justin_quiros/dojo_ninjas/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/justin_quiros/dojo_ninjas/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/justin_quiros/dojo_ninjas/config/environment.rb b/justin_quiros/dojo_ninjas/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/justin_quiros/dojo_ninjas/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/justin_quiros/dojo_ninjas/config/environments/development.rb b/justin_quiros/dojo_ninjas/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/justin_quiros/dojo_ninjas/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/justin_quiros/dojo_ninjas/config/environments/production.rb b/justin_quiros/dojo_ninjas/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/justin_quiros/dojo_ninjas/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/justin_quiros/dojo_ninjas/config/environments/test.rb b/justin_quiros/dojo_ninjas/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/justin_quiros/dojo_ninjas/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/justin_quiros/dojo_ninjas/config/initializers/assets.rb b/justin_quiros/dojo_ninjas/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/justin_quiros/dojo_ninjas/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/justin_quiros/dojo_ninjas/config/initializers/backtrace_silencers.rb b/justin_quiros/dojo_ninjas/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/justin_quiros/dojo_ninjas/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/justin_quiros/dojo_ninjas/config/initializers/cookies_serializer.rb b/justin_quiros/dojo_ninjas/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/justin_quiros/dojo_ninjas/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/justin_quiros/dojo_ninjas/config/initializers/filter_parameter_logging.rb b/justin_quiros/dojo_ninjas/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/justin_quiros/dojo_ninjas/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/justin_quiros/dojo_ninjas/config/initializers/inflections.rb b/justin_quiros/dojo_ninjas/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/justin_quiros/dojo_ninjas/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/justin_quiros/dojo_ninjas/config/initializers/mime_types.rb b/justin_quiros/dojo_ninjas/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/justin_quiros/dojo_ninjas/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/justin_quiros/dojo_ninjas/config/initializers/session_store.rb b/justin_quiros/dojo_ninjas/config/initializers/session_store.rb
deleted file mode 100644
index 313a66f..0000000
--- a/justin_quiros/dojo_ninjas/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_dojo_ninjas_session'
diff --git a/justin_quiros/dojo_ninjas/config/initializers/wrap_parameters.rb b/justin_quiros/dojo_ninjas/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/justin_quiros/dojo_ninjas/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/justin_quiros/dojo_ninjas/config/locales/en.yml b/justin_quiros/dojo_ninjas/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/justin_quiros/dojo_ninjas/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/justin_quiros/dojo_ninjas/config/routes.rb b/justin_quiros/dojo_ninjas/config/routes.rb
deleted file mode 100644
index 3f66539..0000000
--- a/justin_quiros/dojo_ninjas/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/justin_quiros/dojo_ninjas/config/secrets.yml b/justin_quiros/dojo_ninjas/config/secrets.yml
deleted file mode 100644
index f601568..0000000
--- a/justin_quiros/dojo_ninjas/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 2fead8c0015a4c6e45ee7540187a08c56e04e30750265e2ebe3fe9a9b6980c3779f6d8485d17e27df94756804b44b3fab335a0e7627970c6e8d4091448894469
-
-test:
- secret_key_base: 5d3c5279179ad94c7882f1c1ab12d5e8c9ab9e49c3f2fed458bccd0e12b10dcca462204027230e5fe39ea5af1d8590f8846898145d45738d8be4d5cb082adb27
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/justin_quiros/dojo_ninjas/db/migrate/20171129204110_create_dojos.rb b/justin_quiros/dojo_ninjas/db/migrate/20171129204110_create_dojos.rb
deleted file mode 100644
index ece0705..0000000
--- a/justin_quiros/dojo_ninjas/db/migrate/20171129204110_create_dojos.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreateDojos < ActiveRecord::Migration
- def change
- create_table :dojos do |t|
- t.string :name
- t.string :city
- t.string :state
-
- t.timestamps null: false
- end
- end
-end
diff --git a/justin_quiros/dojo_ninjas/db/migrate/20171129204212_create_ninjas.rb b/justin_quiros/dojo_ninjas/db/migrate/20171129204212_create_ninjas.rb
deleted file mode 100644
index 8334127..0000000
--- a/justin_quiros/dojo_ninjas/db/migrate/20171129204212_create_ninjas.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreateNinjas < ActiveRecord::Migration
- def change
- create_table :ninjas do |t|
- t.string :first_name
- t.string :last_name
- t.references :dojo, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/justin_quiros/dojo_ninjas/db/schema.rb b/justin_quiros/dojo_ninjas/db/schema.rb
deleted file mode 100644
index e57fb30..0000000
--- a/justin_quiros/dojo_ninjas/db/schema.rb
+++ /dev/null
@@ -1,34 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171129204212) do
-
- create_table "dojos", force: :cascade do |t|
- t.string "name"
- t.string "city"
- t.string "state"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- create_table "ninjas", force: :cascade do |t|
- t.string "first_name"
- t.string "last_name"
- t.integer "dojo_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "ninjas", ["dojo_id"], name: "index_ninjas_on_dojo_id"
-
-end
diff --git a/justin_quiros/dojo_ninjas/db/seeds.rb b/justin_quiros/dojo_ninjas/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/justin_quiros/dojo_ninjas/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/justin_quiros/dojo_ninjas/lib/assets/.keep b/justin_quiros/dojo_ninjas/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_ninjas/lib/tasks/.keep b/justin_quiros/dojo_ninjas/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_ninjas/log/.keep b/justin_quiros/dojo_ninjas/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_ninjas/public/404.html b/justin_quiros/dojo_ninjas/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/justin_quiros/dojo_ninjas/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/justin_quiros/dojo_ninjas/public/422.html b/justin_quiros/dojo_ninjas/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/justin_quiros/dojo_ninjas/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/justin_quiros/dojo_ninjas/public/favicon.ico b/justin_quiros/dojo_ninjas/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_ninjas/public/robots.txt b/justin_quiros/dojo_ninjas/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/justin_quiros/dojo_ninjas/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/justin_quiros/dojo_ninjas/test/controllers/.keep b/justin_quiros/dojo_ninjas/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_ninjas/test/fixtures/.keep b/justin_quiros/dojo_ninjas/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_ninjas/test/fixtures/dojos.yml b/justin_quiros/dojo_ninjas/test/fixtures/dojos.yml
deleted file mode 100644
index 07bb5b1..0000000
--- a/justin_quiros/dojo_ninjas/test/fixtures/dojos.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- name: MyString
- city: MyString
- state: MyString
-
-two:
- name: MyString
- city: MyString
- state: MyString
diff --git a/justin_quiros/dojo_ninjas/test/fixtures/ninjas.yml b/justin_quiros/dojo_ninjas/test/fixtures/ninjas.yml
deleted file mode 100644
index ddd337f..0000000
--- a/justin_quiros/dojo_ninjas/test/fixtures/ninjas.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- first_name: MyString
- last_name: MyString
- dojo_id:
-
-two:
- first_name: MyString
- last_name: MyString
- dojo_id:
diff --git a/justin_quiros/dojo_ninjas/test/helpers/.keep b/justin_quiros/dojo_ninjas/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_ninjas/test/integration/.keep b/justin_quiros/dojo_ninjas/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_ninjas/test/mailers/.keep b/justin_quiros/dojo_ninjas/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_ninjas/test/models/.keep b/justin_quiros/dojo_ninjas/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_ninjas/test/models/dojo_test.rb b/justin_quiros/dojo_ninjas/test/models/dojo_test.rb
deleted file mode 100644
index a078f30..0000000
--- a/justin_quiros/dojo_ninjas/test/models/dojo_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class DojoTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/justin_quiros/dojo_ninjas/test/models/ninja_test.rb b/justin_quiros/dojo_ninjas/test/models/ninja_test.rb
deleted file mode 100644
index d21c152..0000000
--- a/justin_quiros/dojo_ninjas/test/models/ninja_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class NinjaTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/justin_quiros/dojo_ninjas/test/test_helper.rb b/justin_quiros/dojo_ninjas/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/justin_quiros/dojo_ninjas/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/justin_quiros/dojo_ninjas/vendor/assets/javascripts/.keep b/justin_quiros/dojo_ninjas/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/dojo_ninjas/vendor/assets/stylesheets/.keep b/justin_quiros/dojo_ninjas/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/exercise1.rb b/justin_quiros/exercise1.rb
deleted file mode 100644
index 3104064..0000000
--- a/justin_quiros/exercise1.rb
+++ /dev/null
@@ -1,90 +0,0 @@
-=begin
-
-
-This is how you
-comment out multiple lines.
-
-=end
-
-
-
-
-
-# first_name = "Justin"
-# last_name = "Quiros"
-
-# # puts "Your name is " +first_name+" "+last_name
-# # puts "First name is #{first_name} and last name is #{last_name}"
-# # puts "First name is %s and last name is %s" % [first_name, last_name]
-# z = 50
-# puts "Value of z is #{z}"
-# puts "Value of z is %d" % z
-
-# puts "I am 6'1\" tall"
-
-# # puts "hello"
-# # puts "Coding"
-# # puts "Dojo"
-
-# # # print "hello"
-# # print "Coding"
-# x = 5
-# y = 10
-# z = x+y
-
-# puts z
-
-
-# BEGIN {
-# puts "this runs before my puts"
-# }
-
-# END {
-# puts "this runs after my puts"
-# }
-
-# class CodingDojo
-# @@no_of_branches = 0
-# def initialize(id, name, address)
-# @branch_id = id
-# @branch_name = name
-# @branch_address = address
-# @@no_of_branches += 1
-# puts "Created branch #{@@no_of_branches}"
-# end
-# def hello
-# puts "Hello CodingDojo!"
-# end
-# def display_all
-# puts "Branch ID: #{@branch_id}"
-# puts "Branch name: #{@branch_name}"
-# puts "Branch address: #{@branch_address}"
-# end
-# end
-
-# branch = CodingDojo.new(177, "Alaska CodingDojo", "Anchorage AK")
-# branch.display_all
-# branch.hello
-
-# branch2 = CodingDojo.new(22, "Scranton CodingDojo", "Scranton PA")
-# branch2.display_all
-
-
-
-#Returning self allows you to chain methods like OOP in Python
-class Mammal
- def initialize
- puts "I am alive"
- self
- end
- def breath
- puts "Inhale and exhale"
- self
- end
-
- def who_am_i
- puts self
- self
- end
-end
-my_mammal = Mammal.new.who_am_i.breath
diff --git a/justin_quiros/friends/.gitignore b/justin_quiros/friends/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/justin_quiros/friends/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/justin_quiros/friends/Gemfile b/justin_quiros/friends/Gemfile
deleted file mode 100644
index ac64fba..0000000
--- a/justin_quiros/friends/Gemfile
+++ /dev/null
@@ -1,48 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
-gem 'hirb'
\ No newline at end of file
diff --git a/justin_quiros/friends/Gemfile.lock b/justin_quiros/friends/Gemfile.lock
deleted file mode 100644
index 73114af..0000000
--- a/justin_quiros/friends/Gemfile.lock
+++ /dev/null
@@ -1,172 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/justin_quiros/friends/README.rdoc b/justin_quiros/friends/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/justin_quiros/friends/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/justin_quiros/friends/Rakefile b/justin_quiros/friends/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/justin_quiros/friends/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/justin_quiros/friends/app/assets/images/.keep b/justin_quiros/friends/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/friends/app/assets/javascripts/application.js b/justin_quiros/friends/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/justin_quiros/friends/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/justin_quiros/friends/app/assets/stylesheets/application.css b/justin_quiros/friends/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/justin_quiros/friends/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/justin_quiros/friends/app/controllers/application_controller.rb b/justin_quiros/friends/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/justin_quiros/friends/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/justin_quiros/friends/app/controllers/concerns/.keep b/justin_quiros/friends/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/friends/app/helpers/application_helper.rb b/justin_quiros/friends/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/justin_quiros/friends/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/justin_quiros/friends/app/mailers/.keep b/justin_quiros/friends/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/friends/app/models/.keep b/justin_quiros/friends/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/friends/app/models/concerns/.keep b/justin_quiros/friends/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/friends/app/models/homie.rb b/justin_quiros/friends/app/models/homie.rb
deleted file mode 100644
index dce1b7b..0000000
--- a/justin_quiros/friends/app/models/homie.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-class Homie < ActiveRecord::Base
- belongs_to :user
- belongs_to :receiver, foreign_key: :receiver_id, class_name: 'User'
-end
diff --git a/justin_quiros/friends/app/models/user.rb b/justin_quiros/friends/app/models/user.rb
deleted file mode 100644
index 9581469..0000000
--- a/justin_quiros/friends/app/models/user.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class User < ActiveRecord::Base
- has_many :homies, class_name: 'Homie'
- has_many :friends, through: :homies, source: :receiver
-
-end
diff --git a/justin_quiros/friends/app/views/layouts/application.html.erb b/justin_quiros/friends/app/views/layouts/application.html.erb
deleted file mode 100644
index 167610a..0000000
--- a/justin_quiros/friends/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- Friends
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/justin_quiros/friends/bin/bundle b/justin_quiros/friends/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/justin_quiros/friends/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/justin_quiros/friends/bin/rails b/justin_quiros/friends/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/justin_quiros/friends/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/justin_quiros/friends/bin/rake b/justin_quiros/friends/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/justin_quiros/friends/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/justin_quiros/friends/bin/setup b/justin_quiros/friends/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/justin_quiros/friends/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/justin_quiros/friends/bin/spring b/justin_quiros/friends/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/justin_quiros/friends/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/justin_quiros/friends/config.ru b/justin_quiros/friends/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/justin_quiros/friends/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/justin_quiros/friends/config/application.rb b/justin_quiros/friends/config/application.rb
deleted file mode 100644
index 7cf2d47..0000000
--- a/justin_quiros/friends/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module Friends
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/justin_quiros/friends/config/boot.rb b/justin_quiros/friends/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/justin_quiros/friends/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/justin_quiros/friends/config/database.yml b/justin_quiros/friends/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/justin_quiros/friends/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/justin_quiros/friends/config/environment.rb b/justin_quiros/friends/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/justin_quiros/friends/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/justin_quiros/friends/config/environments/development.rb b/justin_quiros/friends/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/justin_quiros/friends/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/justin_quiros/friends/config/environments/production.rb b/justin_quiros/friends/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/justin_quiros/friends/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/justin_quiros/friends/config/environments/test.rb b/justin_quiros/friends/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/justin_quiros/friends/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/justin_quiros/friends/config/initializers/assets.rb b/justin_quiros/friends/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/justin_quiros/friends/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/justin_quiros/friends/config/initializers/backtrace_silencers.rb b/justin_quiros/friends/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/justin_quiros/friends/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/justin_quiros/friends/config/initializers/cookies_serializer.rb b/justin_quiros/friends/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/justin_quiros/friends/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/justin_quiros/friends/config/initializers/filter_parameter_logging.rb b/justin_quiros/friends/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/justin_quiros/friends/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/justin_quiros/friends/config/initializers/inflections.rb b/justin_quiros/friends/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/justin_quiros/friends/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/justin_quiros/friends/config/initializers/mime_types.rb b/justin_quiros/friends/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/justin_quiros/friends/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/justin_quiros/friends/config/initializers/session_store.rb b/justin_quiros/friends/config/initializers/session_store.rb
deleted file mode 100644
index 916ead8..0000000
--- a/justin_quiros/friends/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_friends_session'
diff --git a/justin_quiros/friends/config/initializers/wrap_parameters.rb b/justin_quiros/friends/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/justin_quiros/friends/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/justin_quiros/friends/config/locales/en.yml b/justin_quiros/friends/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/justin_quiros/friends/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/justin_quiros/friends/config/routes.rb b/justin_quiros/friends/config/routes.rb
deleted file mode 100644
index 3f66539..0000000
--- a/justin_quiros/friends/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/justin_quiros/friends/config/secrets.yml b/justin_quiros/friends/config/secrets.yml
deleted file mode 100644
index 8a96300..0000000
--- a/justin_quiros/friends/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 25770e305e6b4a46e4c742aca992df3c1b4ea214634a2ff02c0e97e7b9087c3dadd6cde46a0cbcffb28ee22f56d5344e8273ebae73d6fe47a8edcdf876879b99
-
-test:
- secret_key_base: bbefc9e60c07308ea8adf61538048dbbbdd58bb932fabc24f201b532766ebdee9e27ccd46c4d17929f9500a0133bd02e4e7d9418917cfb73a8f36390a4c9a448
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/justin_quiros/friends/db/migrate/20171130212913_create_users.rb b/justin_quiros/friends/db/migrate/20171130212913_create_users.rb
deleted file mode 100644
index 36d0b1b..0000000
--- a/justin_quiros/friends/db/migrate/20171130212913_create_users.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class CreateUsers < ActiveRecord::Migration
- def change
- create_table :users do |t|
- t.string :first_name
- t.string :last_name
-
- t.timestamps null: false
- end
- end
-end
diff --git a/justin_quiros/friends/db/migrate/20171130214705_create_homies.rb b/justin_quiros/friends/db/migrate/20171130214705_create_homies.rb
deleted file mode 100644
index 427512f..0000000
--- a/justin_quiros/friends/db/migrate/20171130214705_create_homies.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class CreateHomies < ActiveRecord::Migration
- def change
- create_table :homies do |t|
- t.references :user, index: true, foreign_key: true
- t.references :receiver, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/justin_quiros/friends/db/schema.rb b/justin_quiros/friends/db/schema.rb
deleted file mode 100644
index 6f1371e..0000000
--- a/justin_quiros/friends/db/schema.rb
+++ /dev/null
@@ -1,33 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171130214705) do
-
- create_table "homies", force: :cascade do |t|
- t.integer "user_id"
- t.integer "receiver_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "homies", ["receiver_id"], name: "index_homies_on_receiver_id"
- add_index "homies", ["user_id"], name: "index_homies_on_user_id"
-
- create_table "users", force: :cascade do |t|
- t.string "first_name"
- t.string "last_name"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/justin_quiros/friends/db/seeds.rb b/justin_quiros/friends/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/justin_quiros/friends/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/justin_quiros/friends/lib/assets/.keep b/justin_quiros/friends/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/friends/lib/tasks/.keep b/justin_quiros/friends/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/friends/log/.keep b/justin_quiros/friends/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/friends/public/404.html b/justin_quiros/friends/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/justin_quiros/friends/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/justin_quiros/friends/public/422.html b/justin_quiros/friends/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/justin_quiros/friends/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
-
\ No newline at end of file
diff --git a/justin_quiros/models/app/views/users/total.html.erb b/justin_quiros/models/app/views/users/total.html.erb
deleted file mode 100644
index 936b68c..0000000
--- a/justin_quiros/models/app/views/users/total.html.erb
+++ /dev/null
@@ -1,2 +0,0 @@
-
Users#total
-
Find me in app/views/users/total.html.erb
diff --git a/justin_quiros/models/bin/bundle b/justin_quiros/models/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/justin_quiros/models/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/justin_quiros/models/bin/rails b/justin_quiros/models/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/justin_quiros/models/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/justin_quiros/models/bin/rake b/justin_quiros/models/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/justin_quiros/models/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/justin_quiros/models/bin/setup b/justin_quiros/models/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/justin_quiros/models/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/justin_quiros/models/bin/spring b/justin_quiros/models/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/justin_quiros/models/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/justin_quiros/models/config.ru b/justin_quiros/models/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/justin_quiros/models/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/justin_quiros/models/config/application.rb b/justin_quiros/models/config/application.rb
deleted file mode 100644
index 0407fb0..0000000
--- a/justin_quiros/models/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module Models
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/justin_quiros/models/config/boot.rb b/justin_quiros/models/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/justin_quiros/models/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/justin_quiros/models/config/database.yml b/justin_quiros/models/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/justin_quiros/models/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/justin_quiros/models/config/environment.rb b/justin_quiros/models/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/justin_quiros/models/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/justin_quiros/models/config/environments/development.rb b/justin_quiros/models/config/environments/development.rb
deleted file mode 100644
index cbfa466..0000000
--- a/justin_quiros/models/config/environments/development.rb
+++ /dev/null
@@ -1,48 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
-
- # Use the below so you don't have to shut down server everytime you make a change in your controller
- config.reload_classes_only_on_change = false
-
- # Use the below to get rid of unwanted text in console
- config.log_level = :warn
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/justin_quiros/models/config/environments/production.rb b/justin_quiros/models/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/justin_quiros/models/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/justin_quiros/models/config/environments/test.rb b/justin_quiros/models/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/justin_quiros/models/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/justin_quiros/models/config/initializers/assets.rb b/justin_quiros/models/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/justin_quiros/models/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/justin_quiros/models/config/initializers/backtrace_silencers.rb b/justin_quiros/models/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/justin_quiros/models/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/justin_quiros/models/config/initializers/cookies_serializer.rb b/justin_quiros/models/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/justin_quiros/models/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/justin_quiros/models/config/initializers/filter_parameter_logging.rb b/justin_quiros/models/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/justin_quiros/models/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/justin_quiros/models/config/initializers/inflections.rb b/justin_quiros/models/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/justin_quiros/models/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/justin_quiros/models/config/initializers/mime_types.rb b/justin_quiros/models/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/justin_quiros/models/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/justin_quiros/models/config/initializers/session_store.rb b/justin_quiros/models/config/initializers/session_store.rb
deleted file mode 100644
index 809e98c..0000000
--- a/justin_quiros/models/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_models_session'
diff --git a/justin_quiros/models/config/initializers/wrap_parameters.rb b/justin_quiros/models/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/justin_quiros/models/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/justin_quiros/models/config/locales/en.yml b/justin_quiros/models/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/justin_quiros/models/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/justin_quiros/models/config/routes.rb b/justin_quiros/models/config/routes.rb
deleted file mode 100644
index 2db1674..0000000
--- a/justin_quiros/models/config/routes.rb
+++ /dev/null
@@ -1,68 +0,0 @@
-Rails.application.routes.draw do
- get 'users/index'
- get 'users/new'
- get 'users/edit'
- get 'users/total'
-
- get 'users' => "users#index"
- get 'users/total' => "users#total"
- post 'users' => "users#create"
- get 'users/new' => "users#new"
- get 'users/:id' => "users#show"
- get 'users/:id/edit' => "users#edit"
-
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/justin_quiros/models/config/secrets.yml b/justin_quiros/models/config/secrets.yml
deleted file mode 100644
index e4b9b69..0000000
--- a/justin_quiros/models/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 8e82a2b061c0ac9c6b9e9d62b19dfae268bb9290a76f728eaa8590f6487ea7dab23977868281f826d3f17be2b00d1ed33b17d30b72c401c08a7a81e99d1a90b6
-
-test:
- secret_key_base: bdaa15ee41b4356d5134f455707f3f52350cb3c8c80bd230f2eeeeab7e3fd1260527f485b56790c561a380caa161831bc3403f86d4ee39203502b87362555167
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/justin_quiros/models/db/migrate/20171201201239_create_users.rb b/justin_quiros/models/db/migrate/20171201201239_create_users.rb
deleted file mode 100644
index 5494756..0000000
--- a/justin_quiros/models/db/migrate/20171201201239_create_users.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class CreateUsers < ActiveRecord::Migration
- def change
- create_table :users do |t|
- t.string :name
-
- t.timestamps null: false
- end
- end
-end
diff --git a/justin_quiros/models/db/schema.rb b/justin_quiros/models/db/schema.rb
deleted file mode 100644
index d83cf9e..0000000
--- a/justin_quiros/models/db/schema.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171201201239) do
-
- create_table "users", force: :cascade do |t|
- t.string "name"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/justin_quiros/models/db/seeds.rb b/justin_quiros/models/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/justin_quiros/models/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/justin_quiros/models/lib/assets/.keep b/justin_quiros/models/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/models/lib/tasks/.keep b/justin_quiros/models/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/models/log/.keep b/justin_quiros/models/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/models/public/404.html b/justin_quiros/models/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/justin_quiros/models/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/justin_quiros/models/public/422.html b/justin_quiros/models/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/justin_quiros/models/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/justin_quiros/models/public/favicon.ico b/justin_quiros/models/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/models/public/robots.txt b/justin_quiros/models/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/justin_quiros/models/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/justin_quiros/models/test/controllers/.keep b/justin_quiros/models/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/models/test/controllers/users_controller_test.rb b/justin_quiros/models/test/controllers/users_controller_test.rb
deleted file mode 100644
index 1f794df..0000000
--- a/justin_quiros/models/test/controllers/users_controller_test.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-require 'test_helper'
-
-class UsersControllerTest < ActionController::TestCase
- test "should get index" do
- get :index
- assert_response :success
- end
-
- test "should get new" do
- get :new
- assert_response :success
- end
-
- test "should get edit" do
- get :edit
- assert_response :success
- end
-
- test "should get total" do
- get :total
- assert_response :success
- end
-
-end
diff --git a/justin_quiros/models/test/fixtures/.keep b/justin_quiros/models/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/models/test/fixtures/users.yml b/justin_quiros/models/test/fixtures/users.yml
deleted file mode 100644
index 56066c6..0000000
--- a/justin_quiros/models/test/fixtures/users.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- name: MyString
-
-two:
- name: MyString
diff --git a/justin_quiros/models/test/helpers/.keep b/justin_quiros/models/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/models/test/integration/.keep b/justin_quiros/models/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/models/test/mailers/.keep b/justin_quiros/models/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/models/test/models/.keep b/justin_quiros/models/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/models/test/models/user_test.rb b/justin_quiros/models/test/models/user_test.rb
deleted file mode 100644
index 82f61e0..0000000
--- a/justin_quiros/models/test/models/user_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class UserTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/justin_quiros/models/test/test_helper.rb b/justin_quiros/models/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/justin_quiros/models/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/justin_quiros/models/vendor/assets/javascripts/.keep b/justin_quiros/models/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/models/vendor/assets/stylesheets/.keep b/justin_quiros/models/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/module_practice/main.rb b/justin_quiros/module_practice/main.rb
deleted file mode 100644
index 4c3213c..0000000
--- a/justin_quiros/module_practice/main.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-require_relative 'printer_module'
-class Array
- include Printer
-end
-class String
- include Printer
-end
-[1,2,3].print_each_element
-"hello".print_each_element
\ No newline at end of file
diff --git a/justin_quiros/module_practice/printer_module.rb b/justin_quiros/module_practice/printer_module.rb
deleted file mode 100644
index fd368c2..0000000
--- a/justin_quiros/module_practice/printer_module.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-module Printer
- def print_each_element
- for i in 0...self.length
- puts self[i]
- end
- end
-end
\ No newline at end of file
diff --git a/justin_quiros/my_app/.gitignore b/justin_quiros/my_app/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/justin_quiros/my_app/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/justin_quiros/my_app/Gemfile b/justin_quiros/my_app/Gemfile
deleted file mode 100644
index a589995..0000000
--- a/justin_quiros/my_app/Gemfile
+++ /dev/null
@@ -1,49 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
-gem 'hirb'
-
diff --git a/justin_quiros/my_app/Gemfile.lock b/justin_quiros/my_app/Gemfile.lock
deleted file mode 100644
index c2e340f..0000000
--- a/justin_quiros/my_app/Gemfile.lock
+++ /dev/null
@@ -1,174 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- bcrypt (3.1.11)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- bcrypt (~> 3.1.7)
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/justin_quiros/my_app/README.rdoc b/justin_quiros/my_app/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/justin_quiros/my_app/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/justin_quiros/my_app/Rakefile b/justin_quiros/my_app/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/justin_quiros/my_app/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/justin_quiros/my_app/app/assets/images/.keep b/justin_quiros/my_app/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/my_app/app/assets/javascripts/application.js b/justin_quiros/my_app/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/justin_quiros/my_app/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/justin_quiros/my_app/app/assets/stylesheets/application.css b/justin_quiros/my_app/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/justin_quiros/my_app/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/justin_quiros/my_app/app/controllers/application_controller.rb b/justin_quiros/my_app/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/justin_quiros/my_app/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/justin_quiros/my_app/app/controllers/concerns/.keep b/justin_quiros/my_app/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/my_app/app/helpers/application_helper.rb b/justin_quiros/my_app/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/justin_quiros/my_app/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/justin_quiros/my_app/app/mailers/.keep b/justin_quiros/my_app/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/my_app/app/models/.keep b/justin_quiros/my_app/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/my_app/app/models/address.rb b/justin_quiros/my_app/app/models/address.rb
deleted file mode 100644
index 2c0c20b..0000000
--- a/justin_quiros/my_app/app/models/address.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-class Address < ActiveRecord::Base
- belongs_to :user
-end
diff --git a/justin_quiros/my_app/app/models/concerns/.keep b/justin_quiros/my_app/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/my_app/app/models/message.rb b/justin_quiros/my_app/app/models/message.rb
deleted file mode 100644
index 2c176a2..0000000
--- a/justin_quiros/my_app/app/models/message.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-class Message < ActiveRecord::Base
- belongs_to :user
-end
diff --git a/justin_quiros/my_app/app/models/user.rb b/justin_quiros/my_app/app/models/user.rb
deleted file mode 100644
index 68e80d1..0000000
--- a/justin_quiros/my_app/app/models/user.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-class User < ActiveRecord::Base
- has_many :messages
- has_one :address
- # def messages
- # User.find_by_sql("SELECT * FROM messages WHERE messages.user_id = #{self.id}")
- # end
-end
diff --git a/justin_quiros/my_app/app/views/layouts/application.html.erb b/justin_quiros/my_app/app/views/layouts/application.html.erb
deleted file mode 100644
index 8b06376..0000000
--- a/justin_quiros/my_app/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- MyApp
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/justin_quiros/my_app/bin/bundle b/justin_quiros/my_app/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/justin_quiros/my_app/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/justin_quiros/my_app/bin/rails b/justin_quiros/my_app/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/justin_quiros/my_app/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/justin_quiros/my_app/bin/rake b/justin_quiros/my_app/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/justin_quiros/my_app/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/justin_quiros/my_app/bin/setup b/justin_quiros/my_app/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/justin_quiros/my_app/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/justin_quiros/my_app/bin/spring b/justin_quiros/my_app/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/justin_quiros/my_app/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/justin_quiros/my_app/config.ru b/justin_quiros/my_app/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/justin_quiros/my_app/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/justin_quiros/my_app/config/application.rb b/justin_quiros/my_app/config/application.rb
deleted file mode 100644
index 7872863..0000000
--- a/justin_quiros/my_app/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module MyApp
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/justin_quiros/my_app/config/boot.rb b/justin_quiros/my_app/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/justin_quiros/my_app/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/justin_quiros/my_app/config/database.yml b/justin_quiros/my_app/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/justin_quiros/my_app/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/justin_quiros/my_app/config/environment.rb b/justin_quiros/my_app/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/justin_quiros/my_app/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/justin_quiros/my_app/config/environments/development.rb b/justin_quiros/my_app/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/justin_quiros/my_app/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/justin_quiros/my_app/config/environments/production.rb b/justin_quiros/my_app/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/justin_quiros/my_app/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/justin_quiros/my_app/config/environments/test.rb b/justin_quiros/my_app/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/justin_quiros/my_app/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/justin_quiros/my_app/config/initializers/assets.rb b/justin_quiros/my_app/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/justin_quiros/my_app/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/justin_quiros/my_app/config/initializers/backtrace_silencers.rb b/justin_quiros/my_app/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/justin_quiros/my_app/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/justin_quiros/my_app/config/initializers/cookies_serializer.rb b/justin_quiros/my_app/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/justin_quiros/my_app/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/justin_quiros/my_app/config/initializers/filter_parameter_logging.rb b/justin_quiros/my_app/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/justin_quiros/my_app/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/justin_quiros/my_app/config/initializers/inflections.rb b/justin_quiros/my_app/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/justin_quiros/my_app/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/justin_quiros/my_app/config/initializers/mime_types.rb b/justin_quiros/my_app/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/justin_quiros/my_app/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/justin_quiros/my_app/config/initializers/session_store.rb b/justin_quiros/my_app/config/initializers/session_store.rb
deleted file mode 100644
index 7bd3bcd..0000000
--- a/justin_quiros/my_app/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_my_app_session'
diff --git a/justin_quiros/my_app/config/initializers/wrap_parameters.rb b/justin_quiros/my_app/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/justin_quiros/my_app/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/justin_quiros/my_app/config/locales/en.yml b/justin_quiros/my_app/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/justin_quiros/my_app/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/justin_quiros/my_app/config/routes.rb b/justin_quiros/my_app/config/routes.rb
deleted file mode 100644
index 3f66539..0000000
--- a/justin_quiros/my_app/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/justin_quiros/my_app/config/secrets.yml b/justin_quiros/my_app/config/secrets.yml
deleted file mode 100644
index cb158cd..0000000
--- a/justin_quiros/my_app/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 32ef5ee11aa6e2a743a9b7647d5098519ee19b35ccd1206f31ebd8703bc35d04f04c1cb19a136941270b7e08cdaa54909f81a38b91b744bb7956f719c1183310
-
-test:
- secret_key_base: 9dba3d9f84303371a92ef9e56d07095e377fc8078a6602d8c59372be666966c72184b83387ac5585f00a3960f49bb207068e5d48a9dce948c29821d3f3f31f6e
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/justin_quiros/my_app/db/migrate/20171129194421_create_users.rb b/justin_quiros/my_app/db/migrate/20171129194421_create_users.rb
deleted file mode 100644
index 36d0b1b..0000000
--- a/justin_quiros/my_app/db/migrate/20171129194421_create_users.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class CreateUsers < ActiveRecord::Migration
- def change
- create_table :users do |t|
- t.string :first_name
- t.string :last_name
-
- t.timestamps null: false
- end
- end
-end
diff --git a/justin_quiros/my_app/db/migrate/20171129200004_create_messages.rb b/justin_quiros/my_app/db/migrate/20171129200004_create_messages.rb
deleted file mode 100644
index 2f88371..0000000
--- a/justin_quiros/my_app/db/migrate/20171129200004_create_messages.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class CreateMessages < ActiveRecord::Migration
- def change
- create_table :messages do |t|
- t.text :content
- t.references :user, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/justin_quiros/my_app/db/migrate/20171129200910_create_addresses.rb b/justin_quiros/my_app/db/migrate/20171129200910_create_addresses.rb
deleted file mode 100644
index f7b2ac0..0000000
--- a/justin_quiros/my_app/db/migrate/20171129200910_create_addresses.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-class CreateAddresses < ActiveRecord::Migration
- def change
- create_table :addresses do |t|
- t.string :street
- t.string :city
- t.string :state
- t.references :user, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/justin_quiros/my_app/db/schema.rb b/justin_quiros/my_app/db/schema.rb
deleted file mode 100644
index d75d2c5..0000000
--- a/justin_quiros/my_app/db/schema.rb
+++ /dev/null
@@ -1,43 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171129200910) do
-
- create_table "addresses", force: :cascade do |t|
- t.string "street"
- t.string "city"
- t.string "state"
- t.integer "user_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "addresses", ["user_id"], name: "index_addresses_on_user_id"
-
- create_table "messages", force: :cascade do |t|
- t.text "content"
- t.integer "user_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "messages", ["user_id"], name: "index_messages_on_user_id"
-
- create_table "users", force: :cascade do |t|
- t.string "first_name"
- t.string "last_name"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/justin_quiros/my_app/db/seeds.rb b/justin_quiros/my_app/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/justin_quiros/my_app/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/justin_quiros/my_app/lib/assets/.keep b/justin_quiros/my_app/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/my_app/lib/tasks/.keep b/justin_quiros/my_app/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/my_app/log/.keep b/justin_quiros/my_app/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/my_app/public/404.html b/justin_quiros/my_app/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/justin_quiros/my_app/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/justin_quiros/my_app/public/422.html b/justin_quiros/my_app/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/justin_quiros/my_app/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/justin_quiros/my_app/public/favicon.ico b/justin_quiros/my_app/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/my_app/public/robots.txt b/justin_quiros/my_app/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/justin_quiros/my_app/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/justin_quiros/my_app/test/controllers/.keep b/justin_quiros/my_app/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/my_app/test/fixtures/.keep b/justin_quiros/my_app/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/my_app/test/fixtures/addresses.yml b/justin_quiros/my_app/test/fixtures/addresses.yml
deleted file mode 100644
index 7207a5c..0000000
--- a/justin_quiros/my_app/test/fixtures/addresses.yml
+++ /dev/null
@@ -1,13 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- street: MyString
- city: MyString
- state: MyString
- user_id:
-
-two:
- street: MyString
- city: MyString
- state: MyString
- user_id:
diff --git a/justin_quiros/my_app/test/fixtures/messages.yml b/justin_quiros/my_app/test/fixtures/messages.yml
deleted file mode 100644
index a5153b6..0000000
--- a/justin_quiros/my_app/test/fixtures/messages.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- content: MyText
- user_id:
-
-two:
- content: MyText
- user_id:
diff --git a/justin_quiros/my_app/test/fixtures/users.yml b/justin_quiros/my_app/test/fixtures/users.yml
deleted file mode 100644
index afdaa6a..0000000
--- a/justin_quiros/my_app/test/fixtures/users.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- first_name: MyString
- last_name: MyString
-
-two:
- first_name: MyString
- last_name: MyString
diff --git a/justin_quiros/my_app/test/helpers/.keep b/justin_quiros/my_app/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/my_app/test/integration/.keep b/justin_quiros/my_app/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/my_app/test/mailers/.keep b/justin_quiros/my_app/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/my_app/test/models/.keep b/justin_quiros/my_app/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/my_app/test/models/address_test.rb b/justin_quiros/my_app/test/models/address_test.rb
deleted file mode 100644
index 44f9f9b..0000000
--- a/justin_quiros/my_app/test/models/address_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class AddressTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/justin_quiros/my_app/test/models/message_test.rb b/justin_quiros/my_app/test/models/message_test.rb
deleted file mode 100644
index 11e5db0..0000000
--- a/justin_quiros/my_app/test/models/message_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class MessageTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/justin_quiros/my_app/test/models/user_test.rb b/justin_quiros/my_app/test/models/user_test.rb
deleted file mode 100644
index 82f61e0..0000000
--- a/justin_quiros/my_app/test/models/user_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class UserTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/justin_quiros/my_app/test/test_helper.rb b/justin_quiros/my_app/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/justin_quiros/my_app/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/justin_quiros/my_app/vendor/assets/javascripts/.keep b/justin_quiros/my_app/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/my_app/vendor/assets/stylesheets/.keep b/justin_quiros/my_app/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/myenumerable.rb b/justin_quiros/myenumerable.rb
deleted file mode 100644
index 67cc61a..0000000
--- a/justin_quiros/myenumerable.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-module MyEnumerable
- def my_each
- for i in 0..self.length
- yield(self[i])
- end
- end
-end
-
-class Array
- include MyEnumerable
-end
-
-[1,2,3,4].my_each { |i| puts i }
-[1,2,3,4].my_each { |i| puts i * 10 }
\ No newline at end of file
diff --git a/justin_quiros/names.rb b/justin_quiros/names.rb
deleted file mode 100644
index 4f6ba40..0000000
--- a/justin_quiros/names.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-a = {first_name: "Michael", last_name: "Choi"}
-b = {first_name: "John", last_name: "Doe"}
-c = {first_name: "Jane", last_name: "Doe"}
-d = {first_name: "James", last_name: "Smith"}
-e = {first_name: "Jennifer", last_name: "Smith"}
-names = [a, b, c, d, e]
-
-p "You have " +names.count.to_s+ " names in the 'names' array."
-
-names.each {|key| puts "The name is '" +key[:first_name]+ " " +key[:last_name]+ "'"}
\ No newline at end of file
diff --git a/justin_quiros/ninja_gold/.gitignore b/justin_quiros/ninja_gold/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/justin_quiros/ninja_gold/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/justin_quiros/ninja_gold/Gemfile b/justin_quiros/ninja_gold/Gemfile
deleted file mode 100644
index 8b11657..0000000
--- a/justin_quiros/ninja_gold/Gemfile
+++ /dev/null
@@ -1,47 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-gem 'hirb'
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
diff --git a/justin_quiros/ninja_gold/Gemfile.lock b/justin_quiros/ninja_gold/Gemfile.lock
deleted file mode 100644
index be50182..0000000
--- a/justin_quiros/ninja_gold/Gemfile.lock
+++ /dev/null
@@ -1,172 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (4.0.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/justin_quiros/ninja_gold/README.rdoc b/justin_quiros/ninja_gold/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/justin_quiros/ninja_gold/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/justin_quiros/ninja_gold/Rakefile b/justin_quiros/ninja_gold/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/justin_quiros/ninja_gold/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/justin_quiros/ninja_gold/app/assets/images/.keep b/justin_quiros/ninja_gold/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/ninja_gold/app/assets/javascripts/application.js b/justin_quiros/ninja_gold/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/justin_quiros/ninja_gold/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/justin_quiros/ninja_gold/app/assets/stylesheets/application.css b/justin_quiros/ninja_gold/app/assets/stylesheets/application.css
deleted file mode 100644
index a101aff..0000000
--- a/justin_quiros/ninja_gold/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
-
-
-.win {
- color: green;
-}
-
-.lose {
- color: red;
-}
-.activity{
- overflow: scroll;
- height: 200px;
- border: solid 2px black;
- width: 400px;
-}
\ No newline at end of file
diff --git a/justin_quiros/ninja_gold/app/assets/stylesheets/rpgs.scss b/justin_quiros/ninja_gold/app/assets/stylesheets/rpgs.scss
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/ninja_gold/app/controllers/application_controller.rb b/justin_quiros/ninja_gold/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/justin_quiros/ninja_gold/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/justin_quiros/ninja_gold/app/controllers/concerns/.keep b/justin_quiros/ninja_gold/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/ninja_gold/app/controllers/rpgs_controller.rb b/justin_quiros/ninja_gold/app/controllers/rpgs_controller.rb
deleted file mode 100644
index fce4c9e..0000000
--- a/justin_quiros/ninja_gold/app/controllers/rpgs_controller.rb
+++ /dev/null
@@ -1,31 +0,0 @@
-class RpgsController < ApplicationController
-
- def index
- session[:gold] ||= 0
- session[:activity] ||= []
- @gold = session[:gold]
- @activities = session[:activity]
-
- end
-
- def win_lose
- if params[:place] == 'farm'
- gold = rand(10..20)
- elsif params[:place] == 'cave'
- gold = rand(5..10)
- elsif params[:place] == 'house'
- gold = rand(2..5)
- elsif params[:place] == 'casino'
- gold = rand(-50..50)
- end
- time = Time.now
-
- if gold > 0
- session[:activity] << "Earned #{gold} golds from the #{params[:place]}! (#{time.strftime('%Y/%m/%d %l:%M %P')})"
- else
- session[:activity] << "Entered a casino and lost #{gold} golds... Ouch. (#{time.strftime('%Y/%m/%d %l:%M %P')})"
- end
- session[:gold] += gold
- redirect_to root_path
- end
-end
diff --git a/justin_quiros/ninja_gold/app/helpers/application_helper.rb b/justin_quiros/ninja_gold/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/justin_quiros/ninja_gold/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/justin_quiros/ninja_gold/app/helpers/rpgs_helper.rb b/justin_quiros/ninja_gold/app/helpers/rpgs_helper.rb
deleted file mode 100644
index d6ff991..0000000
--- a/justin_quiros/ninja_gold/app/helpers/rpgs_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module RpgsHelper
-end
diff --git a/justin_quiros/ninja_gold/app/mailers/.keep b/justin_quiros/ninja_gold/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/ninja_gold/app/models/.keep b/justin_quiros/ninja_gold/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/ninja_gold/app/models/concerns/.keep b/justin_quiros/ninja_gold/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/ninja_gold/app/views/layouts/application.html.erb b/justin_quiros/ninja_gold/app/views/layouts/application.html.erb
deleted file mode 100644
index e17cd6f..0000000
--- a/justin_quiros/ninja_gold/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- NinjaGold
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/justin_quiros/ninja_gold/app/views/rpgs/index.html.erb b/justin_quiros/ninja_gold/app/views/rpgs/index.html.erb
deleted file mode 100644
index 3621b26..0000000
--- a/justin_quiros/ninja_gold/app/views/rpgs/index.html.erb
+++ /dev/null
@@ -1,53 +0,0 @@
-<%= stylesheet_link_tag "application.css" %>
-
-
-
Your Gold: <%= @gold %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Activities:
-
- <% @activities.reverse.each do |activity| %>
- <% if activity.include?("Earned") %>
-
<%= activity %>
- <% else %>
-
<%= activity %>
- <% end %>
- <% end %>
-
-
diff --git a/justin_quiros/ninja_gold/bin/bundle b/justin_quiros/ninja_gold/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/justin_quiros/ninja_gold/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/justin_quiros/ninja_gold/bin/rails b/justin_quiros/ninja_gold/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/justin_quiros/ninja_gold/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/justin_quiros/ninja_gold/bin/rake b/justin_quiros/ninja_gold/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/justin_quiros/ninja_gold/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/justin_quiros/ninja_gold/bin/setup b/justin_quiros/ninja_gold/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/justin_quiros/ninja_gold/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/justin_quiros/ninja_gold/bin/spring b/justin_quiros/ninja_gold/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/justin_quiros/ninja_gold/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/justin_quiros/ninja_gold/config.ru b/justin_quiros/ninja_gold/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/justin_quiros/ninja_gold/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/justin_quiros/ninja_gold/config/application.rb b/justin_quiros/ninja_gold/config/application.rb
deleted file mode 100644
index 6d31756..0000000
--- a/justin_quiros/ninja_gold/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module NinjaGold
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/justin_quiros/ninja_gold/config/boot.rb b/justin_quiros/ninja_gold/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/justin_quiros/ninja_gold/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/justin_quiros/ninja_gold/config/database.yml b/justin_quiros/ninja_gold/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/justin_quiros/ninja_gold/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/justin_quiros/ninja_gold/config/environment.rb b/justin_quiros/ninja_gold/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/justin_quiros/ninja_gold/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/justin_quiros/ninja_gold/config/environments/development.rb b/justin_quiros/ninja_gold/config/environments/development.rb
deleted file mode 100644
index f47eea1..0000000
--- a/justin_quiros/ninja_gold/config/environments/development.rb
+++ /dev/null
@@ -1,47 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Use the below so you don't have to shut down server everytime you make a change in your controller
- config.reload_classes_only_on_change = false
-
- # Use the below to get rid of unwanted text in console
- config.log_level = :warn
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/justin_quiros/ninja_gold/config/environments/production.rb b/justin_quiros/ninja_gold/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/justin_quiros/ninja_gold/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/justin_quiros/ninja_gold/config/environments/test.rb b/justin_quiros/ninja_gold/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/justin_quiros/ninja_gold/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/justin_quiros/ninja_gold/config/initializers/assets.rb b/justin_quiros/ninja_gold/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/justin_quiros/ninja_gold/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/justin_quiros/ninja_gold/config/initializers/backtrace_silencers.rb b/justin_quiros/ninja_gold/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/justin_quiros/ninja_gold/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/justin_quiros/ninja_gold/config/initializers/cookies_serializer.rb b/justin_quiros/ninja_gold/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/justin_quiros/ninja_gold/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/justin_quiros/ninja_gold/config/initializers/filter_parameter_logging.rb b/justin_quiros/ninja_gold/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/justin_quiros/ninja_gold/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/justin_quiros/ninja_gold/config/initializers/inflections.rb b/justin_quiros/ninja_gold/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/justin_quiros/ninja_gold/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/justin_quiros/ninja_gold/config/initializers/mime_types.rb b/justin_quiros/ninja_gold/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/justin_quiros/ninja_gold/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/justin_quiros/ninja_gold/config/initializers/session_store.rb b/justin_quiros/ninja_gold/config/initializers/session_store.rb
deleted file mode 100644
index b6c33d9..0000000
--- a/justin_quiros/ninja_gold/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_ninja_gold_session'
diff --git a/justin_quiros/ninja_gold/config/initializers/wrap_parameters.rb b/justin_quiros/ninja_gold/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/justin_quiros/ninja_gold/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/justin_quiros/ninja_gold/config/locales/en.yml b/justin_quiros/ninja_gold/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/justin_quiros/ninja_gold/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/justin_quiros/ninja_gold/config/routes.rb b/justin_quiros/ninja_gold/config/routes.rb
deleted file mode 100644
index 04c5ff4..0000000
--- a/justin_quiros/ninja_gold/config/routes.rb
+++ /dev/null
@@ -1,65 +0,0 @@
-Rails.application.routes.draw do
- # get 'rpgs/farm'
- # get 'rpgs/cave'
- # get 'rpgs/house'
- # get 'rpgs/casino'
-
- root 'rpgs#index'
-
- post 'gold' => 'rpgs#win_lose'
-
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/justin_quiros/ninja_gold/config/secrets.yml b/justin_quiros/ninja_gold/config/secrets.yml
deleted file mode 100644
index a864b63..0000000
--- a/justin_quiros/ninja_gold/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: c53ac652c2cb6702fe19fedd0aa5df68261cd5661127b98446885a7a9ca7b4e8a74fb3667e7ad0c6a5c4f3cfb616ca9c525f969efe87c512fba3d8bfca56ee14
-
-test:
- secret_key_base: 5d2ce11681d38d02cea7ed3dc31b9fc142cfef1db720c6e08cda16f856b978ffb6c15dc1d5782f6fda42e21aae35c22bf527daed7e54e3c34194fc0fdb30cb29
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/justin_quiros/ninja_gold/db/seeds.rb b/justin_quiros/ninja_gold/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/justin_quiros/ninja_gold/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/justin_quiros/ninja_gold/lib/assets/.keep b/justin_quiros/ninja_gold/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/ninja_gold/lib/tasks/.keep b/justin_quiros/ninja_gold/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/ninja_gold/log/.keep b/justin_quiros/ninja_gold/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/ninja_gold/public/404.html b/justin_quiros/ninja_gold/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/justin_quiros/ninja_gold/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/justin_quiros/ninja_gold/public/422.html b/justin_quiros/ninja_gold/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/justin_quiros/ninja_gold/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/justin_quiros/ninja_gold/public/favicon.ico b/justin_quiros/ninja_gold/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/ninja_gold/public/robots.txt b/justin_quiros/ninja_gold/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/justin_quiros/ninja_gold/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/justin_quiros/ninja_gold/test/controllers/.keep b/justin_quiros/ninja_gold/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/ninja_gold/test/controllers/rpgs_controller_test.rb b/justin_quiros/ninja_gold/test/controllers/rpgs_controller_test.rb
deleted file mode 100644
index 8f884cd..0000000
--- a/justin_quiros/ninja_gold/test/controllers/rpgs_controller_test.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-require 'test_helper'
-
-class RpgsControllerTest < ActionController::TestCase
- test "should get farm" do
- get :farm
- assert_response :success
- end
-
- test "should get cave" do
- get :cave
- assert_response :success
- end
-
- test "should get house" do
- get :house
- assert_response :success
- end
-
- test "should get casino" do
- get :casino
- assert_response :success
- end
-
-end
diff --git a/justin_quiros/ninja_gold/test/fixtures/.keep b/justin_quiros/ninja_gold/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/ninja_gold/test/helpers/.keep b/justin_quiros/ninja_gold/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/ninja_gold/test/integration/.keep b/justin_quiros/ninja_gold/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/ninja_gold/test/mailers/.keep b/justin_quiros/ninja_gold/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/ninja_gold/test/models/.keep b/justin_quiros/ninja_gold/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/ninja_gold/test/test_helper.rb b/justin_quiros/ninja_gold/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/justin_quiros/ninja_gold/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/justin_quiros/ninja_gold/vendor/assets/javascripts/.keep b/justin_quiros/ninja_gold/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/ninja_gold/vendor/assets/stylesheets/.keep b/justin_quiros/ninja_gold/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/optimize/.gitignore b/justin_quiros/optimize/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/justin_quiros/optimize/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/justin_quiros/optimize/Gemfile b/justin_quiros/optimize/Gemfile
deleted file mode 100644
index 732f093..0000000
--- a/justin_quiros/optimize/Gemfile
+++ /dev/null
@@ -1,49 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
-gem 'hirb'
-
diff --git a/justin_quiros/optimize/Gemfile.lock b/justin_quiros/optimize/Gemfile.lock
deleted file mode 100644
index 73114af..0000000
--- a/justin_quiros/optimize/Gemfile.lock
+++ /dev/null
@@ -1,172 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/justin_quiros/optimize/Jerebko b/justin_quiros/optimize/Jerebko
deleted file mode 100644
index 45a7fe5..0000000
--- a/justin_quiros/optimize/Jerebko
+++ /dev/null
@@ -1,230 +0,0 @@
-
- SSUUMMMMAARRYY OOFF LLEESSSS CCOOMMMMAANNDDSS
-
- Commands marked with * may be preceded by a number, _N.
- Notes in parentheses indicate the behavior if _N is given.
- A key preceded by a caret indicates the Ctrl key; thus ^K is ctrl-K.
-
- h H Display this help.
- q :q Q :Q ZZ Exit.
- ---------------------------------------------------------------------------
-
- MMOOVVIINNGG
-
- e ^E j ^N CR * Forward one line (or _N lines).
- y ^Y k ^K ^P * Backward one line (or _N lines).
- f ^F ^V SPACE * Forward one window (or _N lines).
- b ^B ESC-v * Backward one window (or _N lines).
- z * Forward one window (and set window to _N).
- w * Backward one window (and set window to _N).
- ESC-SPACE * Forward one window, but don't stop at end-of-file.
- d ^D * Forward one half-window (and set half-window to _N).
- u ^U * Backward one half-window (and set half-window to _N).
- ESC-) RightArrow * Left one half screen width (or _N positions).
- ESC-( LeftArrow * Right one half screen width (or _N positions).
- F Forward forever; like "tail -f".
- r ^R ^L Repaint screen.
- R Repaint screen, discarding buffered input.
- ---------------------------------------------------
- Default "window" is the screen height.
- Default "half-window" is half of the screen height.
- ---------------------------------------------------------------------------
-
- SSEEAARRCCHHIINNGG
-
- /_p_a_t_t_e_r_n * Search forward for (_N-th) matching line.
- ?_p_a_t_t_e_r_n * Search backward for (_N-th) matching line.
- n * Repeat previous search (for _N-th occurrence).
- N * Repeat previous search in reverse direction.
- ESC-n * Repeat previous search, spanning files.
- ESC-N * Repeat previous search, reverse dir. & spanning files.
- ESC-u Undo (toggle) search highlighting.
- &_p_a_t_t_e_r_n * Display only matching lines
- ---------------------------------------------------
- A search pattern may be preceded by one or more of:
- ^N or ! Search for NON-matching lines.
- ^E or * Search multiple files (pass thru END OF FILE).
- ^F or @ Start search at FIRST file (for /) or last file (for ?).
- ^K Highlight matches, but don't move (KEEP position).
- ^R Don't use REGULAR EXPRESSIONS.
- ---------------------------------------------------------------------------
-
- JJUUMMPPIINNGG
-
- g < ESC-< * Go to first line in file (or line _N).
- G > ESC-> * Go to last line in file (or line _N).
- p % * Go to beginning of file (or _N percent into file).
- t * Go to the (_N-th) next tag.
- T * Go to the (_N-th) previous tag.
- { ( [ * Find close bracket } ) ].
- } ) ] * Find open bracket { ( [.
- ESC-^F _<_c_1_> _<_c_2_> * Find close bracket _<_c_2_>.
- ESC-^B _<_c_1_> _<_c_2_> * Find open bracket _<_c_1_>
- ---------------------------------------------------
- Each "find close bracket" command goes forward to the close bracket
- matching the (_N-th) open bracket in the top line.
- Each "find open bracket" command goes backward to the open bracket
- matching the (_N-th) close bracket in the bottom line.
-
- m_<_l_e_t_t_e_r_> Mark the current position with .
- '_<_l_e_t_t_e_r_> Go to a previously marked position.
- '' Go to the previous position.
- ^X^X Same as '.
- ---------------------------------------------------
- A mark is any upper-case or lower-case letter.
- Certain marks are predefined:
- ^ means beginning of the file
- $ means end of the file
- ---------------------------------------------------------------------------
-
- CCHHAANNGGIINNGG FFIILLEESS
-
- :e [_f_i_l_e] Examine a new file.
- ^X^V Same as :e.
- :n * Examine the (_N-th) next file from the command line.
- :p * Examine the (_N-th) previous file from the command line.
- :x * Examine the first (or _N-th) file from the command line.
- :d Delete the current file from the command line list.
- = ^G :f Print current file name.
- ---------------------------------------------------------------------------
-
- MMIISSCCEELLLLAANNEEOOUUSS CCOOMMMMAANNDDSS
-
- -_<_f_l_a_g_> Toggle a command line option [see OPTIONS below].
- --_<_n_a_m_e_> Toggle a command line option, by name.
- __<_f_l_a_g_> Display the setting of a command line option.
- ___<_n_a_m_e_> Display the setting of an option, by name.
- +_c_m_d Execute the less cmd each time a new file is examined.
-
- !_c_o_m_m_a_n_d Execute the shell command with $SHELL.
- |XX_c_o_m_m_a_n_d Pipe file between current pos & mark XX to shell command.
- v Edit the current file with $VISUAL or $EDITOR.
- V Print version number of "less".
- ---------------------------------------------------------------------------
-
- OOPPTTIIOONNSS
-
- Most options may be changed either on the command line,
- or from within less by using the - or -- command.
- Options may be given in one of two forms: either a single
- character preceded by a -, or a name preceded by --.
-
- -? ........ --help
- Display help (from command line).
- -a ........ --search-skip-screen
- Search skips current screen.
- -A ........ --SEARCH-SKIP-SCREEN
- Search starts just after target line.
- -b [_N] .... --buffers=[_N]
- Number of buffers.
- -B ........ --auto-buffers
- Don't automatically allocate buffers for pipes.
- -c ........ --clear-screen
- Repaint by clearing rather than scrolling.
- -d ........ --dumb
- Dumb terminal.
- -D [_x_n_._n] . --color=_x_n_._n
- Set screen colors. (MS-DOS only)
- -e -E .... --quit-at-eof --QUIT-AT-EOF
- Quit at end of file.
- -f ........ --force
- Force open non-regular files.
- -F ........ --quit-if-one-screen
- Quit if entire file fits on first screen.
- -g ........ --hilite-search
- Highlight only last match for searches.
- -G ........ --HILITE-SEARCH
- Don't highlight any matches for searches.
- -h [_N] .... --max-back-scroll=[_N]
- Backward scroll limit.
- -i ........ --ignore-case
- Ignore case in searches that do not contain uppercase.
- -I ........ --IGNORE-CASE
- Ignore case in all searches.
- -j [_N] .... --jump-target=[_N]
- Screen position of target lines.
- -J ........ --status-column
- Display a status column at left edge of screen.
- -k [_f_i_l_e] . --lesskey-file=[_f_i_l_e]
- Use a lesskey file.
- -K --quit-on-intr
- Exit less in response to ctrl-C.
- -L ........ --no-lessopen
- Ignore the LESSOPEN environment variable.
- -m -M .... --long-prompt --LONG-PROMPT
- Set prompt style.
- -n -N .... --line-numbers --LINE-NUMBERS
- Don't use line numbers.
- -o [_f_i_l_e] . --log-file=[_f_i_l_e]
- Copy to log file (standard input only).
- -O [_f_i_l_e] . --LOG-FILE=[_f_i_l_e]
- Copy to log file (unconditionally overwrite).
- -p [_p_a_t_t_e_r_n] --pattern=[_p_a_t_t_e_r_n]
- Start at pattern (from command line).
- -P [_p_r_o_m_p_t] --prompt=[_p_r_o_m_p_t]
- Define new prompt.
- -q -Q .... --quiet --QUIET --silent --SILENT
- Quiet the terminal bell.
- -r -R .... --raw-control-chars --RAW-CONTROL-CHARS
- Output "raw" control characters.
- -s ........ --squeeze-blank-lines
- Squeeze multiple blank lines.
- -S ........ --chop-long-lines
- Chop (truncate) long lines rather than wrapping.
- -t [_t_a_g] .. --tag=[_t_a_g]
- Find a tag.
- -T [_t_a_g_s_f_i_l_e] --tag-file=[_t_a_g_s_f_i_l_e]
- Use an alternate tags file.
- -u -U .... --underline-special --UNDERLINE-SPECIAL
- Change handling of backspaces.
- -V ........ --version
- Display the version number of "less".
- -w ........ --hilite-unread
- Highlight first new line after forward-screen.
- -W ........ --HILITE-UNREAD
- Highlight first new line after any forward movement.
- -x [_N[,...]] --tabs=[_N[,...]]
- Set tab stops.
- -X ........ --no-init
- Don't use termcap init/deinit strings.
- -y [_N] .... --max-forw-scroll=[_N]
- Forward scroll limit.
- -z [_N] .... --window=[_N]
- Set size of window.
- -" [_c[_c]] . --quotes=[_c[_c]]
- Set shell quote characters.
- -~ ........ --tilde
- Don't display tildes after end of file.
- -# [_N] .... --shift=[_N]
- Horizontal scroll amount (0 = one half screen width)
- ........ --no-keypad
- Don't send termcap keypad init/deinit strings.
- ........ --follow-name
- The F command changes files if the input file is renamed.
-
-
- ---------------------------------------------------------------------------
-
- LLIINNEE EEDDIITTIINNGG
-
- These keys can be used to edit text being entered
- on the "command line" at the bottom of the screen.
-
- RightArrow ESC-l Move cursor right one character.
- LeftArrow ESC-h Move cursor left one character.
- ctrl-RightArrow ESC-RightArrow ESC-w Move cursor right one word.
- ctrl-LeftArrow ESC-LeftArrow ESC-b Move cursor left one word.
- HOME ESC-0 Move cursor to start of line.
- END ESC-$ Move cursor to end of line.
- BACKSPACE Delete char to left of cursor.
- DELETE ESC-x Delete char under cursor.
- ctrl-BACKSPACE ESC-BACKSPACE Delete word to left of cursor.
- ctrl-DELETE ESC-DELETE ESC-X Delete word under cursor.
- ctrl-U ESC (MS-DOS only) Delete entire line.
- UpArrow ESC-k Retrieve previous command line.
- DownArrow ESC-j Retrieve next command line.
- TAB Complete filename & cycle.
- SHIFT-TAB ESC-TAB Complete filename & reverse cycle.
- ctrl-L Complete filename, list all.
-
-
diff --git a/justin_quiros/optimize/McCullough b/justin_quiros/optimize/McCullough
deleted file mode 100644
index 45a7fe5..0000000
--- a/justin_quiros/optimize/McCullough
+++ /dev/null
@@ -1,230 +0,0 @@
-
- SSUUMMMMAARRYY OOFF LLEESSSS CCOOMMMMAANNDDSS
-
- Commands marked with * may be preceded by a number, _N.
- Notes in parentheses indicate the behavior if _N is given.
- A key preceded by a caret indicates the Ctrl key; thus ^K is ctrl-K.
-
- h H Display this help.
- q :q Q :Q ZZ Exit.
- ---------------------------------------------------------------------------
-
- MMOOVVIINNGG
-
- e ^E j ^N CR * Forward one line (or _N lines).
- y ^Y k ^K ^P * Backward one line (or _N lines).
- f ^F ^V SPACE * Forward one window (or _N lines).
- b ^B ESC-v * Backward one window (or _N lines).
- z * Forward one window (and set window to _N).
- w * Backward one window (and set window to _N).
- ESC-SPACE * Forward one window, but don't stop at end-of-file.
- d ^D * Forward one half-window (and set half-window to _N).
- u ^U * Backward one half-window (and set half-window to _N).
- ESC-) RightArrow * Left one half screen width (or _N positions).
- ESC-( LeftArrow * Right one half screen width (or _N positions).
- F Forward forever; like "tail -f".
- r ^R ^L Repaint screen.
- R Repaint screen, discarding buffered input.
- ---------------------------------------------------
- Default "window" is the screen height.
- Default "half-window" is half of the screen height.
- ---------------------------------------------------------------------------
-
- SSEEAARRCCHHIINNGG
-
- /_p_a_t_t_e_r_n * Search forward for (_N-th) matching line.
- ?_p_a_t_t_e_r_n * Search backward for (_N-th) matching line.
- n * Repeat previous search (for _N-th occurrence).
- N * Repeat previous search in reverse direction.
- ESC-n * Repeat previous search, spanning files.
- ESC-N * Repeat previous search, reverse dir. & spanning files.
- ESC-u Undo (toggle) search highlighting.
- &_p_a_t_t_e_r_n * Display only matching lines
- ---------------------------------------------------
- A search pattern may be preceded by one or more of:
- ^N or ! Search for NON-matching lines.
- ^E or * Search multiple files (pass thru END OF FILE).
- ^F or @ Start search at FIRST file (for /) or last file (for ?).
- ^K Highlight matches, but don't move (KEEP position).
- ^R Don't use REGULAR EXPRESSIONS.
- ---------------------------------------------------------------------------
-
- JJUUMMPPIINNGG
-
- g < ESC-< * Go to first line in file (or line _N).
- G > ESC-> * Go to last line in file (or line _N).
- p % * Go to beginning of file (or _N percent into file).
- t * Go to the (_N-th) next tag.
- T * Go to the (_N-th) previous tag.
- { ( [ * Find close bracket } ) ].
- } ) ] * Find open bracket { ( [.
- ESC-^F _<_c_1_> _<_c_2_> * Find close bracket _<_c_2_>.
- ESC-^B _<_c_1_> _<_c_2_> * Find open bracket _<_c_1_>
- ---------------------------------------------------
- Each "find close bracket" command goes forward to the close bracket
- matching the (_N-th) open bracket in the top line.
- Each "find open bracket" command goes backward to the open bracket
- matching the (_N-th) close bracket in the bottom line.
-
- m_<_l_e_t_t_e_r_> Mark the current position with .
- '_<_l_e_t_t_e_r_> Go to a previously marked position.
- '' Go to the previous position.
- ^X^X Same as '.
- ---------------------------------------------------
- A mark is any upper-case or lower-case letter.
- Certain marks are predefined:
- ^ means beginning of the file
- $ means end of the file
- ---------------------------------------------------------------------------
-
- CCHHAANNGGIINNGG FFIILLEESS
-
- :e [_f_i_l_e] Examine a new file.
- ^X^V Same as :e.
- :n * Examine the (_N-th) next file from the command line.
- :p * Examine the (_N-th) previous file from the command line.
- :x * Examine the first (or _N-th) file from the command line.
- :d Delete the current file from the command line list.
- = ^G :f Print current file name.
- ---------------------------------------------------------------------------
-
- MMIISSCCEELLLLAANNEEOOUUSS CCOOMMMMAANNDDSS
-
- -_<_f_l_a_g_> Toggle a command line option [see OPTIONS below].
- --_<_n_a_m_e_> Toggle a command line option, by name.
- __<_f_l_a_g_> Display the setting of a command line option.
- ___<_n_a_m_e_> Display the setting of an option, by name.
- +_c_m_d Execute the less cmd each time a new file is examined.
-
- !_c_o_m_m_a_n_d Execute the shell command with $SHELL.
- |XX_c_o_m_m_a_n_d Pipe file between current pos & mark XX to shell command.
- v Edit the current file with $VISUAL or $EDITOR.
- V Print version number of "less".
- ---------------------------------------------------------------------------
-
- OOPPTTIIOONNSS
-
- Most options may be changed either on the command line,
- or from within less by using the - or -- command.
- Options may be given in one of two forms: either a single
- character preceded by a -, or a name preceded by --.
-
- -? ........ --help
- Display help (from command line).
- -a ........ --search-skip-screen
- Search skips current screen.
- -A ........ --SEARCH-SKIP-SCREEN
- Search starts just after target line.
- -b [_N] .... --buffers=[_N]
- Number of buffers.
- -B ........ --auto-buffers
- Don't automatically allocate buffers for pipes.
- -c ........ --clear-screen
- Repaint by clearing rather than scrolling.
- -d ........ --dumb
- Dumb terminal.
- -D [_x_n_._n] . --color=_x_n_._n
- Set screen colors. (MS-DOS only)
- -e -E .... --quit-at-eof --QUIT-AT-EOF
- Quit at end of file.
- -f ........ --force
- Force open non-regular files.
- -F ........ --quit-if-one-screen
- Quit if entire file fits on first screen.
- -g ........ --hilite-search
- Highlight only last match for searches.
- -G ........ --HILITE-SEARCH
- Don't highlight any matches for searches.
- -h [_N] .... --max-back-scroll=[_N]
- Backward scroll limit.
- -i ........ --ignore-case
- Ignore case in searches that do not contain uppercase.
- -I ........ --IGNORE-CASE
- Ignore case in all searches.
- -j [_N] .... --jump-target=[_N]
- Screen position of target lines.
- -J ........ --status-column
- Display a status column at left edge of screen.
- -k [_f_i_l_e] . --lesskey-file=[_f_i_l_e]
- Use a lesskey file.
- -K --quit-on-intr
- Exit less in response to ctrl-C.
- -L ........ --no-lessopen
- Ignore the LESSOPEN environment variable.
- -m -M .... --long-prompt --LONG-PROMPT
- Set prompt style.
- -n -N .... --line-numbers --LINE-NUMBERS
- Don't use line numbers.
- -o [_f_i_l_e] . --log-file=[_f_i_l_e]
- Copy to log file (standard input only).
- -O [_f_i_l_e] . --LOG-FILE=[_f_i_l_e]
- Copy to log file (unconditionally overwrite).
- -p [_p_a_t_t_e_r_n] --pattern=[_p_a_t_t_e_r_n]
- Start at pattern (from command line).
- -P [_p_r_o_m_p_t] --prompt=[_p_r_o_m_p_t]
- Define new prompt.
- -q -Q .... --quiet --QUIET --silent --SILENT
- Quiet the terminal bell.
- -r -R .... --raw-control-chars --RAW-CONTROL-CHARS
- Output "raw" control characters.
- -s ........ --squeeze-blank-lines
- Squeeze multiple blank lines.
- -S ........ --chop-long-lines
- Chop (truncate) long lines rather than wrapping.
- -t [_t_a_g] .. --tag=[_t_a_g]
- Find a tag.
- -T [_t_a_g_s_f_i_l_e] --tag-file=[_t_a_g_s_f_i_l_e]
- Use an alternate tags file.
- -u -U .... --underline-special --UNDERLINE-SPECIAL
- Change handling of backspaces.
- -V ........ --version
- Display the version number of "less".
- -w ........ --hilite-unread
- Highlight first new line after forward-screen.
- -W ........ --HILITE-UNREAD
- Highlight first new line after any forward movement.
- -x [_N[,...]] --tabs=[_N[,...]]
- Set tab stops.
- -X ........ --no-init
- Don't use termcap init/deinit strings.
- -y [_N] .... --max-forw-scroll=[_N]
- Forward scroll limit.
- -z [_N] .... --window=[_N]
- Set size of window.
- -" [_c[_c]] . --quotes=[_c[_c]]
- Set shell quote characters.
- -~ ........ --tilde
- Don't display tildes after end of file.
- -# [_N] .... --shift=[_N]
- Horizontal scroll amount (0 = one half screen width)
- ........ --no-keypad
- Don't send termcap keypad init/deinit strings.
- ........ --follow-name
- The F command changes files if the input file is renamed.
-
-
- ---------------------------------------------------------------------------
-
- LLIINNEE EEDDIITTIINNGG
-
- These keys can be used to edit text being entered
- on the "command line" at the bottom of the screen.
-
- RightArrow ESC-l Move cursor right one character.
- LeftArrow ESC-h Move cursor left one character.
- ctrl-RightArrow ESC-RightArrow ESC-w Move cursor right one word.
- ctrl-LeftArrow ESC-LeftArrow ESC-b Move cursor left one word.
- HOME ESC-0 Move cursor to start of line.
- END ESC-$ Move cursor to end of line.
- BACKSPACE Delete char to left of cursor.
- DELETE ESC-x Delete char under cursor.
- ctrl-BACKSPACE ESC-BACKSPACE Delete word to left of cursor.
- ctrl-DELETE ESC-DELETE ESC-X Delete word under cursor.
- ctrl-U ESC (MS-DOS only) Delete entire line.
- UpArrow ESC-k Retrieve previous command line.
- DownArrow ESC-j Retrieve next command line.
- TAB Complete filename & cycle.
- SHIFT-TAB ESC-TAB Complete filename & reverse cycle.
- ctrl-L Complete filename, list all.
-
-
diff --git a/justin_quiros/optimize/README.rdoc b/justin_quiros/optimize/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/justin_quiros/optimize/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/justin_quiros/optimize/Rakefile b/justin_quiros/optimize/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/justin_quiros/optimize/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/justin_quiros/optimize/app/assets/images/.keep b/justin_quiros/optimize/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/optimize/app/assets/javascripts/application.js b/justin_quiros/optimize/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/justin_quiros/optimize/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/justin_quiros/optimize/app/assets/stylesheets/application.css b/justin_quiros/optimize/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/justin_quiros/optimize/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/justin_quiros/optimize/app/controllers/application_controller.rb b/justin_quiros/optimize/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/justin_quiros/optimize/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/justin_quiros/optimize/app/controllers/concerns/.keep b/justin_quiros/optimize/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/optimize/app/helpers/application_helper.rb b/justin_quiros/optimize/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/justin_quiros/optimize/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/justin_quiros/optimize/app/mailers/.keep b/justin_quiros/optimize/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/optimize/app/models/.keep b/justin_quiros/optimize/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/optimize/app/models/concerns/.keep b/justin_quiros/optimize/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/optimize/app/models/player.rb b/justin_quiros/optimize/app/models/player.rb
deleted file mode 100644
index b30fdc9..0000000
--- a/justin_quiros/optimize/app/models/player.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-class Player < ActiveRecord::Base
- belongs_to :team
-end
diff --git a/justin_quiros/optimize/app/models/team.rb b/justin_quiros/optimize/app/models/team.rb
deleted file mode 100644
index f5b01c9..0000000
--- a/justin_quiros/optimize/app/models/team.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-class Team < ActiveRecord::Base
- has_many :players
-end
diff --git a/justin_quiros/optimize/app/views/layouts/application.html.erb b/justin_quiros/optimize/app/views/layouts/application.html.erb
deleted file mode 100644
index 7fc9d5f..0000000
--- a/justin_quiros/optimize/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- Optimize
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/justin_quiros/optimize/bin/bundle b/justin_quiros/optimize/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/justin_quiros/optimize/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/justin_quiros/optimize/bin/rails b/justin_quiros/optimize/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/justin_quiros/optimize/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/justin_quiros/optimize/bin/rake b/justin_quiros/optimize/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/justin_quiros/optimize/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/justin_quiros/optimize/bin/setup b/justin_quiros/optimize/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/justin_quiros/optimize/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/justin_quiros/optimize/bin/spring b/justin_quiros/optimize/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/justin_quiros/optimize/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/justin_quiros/optimize/config.ru b/justin_quiros/optimize/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/justin_quiros/optimize/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/justin_quiros/optimize/config/application.rb b/justin_quiros/optimize/config/application.rb
deleted file mode 100644
index 82f8fb1..0000000
--- a/justin_quiros/optimize/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module Optimize
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/justin_quiros/optimize/config/boot.rb b/justin_quiros/optimize/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/justin_quiros/optimize/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/justin_quiros/optimize/config/database.yml b/justin_quiros/optimize/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/justin_quiros/optimize/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/justin_quiros/optimize/config/environment.rb b/justin_quiros/optimize/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/justin_quiros/optimize/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/justin_quiros/optimize/config/environments/development.rb b/justin_quiros/optimize/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/justin_quiros/optimize/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/justin_quiros/optimize/config/environments/production.rb b/justin_quiros/optimize/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/justin_quiros/optimize/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/justin_quiros/optimize/config/environments/test.rb b/justin_quiros/optimize/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/justin_quiros/optimize/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/justin_quiros/optimize/config/initializers/assets.rb b/justin_quiros/optimize/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/justin_quiros/optimize/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/justin_quiros/optimize/config/initializers/backtrace_silencers.rb b/justin_quiros/optimize/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/justin_quiros/optimize/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/justin_quiros/optimize/config/initializers/cookies_serializer.rb b/justin_quiros/optimize/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/justin_quiros/optimize/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/justin_quiros/optimize/config/initializers/filter_parameter_logging.rb b/justin_quiros/optimize/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/justin_quiros/optimize/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/justin_quiros/optimize/config/initializers/inflections.rb b/justin_quiros/optimize/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/justin_quiros/optimize/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/justin_quiros/optimize/config/initializers/mime_types.rb b/justin_quiros/optimize/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/justin_quiros/optimize/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/justin_quiros/optimize/config/initializers/session_store.rb b/justin_quiros/optimize/config/initializers/session_store.rb
deleted file mode 100644
index 7e5d399..0000000
--- a/justin_quiros/optimize/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_optimize_session'
diff --git a/justin_quiros/optimize/config/initializers/wrap_parameters.rb b/justin_quiros/optimize/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/justin_quiros/optimize/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/justin_quiros/optimize/config/locales/en.yml b/justin_quiros/optimize/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/justin_quiros/optimize/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/justin_quiros/optimize/config/routes.rb b/justin_quiros/optimize/config/routes.rb
deleted file mode 100644
index 3f66539..0000000
--- a/justin_quiros/optimize/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/justin_quiros/optimize/config/secrets.yml b/justin_quiros/optimize/config/secrets.yml
deleted file mode 100644
index e95fc2b..0000000
--- a/justin_quiros/optimize/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: e060ebae6cd5a928433a336bdb1233dea11d5848a69ff678d0403b8b32a3b990e7857095f5500c8936c111e320021b74e407f181f3d5aaddc6fe4f0c5d62070e
-
-test:
- secret_key_base: 9d687bbcda3d233e25de3d714e7ba095a582c5ebc57d0c33a0afbceb3e78472836bb66f25a20711c8a6f48e4e513e3c50d5688b83f259c1ffd6205c2c9e1dae3
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/justin_quiros/optimize/db/migrate/20171130145829_create_teams.rb b/justin_quiros/optimize/db/migrate/20171130145829_create_teams.rb
deleted file mode 100644
index 5f7137c..0000000
--- a/justin_quiros/optimize/db/migrate/20171130145829_create_teams.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreateTeams < ActiveRecord::Migration
- def change
- create_table :teams do |t|
- t.string :name
- t.string :mascot
- t.string :stadium
-
- t.timestamps null: false
- end
- end
-end
diff --git a/justin_quiros/optimize/db/migrate/20171130145834_create_players.rb b/justin_quiros/optimize/db/migrate/20171130145834_create_players.rb
deleted file mode 100644
index 9949aad..0000000
--- a/justin_quiros/optimize/db/migrate/20171130145834_create_players.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class CreatePlayers < ActiveRecord::Migration
- def change
- create_table :players do |t|
- t.string :name
- t.references :team, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/justin_quiros/optimize/db/schema.rb b/justin_quiros/optimize/db/schema.rb
deleted file mode 100644
index 422dab0..0000000
--- a/justin_quiros/optimize/db/schema.rb
+++ /dev/null
@@ -1,33 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171130145834) do
-
- create_table "players", force: :cascade do |t|
- t.string "name"
- t.integer "team_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "players", ["team_id"], name: "index_players_on_team_id"
-
- create_table "teams", force: :cascade do |t|
- t.string "name"
- t.string "mascot"
- t.string "stadium"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/justin_quiros/optimize/db/seeds.rb b/justin_quiros/optimize/db/seeds.rb
deleted file mode 100644
index ef67a95..0000000
--- a/justin_quiros/optimize/db/seeds.rb
+++ /dev/null
@@ -1,113 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
-
-# we require 'open-uri' to request the html files
-require 'open-uri'
-teams = [
- ["Atlanta Hawks", "Skyhawk", "Philips Arena"],
- ["Boston Celtics", "Lucky the Leprechaun", "TD Garden"],
- ["Brooklyn Nets", "BrooklyKnight", "Barclays Center"],
- ["Charlotte Hornets", "Hugo the Hornet", "Spectrum Center"],
- ["Chicago Bulls", "Benny the Bull", "United Center"],
- ["Cleveland Cavaliers", "Moondog", "Quicken Loans Arena"],
- ["Dallas Mavericks", "Champ", "American Airlines Center"],
- ["Denver Nuggets", "Rocky the Mountain Lion", "Pepsi Center"],
- ["Detroit Pistons", "Hooper", "The Palace of Auburn Hills"],
- ["Golden State Warriors", "Thunder", "Oracle Arena"],
- ["Houston Rockets", "Clutch", "Toyota Center"],
- ["Indiana Pacers", "Boomer the Panther", "Bankers Life Fieldhouse"],
- ["Los Angeles Clippers", "Chuck", "Staples Center"],
- ["Los Angeles Lakers", "Jack Nicholson", "Staples Center"],
- ["Memphis Grizzlies", "Griz", "FedExForum"],
- ["Miami Heat", "Burnie", "American Airlines Arena"],
- ["Milwaukee Bucks", "Bango", "BMO Harris Bradley Center"],
- ["Minnesota Timberwolves", "Crunch the Wolf", "Target Center"],
- ["New Orleans Pelicans", "Pierre the Pelican", "Smoothie King Center"],
- ["New York Knicks", "Spike Lee", "Madison Square Garden"],
- ["Oklahoma City Thunder", "Rumble the Bison", "Chesapeake Energy Arena"],
- ["Orlando Magic", "Stuff the Magic Dragon", "Amway Center"],
- ["Philadelphia 76ers", "Franklin the Dog", "Wells Fargo Center Philadelphia"],
- ["Phoenix Suns", "The Suns Gorilla", "Talking Stick Resort Arena"],
- ["Portland Trail Blazers", "Blaze the Trail Cat", "Moda Center"],
- ["Sacramento Kings", "Slamson the Lion", "Golden 1 Center"],
- ["San Antonio Spurs", "The Coyote", "AT&T Center"],
- ["Toronto Raptors", "Raptor", "Air Canada Centre"],
- ["Utah Jazz", "Jazz Bear", "Vivint Smart Home Arena"],
- ["Washington Wizards", "G. Wiz", "Verizon Center"]
-]
-# Here, we are using the Nokogiri gem (already comes with Rails), to scrape the ESPN website for the list of players.
-# For more information on Nokogiri, you can go to their documentation or visit http://www.nokogiri.org/
-atlanta_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/atl/atlanta-hawks")).css("td.sortcell")
-boston_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/bos/boston-celtics")).css("td.sortcell")
-brooklyn_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/bkn/brooklyn-nets")).css("td.sortcell")
-charlotte_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/cha/charlotte-hornets")).css("td.sortcell")
-chicago_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/chi/chicago-bulls")).css("td.sortcell")
-cleveland_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/cle/cleveland-cavaliers")).css("td.sortcell")
-dallas_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/dal/dallas-mavericks")).css("td.sortcell")
-denver_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/den/denver-nuggets")).css("td.sortcell")
-detroit_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/det/detroit-pistons")).css("td.sortcell")
-warriors_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/gs/golden-state-warriors")).css("td.sortcell")
-houston_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/hou/houston-rockets")).css("td.sortcell")
-indiana_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/ind/indiana-pacers")).css("td.sortcell")
-clippers_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/lac/la-clippers")).css("td.sortcell")
-lakers_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/lal/los-angeles-lakers")).css("td.sortcell")
-memphis_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/mem/memphis-grizzlies")).css("td.sortcell")
-miami_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/mia/miami-heat")).css("td.sortcell")
-milwaukee_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/mil/milwaukee-bucks")).css("td.sortcell")
-minnesota_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/min/minnesota-timberwolves")).css("td.sortcell")
-nola_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/no/new-orleans-pelicans")).css("td.sortcell")
-knicks_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/ny/new-york-knicks")).css("td.sortcell")
-okc_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/okc/oklahoma-city-thunder")).css("td.sortcell")
-orlando_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/orl/orlando-magic")).css("td.sortcell")
-phili_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/phi/philadelphia-76ers")).css("td.sortcell")
-phoenix_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/phx/phoenix-suns")).css("td.sortcell")
-portland_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/por/portland-trail-blazers")).css("td.sortcell")
-sacramento_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/sac/sacramento-kings")).css("td.sortcell")
-spurs_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/sa/san-antonio-spurs")).css("td.sortcell")
-toronto_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/tor/toronto-raptors")).css("td.sortcell")
-utah_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/utah/utah-jazz")).css("td.sortcell")
-washington_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/wsh/washington-wizards")).css("td.sortcell")
-players = [
- atlanta_players,
- boston_players,
- brooklyn_players,
- charlotte_players,
- chicago_players,
- cleveland_players,
- dallas_players,
- denver_players,
- detroit_players,
- warriors_players,
- houston_players,
- indiana_players,
- clippers_players,
- lakers_players,
- memphis_players,
- miami_players,
- milwaukee_players,
- minnesota_players,
- nola_players,
- knicks_players,
- okc_players,
- orlando_players,
- phili_players,
- phoenix_players,
- portland_players,
- sacramento_players,
- spurs_players,
- toronto_players,
- utah_players,
- washington_players
-]
-players.each_with_index do |roster, index|
- Team.create(name: teams[index][0], mascot: teams[index][1], stadium: teams[index][2])
- roster.each do |player|
- Team.last.players.create(name: player.text)
- end
-end
-
diff --git a/justin_quiros/optimize/lib/assets/.keep b/justin_quiros/optimize/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/optimize/lib/tasks/.keep b/justin_quiros/optimize/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/optimize/log/.keep b/justin_quiros/optimize/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/optimize/oJ|21|Magette | 1 | 2017-11-30 15:01:51 UTC | 2017-11-30 15:01:51 UTC | b/justin_quiros/optimize/oJ|21|Magette | 1 | 2017-11-30 15:01:51 UTC | 2017-11-30 15:01:51 UTC |
deleted file mode 100644
index 45a7fe5..0000000
--- a/justin_quiros/optimize/oJ|21|Magette | 1 | 2017-11-30 15:01:51 UTC | 2017-11-30 15:01:51 UTC |
+++ /dev/null
@@ -1,230 +0,0 @@
-
- SSUUMMMMAARRYY OOFF LLEESSSS CCOOMMMMAANNDDSS
-
- Commands marked with * may be preceded by a number, _N.
- Notes in parentheses indicate the behavior if _N is given.
- A key preceded by a caret indicates the Ctrl key; thus ^K is ctrl-K.
-
- h H Display this help.
- q :q Q :Q ZZ Exit.
- ---------------------------------------------------------------------------
-
- MMOOVVIINNGG
-
- e ^E j ^N CR * Forward one line (or _N lines).
- y ^Y k ^K ^P * Backward one line (or _N lines).
- f ^F ^V SPACE * Forward one window (or _N lines).
- b ^B ESC-v * Backward one window (or _N lines).
- z * Forward one window (and set window to _N).
- w * Backward one window (and set window to _N).
- ESC-SPACE * Forward one window, but don't stop at end-of-file.
- d ^D * Forward one half-window (and set half-window to _N).
- u ^U * Backward one half-window (and set half-window to _N).
- ESC-) RightArrow * Left one half screen width (or _N positions).
- ESC-( LeftArrow * Right one half screen width (or _N positions).
- F Forward forever; like "tail -f".
- r ^R ^L Repaint screen.
- R Repaint screen, discarding buffered input.
- ---------------------------------------------------
- Default "window" is the screen height.
- Default "half-window" is half of the screen height.
- ---------------------------------------------------------------------------
-
- SSEEAARRCCHHIINNGG
-
- /_p_a_t_t_e_r_n * Search forward for (_N-th) matching line.
- ?_p_a_t_t_e_r_n * Search backward for (_N-th) matching line.
- n * Repeat previous search (for _N-th occurrence).
- N * Repeat previous search in reverse direction.
- ESC-n * Repeat previous search, spanning files.
- ESC-N * Repeat previous search, reverse dir. & spanning files.
- ESC-u Undo (toggle) search highlighting.
- &_p_a_t_t_e_r_n * Display only matching lines
- ---------------------------------------------------
- A search pattern may be preceded by one or more of:
- ^N or ! Search for NON-matching lines.
- ^E or * Search multiple files (pass thru END OF FILE).
- ^F or @ Start search at FIRST file (for /) or last file (for ?).
- ^K Highlight matches, but don't move (KEEP position).
- ^R Don't use REGULAR EXPRESSIONS.
- ---------------------------------------------------------------------------
-
- JJUUMMPPIINNGG
-
- g < ESC-< * Go to first line in file (or line _N).
- G > ESC-> * Go to last line in file (or line _N).
- p % * Go to beginning of file (or _N percent into file).
- t * Go to the (_N-th) next tag.
- T * Go to the (_N-th) previous tag.
- { ( [ * Find close bracket } ) ].
- } ) ] * Find open bracket { ( [.
- ESC-^F _<_c_1_> _<_c_2_> * Find close bracket _<_c_2_>.
- ESC-^B _<_c_1_> _<_c_2_> * Find open bracket _<_c_1_>
- ---------------------------------------------------
- Each "find close bracket" command goes forward to the close bracket
- matching the (_N-th) open bracket in the top line.
- Each "find open bracket" command goes backward to the open bracket
- matching the (_N-th) close bracket in the bottom line.
-
- m_<_l_e_t_t_e_r_> Mark the current position with .
- '_<_l_e_t_t_e_r_> Go to a previously marked position.
- '' Go to the previous position.
- ^X^X Same as '.
- ---------------------------------------------------
- A mark is any upper-case or lower-case letter.
- Certain marks are predefined:
- ^ means beginning of the file
- $ means end of the file
- ---------------------------------------------------------------------------
-
- CCHHAANNGGIINNGG FFIILLEESS
-
- :e [_f_i_l_e] Examine a new file.
- ^X^V Same as :e.
- :n * Examine the (_N-th) next file from the command line.
- :p * Examine the (_N-th) previous file from the command line.
- :x * Examine the first (or _N-th) file from the command line.
- :d Delete the current file from the command line list.
- = ^G :f Print current file name.
- ---------------------------------------------------------------------------
-
- MMIISSCCEELLLLAANNEEOOUUSS CCOOMMMMAANNDDSS
-
- -_<_f_l_a_g_> Toggle a command line option [see OPTIONS below].
- --_<_n_a_m_e_> Toggle a command line option, by name.
- __<_f_l_a_g_> Display the setting of a command line option.
- ___<_n_a_m_e_> Display the setting of an option, by name.
- +_c_m_d Execute the less cmd each time a new file is examined.
-
- !_c_o_m_m_a_n_d Execute the shell command with $SHELL.
- |XX_c_o_m_m_a_n_d Pipe file between current pos & mark XX to shell command.
- v Edit the current file with $VISUAL or $EDITOR.
- V Print version number of "less".
- ---------------------------------------------------------------------------
-
- OOPPTTIIOONNSS
-
- Most options may be changed either on the command line,
- or from within less by using the - or -- command.
- Options may be given in one of two forms: either a single
- character preceded by a -, or a name preceded by --.
-
- -? ........ --help
- Display help (from command line).
- -a ........ --search-skip-screen
- Search skips current screen.
- -A ........ --SEARCH-SKIP-SCREEN
- Search starts just after target line.
- -b [_N] .... --buffers=[_N]
- Number of buffers.
- -B ........ --auto-buffers
- Don't automatically allocate buffers for pipes.
- -c ........ --clear-screen
- Repaint by clearing rather than scrolling.
- -d ........ --dumb
- Dumb terminal.
- -D [_x_n_._n] . --color=_x_n_._n
- Set screen colors. (MS-DOS only)
- -e -E .... --quit-at-eof --QUIT-AT-EOF
- Quit at end of file.
- -f ........ --force
- Force open non-regular files.
- -F ........ --quit-if-one-screen
- Quit if entire file fits on first screen.
- -g ........ --hilite-search
- Highlight only last match for searches.
- -G ........ --HILITE-SEARCH
- Don't highlight any matches for searches.
- -h [_N] .... --max-back-scroll=[_N]
- Backward scroll limit.
- -i ........ --ignore-case
- Ignore case in searches that do not contain uppercase.
- -I ........ --IGNORE-CASE
- Ignore case in all searches.
- -j [_N] .... --jump-target=[_N]
- Screen position of target lines.
- -J ........ --status-column
- Display a status column at left edge of screen.
- -k [_f_i_l_e] . --lesskey-file=[_f_i_l_e]
- Use a lesskey file.
- -K --quit-on-intr
- Exit less in response to ctrl-C.
- -L ........ --no-lessopen
- Ignore the LESSOPEN environment variable.
- -m -M .... --long-prompt --LONG-PROMPT
- Set prompt style.
- -n -N .... --line-numbers --LINE-NUMBERS
- Don't use line numbers.
- -o [_f_i_l_e] . --log-file=[_f_i_l_e]
- Copy to log file (standard input only).
- -O [_f_i_l_e] . --LOG-FILE=[_f_i_l_e]
- Copy to log file (unconditionally overwrite).
- -p [_p_a_t_t_e_r_n] --pattern=[_p_a_t_t_e_r_n]
- Start at pattern (from command line).
- -P [_p_r_o_m_p_t] --prompt=[_p_r_o_m_p_t]
- Define new prompt.
- -q -Q .... --quiet --QUIET --silent --SILENT
- Quiet the terminal bell.
- -r -R .... --raw-control-chars --RAW-CONTROL-CHARS
- Output "raw" control characters.
- -s ........ --squeeze-blank-lines
- Squeeze multiple blank lines.
- -S ........ --chop-long-lines
- Chop (truncate) long lines rather than wrapping.
- -t [_t_a_g] .. --tag=[_t_a_g]
- Find a tag.
- -T [_t_a_g_s_f_i_l_e] --tag-file=[_t_a_g_s_f_i_l_e]
- Use an alternate tags file.
- -u -U .... --underline-special --UNDERLINE-SPECIAL
- Change handling of backspaces.
- -V ........ --version
- Display the version number of "less".
- -w ........ --hilite-unread
- Highlight first new line after forward-screen.
- -W ........ --HILITE-UNREAD
- Highlight first new line after any forward movement.
- -x [_N[,...]] --tabs=[_N[,...]]
- Set tab stops.
- -X ........ --no-init
- Don't use termcap init/deinit strings.
- -y [_N] .... --max-forw-scroll=[_N]
- Forward scroll limit.
- -z [_N] .... --window=[_N]
- Set size of window.
- -" [_c[_c]] . --quotes=[_c[_c]]
- Set shell quote characters.
- -~ ........ --tilde
- Don't display tildes after end of file.
- -# [_N] .... --shift=[_N]
- Horizontal scroll amount (0 = one half screen width)
- ........ --no-keypad
- Don't send termcap keypad init/deinit strings.
- ........ --follow-name
- The F command changes files if the input file is renamed.
-
-
- ---------------------------------------------------------------------------
-
- LLIINNEE EEDDIITTIINNGG
-
- These keys can be used to edit text being entered
- on the "command line" at the bottom of the screen.
-
- RightArrow ESC-l Move cursor right one character.
- LeftArrow ESC-h Move cursor left one character.
- ctrl-RightArrow ESC-RightArrow ESC-w Move cursor right one word.
- ctrl-LeftArrow ESC-LeftArrow ESC-b Move cursor left one word.
- HOME ESC-0 Move cursor to start of line.
- END ESC-$ Move cursor to end of line.
- BACKSPACE Delete char to left of cursor.
- DELETE ESC-x Delete char under cursor.
- ctrl-BACKSPACE ESC-BACKSPACE Delete word to left of cursor.
- ctrl-DELETE ESC-DELETE ESC-X Delete word under cursor.
- ctrl-U ESC (MS-DOS only) Delete entire line.
- UpArrow ESC-k Retrieve previous command line.
- DownArrow ESC-j Retrieve next command line.
- TAB Complete filename & cycle.
- SHIFT-TAB ESC-TAB Complete filename & reverse cycle.
- ctrl-L Complete filename, list all.
-
-
diff --git a/justin_quiros/optimize/on the Lion b/justin_quiros/optimize/on the Lion
deleted file mode 100644
index 45a7fe5..0000000
--- a/justin_quiros/optimize/on the Lion
+++ /dev/null
@@ -1,230 +0,0 @@
-
- SSUUMMMMAARRYY OOFF LLEESSSS CCOOMMMMAANNDDSS
-
- Commands marked with * may be preceded by a number, _N.
- Notes in parentheses indicate the behavior if _N is given.
- A key preceded by a caret indicates the Ctrl key; thus ^K is ctrl-K.
-
- h H Display this help.
- q :q Q :Q ZZ Exit.
- ---------------------------------------------------------------------------
-
- MMOOVVIINNGG
-
- e ^E j ^N CR * Forward one line (or _N lines).
- y ^Y k ^K ^P * Backward one line (or _N lines).
- f ^F ^V SPACE * Forward one window (or _N lines).
- b ^B ESC-v * Backward one window (or _N lines).
- z * Forward one window (and set window to _N).
- w * Backward one window (and set window to _N).
- ESC-SPACE * Forward one window, but don't stop at end-of-file.
- d ^D * Forward one half-window (and set half-window to _N).
- u ^U * Backward one half-window (and set half-window to _N).
- ESC-) RightArrow * Left one half screen width (or _N positions).
- ESC-( LeftArrow * Right one half screen width (or _N positions).
- F Forward forever; like "tail -f".
- r ^R ^L Repaint screen.
- R Repaint screen, discarding buffered input.
- ---------------------------------------------------
- Default "window" is the screen height.
- Default "half-window" is half of the screen height.
- ---------------------------------------------------------------------------
-
- SSEEAARRCCHHIINNGG
-
- /_p_a_t_t_e_r_n * Search forward for (_N-th) matching line.
- ?_p_a_t_t_e_r_n * Search backward for (_N-th) matching line.
- n * Repeat previous search (for _N-th occurrence).
- N * Repeat previous search in reverse direction.
- ESC-n * Repeat previous search, spanning files.
- ESC-N * Repeat previous search, reverse dir. & spanning files.
- ESC-u Undo (toggle) search highlighting.
- &_p_a_t_t_e_r_n * Display only matching lines
- ---------------------------------------------------
- A search pattern may be preceded by one or more of:
- ^N or ! Search for NON-matching lines.
- ^E or * Search multiple files (pass thru END OF FILE).
- ^F or @ Start search at FIRST file (for /) or last file (for ?).
- ^K Highlight matches, but don't move (KEEP position).
- ^R Don't use REGULAR EXPRESSIONS.
- ---------------------------------------------------------------------------
-
- JJUUMMPPIINNGG
-
- g < ESC-< * Go to first line in file (or line _N).
- G > ESC-> * Go to last line in file (or line _N).
- p % * Go to beginning of file (or _N percent into file).
- t * Go to the (_N-th) next tag.
- T * Go to the (_N-th) previous tag.
- { ( [ * Find close bracket } ) ].
- } ) ] * Find open bracket { ( [.
- ESC-^F _<_c_1_> _<_c_2_> * Find close bracket _<_c_2_>.
- ESC-^B _<_c_1_> _<_c_2_> * Find open bracket _<_c_1_>
- ---------------------------------------------------
- Each "find close bracket" command goes forward to the close bracket
- matching the (_N-th) open bracket in the top line.
- Each "find open bracket" command goes backward to the open bracket
- matching the (_N-th) close bracket in the bottom line.
-
- m_<_l_e_t_t_e_r_> Mark the current position with .
- '_<_l_e_t_t_e_r_> Go to a previously marked position.
- '' Go to the previous position.
- ^X^X Same as '.
- ---------------------------------------------------
- A mark is any upper-case or lower-case letter.
- Certain marks are predefined:
- ^ means beginning of the file
- $ means end of the file
- ---------------------------------------------------------------------------
-
- CCHHAANNGGIINNGG FFIILLEESS
-
- :e [_f_i_l_e] Examine a new file.
- ^X^V Same as :e.
- :n * Examine the (_N-th) next file from the command line.
- :p * Examine the (_N-th) previous file from the command line.
- :x * Examine the first (or _N-th) file from the command line.
- :d Delete the current file from the command line list.
- = ^G :f Print current file name.
- ---------------------------------------------------------------------------
-
- MMIISSCCEELLLLAANNEEOOUUSS CCOOMMMMAANNDDSS
-
- -_<_f_l_a_g_> Toggle a command line option [see OPTIONS below].
- --_<_n_a_m_e_> Toggle a command line option, by name.
- __<_f_l_a_g_> Display the setting of a command line option.
- ___<_n_a_m_e_> Display the setting of an option, by name.
- +_c_m_d Execute the less cmd each time a new file is examined.
-
- !_c_o_m_m_a_n_d Execute the shell command with $SHELL.
- |XX_c_o_m_m_a_n_d Pipe file between current pos & mark XX to shell command.
- v Edit the current file with $VISUAL or $EDITOR.
- V Print version number of "less".
- ---------------------------------------------------------------------------
-
- OOPPTTIIOONNSS
-
- Most options may be changed either on the command line,
- or from within less by using the - or -- command.
- Options may be given in one of two forms: either a single
- character preceded by a -, or a name preceded by --.
-
- -? ........ --help
- Display help (from command line).
- -a ........ --search-skip-screen
- Search skips current screen.
- -A ........ --SEARCH-SKIP-SCREEN
- Search starts just after target line.
- -b [_N] .... --buffers=[_N]
- Number of buffers.
- -B ........ --auto-buffers
- Don't automatically allocate buffers for pipes.
- -c ........ --clear-screen
- Repaint by clearing rather than scrolling.
- -d ........ --dumb
- Dumb terminal.
- -D [_x_n_._n] . --color=_x_n_._n
- Set screen colors. (MS-DOS only)
- -e -E .... --quit-at-eof --QUIT-AT-EOF
- Quit at end of file.
- -f ........ --force
- Force open non-regular files.
- -F ........ --quit-if-one-screen
- Quit if entire file fits on first screen.
- -g ........ --hilite-search
- Highlight only last match for searches.
- -G ........ --HILITE-SEARCH
- Don't highlight any matches for searches.
- -h [_N] .... --max-back-scroll=[_N]
- Backward scroll limit.
- -i ........ --ignore-case
- Ignore case in searches that do not contain uppercase.
- -I ........ --IGNORE-CASE
- Ignore case in all searches.
- -j [_N] .... --jump-target=[_N]
- Screen position of target lines.
- -J ........ --status-column
- Display a status column at left edge of screen.
- -k [_f_i_l_e] . --lesskey-file=[_f_i_l_e]
- Use a lesskey file.
- -K --quit-on-intr
- Exit less in response to ctrl-C.
- -L ........ --no-lessopen
- Ignore the LESSOPEN environment variable.
- -m -M .... --long-prompt --LONG-PROMPT
- Set prompt style.
- -n -N .... --line-numbers --LINE-NUMBERS
- Don't use line numbers.
- -o [_f_i_l_e] . --log-file=[_f_i_l_e]
- Copy to log file (standard input only).
- -O [_f_i_l_e] . --LOG-FILE=[_f_i_l_e]
- Copy to log file (unconditionally overwrite).
- -p [_p_a_t_t_e_r_n] --pattern=[_p_a_t_t_e_r_n]
- Start at pattern (from command line).
- -P [_p_r_o_m_p_t] --prompt=[_p_r_o_m_p_t]
- Define new prompt.
- -q -Q .... --quiet --QUIET --silent --SILENT
- Quiet the terminal bell.
- -r -R .... --raw-control-chars --RAW-CONTROL-CHARS
- Output "raw" control characters.
- -s ........ --squeeze-blank-lines
- Squeeze multiple blank lines.
- -S ........ --chop-long-lines
- Chop (truncate) long lines rather than wrapping.
- -t [_t_a_g] .. --tag=[_t_a_g]
- Find a tag.
- -T [_t_a_g_s_f_i_l_e] --tag-file=[_t_a_g_s_f_i_l_e]
- Use an alternate tags file.
- -u -U .... --underline-special --UNDERLINE-SPECIAL
- Change handling of backspaces.
- -V ........ --version
- Display the version number of "less".
- -w ........ --hilite-unread
- Highlight first new line after forward-screen.
- -W ........ --HILITE-UNREAD
- Highlight first new line after any forward movement.
- -x [_N[,...]] --tabs=[_N[,...]]
- Set tab stops.
- -X ........ --no-init
- Don't use termcap init/deinit strings.
- -y [_N] .... --max-forw-scroll=[_N]
- Forward scroll limit.
- -z [_N] .... --window=[_N]
- Set size of window.
- -" [_c[_c]] . --quotes=[_c[_c]]
- Set shell quote characters.
- -~ ........ --tilde
- Don't display tildes after end of file.
- -# [_N] .... --shift=[_N]
- Horizontal scroll amount (0 = one half screen width)
- ........ --no-keypad
- Don't send termcap keypad init/deinit strings.
- ........ --follow-name
- The F command changes files if the input file is renamed.
-
-
- ---------------------------------------------------------------------------
-
- LLIINNEE EEDDIITTIINNGG
-
- These keys can be used to edit text being entered
- on the "command line" at the bottom of the screen.
-
- RightArrow ESC-l Move cursor right one character.
- LeftArrow ESC-h Move cursor left one character.
- ctrl-RightArrow ESC-RightArrow ESC-w Move cursor right one word.
- ctrl-LeftArrow ESC-LeftArrow ESC-b Move cursor left one word.
- HOME ESC-0 Move cursor to start of line.
- END ESC-$ Move cursor to end of line.
- BACKSPACE Delete char to left of cursor.
- DELETE ESC-x Delete char under cursor.
- ctrl-BACKSPACE ESC-BACKSPACE Delete word to left of cursor.
- ctrl-DELETE ESC-DELETE ESC-X Delete word under cursor.
- ctrl-U ESC (MS-DOS only) Delete entire line.
- UpArrow ESC-k Retrieve previous command line.
- DownArrow ESC-j Retrieve next command line.
- TAB Complete filename & cycle.
- SHIFT-TAB ESC-TAB Complete filename & reverse cycle.
- ctrl-L Complete filename, list all.
-
-
diff --git a/justin_quiros/optimize/public/404.html b/justin_quiros/optimize/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/justin_quiros/optimize/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/justin_quiros/optimize/public/422.html b/justin_quiros/optimize/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/justin_quiros/optimize/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/justin_quiros/orm_practice/public/favicon.ico b/justin_quiros/orm_practice/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/orm_practice/public/robots.txt b/justin_quiros/orm_practice/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/justin_quiros/orm_practice/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/justin_quiros/orm_practice/test/controllers/.keep b/justin_quiros/orm_practice/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/orm_practice/test/fixtures/.keep b/justin_quiros/orm_practice/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/orm_practice/test/fixtures/users.yml b/justin_quiros/orm_practice/test/fixtures/users.yml
deleted file mode 100644
index 1b24932..0000000
--- a/justin_quiros/orm_practice/test/fixtures/users.yml
+++ /dev/null
@@ -1,15 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- first_name: MyString
- last_name: MyString
- email: MyString
- password: MyString
- age: 1
-
-two:
- first_name: MyString
- last_name: MyString
- email: MyString
- password: MyString
- age: 1
diff --git a/justin_quiros/orm_practice/test/helpers/.keep b/justin_quiros/orm_practice/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/orm_practice/test/integration/.keep b/justin_quiros/orm_practice/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/orm_practice/test/mailers/.keep b/justin_quiros/orm_practice/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/orm_practice/test/models/.keep b/justin_quiros/orm_practice/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/orm_practice/test/models/user_test.rb b/justin_quiros/orm_practice/test/models/user_test.rb
deleted file mode 100644
index 82f61e0..0000000
--- a/justin_quiros/orm_practice/test/models/user_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class UserTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/justin_quiros/orm_practice/test/test_helper.rb b/justin_quiros/orm_practice/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/justin_quiros/orm_practice/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/justin_quiros/orm_practice/vendor/assets/javascripts/.keep b/justin_quiros/orm_practice/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/orm_practice/vendor/assets/stylesheets/.keep b/justin_quiros/orm_practice/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/poly/.gitignore b/justin_quiros/poly/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/justin_quiros/poly/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/justin_quiros/poly/Gemfile b/justin_quiros/poly/Gemfile
deleted file mode 100644
index 732f093..0000000
--- a/justin_quiros/poly/Gemfile
+++ /dev/null
@@ -1,49 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
-gem 'hirb'
-
diff --git a/justin_quiros/poly/Gemfile.lock b/justin_quiros/poly/Gemfile.lock
deleted file mode 100644
index 73114af..0000000
--- a/justin_quiros/poly/Gemfile.lock
+++ /dev/null
@@ -1,172 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/justin_quiros/poly/README.rdoc b/justin_quiros/poly/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/justin_quiros/poly/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/justin_quiros/poly/Rakefile b/justin_quiros/poly/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/justin_quiros/poly/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/justin_quiros/poly/app/assets/images/.keep b/justin_quiros/poly/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/poly/app/assets/javascripts/application.js b/justin_quiros/poly/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/justin_quiros/poly/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/justin_quiros/poly/app/assets/stylesheets/application.css b/justin_quiros/poly/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/justin_quiros/poly/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/justin_quiros/poly/app/controllers/application_controller.rb b/justin_quiros/poly/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/justin_quiros/poly/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/justin_quiros/poly/app/controllers/concerns/.keep b/justin_quiros/poly/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/poly/app/helpers/application_helper.rb b/justin_quiros/poly/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/justin_quiros/poly/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/justin_quiros/poly/app/mailers/.keep b/justin_quiros/poly/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/poly/app/models/.keep b/justin_quiros/poly/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/poly/app/models/concerns/.keep b/justin_quiros/poly/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/poly/app/models/employee.rb b/justin_quiros/poly/app/models/employee.rb
deleted file mode 100644
index 214b42e..0000000
--- a/justin_quiros/poly/app/models/employee.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-class Employee < ActiveRecord::Base
- has_many :pictures, as: :imageable
-end
diff --git a/justin_quiros/poly/app/models/picture.rb b/justin_quiros/poly/app/models/picture.rb
deleted file mode 100644
index 72a71a9..0000000
--- a/justin_quiros/poly/app/models/picture.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-class Picture < ActiveRecord::Base
- belongs_to :imageable, polymorphic: true
-end
diff --git a/justin_quiros/poly/app/models/product.rb b/justin_quiros/poly/app/models/product.rb
deleted file mode 100644
index b714a02..0000000
--- a/justin_quiros/poly/app/models/product.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-class Product < ActiveRecord::Base
- has_many :pictures, as: :imageable
-end
diff --git a/justin_quiros/poly/app/views/layouts/application.html.erb b/justin_quiros/poly/app/views/layouts/application.html.erb
deleted file mode 100644
index ef2917a..0000000
--- a/justin_quiros/poly/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- Poly
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/justin_quiros/poly/bin/bundle b/justin_quiros/poly/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/justin_quiros/poly/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/justin_quiros/poly/bin/rails b/justin_quiros/poly/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/justin_quiros/poly/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/justin_quiros/poly/bin/rake b/justin_quiros/poly/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/justin_quiros/poly/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/justin_quiros/poly/bin/setup b/justin_quiros/poly/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/justin_quiros/poly/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/justin_quiros/poly/bin/spring b/justin_quiros/poly/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/justin_quiros/poly/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/justin_quiros/poly/config.ru b/justin_quiros/poly/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/justin_quiros/poly/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/justin_quiros/poly/config/application.rb b/justin_quiros/poly/config/application.rb
deleted file mode 100644
index dc125b0..0000000
--- a/justin_quiros/poly/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module Poly
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/justin_quiros/poly/config/boot.rb b/justin_quiros/poly/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/justin_quiros/poly/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/justin_quiros/poly/config/database.yml b/justin_quiros/poly/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/justin_quiros/poly/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/justin_quiros/poly/config/environment.rb b/justin_quiros/poly/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/justin_quiros/poly/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/justin_quiros/poly/config/environments/development.rb b/justin_quiros/poly/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/justin_quiros/poly/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/justin_quiros/poly/config/environments/production.rb b/justin_quiros/poly/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/justin_quiros/poly/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/justin_quiros/poly/config/environments/test.rb b/justin_quiros/poly/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/justin_quiros/poly/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/justin_quiros/poly/config/initializers/assets.rb b/justin_quiros/poly/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/justin_quiros/poly/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/justin_quiros/poly/config/initializers/backtrace_silencers.rb b/justin_quiros/poly/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/justin_quiros/poly/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/justin_quiros/poly/config/initializers/cookies_serializer.rb b/justin_quiros/poly/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/justin_quiros/poly/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/justin_quiros/poly/config/initializers/filter_parameter_logging.rb b/justin_quiros/poly/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/justin_quiros/poly/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/justin_quiros/poly/config/initializers/inflections.rb b/justin_quiros/poly/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/justin_quiros/poly/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/justin_quiros/poly/config/initializers/mime_types.rb b/justin_quiros/poly/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/justin_quiros/poly/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/justin_quiros/poly/config/initializers/session_store.rb b/justin_quiros/poly/config/initializers/session_store.rb
deleted file mode 100644
index 69452fb..0000000
--- a/justin_quiros/poly/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_poly_session'
diff --git a/justin_quiros/poly/config/initializers/wrap_parameters.rb b/justin_quiros/poly/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/justin_quiros/poly/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/justin_quiros/poly/config/locales/en.yml b/justin_quiros/poly/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/justin_quiros/poly/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/justin_quiros/poly/config/routes.rb b/justin_quiros/poly/config/routes.rb
deleted file mode 100644
index 3f66539..0000000
--- a/justin_quiros/poly/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/justin_quiros/poly/config/secrets.yml b/justin_quiros/poly/config/secrets.yml
deleted file mode 100644
index 4ede6af..0000000
--- a/justin_quiros/poly/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 0efac5736bc72a40eea754c01c95c783d82a4d39bb0d4c2c050ea2ae832c803a1fdba58b911e0002772fbb1f31da412bc95e579f787eb6ef185223fb29a68f89
-
-test:
- secret_key_base: f938ef5f13a0eba98c51b03090c0e475bf4d3f966489db8d6ab1f4f57a839a6b64d02d391b70f9274976d706c48e80b2c95f703a35bd6a88d165e30d624f1025
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/justin_quiros/poly/db/migrate/20171130194336_create_pictures.rb b/justin_quiros/poly/db/migrate/20171130194336_create_pictures.rb
deleted file mode 100644
index c5c8b51..0000000
--- a/justin_quiros/poly/db/migrate/20171130194336_create_pictures.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class CreatePictures < ActiveRecord::Migration
- def change
- create_table :pictures do |t|
- t.references :imageable, polymorphic: true, index: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/justin_quiros/poly/db/migrate/20171130194343_create_employees.rb b/justin_quiros/poly/db/migrate/20171130194343_create_employees.rb
deleted file mode 100644
index 918b08f..0000000
--- a/justin_quiros/poly/db/migrate/20171130194343_create_employees.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class CreateEmployees < ActiveRecord::Migration
- def change
- create_table :employees do |t|
- t.string :first_name
- t.string :last_name
-
- t.timestamps null: false
- end
- end
-end
diff --git a/justin_quiros/poly/db/migrate/20171130194351_create_products.rb b/justin_quiros/poly/db/migrate/20171130194351_create_products.rb
deleted file mode 100644
index e3435f6..0000000
--- a/justin_quiros/poly/db/migrate/20171130194351_create_products.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class CreateProducts < ActiveRecord::Migration
- def change
- create_table :products do |t|
- t.string :name
-
- t.timestamps null: false
- end
- end
-end
diff --git a/justin_quiros/poly/db/schema.rb b/justin_quiros/poly/db/schema.rb
deleted file mode 100644
index 598de13..0000000
--- a/justin_quiros/poly/db/schema.rb
+++ /dev/null
@@ -1,38 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171130194351) do
-
- create_table "employees", force: :cascade do |t|
- t.string "first_name"
- t.string "last_name"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- create_table "pictures", force: :cascade do |t|
- t.integer "imageable_id"
- t.string "imageable_type"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "pictures", ["imageable_type", "imageable_id"], name: "index_pictures_on_imageable_type_and_imageable_id"
-
- create_table "products", force: :cascade do |t|
- t.string "name"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/justin_quiros/poly/db/seeds.rb b/justin_quiros/poly/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/justin_quiros/poly/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/justin_quiros/poly/lib/assets/.keep b/justin_quiros/poly/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/poly/lib/tasks/.keep b/justin_quiros/poly/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/poly/log/.keep b/justin_quiros/poly/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/poly/public/404.html b/justin_quiros/poly/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/justin_quiros/poly/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/justin_quiros/poly/public/422.html b/justin_quiros/poly/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/justin_quiros/poly/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/justin_quiros/poly/public/favicon.ico b/justin_quiros/poly/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/poly/public/robots.txt b/justin_quiros/poly/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/justin_quiros/poly/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/justin_quiros/poly/test/controllers/.keep b/justin_quiros/poly/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/poly/test/fixtures/.keep b/justin_quiros/poly/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/poly/test/fixtures/employees.yml b/justin_quiros/poly/test/fixtures/employees.yml
deleted file mode 100644
index afdaa6a..0000000
--- a/justin_quiros/poly/test/fixtures/employees.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- first_name: MyString
- last_name: MyString
-
-two:
- first_name: MyString
- last_name: MyString
diff --git a/justin_quiros/poly/test/fixtures/pictures.yml b/justin_quiros/poly/test/fixtures/pictures.yml
deleted file mode 100644
index 24eee9e..0000000
--- a/justin_quiros/poly/test/fixtures/pictures.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- imageable_id:
- imageable_type: Imageable
-
-two:
- imageable_id:
- imageable_type: Imageable
diff --git a/justin_quiros/poly/test/fixtures/products.yml b/justin_quiros/poly/test/fixtures/products.yml
deleted file mode 100644
index 56066c6..0000000
--- a/justin_quiros/poly/test/fixtures/products.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- name: MyString
-
-two:
- name: MyString
diff --git a/justin_quiros/poly/test/helpers/.keep b/justin_quiros/poly/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/poly/test/integration/.keep b/justin_quiros/poly/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/poly/test/mailers/.keep b/justin_quiros/poly/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/poly/test/models/.keep b/justin_quiros/poly/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/poly/test/models/employee_test.rb b/justin_quiros/poly/test/models/employee_test.rb
deleted file mode 100644
index c1674c3..0000000
--- a/justin_quiros/poly/test/models/employee_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class EmployeeTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/justin_quiros/poly/test/models/picture_test.rb b/justin_quiros/poly/test/models/picture_test.rb
deleted file mode 100644
index 59e7bb4..0000000
--- a/justin_quiros/poly/test/models/picture_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class PictureTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/justin_quiros/poly/test/models/product_test.rb b/justin_quiros/poly/test/models/product_test.rb
deleted file mode 100644
index 211cdd0..0000000
--- a/justin_quiros/poly/test/models/product_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class ProductTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/justin_quiros/poly/test/test_helper.rb b/justin_quiros/poly/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/justin_quiros/poly/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/justin_quiros/poly/vendor/assets/javascripts/.keep b/justin_quiros/poly/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/poly/vendor/assets/stylesheets/.keep b/justin_quiros/poly/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/project.rb b/justin_quiros/project.rb
deleted file mode 100644
index 88cfc8f..0000000
--- a/justin_quiros/project.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-class Project
- def initialize(name, description)
- @name = name
- @description = description
- end
- def elevator_pitch
- puts "Project name: #{@name}"
- puts "Project description: #{@description}"
- end
- def name
- puts "#{@name}"
- end
-end
-project1 = Project.new("Cool Project", "This project is really cool")
-project1.name
-project1.elevator_pitch
\ No newline at end of file
diff --git a/justin_quiros/puzzle.rb b/justin_quiros/puzzle.rb
deleted file mode 100644
index 70cfccc..0000000
--- a/justin_quiros/puzzle.rb
+++ /dev/null
@@ -1,38 +0,0 @@
-# 1
-# arr = [3,5,1,2,7,9,8,13,25,32]
-# arr2 = []
-# p arr.inject(0, :+)
-# arr.each_index {|i| arr2.push(arr[i]) if arr[i] > 10}
-# p arr2
-
-# 2
-# arr = ["John", "KB", "Oliver", "Cory", "Matthew", "Christopher"]
-# p arr.shuffle
-# arr.each_index {|i| puts arr[i] if arr[i].length > 5}
-
-# 3
-# arr = ("a".."z").to_a
-# b = arr.shuffle.last, arr.shuffle.first
-# p b
-# p "The first letter in the shuffled array is a vowel!" if ["a","e","i","o","u"].include? b.first
-
-# 4
-# arr = []
-# 10.times { arr << rand(55..100) }
-# p arr.sort
-# p arr.min
-# p arr.max
-
-# 5
-# str = ""
-# 5.times { str << (65+rand(26)).chr}
-# puts str
-
-# 6
-# arr = []
-# 10.times do
-# str = ""
-# 5.times { str << (65+rand(26)).chr }
-# arr << str
-# end
-# puts arr
diff --git a/justin_quiros/quiz.rb b/justin_quiros/quiz.rb
deleted file mode 100644
index bb01949..0000000
--- a/justin_quiros/quiz.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-class CodingDojo
- @@no_of_branches = 0
- def initialize(id, name, address)
- @branch_id = id
- @branch_name = name
- @branch_address = address
- @@no_of_branches += 1
- puts "Created branch #{@@no_of_branches}"
- end
- def hello
- puts "Hello CodingDojo!"
- end
- def display_all
- puts "Branch ID: #{@branch_id}"
- puts "Branch Name: #{@branch_name}"
- puts "Branch Address: #{@branch_address}"
- end
- def self.num_of_branches
- @@no_of_branches
- end
-end
-seattle = CodingDojo.new(1, "Seattle", "123 Seattle Avenue")
-san_jose = CodingDojo.new(2, "San Jose", "456 San Jose Boulevard")
-burbank = CodingDojo.new(3, "Burbank", "789 Burbank Street")
\ No newline at end of file
diff --git a/justin_quiros/range.rb b/justin_quiros/range.rb
deleted file mode 100644
index 165a97b..0000000
--- a/justin_quiros/range.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-x = (1..20)
-
-puts "It does include 4!" if x.include? 4
-puts "The last number in x is " + x.last.to_s
-puts "The max in x is " + x.max.to_s
-puts "The min in x is " + x.min.to_s
\ No newline at end of file
diff --git a/justin_quiros/routes/.gitignore b/justin_quiros/routes/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/justin_quiros/routes/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/justin_quiros/routes/Gemfile b/justin_quiros/routes/Gemfile
deleted file mode 100644
index 732f093..0000000
--- a/justin_quiros/routes/Gemfile
+++ /dev/null
@@ -1,49 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
-gem 'hirb'
-
diff --git a/justin_quiros/routes/Gemfile.lock b/justin_quiros/routes/Gemfile.lock
deleted file mode 100644
index 73114af..0000000
--- a/justin_quiros/routes/Gemfile.lock
+++ /dev/null
@@ -1,172 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/justin_quiros/routes/README.rdoc b/justin_quiros/routes/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/justin_quiros/routes/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/justin_quiros/routes/Rakefile b/justin_quiros/routes/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/justin_quiros/routes/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/justin_quiros/routes/app/assets/images/.keep b/justin_quiros/routes/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/routes/app/assets/javascripts/application.js b/justin_quiros/routes/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/justin_quiros/routes/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/justin_quiros/routes/app/assets/stylesheets/application.css b/justin_quiros/routes/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/justin_quiros/routes/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/justin_quiros/routes/app/controllers/application_controller.rb b/justin_quiros/routes/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/justin_quiros/routes/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/justin_quiros/routes/app/controllers/concerns/.keep b/justin_quiros/routes/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/routes/app/controllers/tests_controller.rb b/justin_quiros/routes/app/controllers/tests_controller.rb
deleted file mode 100644
index 1137d57..0000000
--- a/justin_quiros/routes/app/controllers/tests_controller.rb
+++ /dev/null
@@ -1,32 +0,0 @@
-class TestsController < ApplicationController
-
-
- def index
- render :text => "What do you want me to say???"
- end
- def hi
- session[:count] ||= 0
- render :text => "Hello CodingDojo!"
- end
- def say_hello
- render :text => "Saying Hello!"
- end
- def hello
- if params[:name] == "joe"
- render :text => "Saying Hello Joe!"
- else
- redirect_to '/say/hello/joe'
- end
- end
- def hello_joe
- render :text => "Saying Hello Joe!"
- end
- def times
- session[:count] += 1
- render :text => "You have visited this page " + session[:count].to_s + " times."
- end
- def times_restart
- session[:count] = 0
- render :text => "Destroyed the session!"
- end
-end
diff --git a/justin_quiros/routes/app/helpers/application_helper.rb b/justin_quiros/routes/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/justin_quiros/routes/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/justin_quiros/routes/app/mailers/.keep b/justin_quiros/routes/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/routes/app/models/.keep b/justin_quiros/routes/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/routes/app/models/concerns/.keep b/justin_quiros/routes/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/routes/app/views/layouts/application.html.erb b/justin_quiros/routes/app/views/layouts/application.html.erb
deleted file mode 100644
index 593f853..0000000
--- a/justin_quiros/routes/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- Routes
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/justin_quiros/routes/app/views/tests/index.html.erb b/justin_quiros/routes/app/views/tests/index.html.erb
deleted file mode 100644
index 5a4c8ac..0000000
--- a/justin_quiros/routes/app/views/tests/index.html.erb
+++ /dev/null
@@ -1,2 +0,0 @@
-
Tests#index
-
Find me in app/views/tests/index.html.erb
diff --git a/justin_quiros/routes/bin/bundle b/justin_quiros/routes/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/justin_quiros/routes/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/justin_quiros/routes/bin/rails b/justin_quiros/routes/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/justin_quiros/routes/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/justin_quiros/routes/bin/rake b/justin_quiros/routes/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/justin_quiros/routes/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/justin_quiros/routes/bin/setup b/justin_quiros/routes/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/justin_quiros/routes/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/justin_quiros/routes/bin/spring b/justin_quiros/routes/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/justin_quiros/routes/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/justin_quiros/routes/config.ru b/justin_quiros/routes/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/justin_quiros/routes/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/justin_quiros/routes/config/application.rb b/justin_quiros/routes/config/application.rb
deleted file mode 100644
index cb1a49d..0000000
--- a/justin_quiros/routes/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module Routes
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/justin_quiros/routes/config/boot.rb b/justin_quiros/routes/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/justin_quiros/routes/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/justin_quiros/routes/config/database.yml b/justin_quiros/routes/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/justin_quiros/routes/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/justin_quiros/routes/config/environment.rb b/justin_quiros/routes/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/justin_quiros/routes/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/justin_quiros/routes/config/environments/development.rb b/justin_quiros/routes/config/environments/development.rb
deleted file mode 100644
index 0290ec9..0000000
--- a/justin_quiros/routes/config/environments/development.rb
+++ /dev/null
@@ -1,47 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Use the below so you don't have to shut down server everytime you make a change in your controller
- config.reload_classes_only_on_change = false
-
- # Use the below to get rid of unwanted text in console
- config.log_level = :warn
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/justin_quiros/routes/config/environments/production.rb b/justin_quiros/routes/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/justin_quiros/routes/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/justin_quiros/routes/config/environments/test.rb b/justin_quiros/routes/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/justin_quiros/routes/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/justin_quiros/routes/config/initializers/assets.rb b/justin_quiros/routes/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/justin_quiros/routes/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/justin_quiros/routes/config/initializers/backtrace_silencers.rb b/justin_quiros/routes/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/justin_quiros/routes/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/justin_quiros/routes/config/initializers/cookies_serializer.rb b/justin_quiros/routes/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/justin_quiros/routes/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/justin_quiros/routes/config/initializers/filter_parameter_logging.rb b/justin_quiros/routes/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/justin_quiros/routes/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/justin_quiros/routes/config/initializers/inflections.rb b/justin_quiros/routes/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/justin_quiros/routes/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/justin_quiros/routes/config/initializers/mime_types.rb b/justin_quiros/routes/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/justin_quiros/routes/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/justin_quiros/routes/config/initializers/session_store.rb b/justin_quiros/routes/config/initializers/session_store.rb
deleted file mode 100644
index 98f9ece..0000000
--- a/justin_quiros/routes/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_routes_session'
diff --git a/justin_quiros/routes/config/initializers/wrap_parameters.rb b/justin_quiros/routes/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/justin_quiros/routes/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/justin_quiros/routes/config/locales/en.yml b/justin_quiros/routes/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/justin_quiros/routes/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/justin_quiros/routes/config/routes.rb b/justin_quiros/routes/config/routes.rb
deleted file mode 100644
index 22f6ddd..0000000
--- a/justin_quiros/routes/config/routes.rb
+++ /dev/null
@@ -1,70 +0,0 @@
-Rails.application.routes.draw do
- get 'tests/index'
-
- get "/" => "tests#index"
- get "hello" => "tests#hi"
- get "say/hello" => "tests#say_hello"
- get "say/hello/:name" => "tests#hello"
- get "say/hello/joe" => "tests#hello_joe"
- get "times" => "tests#times"
- get "times/restart" => "tests#times_restart"
-
-
-
-
-
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/justin_quiros/routes/config/secrets.yml b/justin_quiros/routes/config/secrets.yml
deleted file mode 100644
index 5d98ba3..0000000
--- a/justin_quiros/routes/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: ee3fb26fde0c1263936a871126c8d490c004074702b7ca240dca4bc74b609fc7962378da3209b610ada7ee6070b1d5dcbe3ffaf1c20cfe5fa0ed3b43ff7b358e
-
-test:
- secret_key_base: e2320cb941445789bcbb61bb4540eb00400a93f019afd59b4f483f6ec4fb08d1e6b750ca64234ce3e10664cd895f0d788e7e5bfd68cfb0731653cf9fc911640d
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/justin_quiros/routes/db/seeds.rb b/justin_quiros/routes/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/justin_quiros/routes/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/justin_quiros/routes/lib/assets/.keep b/justin_quiros/routes/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/routes/lib/tasks/.keep b/justin_quiros/routes/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/routes/log/.keep b/justin_quiros/routes/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/routes/public/404.html b/justin_quiros/routes/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/justin_quiros/routes/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/justin_quiros/routes/public/422.html b/justin_quiros/routes/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/justin_quiros/routes/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/justin_quiros/routes/public/favicon.ico b/justin_quiros/routes/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/routes/public/robots.txt b/justin_quiros/routes/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/justin_quiros/routes/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/justin_quiros/routes/test/controllers/.keep b/justin_quiros/routes/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/routes/test/controllers/tests_controller_test.rb b/justin_quiros/routes/test/controllers/tests_controller_test.rb
deleted file mode 100644
index ab3b578..0000000
--- a/justin_quiros/routes/test/controllers/tests_controller_test.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-require 'test_helper'
-
-class TestsControllerTest < ActionController::TestCase
- test "should get index" do
- get :index
- assert_response :success
- end
-
-end
diff --git a/justin_quiros/routes/test/fixtures/.keep b/justin_quiros/routes/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/routes/test/helpers/.keep b/justin_quiros/routes/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/routes/test/integration/.keep b/justin_quiros/routes/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/routes/test/mailers/.keep b/justin_quiros/routes/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/routes/test/models/.keep b/justin_quiros/routes/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/routes/test/test_helper.rb b/justin_quiros/routes/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/justin_quiros/routes/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/justin_quiros/routes/vendor/assets/javascripts/.keep b/justin_quiros/routes/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/routes/vendor/assets/stylesheets/.keep b/justin_quiros/routes/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/survey/.gitignore b/justin_quiros/survey/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/justin_quiros/survey/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/justin_quiros/survey/Gemfile b/justin_quiros/survey/Gemfile
deleted file mode 100644
index e87fad5..0000000
--- a/justin_quiros/survey/Gemfile
+++ /dev/null
@@ -1,47 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
diff --git a/justin_quiros/survey/Gemfile.lock b/justin_quiros/survey/Gemfile.lock
deleted file mode 100644
index 2d8e864..0000000
--- a/justin_quiros/survey/Gemfile.lock
+++ /dev/null
@@ -1,170 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (4.0.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/justin_quiros/survey/README.rdoc b/justin_quiros/survey/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/justin_quiros/survey/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/justin_quiros/survey/Rakefile b/justin_quiros/survey/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/justin_quiros/survey/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/justin_quiros/survey/app/assets/images/.keep b/justin_quiros/survey/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/survey/app/assets/javascripts/application.js b/justin_quiros/survey/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/justin_quiros/survey/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/justin_quiros/survey/app/assets/stylesheets/application.css b/justin_quiros/survey/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/justin_quiros/survey/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/justin_quiros/survey/app/assets/stylesheets/dojos.scss b/justin_quiros/survey/app/assets/stylesheets/dojos.scss
deleted file mode 100644
index fb30922..0000000
--- a/justin_quiros/survey/app/assets/stylesheets/dojos.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-// Place all the styles related to the Dojos controller here.
-// They will automatically be included in application.css.
-// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/justin_quiros/survey/app/controllers/application_controller.rb b/justin_quiros/survey/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/justin_quiros/survey/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/justin_quiros/survey/app/controllers/concerns/.keep b/justin_quiros/survey/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/survey/app/controllers/dojos_controller.rb b/justin_quiros/survey/app/controllers/dojos_controller.rb
deleted file mode 100644
index a129c95..0000000
--- a/justin_quiros/survey/app/controllers/dojos_controller.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-class DojosController < ApplicationController
- def index
- session[:views] ||= 0
- end
-
- def create
- session[:views] += 1
-
- session[:survey] = survey_params
-
- redirect_to dojos_show_path
- end
-
- def show
- @result = session[:survey]
- flash[:success] = "Thanks for submitting this form! You have submitted this form #{ session[:views] } time(s) now."
- end
-
- private
- def survey_params
- params.require(:survey).permit(:name, :location, :language, :comments)
- end
-end
diff --git a/justin_quiros/survey/app/helpers/application_helper.rb b/justin_quiros/survey/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/justin_quiros/survey/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/justin_quiros/survey/app/helpers/dojos_helper.rb b/justin_quiros/survey/app/helpers/dojos_helper.rb
deleted file mode 100644
index 194211a..0000000
--- a/justin_quiros/survey/app/helpers/dojos_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module DojosHelper
-end
diff --git a/justin_quiros/survey/app/mailers/.keep b/justin_quiros/survey/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/survey/app/models/.keep b/justin_quiros/survey/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/survey/app/models/concerns/.keep b/justin_quiros/survey/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/survey/app/views/dojos/index.html.erb b/justin_quiros/survey/app/views/dojos/index.html.erb
deleted file mode 100644
index 69cb436..0000000
--- a/justin_quiros/survey/app/views/dojos/index.html.erb
+++ /dev/null
@@ -1,27 +0,0 @@
-
\ No newline at end of file
diff --git a/justin_quiros/survey/app/views/dojos/show.html.erb b/justin_quiros/survey/app/views/dojos/show.html.erb
deleted file mode 100644
index bcd5a3b..0000000
--- a/justin_quiros/survey/app/views/dojos/show.html.erb
+++ /dev/null
@@ -1,6 +0,0 @@
-
<%= flash[:success] %>
-
Name: <%= @result['name'] %>
-
Dojo Location: <%= @result['location'] %>
-
Favorite Language: <%= @result['language'] %>
-
Comment: <%= @result['comments'] %>
-Go Back
\ No newline at end of file
diff --git a/justin_quiros/survey/app/views/layouts/application.html.erb b/justin_quiros/survey/app/views/layouts/application.html.erb
deleted file mode 100644
index 00b0656..0000000
--- a/justin_quiros/survey/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- Survey
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/justin_quiros/survey/bin/bundle b/justin_quiros/survey/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/justin_quiros/survey/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/justin_quiros/survey/bin/rails b/justin_quiros/survey/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/justin_quiros/survey/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/justin_quiros/survey/bin/rake b/justin_quiros/survey/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/justin_quiros/survey/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/justin_quiros/survey/bin/setup b/justin_quiros/survey/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/justin_quiros/survey/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/justin_quiros/survey/bin/spring b/justin_quiros/survey/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/justin_quiros/survey/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/justin_quiros/survey/config.ru b/justin_quiros/survey/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/justin_quiros/survey/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/justin_quiros/survey/config/application.rb b/justin_quiros/survey/config/application.rb
deleted file mode 100644
index c85fb1c..0000000
--- a/justin_quiros/survey/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module Survey
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/justin_quiros/survey/config/boot.rb b/justin_quiros/survey/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/justin_quiros/survey/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/justin_quiros/survey/config/database.yml b/justin_quiros/survey/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/justin_quiros/survey/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/justin_quiros/survey/config/environment.rb b/justin_quiros/survey/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/justin_quiros/survey/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/justin_quiros/survey/config/environments/development.rb b/justin_quiros/survey/config/environments/development.rb
deleted file mode 100644
index 13ea7f8..0000000
--- a/justin_quiros/survey/config/environments/development.rb
+++ /dev/null
@@ -1,52 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
-
-
-
-
- # Use the below so you don't have to shut down server everytime you make a change in your controller
- config.reload_classes_only_on_change = false
-
- # Use the below to get rid of unwanted text in console
- config.log_level = :warn
-
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/justin_quiros/survey/config/environments/production.rb b/justin_quiros/survey/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/justin_quiros/survey/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/justin_quiros/survey/config/environments/test.rb b/justin_quiros/survey/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/justin_quiros/survey/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/justin_quiros/survey/config/initializers/assets.rb b/justin_quiros/survey/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/justin_quiros/survey/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/justin_quiros/survey/config/initializers/backtrace_silencers.rb b/justin_quiros/survey/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/justin_quiros/survey/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/justin_quiros/survey/config/initializers/cookies_serializer.rb b/justin_quiros/survey/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/justin_quiros/survey/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/justin_quiros/survey/config/initializers/filter_parameter_logging.rb b/justin_quiros/survey/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/justin_quiros/survey/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/justin_quiros/survey/config/initializers/inflections.rb b/justin_quiros/survey/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/justin_quiros/survey/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/justin_quiros/survey/config/initializers/mime_types.rb b/justin_quiros/survey/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/justin_quiros/survey/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/justin_quiros/survey/config/initializers/session_store.rb b/justin_quiros/survey/config/initializers/session_store.rb
deleted file mode 100644
index 1cbc3bc..0000000
--- a/justin_quiros/survey/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_survey_session'
diff --git a/justin_quiros/survey/config/initializers/wrap_parameters.rb b/justin_quiros/survey/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/justin_quiros/survey/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/justin_quiros/survey/config/locales/en.yml b/justin_quiros/survey/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/justin_quiros/survey/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/justin_quiros/survey/config/routes.rb b/justin_quiros/survey/config/routes.rb
deleted file mode 100644
index 04a08c3..0000000
--- a/justin_quiros/survey/config/routes.rb
+++ /dev/null
@@ -1,62 +0,0 @@
-Rails.application.routes.draw do
- root 'dojos#index'
-
-
- get '/' => 'dojos#index'
- post 'dojos/create' =>'dojos#create'
- get 'dojos/show'=> 'dojos#show'
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/justin_quiros/survey/config/secrets.yml b/justin_quiros/survey/config/secrets.yml
deleted file mode 100644
index 431110d..0000000
--- a/justin_quiros/survey/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: f28b8b085e57d477633f92315446a6b3928a04e7b6cc9fcaaffd4745cf9dbc713ec024e8b6ec8856a13c2d7856d7193b21a9abf6ce859a0e8d76d24426ce13b8
-
-test:
- secret_key_base: 0e7d6e557bc5f5de982339e555486eeb79a53147d0aac880fdf45934e53e6d4692a5225f720f719931706820f466fcb44bee0d5571f466bb3259b6605bf88363
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/justin_quiros/survey/db/seeds.rb b/justin_quiros/survey/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/justin_quiros/survey/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/justin_quiros/survey/lib/assets/.keep b/justin_quiros/survey/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/survey/lib/tasks/.keep b/justin_quiros/survey/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/survey/log/.keep b/justin_quiros/survey/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/survey/public/404.html b/justin_quiros/survey/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/justin_quiros/survey/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/justin_quiros/survey/public/422.html b/justin_quiros/survey/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/justin_quiros/survey/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/justin_quiros/survey/public/favicon.ico b/justin_quiros/survey/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/survey/public/robots.txt b/justin_quiros/survey/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/justin_quiros/survey/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/justin_quiros/survey/test/controllers/.keep b/justin_quiros/survey/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/survey/test/controllers/dojos_controller_test.rb b/justin_quiros/survey/test/controllers/dojos_controller_test.rb
deleted file mode 100644
index 5762aa7..0000000
--- a/justin_quiros/survey/test/controllers/dojos_controller_test.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-require 'test_helper'
-
-class DojosControllerTest < ActionController::TestCase
- test "should get index" do
- get :index
- assert_response :success
- end
-
- test "should get create" do
- get :create
- assert_response :success
- end
-
- test "should get show" do
- get :show
- assert_response :success
- end
-
-end
diff --git a/justin_quiros/survey/test/fixtures/.keep b/justin_quiros/survey/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/survey/test/helpers/.keep b/justin_quiros/survey/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/survey/test/integration/.keep b/justin_quiros/survey/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/survey/test/mailers/.keep b/justin_quiros/survey/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/survey/test/models/.keep b/justin_quiros/survey/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/survey/test/test_helper.rb b/justin_quiros/survey/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/justin_quiros/survey/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/justin_quiros/survey/vendor/assets/javascripts/.keep b/justin_quiros/survey/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/survey/vendor/assets/stylesheets/.keep b/justin_quiros/survey/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/user.rb b/justin_quiros/user.rb
deleted file mode 100644
index f524139..0000000
--- a/justin_quiros/user.rb
+++ /dev/null
@@ -1,48 +0,0 @@
-class User
- @first_name
-
- @last_name
- # attr_reader :first_name
- # attr_writer :first_name
- # attr_reader :last_name
- # attr_writer :last_name
- attr_accessor :first_name, :last_name
-
- def initialize(f_name, l_name)
- @first_name = f_name
- @last_name = l_name
- end
-
- def full_name
- puts "I am #{@first_name} #{@last_name}"
- end
-
- def say_hello
- puts "Hello"
- end
-
- def self.foo
- puts "This is a class method"
- end
- # This is longer way of writing what is above.
- # These are setter and getter methods
- # VVVVVV
- # def first_name=(val)
- # @first_name = val
- # end
- # def first_name
- # @first_name
- # end
-end
-
-justin = User.new("Justin", "Quiros")
-# p justin.first_name + " " + justin.last_name
-
-puts justin.full_name
-puts User.foo
-# user1 = User.new
-# user2 = User.new
-# user1.first_name = "Justin"
-# user1.last_name = "Quiros"
-# p user1.first_name
-# p user1.last_name
\ No newline at end of file
diff --git a/justin_quiros/user_login_project/.gitignore b/justin_quiros/user_login_project/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/justin_quiros/user_login_project/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/justin_quiros/user_login_project/Gemfile b/justin_quiros/user_login_project/Gemfile
deleted file mode 100644
index 0ee61bd..0000000
--- a/justin_quiros/user_login_project/Gemfile
+++ /dev/null
@@ -1,48 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
-gem 'hirb'
diff --git a/justin_quiros/user_login_project/Gemfile.lock b/justin_quiros/user_login_project/Gemfile.lock
deleted file mode 100644
index c2e340f..0000000
--- a/justin_quiros/user_login_project/Gemfile.lock
+++ /dev/null
@@ -1,174 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- bcrypt (3.1.11)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- bcrypt (~> 3.1.7)
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/justin_quiros/user_login_project/README.rdoc b/justin_quiros/user_login_project/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/justin_quiros/user_login_project/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/justin_quiros/user_login_project/Rakefile b/justin_quiros/user_login_project/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/justin_quiros/user_login_project/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/justin_quiros/user_login_project/app/assets/images/.keep b/justin_quiros/user_login_project/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/user_login_project/app/assets/javascripts/application.js b/justin_quiros/user_login_project/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/justin_quiros/user_login_project/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/justin_quiros/user_login_project/app/assets/stylesheets/application.css b/justin_quiros/user_login_project/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/justin_quiros/user_login_project/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/justin_quiros/user_login_project/app/controllers/application_controller.rb b/justin_quiros/user_login_project/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/justin_quiros/user_login_project/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/justin_quiros/user_login_project/app/controllers/concerns/.keep b/justin_quiros/user_login_project/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/user_login_project/app/helpers/application_helper.rb b/justin_quiros/user_login_project/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/justin_quiros/user_login_project/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/justin_quiros/user_login_project/app/mailers/.keep b/justin_quiros/user_login_project/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/user_login_project/app/models/.keep b/justin_quiros/user_login_project/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/user_login_project/app/models/concerns/.keep b/justin_quiros/user_login_project/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/user_login_project/app/models/user.rb b/justin_quiros/user_login_project/app/models/user.rb
deleted file mode 100644
index 06214cf..0000000
--- a/justin_quiros/user_login_project/app/models/user.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-class User < ActiveRecord::Base
- EMAIL_REGEX = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]+)\z/i
- validates :first_name, :last_name, :email, :age, presence: true
- validates :first_name, :last_name, length: { in: 2..50 }
- validates :age, numericality: { greater_than_or_equal_to: 10, less_than: 150 }
- validates :email, presence: true, uniqueness: { case_sensitive: false }, format: { with: EMAIL_REGEX }, length: { in: 4..40 }
-end
diff --git a/justin_quiros/user_login_project/app/views/layouts/application.html.erb b/justin_quiros/user_login_project/app/views/layouts/application.html.erb
deleted file mode 100644
index 03b8954..0000000
--- a/justin_quiros/user_login_project/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- UserLoginProject
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/justin_quiros/user_login_project/bin/bundle b/justin_quiros/user_login_project/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/justin_quiros/user_login_project/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/justin_quiros/user_login_project/bin/rails b/justin_quiros/user_login_project/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/justin_quiros/user_login_project/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/justin_quiros/user_login_project/bin/rake b/justin_quiros/user_login_project/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/justin_quiros/user_login_project/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/justin_quiros/user_login_project/bin/setup b/justin_quiros/user_login_project/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/justin_quiros/user_login_project/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/justin_quiros/user_login_project/bin/spring b/justin_quiros/user_login_project/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/justin_quiros/user_login_project/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/justin_quiros/user_login_project/config.ru b/justin_quiros/user_login_project/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/justin_quiros/user_login_project/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/justin_quiros/user_login_project/config/application.rb b/justin_quiros/user_login_project/config/application.rb
deleted file mode 100644
index 49c5e84..0000000
--- a/justin_quiros/user_login_project/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module UserLoginProject
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/justin_quiros/user_login_project/config/boot.rb b/justin_quiros/user_login_project/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/justin_quiros/user_login_project/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/justin_quiros/user_login_project/config/database.yml b/justin_quiros/user_login_project/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/justin_quiros/user_login_project/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/justin_quiros/user_login_project/config/environment.rb b/justin_quiros/user_login_project/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/justin_quiros/user_login_project/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/justin_quiros/user_login_project/config/environments/development.rb b/justin_quiros/user_login_project/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/justin_quiros/user_login_project/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/justin_quiros/user_login_project/config/environments/production.rb b/justin_quiros/user_login_project/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/justin_quiros/user_login_project/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/justin_quiros/user_login_project/config/environments/test.rb b/justin_quiros/user_login_project/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/justin_quiros/user_login_project/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/justin_quiros/user_login_project/config/initializers/assets.rb b/justin_quiros/user_login_project/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/justin_quiros/user_login_project/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/justin_quiros/user_login_project/config/initializers/backtrace_silencers.rb b/justin_quiros/user_login_project/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/justin_quiros/user_login_project/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/justin_quiros/user_login_project/config/initializers/cookies_serializer.rb b/justin_quiros/user_login_project/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/justin_quiros/user_login_project/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/justin_quiros/user_login_project/config/initializers/filter_parameter_logging.rb b/justin_quiros/user_login_project/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/justin_quiros/user_login_project/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/justin_quiros/user_login_project/config/initializers/inflections.rb b/justin_quiros/user_login_project/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/justin_quiros/user_login_project/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/justin_quiros/user_login_project/config/initializers/mime_types.rb b/justin_quiros/user_login_project/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/justin_quiros/user_login_project/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/justin_quiros/user_login_project/config/initializers/session_store.rb b/justin_quiros/user_login_project/config/initializers/session_store.rb
deleted file mode 100644
index d692eec..0000000
--- a/justin_quiros/user_login_project/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_user_login_project_session'
diff --git a/justin_quiros/user_login_project/config/initializers/wrap_parameters.rb b/justin_quiros/user_login_project/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/justin_quiros/user_login_project/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/justin_quiros/user_login_project/config/locales/en.yml b/justin_quiros/user_login_project/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/justin_quiros/user_login_project/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/justin_quiros/user_login_project/config/routes.rb b/justin_quiros/user_login_project/config/routes.rb
deleted file mode 100644
index 3f66539..0000000
--- a/justin_quiros/user_login_project/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/justin_quiros/user_login_project/config/secrets.yml b/justin_quiros/user_login_project/config/secrets.yml
deleted file mode 100644
index ef8e0c8..0000000
--- a/justin_quiros/user_login_project/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 9c7a7051066d10d5a8750a8f78fdb6a028dda47f7046cd1d4bdd675d6e6672263d5d6c0906f4805b6c6cadeafeb1b16e45ebebcb3e8813c1a800a92aec34c3b3
-
-test:
- secret_key_base: 52b2d8a3b1f662ed2df2d381b8649112cef63257008b5e02c2376300a8ba209bc0e7aa689afa3751713f54c48f49c18ae13b9875c40c572376bbb2dd4f7ae0ec
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/justin_quiros/user_login_project/db/migrate/20171129184845_create_users.rb b/justin_quiros/user_login_project/db/migrate/20171129184845_create_users.rb
deleted file mode 100644
index 648f540..0000000
--- a/justin_quiros/user_login_project/db/migrate/20171129184845_create_users.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-class CreateUsers < ActiveRecord::Migration
- def change
- create_table :users do |t|
- t.string :first_name
- t.string :last_name
- t.string :email
- t.integer :age
-
- t.timestamps null: false
- end
- end
-end
diff --git a/justin_quiros/user_login_project/db/schema.rb b/justin_quiros/user_login_project/db/schema.rb
deleted file mode 100644
index d514bf8..0000000
--- a/justin_quiros/user_login_project/db/schema.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171129184845) do
-
- create_table "users", force: :cascade do |t|
- t.string "first_name"
- t.string "last_name"
- t.string "email"
- t.integer "age"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/justin_quiros/user_login_project/db/seeds.rb b/justin_quiros/user_login_project/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/justin_quiros/user_login_project/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/justin_quiros/user_login_project/lib/assets/.keep b/justin_quiros/user_login_project/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/user_login_project/lib/tasks/.keep b/justin_quiros/user_login_project/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/user_login_project/log/.keep b/justin_quiros/user_login_project/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/user_login_project/public/404.html b/justin_quiros/user_login_project/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/justin_quiros/user_login_project/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/justin_quiros/user_login_project/public/422.html b/justin_quiros/user_login_project/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/justin_quiros/user_login_project/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/justin_quiros/user_login_project/public/favicon.ico b/justin_quiros/user_login_project/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/user_login_project/public/robots.txt b/justin_quiros/user_login_project/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/justin_quiros/user_login_project/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/justin_quiros/user_login_project/test/controllers/.keep b/justin_quiros/user_login_project/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/user_login_project/test/fixtures/.keep b/justin_quiros/user_login_project/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/user_login_project/test/fixtures/users.yml b/justin_quiros/user_login_project/test/fixtures/users.yml
deleted file mode 100644
index 2b033cb..0000000
--- a/justin_quiros/user_login_project/test/fixtures/users.yml
+++ /dev/null
@@ -1,13 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- first_name: MyString
- last_name: MyString
- email: MyString
- age: 1
-
-two:
- first_name: MyString
- last_name: MyString
- email: MyString
- age: 1
diff --git a/justin_quiros/user_login_project/test/helpers/.keep b/justin_quiros/user_login_project/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/user_login_project/test/integration/.keep b/justin_quiros/user_login_project/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/user_login_project/test/mailers/.keep b/justin_quiros/user_login_project/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/user_login_project/test/models/.keep b/justin_quiros/user_login_project/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/user_login_project/test/models/user_test.rb b/justin_quiros/user_login_project/test/models/user_test.rb
deleted file mode 100644
index 82f61e0..0000000
--- a/justin_quiros/user_login_project/test/models/user_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class UserTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/justin_quiros/user_login_project/test/test_helper.rb b/justin_quiros/user_login_project/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/justin_quiros/user_login_project/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/justin_quiros/user_login_project/vendor/assets/javascripts/.keep b/justin_quiros/user_login_project/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/user_login_project/vendor/assets/stylesheets/.keep b/justin_quiros/user_login_project/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/justin_quiros/wizninsam/human.rb b/justin_quiros/wizninsam/human.rb
deleted file mode 100644
index 800d537..0000000
--- a/justin_quiros/wizninsam/human.rb
+++ /dev/null
@@ -1,34 +0,0 @@
-
-class Human
- attr_accessor :strength, :intelligence, :stealth, :health
- def initialize
- @strength = 3
- @stealth = 3
- @intelligence = 3
- @health = 100
- end
- def attack(object)
- if object.class.ancestors.include?(Human)
- object.health -= 10
- self
- else
- puts "You can not attack a non-human!"
- end
- end
- def display_info
- puts "Strength: #{@strength}"
- puts "Stealth: #{@stealth}"
- puts "Intelligence: #{@intelligence}"
- puts "Health: #{@health}"
- end
-end
-
-require_relative "ninja"
-require_relative "wizard"
-require_relative "samurai"
-
-sam = Samurai.new
-nin = Ninja.new
-wiz = Wizard.new
-joe = 0
-
diff --git a/justin_quiros/wizninsam/ninja.rb b/justin_quiros/wizninsam/ninja.rb
deleted file mode 100644
index 9778f33..0000000
--- a/justin_quiros/wizninsam/ninja.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-
-class Ninja < Human
- def initialize
- super
- @stealth = 175
- end
- def steal(object)
- attack(object)
- @health += 10
- end
- def get_away
- @health -= 15
- end
-end
-
diff --git a/justin_quiros/wizninsam/samurai.rb b/justin_quiros/wizninsam/samurai.rb
deleted file mode 100644
index 84222fe..0000000
--- a/justin_quiros/wizninsam/samurai.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-
-class Samurai < Human
-@@no_of_sam = 0
- def initialize
- super
- @health = 200
- @@no_of_sam += 1
- end
- def death_blow(object)
- if object.class.ancestors.include?(Human)
- object.health = 0
- self
- else
- puts "You can not attack a non-human!"
- end
- end
- def meditate
- @health = 200
- end
- def how_many
- puts "There are currently #{@@no_of_sam} samurais out there."
- end
-end
diff --git a/justin_quiros/wizninsam/wizard.rb b/justin_quiros/wizninsam/wizard.rb
deleted file mode 100644
index c236183..0000000
--- a/justin_quiros/wizninsam/wizard.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-
-class Wizard < Human
- def initialize
- super
- @health = 50
- @intelligence = 25
- end
- def heal
- @health += 10
- end
- def fireball(object)
- object.health -=20
- end
-end
-
diff --git a/richardN/.DS_Store b/richardN/.DS_Store
deleted file mode 100644
index 10e0674..0000000
Binary files a/richardN/.DS_Store and /dev/null differ
diff --git a/richardN/README.md b/richardN/README.md
deleted file mode 100644
index 0ef0cf5..0000000
--- a/richardN/README.md
+++ /dev/null
@@ -1,74 +0,0 @@
-# Coding Dojo - Ruby on Rails October 2017
-
-Welcome Rubyists
-
-> “Often people, especially computer engineers, focus on the machines. They think, "By doing this, the machine will run faster. By doing this, the machine will run more effectively. By doing this, the machine will something something something." They are focusing on machines. But in fact we need to focus on humans, on how humans care about doing programming or operating the application of the machines. We are the masters. They are the slaves.”
-- Yukihiro Matsumoto
-
-
-## Setup
- 1. Fork this repo to your github account.
- 2. Clone it locally onto your laptop.
- 3. Create a folder with your name, ex: cody_williams
- 4. Add *this* (https://github.com/CodingDojoDallas/ruby_dec_2017/) repo as a REMOTE to your locally cloned copy.
-```
-git remote add upstream https://github.com/codingdojodallas/ruby_dec_2017
-```
- 5. Profit!
-# Daily Commits
-
-Please commit daily. That way we can provide you with feedback :) or just a thumbs up if everything looks good. Here is a good resource that describes how daily commit process should go.
-
-https://www.dropbox.com/s/h3texmoqm801j8w/github_workflow_v4.pdf?dl=0
-
-NOTE: If you don't get in at least one pull request daily, then *_ya ain't serious_*.
-
-## Videos
-
-
-Self Join Many To Many - https://youtu.be/fhCNn1XTuy0
-Social Network, Self Join Many To Many https://youtu.be/_OsYvpndaX4
-
-Relations are Hard - https://youtu.be/YW6X53ia2Z8
-
-Deployment - https://youtu.be/V2Frb35zpBA
-
-Sort by count of a relation - https://youtu.be/p5UOxHR2200
-
-## Resources
-
-[Ruby v2.3.1 Documentation](http://ruby-doc.org/core-2.3.1/ "Ruby v2.3.1 Documentation")
-
-[Rails v4.2.7 Documentation](http://guides.rubyonrails.org/v4.2/ "Rails v4.2.7 Documentation")
-
-[Ruby Style Guide](https://github.com/bbatsov/ruby-style-guide "Ruby Style Guide")
-
-[Active Record Validations](http://guides.rubyonrails.org/active_record_validations.html "Active Record Validations")
-
-http://www.rubyinside.com/
-
-https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
-
-http://api.rubyonrails.org/classes/ActiveRecord/QueryMethods.html
-
-http://api.rubyonrails.org/classes/ActiveModel/Validations/HelperMethods.html
-
-## Articles
-
-[Puts vs. Print vs. P](https://gist.github.com/MilanGrubnic70/11092705 "Puts vs. Print vs. P")
-
-[Understanding Ruby Blocks](http://mixandgo.com/blog/mastering-ruby-blocks-in-less-than-5-minutes "Understanding Ruby Blocks")
-
-[Creating Multiple Associations with the Same Table](http://www.spacevatican.org/2008/5/6/creating-multiple-associations-with-the-same-table/ "Creating Multiple Associations with the Same Table")
-
-[Understanding Polymorphic Associations](https://launchschool.com/blog/understanding-polymorphic-associations-in-rails "Understanding Polymorphic Associations")
-
-[What's the Deal With Polymorphic Associations?](https://robots.thoughtbot.com/whats-the-deal-with-rails-polymorphic-associations "What's the Deal With Polymorphic Associations?")
-
-[Creating Polymorphic Associations in Rails](http://culttt.com/2016/01/13/creating-polymorphic-relationships-in-ruby-on-rails/ "Creating Polymorphic Associations in Rails")
-
-[Active Record Callbacks](http://guides.rubyonrails.org/active_record_callbacks.html#available-callbacks "Active Record Callbacks")
-
-An important note:
-*before_save* is called every time an object is saved. So for new and existing objects. (create and update action)
-*before_create* only before creation. So only for new objects (create action, but not update)
diff --git a/richardN/controllers/.DS_Store b/richardN/controllers/.DS_Store
deleted file mode 100644
index 28bb6af..0000000
Binary files a/richardN/controllers/.DS_Store and /dev/null differ
diff --git a/richardN/controllers/imc2/.gitignore b/richardN/controllers/imc2/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/richardN/controllers/imc2/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/richardN/controllers/imc2/Gemfile b/richardN/controllers/imc2/Gemfile
deleted file mode 100644
index ac64fba..0000000
--- a/richardN/controllers/imc2/Gemfile
+++ /dev/null
@@ -1,48 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
-gem 'hirb'
\ No newline at end of file
diff --git a/richardN/controllers/imc2/Gemfile.lock b/richardN/controllers/imc2/Gemfile.lock
deleted file mode 100644
index be50182..0000000
--- a/richardN/controllers/imc2/Gemfile.lock
+++ /dev/null
@@ -1,172 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (4.0.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/richardN/controllers/imc2/README.rdoc b/richardN/controllers/imc2/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/richardN/controllers/imc2/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/richardN/controllers/imc2/Rakefile b/richardN/controllers/imc2/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/richardN/controllers/imc2/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/richardN/controllers/imc2/app/assets/images/.keep b/richardN/controllers/imc2/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/imc2/app/assets/javascripts/application.js b/richardN/controllers/imc2/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/richardN/controllers/imc2/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/richardN/controllers/imc2/app/assets/stylesheets/application.css b/richardN/controllers/imc2/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/richardN/controllers/imc2/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/richardN/controllers/imc2/app/controllers/application_controller.rb b/richardN/controllers/imc2/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/richardN/controllers/imc2/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/richardN/controllers/imc2/app/controllers/concerns/.keep b/richardN/controllers/imc2/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/imc2/app/controllers/users_controller.rb b/richardN/controllers/imc2/app/controllers/users_controller.rb
deleted file mode 100644
index 66a4f00..0000000
--- a/richardN/controllers/imc2/app/controllers/users_controller.rb
+++ /dev/null
@@ -1,39 +0,0 @@
-class UsersController < ApplicationController
- def index
- render json: User.all
- end
- def new
- render "new.html.erb"
- end
- def create
- @user=User.create(user_params)
- return redirect_to '/users'
- end
- def info
- render json: User.find(params[:id])
- end
- def edituser
- @name = User.find(params[:id]).name
- session[:id] = params[:id]
- return render 'edit.html.erb'
- end
- def edit
- @user = User.find(session[:id]).update(user_params)
- return redirect_to '/users'
- end
- # def edit
- # @user = User.find(params[:id])
- # end
-
- def total
- render json: { total: User.count }
- end
-
-
-
-
- private
- def user_params
- params.require(:user).permit(:name)
- end
-end
diff --git a/richardN/controllers/imc2/app/helpers/application_helper.rb b/richardN/controllers/imc2/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/richardN/controllers/imc2/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/richardN/controllers/imc2/app/mailers/.keep b/richardN/controllers/imc2/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/imc2/app/models/.keep b/richardN/controllers/imc2/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/imc2/app/models/concerns/.keep b/richardN/controllers/imc2/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/imc2/app/models/user.rb b/richardN/controllers/imc2/app/models/user.rb
deleted file mode 100644
index 4a57cf0..0000000
--- a/richardN/controllers/imc2/app/models/user.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-class User < ActiveRecord::Base
-end
diff --git a/richardN/controllers/imc2/app/views/layouts/application.html.erb b/richardN/controllers/imc2/app/views/layouts/application.html.erb
deleted file mode 100644
index 3335f31..0000000
--- a/richardN/controllers/imc2/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- Imc2
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/richardN/controllers/imc2/app/views/users/edit.html.erb b/richardN/controllers/imc2/app/views/users/edit.html.erb
deleted file mode 100644
index c771b82..0000000
--- a/richardN/controllers/imc2/app/views/users/edit.html.erb
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
-
- Document
-
-
-
-
-
\ No newline at end of file
diff --git a/richardN/controllers/imc2/app/views/users/new.html.erb b/richardN/controllers/imc2/app/views/users/new.html.erb
deleted file mode 100644
index b3c5496..0000000
--- a/richardN/controllers/imc2/app/views/users/new.html.erb
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
-
- Document
-
-
-
-
-
\ No newline at end of file
diff --git a/richardN/controllers/imc2/bin/bundle b/richardN/controllers/imc2/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/richardN/controllers/imc2/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/richardN/controllers/imc2/bin/rails b/richardN/controllers/imc2/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/richardN/controllers/imc2/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/richardN/controllers/imc2/bin/rake b/richardN/controllers/imc2/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/richardN/controllers/imc2/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/richardN/controllers/imc2/bin/setup b/richardN/controllers/imc2/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/richardN/controllers/imc2/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/richardN/controllers/imc2/bin/spring b/richardN/controllers/imc2/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/richardN/controllers/imc2/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/richardN/controllers/imc2/config.ru b/richardN/controllers/imc2/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/richardN/controllers/imc2/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/richardN/controllers/imc2/config/application.rb b/richardN/controllers/imc2/config/application.rb
deleted file mode 100644
index 5f268ce..0000000
--- a/richardN/controllers/imc2/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module Imc2
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/richardN/controllers/imc2/config/boot.rb b/richardN/controllers/imc2/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/richardN/controllers/imc2/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/richardN/controllers/imc2/config/database.yml b/richardN/controllers/imc2/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/richardN/controllers/imc2/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/richardN/controllers/imc2/config/environment.rb b/richardN/controllers/imc2/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/richardN/controllers/imc2/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/richardN/controllers/imc2/config/environments/development.rb b/richardN/controllers/imc2/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/richardN/controllers/imc2/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/richardN/controllers/imc2/config/environments/production.rb b/richardN/controllers/imc2/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/richardN/controllers/imc2/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/richardN/controllers/imc2/config/environments/test.rb b/richardN/controllers/imc2/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/richardN/controllers/imc2/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/richardN/controllers/imc2/config/initializers/assets.rb b/richardN/controllers/imc2/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/richardN/controllers/imc2/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/richardN/controllers/imc2/config/initializers/backtrace_silencers.rb b/richardN/controllers/imc2/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/richardN/controllers/imc2/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/richardN/controllers/imc2/config/initializers/cookies_serializer.rb b/richardN/controllers/imc2/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/richardN/controllers/imc2/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/richardN/controllers/imc2/config/initializers/filter_parameter_logging.rb b/richardN/controllers/imc2/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/richardN/controllers/imc2/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/richardN/controllers/imc2/config/initializers/inflections.rb b/richardN/controllers/imc2/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/richardN/controllers/imc2/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/richardN/controllers/imc2/config/initializers/mime_types.rb b/richardN/controllers/imc2/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/richardN/controllers/imc2/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/richardN/controllers/imc2/config/initializers/session_store.rb b/richardN/controllers/imc2/config/initializers/session_store.rb
deleted file mode 100644
index f4cda61..0000000
--- a/richardN/controllers/imc2/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_imc2_session'
diff --git a/richardN/controllers/imc2/config/initializers/wrap_parameters.rb b/richardN/controllers/imc2/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/richardN/controllers/imc2/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/richardN/controllers/imc2/config/locales/en.yml b/richardN/controllers/imc2/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/richardN/controllers/imc2/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/richardN/controllers/imc2/config/routes.rb b/richardN/controllers/imc2/config/routes.rb
deleted file mode 100644
index d2f30cc..0000000
--- a/richardN/controllers/imc2/config/routes.rb
+++ /dev/null
@@ -1,67 +0,0 @@
-Rails.application.routes.draw do
- get "users" => "users#index"
- get "users/new" => 'users#new'
- post "users" => "users#create"
- get "users/new(/:id)" => 'users#info'
- get "users(/:id)/edit" => 'users#edituser'
- post "users/edit" => 'users#edit'
- get "users/total" => "users#total"
- # get "new" => "users#new"
- # get "say/hello(/:name)" => "users#say"
- # get "times" => "users#times"
- # get "times/restart" => "hellos#restart"
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/richardN/controllers/imc2/config/secrets.yml b/richardN/controllers/imc2/config/secrets.yml
deleted file mode 100644
index 64058be..0000000
--- a/richardN/controllers/imc2/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: ab24a00d2e5ce7ee8c2beaeda92681aab7131401cb85ecdff7b7e93266848fc7df7457524f6fd8e1aa41e337fae01dfce66c8f9ba37bd2b80616debb2d0ac737
-
-test:
- secret_key_base: c87194bbdd0aee458778ccc590ed1ccc96c7e6dcac50c363cd15309437881d55183511b6f19cedbc17fdd06c35909c207e2b71ab7ce31967255d4591e8a4cec9
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/richardN/controllers/imc2/db/migrate/20171202220035_create_users.rb b/richardN/controllers/imc2/db/migrate/20171202220035_create_users.rb
deleted file mode 100644
index 5494756..0000000
--- a/richardN/controllers/imc2/db/migrate/20171202220035_create_users.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class CreateUsers < ActiveRecord::Migration
- def change
- create_table :users do |t|
- t.string :name
-
- t.timestamps null: false
- end
- end
-end
diff --git a/richardN/controllers/imc2/db/schema.rb b/richardN/controllers/imc2/db/schema.rb
deleted file mode 100644
index a9edc91..0000000
--- a/richardN/controllers/imc2/db/schema.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171202220035) do
-
- create_table "users", force: :cascade do |t|
- t.string "name"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/richardN/controllers/imc2/db/seeds.rb b/richardN/controllers/imc2/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/richardN/controllers/imc2/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/richardN/controllers/imc2/lib/assets/.keep b/richardN/controllers/imc2/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/imc2/lib/tasks/.keep b/richardN/controllers/imc2/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/imc2/log/.keep b/richardN/controllers/imc2/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/imc2/public/404.html b/richardN/controllers/imc2/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/richardN/controllers/imc2/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/richardN/controllers/imc2/public/422.html b/richardN/controllers/imc2/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/richardN/controllers/imc2/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/richardN/controllers/imc2/public/favicon.ico b/richardN/controllers/imc2/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/imc2/public/robots.txt b/richardN/controllers/imc2/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/richardN/controllers/imc2/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/richardN/controllers/imc2/test/controllers/.keep b/richardN/controllers/imc2/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/imc2/test/controllers/users_controller_test.rb b/richardN/controllers/imc2/test/controllers/users_controller_test.rb
deleted file mode 100644
index d23f182..0000000
--- a/richardN/controllers/imc2/test/controllers/users_controller_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class UsersControllerTest < ActionController::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/richardN/controllers/imc2/test/fixtures/.keep b/richardN/controllers/imc2/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/imc2/test/fixtures/users.yml b/richardN/controllers/imc2/test/fixtures/users.yml
deleted file mode 100644
index 56066c6..0000000
--- a/richardN/controllers/imc2/test/fixtures/users.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- name: MyString
-
-two:
- name: MyString
diff --git a/richardN/controllers/imc2/test/helpers/.keep b/richardN/controllers/imc2/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/imc2/test/integration/.keep b/richardN/controllers/imc2/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/imc2/test/mailers/.keep b/richardN/controllers/imc2/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/imc2/test/models/.keep b/richardN/controllers/imc2/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/imc2/test/models/user_test.rb b/richardN/controllers/imc2/test/models/user_test.rb
deleted file mode 100644
index 82f61e0..0000000
--- a/richardN/controllers/imc2/test/models/user_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class UserTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/richardN/controllers/imc2/test/test_helper.rb b/richardN/controllers/imc2/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/richardN/controllers/imc2/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/richardN/controllers/imc2/vendor/assets/javascripts/.keep b/richardN/controllers/imc2/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/imc2/vendor/assets/stylesheets/.keep b/richardN/controllers/imc2/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/routesContollers/.DS_Store b/richardN/controllers/routesContollers/.DS_Store
deleted file mode 100644
index c1529ae..0000000
Binary files a/richardN/controllers/routesContollers/.DS_Store and /dev/null differ
diff --git a/richardN/controllers/routesContollers/.gitignore b/richardN/controllers/routesContollers/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/richardN/controllers/routesContollers/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/richardN/controllers/routesContollers/Gemfile b/richardN/controllers/routesContollers/Gemfile
deleted file mode 100644
index ac64fba..0000000
--- a/richardN/controllers/routesContollers/Gemfile
+++ /dev/null
@@ -1,48 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
-gem 'hirb'
\ No newline at end of file
diff --git a/richardN/controllers/routesContollers/Gemfile.lock b/richardN/controllers/routesContollers/Gemfile.lock
deleted file mode 100644
index be50182..0000000
--- a/richardN/controllers/routesContollers/Gemfile.lock
+++ /dev/null
@@ -1,172 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (4.0.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/richardN/controllers/routesContollers/README.rdoc b/richardN/controllers/routesContollers/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/richardN/controllers/routesContollers/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/richardN/controllers/routesContollers/Rakefile b/richardN/controllers/routesContollers/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/richardN/controllers/routesContollers/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/richardN/controllers/routesContollers/app/assets/images/.keep b/richardN/controllers/routesContollers/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/routesContollers/app/assets/javascripts/application.js b/richardN/controllers/routesContollers/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/richardN/controllers/routesContollers/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/richardN/controllers/routesContollers/app/assets/stylesheets/application.css b/richardN/controllers/routesContollers/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/richardN/controllers/routesContollers/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/richardN/controllers/routesContollers/app/assets/stylesheets/hellos.scss b/richardN/controllers/routesContollers/app/assets/stylesheets/hellos.scss
deleted file mode 100644
index fd2cdb1..0000000
--- a/richardN/controllers/routesContollers/app/assets/stylesheets/hellos.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-// Place all the styles related to the Hellos controller here.
-// They will automatically be included in application.css.
-// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/richardN/controllers/routesContollers/app/controllers/application_controller.rb b/richardN/controllers/routesContollers/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/richardN/controllers/routesContollers/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/richardN/controllers/routesContollers/app/controllers/concerns/.keep b/richardN/controllers/routesContollers/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/routesContollers/app/controllers/hellos_controller.rb b/richardN/controllers/routesContollers/app/controllers/hellos_controller.rb
deleted file mode 100644
index 36d79ae..0000000
--- a/richardN/controllers/routesContollers/app/controllers/hellos_controller.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-class HellosController < ApplicationController
- def index
- render text: "What da frack am I to say?"
- end
- def hello
- render text: "Hello Nurse!"
- end
- def say
- unless params[:name]
- render text: "Say my name"
- else
- if params[:name]=="michael"
- redirect_to "/say/hello/joe"
- else
- render text: "say hello #{params[:name]}"
- end
- end
- end
- def times
- session[:count] ||=0
- render text: "you visited this url #{session[:count] +=1} time(s)"
- end
- def restart
- session.clear
- render text:"destroy this session"
- end
-end
\ No newline at end of file
diff --git a/richardN/controllers/routesContollers/app/helpers/application_helper.rb b/richardN/controllers/routesContollers/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/richardN/controllers/routesContollers/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/richardN/controllers/routesContollers/app/helpers/hellos_helper.rb b/richardN/controllers/routesContollers/app/helpers/hellos_helper.rb
deleted file mode 100644
index b91478f..0000000
--- a/richardN/controllers/routesContollers/app/helpers/hellos_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module HellosHelper
-end
diff --git a/richardN/controllers/routesContollers/app/mailers/.keep b/richardN/controllers/routesContollers/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/routesContollers/app/models/.keep b/richardN/controllers/routesContollers/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/routesContollers/app/models/concerns/.keep b/richardN/controllers/routesContollers/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/routesContollers/app/views/layouts/application.html.erb b/richardN/controllers/routesContollers/app/views/layouts/application.html.erb
deleted file mode 100644
index d7d01ec..0000000
--- a/richardN/controllers/routesContollers/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- RoutesContollers
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/richardN/controllers/routesContollers/bin/bundle b/richardN/controllers/routesContollers/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/richardN/controllers/routesContollers/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/richardN/controllers/routesContollers/bin/rails b/richardN/controllers/routesContollers/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/richardN/controllers/routesContollers/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/richardN/controllers/routesContollers/bin/rake b/richardN/controllers/routesContollers/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/richardN/controllers/routesContollers/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/richardN/controllers/routesContollers/bin/setup b/richardN/controllers/routesContollers/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/richardN/controllers/routesContollers/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/richardN/controllers/routesContollers/bin/spring b/richardN/controllers/routesContollers/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/richardN/controllers/routesContollers/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/richardN/controllers/routesContollers/config.ru b/richardN/controllers/routesContollers/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/richardN/controllers/routesContollers/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/richardN/controllers/routesContollers/config/application.rb b/richardN/controllers/routesContollers/config/application.rb
deleted file mode 100644
index def9f1c..0000000
--- a/richardN/controllers/routesContollers/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module RoutesContollers
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/richardN/controllers/routesContollers/config/boot.rb b/richardN/controllers/routesContollers/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/richardN/controllers/routesContollers/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/richardN/controllers/routesContollers/config/database.yml b/richardN/controllers/routesContollers/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/richardN/controllers/routesContollers/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/richardN/controllers/routesContollers/config/environment.rb b/richardN/controllers/routesContollers/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/richardN/controllers/routesContollers/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/richardN/controllers/routesContollers/config/environments/development.rb b/richardN/controllers/routesContollers/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/richardN/controllers/routesContollers/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/richardN/controllers/routesContollers/config/environments/production.rb b/richardN/controllers/routesContollers/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/richardN/controllers/routesContollers/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/richardN/controllers/routesContollers/config/environments/test.rb b/richardN/controllers/routesContollers/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/richardN/controllers/routesContollers/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/richardN/controllers/routesContollers/config/initializers/assets.rb b/richardN/controllers/routesContollers/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/richardN/controllers/routesContollers/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/richardN/controllers/routesContollers/config/initializers/backtrace_silencers.rb b/richardN/controllers/routesContollers/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/richardN/controllers/routesContollers/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/richardN/controllers/routesContollers/config/initializers/cookies_serializer.rb b/richardN/controllers/routesContollers/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/richardN/controllers/routesContollers/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/richardN/controllers/routesContollers/config/initializers/filter_parameter_logging.rb b/richardN/controllers/routesContollers/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/richardN/controllers/routesContollers/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/richardN/controllers/routesContollers/config/initializers/inflections.rb b/richardN/controllers/routesContollers/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/richardN/controllers/routesContollers/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/richardN/controllers/routesContollers/config/initializers/mime_types.rb b/richardN/controllers/routesContollers/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/richardN/controllers/routesContollers/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/richardN/controllers/routesContollers/config/initializers/session_store.rb b/richardN/controllers/routesContollers/config/initializers/session_store.rb
deleted file mode 100644
index ef2b66e..0000000
--- a/richardN/controllers/routesContollers/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_routesContollers_session'
diff --git a/richardN/controllers/routesContollers/config/initializers/wrap_parameters.rb b/richardN/controllers/routesContollers/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/richardN/controllers/routesContollers/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/richardN/controllers/routesContollers/config/locales/en.yml b/richardN/controllers/routesContollers/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/richardN/controllers/routesContollers/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/richardN/controllers/routesContollers/config/routes.rb b/richardN/controllers/routesContollers/config/routes.rb
deleted file mode 100644
index 961649d..0000000
--- a/richardN/controllers/routesContollers/config/routes.rb
+++ /dev/null
@@ -1,61 +0,0 @@
-Rails.application.routes.draw do
- root "hellos#index"
- get "hello" => "hellos#hello"
- get "say/hello(/:name)" => "hellos#say"
- get "times" => "hellos#times"
- get "times/restart" => "hellos#restart"
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/richardN/controllers/routesContollers/config/secrets.yml b/richardN/controllers/routesContollers/config/secrets.yml
deleted file mode 100644
index c0d57bf..0000000
--- a/richardN/controllers/routesContollers/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: bd8a18a5829974853a2ab2dd42939896c45261d12ff730a3bbcf3b9c85792e6b1b4d96f9f1d03fb0009dbf023faac30130a6c5266654761fa930b8766962f7a3
-
-test:
- secret_key_base: 3d65f63a719ff586fd9d56bdf40f2d42da12de78fb9f4616babb96894ed8ee76b7362906b507df7b8b83e7a4c7d167fff64a427edefb8aae56f3944c6e49d8ea
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/richardN/controllers/routesContollers/db/schema.rb b/richardN/controllers/routesContollers/db/schema.rb
deleted file mode 100644
index 4dfbb16..0000000
--- a/richardN/controllers/routesContollers/db/schema.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 0) do
-
-end
diff --git a/richardN/controllers/routesContollers/db/seeds.rb b/richardN/controllers/routesContollers/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/richardN/controllers/routesContollers/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/richardN/controllers/routesContollers/lib/assets/.keep b/richardN/controllers/routesContollers/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/routesContollers/lib/tasks/.keep b/richardN/controllers/routesContollers/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/routesContollers/log/.keep b/richardN/controllers/routesContollers/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/routesContollers/public/404.html b/richardN/controllers/routesContollers/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/richardN/controllers/routesContollers/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/richardN/controllers/routesContollers/public/422.html b/richardN/controllers/routesContollers/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/richardN/controllers/routesContollers/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/richardN/controllers/routesContollers/public/favicon.ico b/richardN/controllers/routesContollers/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/routesContollers/public/robots.txt b/richardN/controllers/routesContollers/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/richardN/controllers/routesContollers/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/richardN/controllers/routesContollers/test/controllers/.keep b/richardN/controllers/routesContollers/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/routesContollers/test/controllers/hellos_controller_test.rb b/richardN/controllers/routesContollers/test/controllers/hellos_controller_test.rb
deleted file mode 100644
index 79e128e..0000000
--- a/richardN/controllers/routesContollers/test/controllers/hellos_controller_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class HellosControllerTest < ActionController::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/richardN/controllers/routesContollers/test/fixtures/.keep b/richardN/controllers/routesContollers/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/routesContollers/test/helpers/.keep b/richardN/controllers/routesContollers/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/routesContollers/test/integration/.keep b/richardN/controllers/routesContollers/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/routesContollers/test/mailers/.keep b/richardN/controllers/routesContollers/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/routesContollers/test/models/.keep b/richardN/controllers/routesContollers/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/routesContollers/test/test_helper.rb b/richardN/controllers/routesContollers/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/richardN/controllers/routesContollers/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/richardN/controllers/routesContollers/vendor/assets/javascripts/.keep b/richardN/controllers/routesContollers/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/routesContollers/vendor/assets/stylesheets/.keep b/richardN/controllers/routesContollers/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/timeDisplay/.gitignore b/richardN/controllers/timeDisplay/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/richardN/controllers/timeDisplay/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/richardN/controllers/timeDisplay/Gemfile b/richardN/controllers/timeDisplay/Gemfile
deleted file mode 100644
index 5e63a7c..0000000
--- a/richardN/controllers/timeDisplay/Gemfile
+++ /dev/null
@@ -1,50 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
-gem 'hirb'
-
-gem 'rails-footnotes', '~> 4.0'
diff --git a/richardN/controllers/timeDisplay/Gemfile.lock b/richardN/controllers/timeDisplay/Gemfile.lock
deleted file mode 100644
index e1d3e74..0000000
--- a/richardN/controllers/timeDisplay/Gemfile.lock
+++ /dev/null
@@ -1,175 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-footnotes (4.1.8)
- rails (>= 3.2)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (4.0.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- rails-footnotes (~> 4.0)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/richardN/controllers/timeDisplay/README.rdoc b/richardN/controllers/timeDisplay/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/richardN/controllers/timeDisplay/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/richardN/controllers/timeDisplay/Rakefile b/richardN/controllers/timeDisplay/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/richardN/controllers/timeDisplay/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/richardN/controllers/timeDisplay/app/assets/images/.keep b/richardN/controllers/timeDisplay/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/timeDisplay/app/assets/javascripts/application.js b/richardN/controllers/timeDisplay/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/richardN/controllers/timeDisplay/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/richardN/controllers/timeDisplay/app/assets/stylesheets/application.css b/richardN/controllers/timeDisplay/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/richardN/controllers/timeDisplay/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/richardN/controllers/timeDisplay/app/assets/stylesheets/time_displays.scss b/richardN/controllers/timeDisplay/app/assets/stylesheets/time_displays.scss
deleted file mode 100644
index 8521424..0000000
--- a/richardN/controllers/timeDisplay/app/assets/stylesheets/time_displays.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-// Place all the styles related to the TimeDisplays controller here.
-// They will automatically be included in application.css.
-// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/richardN/controllers/timeDisplay/app/controllers/application_controller.rb b/richardN/controllers/timeDisplay/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/richardN/controllers/timeDisplay/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/richardN/controllers/timeDisplay/app/controllers/concerns/.keep b/richardN/controllers/timeDisplay/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/timeDisplay/app/controllers/time_displays_controller.rb b/richardN/controllers/timeDisplay/app/controllers/time_displays_controller.rb
deleted file mode 100644
index 37e6e2d..0000000
--- a/richardN/controllers/timeDisplay/app/controllers/time_displays_controller.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-class TimeDisplaysController < ApplicationController
- def main
- @time = Time.now.strftime("%H:%M:%S")
- @date = Time.now.strftime("%m:%d:%Y")
- return render 'time.html.erb'
- end
-end
diff --git a/richardN/controllers/timeDisplay/app/helpers/application_helper.rb b/richardN/controllers/timeDisplay/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/richardN/controllers/timeDisplay/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/richardN/controllers/timeDisplay/app/helpers/time_displays_helper.rb b/richardN/controllers/timeDisplay/app/helpers/time_displays_helper.rb
deleted file mode 100644
index c3ad47d..0000000
--- a/richardN/controllers/timeDisplay/app/helpers/time_displays_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module TimeDisplaysHelper
-end
diff --git a/richardN/controllers/timeDisplay/app/mailers/.keep b/richardN/controllers/timeDisplay/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/timeDisplay/app/models/.keep b/richardN/controllers/timeDisplay/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/timeDisplay/app/models/concerns/.keep b/richardN/controllers/timeDisplay/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/timeDisplay/app/views/layouts/application.html.erb b/richardN/controllers/timeDisplay/app/views/layouts/application.html.erb
deleted file mode 100644
index 8b25576..0000000
--- a/richardN/controllers/timeDisplay/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- TimeDisplay
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/richardN/controllers/timeDisplay/app/views/time_displays/time.html.erb b/richardN/controllers/timeDisplay/app/views/time_displays/time.html.erb
deleted file mode 100644
index 77d404b..0000000
--- a/richardN/controllers/timeDisplay/app/views/time_displays/time.html.erb
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
- time
-
-
-
<%= @date %>
-
<%= @time %>
-
-
\ No newline at end of file
diff --git a/richardN/controllers/timeDisplay/bin/bundle b/richardN/controllers/timeDisplay/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/richardN/controllers/timeDisplay/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/richardN/controllers/timeDisplay/bin/rails b/richardN/controllers/timeDisplay/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/richardN/controllers/timeDisplay/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/richardN/controllers/timeDisplay/bin/rake b/richardN/controllers/timeDisplay/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/richardN/controllers/timeDisplay/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/richardN/controllers/timeDisplay/bin/setup b/richardN/controllers/timeDisplay/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/richardN/controllers/timeDisplay/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/richardN/controllers/timeDisplay/bin/spring b/richardN/controllers/timeDisplay/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/richardN/controllers/timeDisplay/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/richardN/controllers/timeDisplay/config.ru b/richardN/controllers/timeDisplay/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/richardN/controllers/timeDisplay/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/richardN/controllers/timeDisplay/config/application.rb b/richardN/controllers/timeDisplay/config/application.rb
deleted file mode 100644
index 94c66d8..0000000
--- a/richardN/controllers/timeDisplay/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module TimeDisplay
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/richardN/controllers/timeDisplay/config/boot.rb b/richardN/controllers/timeDisplay/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/richardN/controllers/timeDisplay/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/richardN/controllers/timeDisplay/config/database.yml b/richardN/controllers/timeDisplay/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/richardN/controllers/timeDisplay/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/richardN/controllers/timeDisplay/config/environment.rb b/richardN/controllers/timeDisplay/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/richardN/controllers/timeDisplay/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/richardN/controllers/timeDisplay/config/environments/development.rb b/richardN/controllers/timeDisplay/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/richardN/controllers/timeDisplay/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/richardN/controllers/timeDisplay/config/environments/production.rb b/richardN/controllers/timeDisplay/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/richardN/controllers/timeDisplay/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/richardN/controllers/timeDisplay/config/environments/test.rb b/richardN/controllers/timeDisplay/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/richardN/controllers/timeDisplay/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/richardN/controllers/timeDisplay/config/initializers/assets.rb b/richardN/controllers/timeDisplay/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/richardN/controllers/timeDisplay/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/richardN/controllers/timeDisplay/config/initializers/backtrace_silencers.rb b/richardN/controllers/timeDisplay/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/richardN/controllers/timeDisplay/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/richardN/controllers/timeDisplay/config/initializers/cookies_serializer.rb b/richardN/controllers/timeDisplay/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/richardN/controllers/timeDisplay/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/richardN/controllers/timeDisplay/config/initializers/filter_parameter_logging.rb b/richardN/controllers/timeDisplay/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/richardN/controllers/timeDisplay/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/richardN/controllers/timeDisplay/config/initializers/inflections.rb b/richardN/controllers/timeDisplay/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/richardN/controllers/timeDisplay/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/richardN/controllers/timeDisplay/config/initializers/mime_types.rb b/richardN/controllers/timeDisplay/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/richardN/controllers/timeDisplay/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/richardN/controllers/timeDisplay/config/initializers/rails_footnotes.rb b/richardN/controllers/timeDisplay/config/initializers/rails_footnotes.rb
deleted file mode 100644
index 9a15363..0000000
--- a/richardN/controllers/timeDisplay/config/initializers/rails_footnotes.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-defined?(Footnotes) && Footnotes.setup do |f|
- # Whether or not to enable footnotes
- f.enabled = Rails.env.development?
- # You can also use a lambda / proc to conditionally toggle footnotes
- # Example :
- # f.enabled = -> { User.current.admin? }
- # Beware of thread-safety though, Footnotes.enabled is NOT thread safe
- # and should not be modified anywhere else.
-
- # Only toggle some notes :
- # f.notes = [:session, :cookies, :params, :filters, :routes, :env, :queries, :log]
-
- # Change the prefix :
- # f.prefix = 'mvim://open?url=file://%s&line=%d&column=%d'
-
- # Disable style :
- # f.no_style = true
-
- # Lock notes to top right :
- # f.lock_top_right = true
-
- # Change font size :
- # f.font_size = '11px'
-
- # Allow to open multiple notes :
- # f.multiple_notes = true
-end
diff --git a/richardN/controllers/timeDisplay/config/initializers/session_store.rb b/richardN/controllers/timeDisplay/config/initializers/session_store.rb
deleted file mode 100644
index 51c9c49..0000000
--- a/richardN/controllers/timeDisplay/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_timeDisplay_session'
diff --git a/richardN/controllers/timeDisplay/config/initializers/wrap_parameters.rb b/richardN/controllers/timeDisplay/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/richardN/controllers/timeDisplay/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/richardN/controllers/timeDisplay/config/locales/en.yml b/richardN/controllers/timeDisplay/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/richardN/controllers/timeDisplay/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/richardN/controllers/timeDisplay/config/routes.rb b/richardN/controllers/timeDisplay/config/routes.rb
deleted file mode 100644
index 0ddd762..0000000
--- a/richardN/controllers/timeDisplay/config/routes.rb
+++ /dev/null
@@ -1,57 +0,0 @@
-Rails.application.routes.draw do
- root 'time_displays#main'
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/richardN/controllers/timeDisplay/config/secrets.yml b/richardN/controllers/timeDisplay/config/secrets.yml
deleted file mode 100644
index fba9f5d..0000000
--- a/richardN/controllers/timeDisplay/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 819f296db12a892b38319d080e8e2b474cab51f6fe2ce2edbe9d3ac4ed5be2e8aa50d8e5f71bd25cf436f993256ac359b9591f38ac06695954ba10c539a17e6c
-
-test:
- secret_key_base: bad10e142c8c2786dcacaf77b030c8c6c255fc9ccc08d89798ecf9e2c3e09cda27b2fadf1afee48a930cab5f9ff315ffb40f15e0ebca8889830bf04c22c6e1ce
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/richardN/controllers/timeDisplay/db/seeds.rb b/richardN/controllers/timeDisplay/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/richardN/controllers/timeDisplay/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/richardN/controllers/timeDisplay/lib/assets/.keep b/richardN/controllers/timeDisplay/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/timeDisplay/lib/tasks/.keep b/richardN/controllers/timeDisplay/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/timeDisplay/log/.keep b/richardN/controllers/timeDisplay/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/timeDisplay/public/404.html b/richardN/controllers/timeDisplay/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/richardN/controllers/timeDisplay/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/richardN/controllers/timeDisplay/public/422.html b/richardN/controllers/timeDisplay/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/richardN/controllers/timeDisplay/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/richardN/controllers/timeDisplay/public/favicon.ico b/richardN/controllers/timeDisplay/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/timeDisplay/public/robots.txt b/richardN/controllers/timeDisplay/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/richardN/controllers/timeDisplay/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/richardN/controllers/timeDisplay/test/controllers/.keep b/richardN/controllers/timeDisplay/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/timeDisplay/test/controllers/time_displays_controller_test.rb b/richardN/controllers/timeDisplay/test/controllers/time_displays_controller_test.rb
deleted file mode 100644
index c6cc0da..0000000
--- a/richardN/controllers/timeDisplay/test/controllers/time_displays_controller_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class TimeDisplaysControllerTest < ActionController::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/richardN/controllers/timeDisplay/test/fixtures/.keep b/richardN/controllers/timeDisplay/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/timeDisplay/test/helpers/.keep b/richardN/controllers/timeDisplay/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/timeDisplay/test/integration/.keep b/richardN/controllers/timeDisplay/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/timeDisplay/test/mailers/.keep b/richardN/controllers/timeDisplay/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/timeDisplay/test/models/.keep b/richardN/controllers/timeDisplay/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/timeDisplay/test/test_helper.rb b/richardN/controllers/timeDisplay/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/richardN/controllers/timeDisplay/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/richardN/controllers/timeDisplay/vendor/assets/javascripts/.keep b/richardN/controllers/timeDisplay/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/controllers/timeDisplay/vendor/assets/stylesheets/.keep b/richardN/controllers/timeDisplay/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/fundamentals/.DS_Store b/richardN/fundamentals/.DS_Store
deleted file mode 100644
index c2ebcc8..0000000
Binary files a/richardN/fundamentals/.DS_Store and /dev/null differ
diff --git a/richardN/fundamentals/arrays.rb b/richardN/fundamentals/arrays.rb
deleted file mode 100644
index b6f4b11..0000000
--- a/richardN/fundamentals/arrays.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-a = [1,3,5,7,9,2,4,6,8,0]
-b = ["dog", "cat", "tea", "coffee", "dallas", "apple", "Houston"]
-
-puts a.at 3
-puts b.fetch 6
-
-puts a.delete 2
-puts b.delete "dallas"
-
-puts a.reverse
-puts b.reverse
-
-puts a.length
-puts b.sort.to_s
-
-puts a.slice 6 #not sure...
-puts b.shuffle
-
-puts a.join "-Test-"
-puts b.insert(0,"Richard")
-
-puts a.values_at(2)
-b = %w{cat dog bear}; puts a.values_at(1,2).join(' and ') #=> "dog and bear"
\ No newline at end of file
diff --git a/richardN/fundamentals/basic13.rb b/richardN/fundamentals/basic13.rb
deleted file mode 100644
index 06201da..0000000
--- a/richardN/fundamentals/basic13.rb
+++ /dev/null
@@ -1,53 +0,0 @@
-#print 1-255
-(1...255).to_a
-
-#print odd between 1-255
-(1...255).select(&:odd)
-
-#print the sum of the numbers that have been printed so far
-sum = 0
-(0...255).each{|i| puts "New number: #{i} Sum: #{sum+=i}"}
-
-# Iterating through an array
-X = [1,3,5,7,-5,9,13]
-X.each{|i| puts i}
-
-# Find Max
-puts x.max
-
-# Get Average
-p X.reduce(:+)/X.size
-
-# Array with Odd Numbers
-y =*(1..255).step(2)
-
-# Greater Than Y
-array = [1,3,5,7]
-y = 3
-puts array.reject{|i| i> y}.count()
-
-# Square the values
-x = [1, 5, 10, -2]
-x.collect!{|i| i*i }
-x.map!{|i| i*i}
-p x
-
-# Eliminate Negative Numbers
-x = [1, 5, 10, -2]
-x.map!{|i| if i<0 then 0 else i end}
-x = x.each_index{|i| x[i] = 0 if x[i]<0 }
-p x
-
-# Max, Min, and Average
-x = [1, 5, 10, -2]
-mma = Hash["min" => x.min, "max" => x.max, "avg" => x.reduce(:+)/x.size]
-p mma
-
-# Shifting the Values in the Array
-x = [1, 5, 10, 7, -2]
-p x.rotate!
-
-# Number to String
-x = [-1,-3,2]
-x.map!{|i| if i<0 then "dojo" else i end}
-p x
\ No newline at end of file
diff --git a/richardN/fundamentals/guess.rb b/richardN/fundamentals/guess.rb
deleted file mode 100644
index 28e4250..0000000
--- a/richardN/fundamentals/guess.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-def guess_number guess
- number = 25
- # your code here
- puts "u got it" unless guess != number
- puts "too high" unless guess > number
- puts "too low" unless guess < number
-end
-
-print guess_number guess=5
-print guess_number guess=10
-print guess_number guess=100
-print guess_number guess=26
-print guess_number guess=25
\ No newline at end of file
diff --git a/richardN/fundamentals/hashes.rb b/richardN/fundamentals/hashes.rb
deleted file mode 100644
index cacce73..0000000
--- a/richardN/fundamentals/hashes.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# .delete(key) deletes the key-value pair and returns the value from hsh whose key is equal to key.
-
-h = {first_name: "Coding", last_name: "Dojo"}
-h.delete :last_name
-puts h
-
-# .empty? => returns true if hash contains no key-value pairs
-h = {}
-h.empty?
-
-# .has_key?(key) returns true if given key is present
-h = {first_name: "Coding", last_name: "Dojo"}
-h.has_key? :first_name # => true
-h.has_key? "first_name" # => false
-
-# .has_value?(value) returns true if given value is present for some key
-h = {first_name: "Coding", last_name: "Dojo"}
-h.has_value? "Coding" # => true
-h.has_value? "Bootcamp" # => false
\ No newline at end of file
diff --git a/richardN/fundamentals/iterators.rb b/richardN/fundamentals/iterators.rb
deleted file mode 100644
index 935f573..0000000
--- a/richardN/fundamentals/iterators.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# .any? { |obj| block } => true or false
-["ant", "bear", "cat"].any? { |word| word.length >= 3 } # => true
-# .each => calls block once for each element in ruby self, passing that element as a block parameter.
-["ant", "bear", "cat"].each { |word| print word, "--" } # => ant--bear--cat--
-# .collect { |obj| block } => returns a new array with the results of running block once for every element in enum
-(1..4).collect { |i| i*i } # => [1, 4, 9, 16]
-(1..4).collect { "cat" } # => ["cat", "cat", "cat", "cat"]
-# .detect/.find => returns the first for which block is not false.
-(1..10).detect { |i| i %5 == 0 and i % 7 == 0 } # => nil
-(1..100).detect { |i| i %5 == 0 and i % 7 == 0 } # => 35
-# .find_all { |obj| block } or .select { |obj| block } => returns an array containing all elements of enum for which block is not false
-(1..10).find_all { |i| i % 3 == 0 } # => [3, 6, 9]
-# .reject { |obj| block } => opposite of find_all
-(1..10).reject { |i| i % 3 == 0 } # => [1, 2, 4, 5, 7, 8, 10]
-# .upto(limit) => iterates block up to the int number
-5.upto(10) { |i| print i, " " } # => 5 6 7 8 9 10
\ No newline at end of file
diff --git a/richardN/fundamentals/my_enumerable.rb b/richardN/fundamentals/my_enumerable.rb
deleted file mode 100644
index a3e6c47..0000000
--- a/richardN/fundamentals/my_enumerable.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-module MyEnumerable
- def my_each
- # your code here!
- for i in 0...self.length
- yeild(self[i])
- end
- end
- class Array
- include MyEnumerable
- end
-
- [1,2,3,4].my_each { |i| puts i } # => 1 2 3 4
- [1,2,3,4].my_each { |i| puts i * 10 } # => 10 20 30 40
\ No newline at end of file
diff --git a/richardN/fundamentals/names.rb b/richardN/fundamentals/names.rb
deleted file mode 100644
index 00f3e57..0000000
--- a/richardN/fundamentals/names.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-=begin
-Create a ruby method that goes over each name in the names array and prints something like below.
-You have 5 names in the 'names' array
-The name is 'Michael Choi'
-The name is 'John Doe'
-The name is 'Jane Doe'
-The name is 'James Smith'
-The name is 'Jennifer Smith'
-=end
-
-a = {first_name: "Michael", last_name: "Choi"}
-b = {first_name: "John", last_name: "Doe"}
-c = {first_name: "Jane", last_name: "Doe"}
-d = {first_name: "James", last_name: "Smith"}
-e = {first_name: "Jennifer", last_name: "Smith"}
-names = [a, b, c, d, e]
-
-puts "you have #{names.length} names in the 'names' array"
-names.each do |name|
- puts "the name is #{name[:first_name]} #{name[:last_name]}"
-end
-
diff --git a/richardN/fundamentals/puzzles.rb b/richardN/fundamentals/puzzles.rb
deleted file mode 100644
index c3d7465..0000000
--- a/richardN/fundamentals/puzzles.rb
+++ /dev/null
@@ -1,55 +0,0 @@
-# Create an array with the following values: 3,5,1,2,7,9,8,13,25,32.
-numbers_array = [3,5,1,2,7,9,8,13,25,32]
-
-# Return the sum of all numbers in the array.
-puts numbers_array.reduce(:+)
-
-# Also have it return an array that only include numbers that are greater than 10.
-puts numbers_array.reject { |number| number < 10 }
-
-# Create an array with the following values: John, KB, Oliver, Cory, Matthew, Christopher.
-persons_array = ["John", "KB", "Oliver", "Cory", "Matthew", "Christopher"]
-
-# Shuffle the array and print the name of each person.
-persons_array.shuffle.each { |person| puts person}
-
-# Have the program also return an array with names that are longer than 5 characters.
-puts persons_array.select { |person| person.length > 5 }
-
-# Create an array that contains all 26 letters in the alphabet (this array must have 26 values).
-letters_array = ("a".."z").to_a
-
-# Shuffle the array and display the last letter of the array.
-puts letters_array.shuffle.last
-
-# Have it also display the first letter of the array.
-puts letters_array.shuffle.first
-
-# If the first letter in the array is a vowel, have it display a message
-shuffled = letters_array.shuffle
-puts "#{shuffled.first} is a vowel" if ["a","e","i","o","u"].include? shuffled.first
-
-# Generate an array with 10 random numbers between 55-100.
-random_array = []
-10.times { random_array << rand(55..100) }
-
-# have it be sorted (showing the smallest number in the beginning). Display all the numbers in the arrays.
-puts random_array.sort
-
-# Next, display the minimum value in the array as well as the maximum value.
-puts random_array.max
-puts random_array.min
-
-# Create a random string that is 5 characters long (hint: (65+rand(26)).chr returns a random character; use a map function and a range to do this).
-str = ""
-5.times { str << rand(65..90).chr }
-puts str
-
-# Generate an array with 10 random strings that are each 5 characters long
-string_array = []
-10.times do
- str = ""
- 5.times { str << rand(65..90).chr }
- string_array << str
-end
-puts string_array
\ No newline at end of file
diff --git a/richardN/fundamentals/range.rb b/richardN/fundamentals/range.rb
deleted file mode 100644
index 2f6e625..0000000
--- a/richardN/fundamentals/range.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-x = (-10..10)
-alp = ("a".."r")
-
-puts x
-puts alp
-
-puts x.include?(5)
-puts x.include?(20)
-
-puts alp.last
-puts x.max
-puts x.min
diff --git a/richardN/models/.DS_Store b/richardN/models/.DS_Store
deleted file mode 100644
index a1e4500..0000000
Binary files a/richardN/models/.DS_Store and /dev/null differ
diff --git a/richardN/models/Users/.DS_Store b/richardN/models/Users/.DS_Store
deleted file mode 100644
index 7c22c55..0000000
Binary files a/richardN/models/Users/.DS_Store and /dev/null differ
diff --git a/richardN/models/Users/.gitignore b/richardN/models/Users/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/richardN/models/Users/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/richardN/models/Users/Gemfile b/richardN/models/Users/Gemfile
deleted file mode 100644
index ac64fba..0000000
--- a/richardN/models/Users/Gemfile
+++ /dev/null
@@ -1,48 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
-gem 'hirb'
\ No newline at end of file
diff --git a/richardN/models/Users/Gemfile.lock b/richardN/models/Users/Gemfile.lock
deleted file mode 100644
index 73114af..0000000
--- a/richardN/models/Users/Gemfile.lock
+++ /dev/null
@@ -1,172 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/richardN/models/Users/README.rdoc b/richardN/models/Users/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/richardN/models/Users/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/richardN/models/Users/Rakefile b/richardN/models/Users/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/richardN/models/Users/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/richardN/models/Users/app/.DS_Store b/richardN/models/Users/app/.DS_Store
deleted file mode 100644
index 5249f6b..0000000
Binary files a/richardN/models/Users/app/.DS_Store and /dev/null differ
diff --git a/richardN/models/Users/app/assets/images/.keep b/richardN/models/Users/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/Users/app/assets/javascripts/application.js b/richardN/models/Users/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/richardN/models/Users/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/richardN/models/Users/app/assets/stylesheets/application.css b/richardN/models/Users/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/richardN/models/Users/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/richardN/models/Users/app/controllers/application_controller.rb b/richardN/models/Users/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/richardN/models/Users/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/richardN/models/Users/app/controllers/concerns/.keep b/richardN/models/Users/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/Users/app/helpers/application_helper.rb b/richardN/models/Users/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/richardN/models/Users/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/richardN/models/Users/app/mailers/.keep b/richardN/models/Users/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/Users/app/models/.DS_Store b/richardN/models/Users/app/models/.DS_Store
deleted file mode 100644
index 8f9e58a..0000000
Binary files a/richardN/models/Users/app/models/.DS_Store and /dev/null differ
diff --git a/richardN/models/Users/app/models/.keep b/richardN/models/Users/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/Users/app/models/concerns/.keep b/richardN/models/Users/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/Users/app/models/user.rb b/richardN/models/Users/app/models/user.rb
deleted file mode 100644
index ec8953f..0000000
--- a/richardN/models/Users/app/models/user.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-class User < ActiveRecord::Base
- EMAIL_REGEX = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]+)\z/i
- validates :first_name, :last_name, presence:true, length:{minimum:2}
- validates :email_addy, presence:true, uniqueness:{case_sensitive:false},format:{with:EMAIL_REGEX}
- validates :age, presence:true, numericality:{greater_than_or_equal_to:10, less_than:150}
-end
diff --git a/richardN/models/Users/app/views/layouts/application.html.erb b/richardN/models/Users/app/views/layouts/application.html.erb
deleted file mode 100644
index b592274..0000000
--- a/richardN/models/Users/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- Users
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/richardN/models/Users/bin/bundle b/richardN/models/Users/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/richardN/models/Users/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/richardN/models/Users/bin/rails b/richardN/models/Users/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/richardN/models/Users/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/richardN/models/Users/bin/rake b/richardN/models/Users/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/richardN/models/Users/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/richardN/models/Users/bin/setup b/richardN/models/Users/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/richardN/models/Users/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/richardN/models/Users/bin/spring b/richardN/models/Users/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/richardN/models/Users/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/richardN/models/Users/config.ru b/richardN/models/Users/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/richardN/models/Users/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/richardN/models/Users/config/application.rb b/richardN/models/Users/config/application.rb
deleted file mode 100644
index 367abd3..0000000
--- a/richardN/models/Users/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module Users
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/richardN/models/Users/config/boot.rb b/richardN/models/Users/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/richardN/models/Users/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/richardN/models/Users/config/database.yml b/richardN/models/Users/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/richardN/models/Users/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/richardN/models/Users/config/environment.rb b/richardN/models/Users/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/richardN/models/Users/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/richardN/models/Users/config/environments/development.rb b/richardN/models/Users/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/richardN/models/Users/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/richardN/models/Users/config/environments/production.rb b/richardN/models/Users/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/richardN/models/Users/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/richardN/models/Users/config/environments/test.rb b/richardN/models/Users/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/richardN/models/Users/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/richardN/models/Users/config/initializers/assets.rb b/richardN/models/Users/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/richardN/models/Users/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/richardN/models/Users/config/initializers/backtrace_silencers.rb b/richardN/models/Users/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/richardN/models/Users/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/richardN/models/Users/config/initializers/cookies_serializer.rb b/richardN/models/Users/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/richardN/models/Users/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/richardN/models/Users/config/initializers/filter_parameter_logging.rb b/richardN/models/Users/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/richardN/models/Users/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/richardN/models/Users/config/initializers/inflections.rb b/richardN/models/Users/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/richardN/models/Users/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/richardN/models/Users/config/initializers/mime_types.rb b/richardN/models/Users/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/richardN/models/Users/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/richardN/models/Users/config/initializers/session_store.rb b/richardN/models/Users/config/initializers/session_store.rb
deleted file mode 100644
index 5ce5a2c..0000000
--- a/richardN/models/Users/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_Users_session'
diff --git a/richardN/models/Users/config/initializers/wrap_parameters.rb b/richardN/models/Users/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/richardN/models/Users/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/richardN/models/Users/config/locales/en.yml b/richardN/models/Users/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/richardN/models/Users/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/richardN/models/Users/config/routes.rb b/richardN/models/Users/config/routes.rb
deleted file mode 100644
index 3f66539..0000000
--- a/richardN/models/Users/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/richardN/models/Users/config/secrets.yml b/richardN/models/Users/config/secrets.yml
deleted file mode 100644
index 5223de2..0000000
--- a/richardN/models/Users/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 2c02823cd9f4225cfea5bb640755bdfc957ce5dcf35472391f7346ed99f24607c8913d0c1be1a883b16584e0fa444ef781f210d6bba0697c78f0c85e6a709023
-
-test:
- secret_key_base: 599be68d2e7a8805936c4098641d4466ce91131f2d43a1025ae9278c147286b2cfa3ad65d0791fae5ace455063cb591b6d2d39be94b6f4f727c6a3ed617da438
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/richardN/models/Users/db/.DS_Store b/richardN/models/Users/db/.DS_Store
deleted file mode 100644
index 4b17523..0000000
Binary files a/richardN/models/Users/db/.DS_Store and /dev/null differ
diff --git a/richardN/models/Users/db/migrate/20171130021031_create_users.rb b/richardN/models/Users/db/migrate/20171130021031_create_users.rb
deleted file mode 100644
index c640cf9..0000000
--- a/richardN/models/Users/db/migrate/20171130021031_create_users.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-class CreateUsers < ActiveRecord::Migration
- def change
- create_table :users do |t|
- t.text :first_name
- t.text :last_name
- t.text :email_addy
- t.integer :age
-
- t.timestamps null: false
- end
- end
-end
diff --git a/richardN/models/Users/db/schema.rb b/richardN/models/Users/db/schema.rb
deleted file mode 100644
index a2b15ea..0000000
--- a/richardN/models/Users/db/schema.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171130021031) do
-
- create_table "users", force: :cascade do |t|
- t.text "first_name"
- t.text "last_name"
- t.text "email_addy"
- t.integer "age"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/richardN/models/Users/db/seeds.rb b/richardN/models/Users/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/richardN/models/Users/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/richardN/models/Users/lib/assets/.keep b/richardN/models/Users/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/Users/lib/tasks/.keep b/richardN/models/Users/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/Users/log/.keep b/richardN/models/Users/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/Users/public/404.html b/richardN/models/Users/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/richardN/models/Users/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/richardN/models/Users/public/422.html b/richardN/models/Users/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/richardN/models/Users/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/richardN/models/Users/public/favicon.ico b/richardN/models/Users/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/Users/public/robots.txt b/richardN/models/Users/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/richardN/models/Users/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/richardN/models/Users/test/controllers/.keep b/richardN/models/Users/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/Users/test/fixtures/.keep b/richardN/models/Users/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/Users/test/fixtures/users.yml b/richardN/models/Users/test/fixtures/users.yml
deleted file mode 100644
index 3a4f25b..0000000
--- a/richardN/models/Users/test/fixtures/users.yml
+++ /dev/null
@@ -1,13 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- first_name: MyText
- last_name: MyText
- email_addy: MyText
- age: 1
-
-two:
- first_name: MyText
- last_name: MyText
- email_addy: MyText
- age: 1
diff --git a/richardN/models/Users/test/helpers/.keep b/richardN/models/Users/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/Users/test/integration/.keep b/richardN/models/Users/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/Users/test/mailers/.keep b/richardN/models/Users/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/Users/test/models/.keep b/richardN/models/Users/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/Users/test/models/user_test.rb b/richardN/models/Users/test/models/user_test.rb
deleted file mode 100644
index 82f61e0..0000000
--- a/richardN/models/Users/test/models/user_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class UserTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/richardN/models/Users/test/test_helper.rb b/richardN/models/Users/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/richardN/models/Users/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/richardN/models/Users/vendor/assets/javascripts/.keep b/richardN/models/Users/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/Users/vendor/assets/stylesheets/.keep b/richardN/models/Users/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/blogPostMessage/.gitignore b/richardN/models/blogPostMessage/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/richardN/models/blogPostMessage/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/richardN/models/blogPostMessage/Gemfile b/richardN/models/blogPostMessage/Gemfile
deleted file mode 100644
index 6f0b52d..0000000
--- a/richardN/models/blogPostMessage/Gemfile
+++ /dev/null
@@ -1,50 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
-gem 'hirb'
-
-gem 'rails-footnotes'
diff --git a/richardN/models/blogPostMessage/Gemfile.lock b/richardN/models/blogPostMessage/Gemfile.lock
deleted file mode 100644
index da3421f..0000000
--- a/richardN/models/blogPostMessage/Gemfile.lock
+++ /dev/null
@@ -1,175 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-footnotes (4.1.8)
- rails (>= 3.2)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (4.0.1)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- rails-footnotes
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/richardN/models/blogPostMessage/README.rdoc b/richardN/models/blogPostMessage/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/richardN/models/blogPostMessage/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/richardN/models/blogPostMessage/Rakefile b/richardN/models/blogPostMessage/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/richardN/models/blogPostMessage/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/richardN/models/blogPostMessage/app/assets/images/.keep b/richardN/models/blogPostMessage/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/blogPostMessage/app/assets/javascripts/application.js b/richardN/models/blogPostMessage/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/richardN/models/blogPostMessage/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/richardN/models/blogPostMessage/app/assets/stylesheets/application.css b/richardN/models/blogPostMessage/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/richardN/models/blogPostMessage/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/richardN/models/blogPostMessage/app/controllers/application_controller.rb b/richardN/models/blogPostMessage/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/richardN/models/blogPostMessage/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/richardN/models/blogPostMessage/app/controllers/concerns/.keep b/richardN/models/blogPostMessage/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/blogPostMessage/app/helpers/application_helper.rb b/richardN/models/blogPostMessage/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/richardN/models/blogPostMessage/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/richardN/models/blogPostMessage/app/mailers/.keep b/richardN/models/blogPostMessage/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/blogPostMessage/app/models/.keep b/richardN/models/blogPostMessage/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/blogPostMessage/app/models/blog.rb b/richardN/models/blogPostMessage/app/models/blog.rb
deleted file mode 100644
index a6648f3..0000000
--- a/richardN/models/blogPostMessage/app/models/blog.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-class Blog < ActiveRecord::Base
- has_many :owners
- has_many :posts
- has_many :users, through: :owners
- has_many :user_posts, through: :posts, source: :user
- validates :name, :description, presence: true
-end
diff --git a/richardN/models/blogPostMessage/app/models/concerns/.keep b/richardN/models/blogPostMessage/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/blogPostMessage/app/models/message.rb b/richardN/models/blogPostMessage/app/models/message.rb
deleted file mode 100644
index 25a8dc9..0000000
--- a/richardN/models/blogPostMessage/app/models/message.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class Message < ActiveRecord::Base
- belongs_to :user
- belongs_to :post
- validates :author, :message, presence: true
-end
diff --git a/richardN/models/blogPostMessage/app/models/owner.rb b/richardN/models/blogPostMessage/app/models/owner.rb
deleted file mode 100644
index cf59588..0000000
--- a/richardN/models/blogPostMessage/app/models/owner.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-class Owner < ActiveRecord::Base
- belongs_to :blog
- belongs_to :user
-end
diff --git a/richardN/models/blogPostMessage/app/models/post.rb b/richardN/models/blogPostMessage/app/models/post.rb
deleted file mode 100644
index ab213bb..0000000
--- a/richardN/models/blogPostMessage/app/models/post.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-class Post < ActiveRecord::Base
- belongs_to :user
- belongs_to :blog
- has_many :messages
- validates :content, :title, presence: true
-end
diff --git a/richardN/models/blogPostMessage/app/models/user.rb b/richardN/models/blogPostMessage/app/models/user.rb
deleted file mode 100644
index 7c3d851..0000000
--- a/richardN/models/blogPostMessage/app/models/user.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class User < ActiveRecord::Base
- has_many :owners
- has_many :messages
- has_many :posts
- has_many :blogs, through: :owners
- has_many :blog_posts, through: :posts, source: :blog
- EMAIL_REGEX = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]+)\z/i
- validates :email, uniqueness: {case_sensitive: false}, format: {with: EMAIL_REGEX}
- validates :first_name, :last_name, :email, presence: true
-end
diff --git a/richardN/models/blogPostMessage/app/views/layouts/application.html.erb b/richardN/models/blogPostMessage/app/views/layouts/application.html.erb
deleted file mode 100644
index 131c65a..0000000
--- a/richardN/models/blogPostMessage/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- BlogPostMessage
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/richardN/models/blogPostMessage/bin/bundle b/richardN/models/blogPostMessage/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/richardN/models/blogPostMessage/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/richardN/models/blogPostMessage/bin/rails b/richardN/models/blogPostMessage/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/richardN/models/blogPostMessage/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/richardN/models/blogPostMessage/bin/rake b/richardN/models/blogPostMessage/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/richardN/models/blogPostMessage/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/richardN/models/blogPostMessage/bin/setup b/richardN/models/blogPostMessage/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/richardN/models/blogPostMessage/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/richardN/models/blogPostMessage/bin/spring b/richardN/models/blogPostMessage/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/richardN/models/blogPostMessage/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/richardN/models/blogPostMessage/config.ru b/richardN/models/blogPostMessage/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/richardN/models/blogPostMessage/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/richardN/models/blogPostMessage/config/application.rb b/richardN/models/blogPostMessage/config/application.rb
deleted file mode 100644
index 3df57df..0000000
--- a/richardN/models/blogPostMessage/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module BlogPostMessage
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/richardN/models/blogPostMessage/config/boot.rb b/richardN/models/blogPostMessage/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/richardN/models/blogPostMessage/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/richardN/models/blogPostMessage/config/database.yml b/richardN/models/blogPostMessage/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/richardN/models/blogPostMessage/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/richardN/models/blogPostMessage/config/environment.rb b/richardN/models/blogPostMessage/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/richardN/models/blogPostMessage/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/richardN/models/blogPostMessage/config/environments/development.rb b/richardN/models/blogPostMessage/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/richardN/models/blogPostMessage/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/richardN/models/blogPostMessage/config/environments/production.rb b/richardN/models/blogPostMessage/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/richardN/models/blogPostMessage/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/richardN/models/blogPostMessage/config/environments/test.rb b/richardN/models/blogPostMessage/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/richardN/models/blogPostMessage/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/richardN/models/blogPostMessage/config/initializers/assets.rb b/richardN/models/blogPostMessage/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/richardN/models/blogPostMessage/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/richardN/models/blogPostMessage/config/initializers/backtrace_silencers.rb b/richardN/models/blogPostMessage/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/richardN/models/blogPostMessage/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/richardN/models/blogPostMessage/config/initializers/cookies_serializer.rb b/richardN/models/blogPostMessage/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/richardN/models/blogPostMessage/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/richardN/models/blogPostMessage/config/initializers/filter_parameter_logging.rb b/richardN/models/blogPostMessage/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/richardN/models/blogPostMessage/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/richardN/models/blogPostMessage/config/initializers/inflections.rb b/richardN/models/blogPostMessage/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/richardN/models/blogPostMessage/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/richardN/models/blogPostMessage/config/initializers/mime_types.rb b/richardN/models/blogPostMessage/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/richardN/models/blogPostMessage/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/richardN/models/blogPostMessage/config/initializers/session_store.rb b/richardN/models/blogPostMessage/config/initializers/session_store.rb
deleted file mode 100644
index 7380620..0000000
--- a/richardN/models/blogPostMessage/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_blogPostMessage_session'
diff --git a/richardN/models/blogPostMessage/config/initializers/wrap_parameters.rb b/richardN/models/blogPostMessage/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/richardN/models/blogPostMessage/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/richardN/models/blogPostMessage/config/locales/en.yml b/richardN/models/blogPostMessage/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/richardN/models/blogPostMessage/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/richardN/models/blogPostMessage/config/routes.rb b/richardN/models/blogPostMessage/config/routes.rb
deleted file mode 100644
index 3f66539..0000000
--- a/richardN/models/blogPostMessage/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/richardN/models/blogPostMessage/config/secrets.yml b/richardN/models/blogPostMessage/config/secrets.yml
deleted file mode 100644
index 56b3a18..0000000
--- a/richardN/models/blogPostMessage/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: fba9d64b2fe628ea3f8774453f3a21adf5e72d027080fb0aa22b01a33fb90bb06acf5591b84f31c165087cfa7b8144c9a3812441afe3efc6c18e360075def8fa
-
-test:
- secret_key_base: dfbf7f4719657f4a29bca7c408f10f730b0306ac7070308635fb11a9f212bb70af9c11d6ed80c7a19a649cce71a57790f1119ee6a3729eba8962c9adc36149ef
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/richardN/models/blogPostMessage/db/migrate/20171204020601_create_users.rb b/richardN/models/blogPostMessage/db/migrate/20171204020601_create_users.rb
deleted file mode 100644
index cc285fe..0000000
--- a/richardN/models/blogPostMessage/db/migrate/20171204020601_create_users.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreateUsers < ActiveRecord::Migration
- def change
- create_table :users do |t|
- t.string :first_name
- t.string :last_name
- t.string :email
-
- t.timestamps null: false
- end
- end
-end
diff --git a/richardN/models/blogPostMessage/db/migrate/20171204020634_create_blogs.rb b/richardN/models/blogPostMessage/db/migrate/20171204020634_create_blogs.rb
deleted file mode 100644
index 87471d4..0000000
--- a/richardN/models/blogPostMessage/db/migrate/20171204020634_create_blogs.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class CreateBlogs < ActiveRecord::Migration
- def change
- create_table :blogs do |t|
- t.string :name
- t.text :description
-
- t.timestamps null: false
- end
- end
-end
diff --git a/richardN/models/blogPostMessage/db/migrate/20171204020711_create_owners.rb b/richardN/models/blogPostMessage/db/migrate/20171204020711_create_owners.rb
deleted file mode 100644
index 2737c7e..0000000
--- a/richardN/models/blogPostMessage/db/migrate/20171204020711_create_owners.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class CreateOwners < ActiveRecord::Migration
- def change
- create_table :owners do |t|
- t.references :user
- t.references :blog, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/richardN/models/blogPostMessage/db/migrate/20171204020756_create_posts.rb b/richardN/models/blogPostMessage/db/migrate/20171204020756_create_posts.rb
deleted file mode 100644
index c1075fd..0000000
--- a/richardN/models/blogPostMessage/db/migrate/20171204020756_create_posts.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-class CreatePosts < ActiveRecord::Migration
- def change
- create_table :posts do |t|
- t.string :title
- t.text :content
- t.references :user, index: true, foreign_key: true
- t.references :blog, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/richardN/models/blogPostMessage/db/migrate/20171204020846_create_messages.rb b/richardN/models/blogPostMessage/db/migrate/20171204020846_create_messages.rb
deleted file mode 100644
index 2151288..0000000
--- a/richardN/models/blogPostMessage/db/migrate/20171204020846_create_messages.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-class CreateMessages < ActiveRecord::Migration
- def change
- create_table :messages do |t|
- t.string :author
- t.text :message
- t.references :user, index: true, foreign_key: true
- t.references :post, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/richardN/models/blogPostMessage/db/schema.rb b/richardN/models/blogPostMessage/db/schema.rb
deleted file mode 100644
index 5d951c3..0000000
--- a/richardN/models/blogPostMessage/db/schema.rb
+++ /dev/null
@@ -1,64 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171204020846) do
-
- create_table "blogs", force: :cascade do |t|
- t.string "name"
- t.text "description"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- create_table "messages", force: :cascade do |t|
- t.string "author"
- t.text "message"
- t.integer "user_id"
- t.integer "post_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "messages", ["post_id"], name: "index_messages_on_post_id"
- add_index "messages", ["user_id"], name: "index_messages_on_user_id"
-
- create_table "owners", force: :cascade do |t|
- t.integer "user_id"
- t.integer "blog_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "owners", ["blog_id"], name: "index_owners_on_blog_id"
-
- create_table "posts", force: :cascade do |t|
- t.string "title"
- t.text "content"
- t.integer "user_id"
- t.integer "blog_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "posts", ["blog_id"], name: "index_posts_on_blog_id"
- add_index "posts", ["user_id"], name: "index_posts_on_user_id"
-
- create_table "users", force: :cascade do |t|
- t.string "first_name"
- t.string "last_name"
- t.string "email"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/richardN/models/blogPostMessage/db/seeds.rb b/richardN/models/blogPostMessage/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/richardN/models/blogPostMessage/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/richardN/models/blogPostMessage/lib/assets/.keep b/richardN/models/blogPostMessage/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/blogPostMessage/lib/tasks/.keep b/richardN/models/blogPostMessage/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/blogPostMessage/log/.keep b/richardN/models/blogPostMessage/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/blogPostMessage/public/404.html b/richardN/models/blogPostMessage/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/richardN/models/blogPostMessage/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/richardN/models/blogPostMessage/public/422.html b/richardN/models/blogPostMessage/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/richardN/models/blogPostMessage/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/richardN/models/blogPostMessage/public/favicon.ico b/richardN/models/blogPostMessage/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/blogPostMessage/public/robots.txt b/richardN/models/blogPostMessage/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/richardN/models/blogPostMessage/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/richardN/models/blogPostMessage/test/controllers/.keep b/richardN/models/blogPostMessage/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/blogPostMessage/test/fixtures/.keep b/richardN/models/blogPostMessage/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/blogPostMessage/test/fixtures/blogs.yml b/richardN/models/blogPostMessage/test/fixtures/blogs.yml
deleted file mode 100644
index 2ff75a8..0000000
--- a/richardN/models/blogPostMessage/test/fixtures/blogs.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- name: MyString
- description: MyText
-
-two:
- name: MyString
- description: MyText
diff --git a/richardN/models/blogPostMessage/test/fixtures/messages.yml b/richardN/models/blogPostMessage/test/fixtures/messages.yml
deleted file mode 100644
index f17dfa4..0000000
--- a/richardN/models/blogPostMessage/test/fixtures/messages.yml
+++ /dev/null
@@ -1,13 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- author: MyString
- message: MyText
- user_id:
- post_id:
-
-two:
- author: MyString
- message: MyText
- user_id:
- post_id:
diff --git a/richardN/models/blogPostMessage/test/fixtures/owners.yml b/richardN/models/blogPostMessage/test/fixtures/owners.yml
deleted file mode 100644
index 92282db..0000000
--- a/richardN/models/blogPostMessage/test/fixtures/owners.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- user:
- blog_id:
-
-two:
- user:
- blog_id:
diff --git a/richardN/models/blogPostMessage/test/fixtures/posts.yml b/richardN/models/blogPostMessage/test/fixtures/posts.yml
deleted file mode 100644
index de7c3d7..0000000
--- a/richardN/models/blogPostMessage/test/fixtures/posts.yml
+++ /dev/null
@@ -1,13 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- title: MyString
- content: MyText
- user_id:
- blog_id:
-
-two:
- title: MyString
- content: MyText
- user_id:
- blog_id:
diff --git a/richardN/models/blogPostMessage/test/fixtures/users.yml b/richardN/models/blogPostMessage/test/fixtures/users.yml
deleted file mode 100644
index ef04625..0000000
--- a/richardN/models/blogPostMessage/test/fixtures/users.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- first_name: MyString
- last_name: MyString
- email: MyString
-
-two:
- first_name: MyString
- last_name: MyString
- email: MyString
diff --git a/richardN/models/blogPostMessage/test/helpers/.keep b/richardN/models/blogPostMessage/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/blogPostMessage/test/integration/.keep b/richardN/models/blogPostMessage/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/blogPostMessage/test/mailers/.keep b/richardN/models/blogPostMessage/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/blogPostMessage/test/models/.keep b/richardN/models/blogPostMessage/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/blogPostMessage/test/models/blog_test.rb b/richardN/models/blogPostMessage/test/models/blog_test.rb
deleted file mode 100644
index 5038377..0000000
--- a/richardN/models/blogPostMessage/test/models/blog_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class BlogTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/richardN/models/blogPostMessage/test/models/message_test.rb b/richardN/models/blogPostMessage/test/models/message_test.rb
deleted file mode 100644
index 11e5db0..0000000
--- a/richardN/models/blogPostMessage/test/models/message_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class MessageTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/richardN/models/blogPostMessage/test/models/owner_test.rb b/richardN/models/blogPostMessage/test/models/owner_test.rb
deleted file mode 100644
index d857cee..0000000
--- a/richardN/models/blogPostMessage/test/models/owner_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class OwnerTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/richardN/models/blogPostMessage/test/models/post_test.rb b/richardN/models/blogPostMessage/test/models/post_test.rb
deleted file mode 100644
index 6d9d463..0000000
--- a/richardN/models/blogPostMessage/test/models/post_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class PostTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/richardN/models/blogPostMessage/test/models/user_test.rb b/richardN/models/blogPostMessage/test/models/user_test.rb
deleted file mode 100644
index 82f61e0..0000000
--- a/richardN/models/blogPostMessage/test/models/user_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class UserTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/richardN/models/blogPostMessage/test/test_helper.rb b/richardN/models/blogPostMessage/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/richardN/models/blogPostMessage/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/richardN/models/blogPostMessage/vendor/assets/javascripts/.keep b/richardN/models/blogPostMessage/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/blogPostMessage/vendor/assets/stylesheets/.keep b/richardN/models/blogPostMessage/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/bpm/.gitignore b/richardN/models/bpm/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/richardN/models/bpm/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/richardN/models/bpm/Gemfile b/richardN/models/bpm/Gemfile
deleted file mode 100644
index ac64fba..0000000
--- a/richardN/models/bpm/Gemfile
+++ /dev/null
@@ -1,48 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
-gem 'hirb'
\ No newline at end of file
diff --git a/richardN/models/bpm/Gemfile.lock b/richardN/models/bpm/Gemfile.lock
deleted file mode 100644
index 73114af..0000000
--- a/richardN/models/bpm/Gemfile.lock
+++ /dev/null
@@ -1,172 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/richardN/models/bpm/README.rdoc b/richardN/models/bpm/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/richardN/models/bpm/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/richardN/models/bpm/Rakefile b/richardN/models/bpm/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/richardN/models/bpm/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/richardN/models/bpm/app/assets/images/.keep b/richardN/models/bpm/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/bpm/app/assets/javascripts/application.js b/richardN/models/bpm/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/richardN/models/bpm/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/richardN/models/bpm/app/assets/stylesheets/application.css b/richardN/models/bpm/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/richardN/models/bpm/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/richardN/models/bpm/app/controllers/application_controller.rb b/richardN/models/bpm/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/richardN/models/bpm/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/richardN/models/bpm/app/controllers/concerns/.keep b/richardN/models/bpm/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/bpm/app/helpers/application_helper.rb b/richardN/models/bpm/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/richardN/models/bpm/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/richardN/models/bpm/app/mailers/.keep b/richardN/models/bpm/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/bpm/app/models/.keep b/richardN/models/bpm/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/bpm/app/models/blog.rb b/richardN/models/bpm/app/models/blog.rb
deleted file mode 100644
index e417db8..0000000
--- a/richardN/models/bpm/app/models/blog.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-class Blog < ActiveRecord::Base
- has_many :posts
- validates :name, :desciption, presence: true
-end
diff --git a/richardN/models/bpm/app/models/concerns/.keep b/richardN/models/bpm/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/bpm/app/models/message.rb b/richardN/models/bpm/app/models/message.rb
deleted file mode 100644
index 36de1f5..0000000
--- a/richardN/models/bpm/app/models/message.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-class Message < ActiveRecord::Base
- belongs_to :post
- validates :author, :messages, presence: true
-end
diff --git a/richardN/models/bpm/app/models/post.rb b/richardN/models/bpm/app/models/post.rb
deleted file mode 100644
index 9df8078..0000000
--- a/richardN/models/bpm/app/models/post.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class Post < ActiveRecord::Base
- belongs_to :blog
- has_many :messages
- validates :post, :content, presence: true, length:{in: 7...255}
-end
diff --git a/richardN/models/bpm/app/views/layouts/application.html.erb b/richardN/models/bpm/app/views/layouts/application.html.erb
deleted file mode 100644
index 534513e..0000000
--- a/richardN/models/bpm/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- Bpm
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/richardN/models/bpm/bin/bundle b/richardN/models/bpm/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/richardN/models/bpm/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/richardN/models/bpm/bin/rails b/richardN/models/bpm/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/richardN/models/bpm/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/richardN/models/bpm/bin/rake b/richardN/models/bpm/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/richardN/models/bpm/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/richardN/models/bpm/bin/setup b/richardN/models/bpm/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/richardN/models/bpm/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/richardN/models/bpm/bin/spring b/richardN/models/bpm/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/richardN/models/bpm/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/richardN/models/bpm/config.ru b/richardN/models/bpm/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/richardN/models/bpm/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/richardN/models/bpm/config/application.rb b/richardN/models/bpm/config/application.rb
deleted file mode 100644
index e10519e..0000000
--- a/richardN/models/bpm/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module Bpm
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/richardN/models/bpm/config/boot.rb b/richardN/models/bpm/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/richardN/models/bpm/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/richardN/models/bpm/config/database.yml b/richardN/models/bpm/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/richardN/models/bpm/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/richardN/models/bpm/config/environment.rb b/richardN/models/bpm/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/richardN/models/bpm/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/richardN/models/bpm/config/environments/development.rb b/richardN/models/bpm/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/richardN/models/bpm/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/richardN/models/bpm/config/environments/production.rb b/richardN/models/bpm/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/richardN/models/bpm/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/richardN/models/bpm/config/environments/test.rb b/richardN/models/bpm/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/richardN/models/bpm/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/richardN/models/bpm/config/initializers/assets.rb b/richardN/models/bpm/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/richardN/models/bpm/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/richardN/models/bpm/config/initializers/backtrace_silencers.rb b/richardN/models/bpm/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/richardN/models/bpm/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/richardN/models/bpm/config/initializers/cookies_serializer.rb b/richardN/models/bpm/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/richardN/models/bpm/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/richardN/models/bpm/config/initializers/filter_parameter_logging.rb b/richardN/models/bpm/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/richardN/models/bpm/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/richardN/models/bpm/config/initializers/inflections.rb b/richardN/models/bpm/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/richardN/models/bpm/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/richardN/models/bpm/config/initializers/mime_types.rb b/richardN/models/bpm/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/richardN/models/bpm/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/richardN/models/bpm/config/initializers/session_store.rb b/richardN/models/bpm/config/initializers/session_store.rb
deleted file mode 100644
index e1f9e8c..0000000
--- a/richardN/models/bpm/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_bpm_session'
diff --git a/richardN/models/bpm/config/initializers/wrap_parameters.rb b/richardN/models/bpm/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/richardN/models/bpm/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/richardN/models/bpm/config/locales/en.yml b/richardN/models/bpm/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/richardN/models/bpm/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/richardN/models/bpm/config/routes.rb b/richardN/models/bpm/config/routes.rb
deleted file mode 100644
index 3f66539..0000000
--- a/richardN/models/bpm/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/richardN/models/bpm/config/secrets.yml b/richardN/models/bpm/config/secrets.yml
deleted file mode 100644
index c2d99a7..0000000
--- a/richardN/models/bpm/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: c2721019c80cda46f5bfc87aa29a395800af3671f58fac93955827513ae9d13db57d7d7c885acc40cfc8a3b131141b4bf15c6f2efdecdf1a328c54fe7aaa9549
-
-test:
- secret_key_base: 30d65acbcccd3030b87438e2f15384532629ba7aa594d5fd1960d395d9dc5fa6e6c0f4454693cd2ca81e6b86ec3dc5860e965b9b5136e346e4b113df549af2b5
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/richardN/models/bpm/db/migrate/20171201021033_create_blogs.rb b/richardN/models/bpm/db/migrate/20171201021033_create_blogs.rb
deleted file mode 100644
index 87471d4..0000000
--- a/richardN/models/bpm/db/migrate/20171201021033_create_blogs.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class CreateBlogs < ActiveRecord::Migration
- def change
- create_table :blogs do |t|
- t.string :name
- t.text :description
-
- t.timestamps null: false
- end
- end
-end
diff --git a/richardN/models/bpm/db/migrate/20171201023337_create_posts.rb b/richardN/models/bpm/db/migrate/20171201023337_create_posts.rb
deleted file mode 100644
index 92bb5f6..0000000
--- a/richardN/models/bpm/db/migrate/20171201023337_create_posts.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreatePosts < ActiveRecord::Migration
- def change
- create_table :posts do |t|
- t.references :blog, index: true, foreign_key: true
- t.string :title
- t.text :content
-
- t.timestamps null: false
- end
- end
-end
diff --git a/richardN/models/bpm/db/migrate/20171201023521_create_messages.rb b/richardN/models/bpm/db/migrate/20171201023521_create_messages.rb
deleted file mode 100644
index c7f8694..0000000
--- a/richardN/models/bpm/db/migrate/20171201023521_create_messages.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreateMessages < ActiveRecord::Migration
- def change
- create_table :messages do |t|
- t.references :post, index: true, foreign_key: true
- t.string :author
- t.text :messages
-
- t.timestamps null: false
- end
- end
-end
diff --git a/richardN/models/bpm/db/schema.rb b/richardN/models/bpm/db/schema.rb
deleted file mode 100644
index b14c6d2..0000000
--- a/richardN/models/bpm/db/schema.rb
+++ /dev/null
@@ -1,43 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171201023521) do
-
- create_table "blogs", force: :cascade do |t|
- t.string "name"
- t.text "description"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- create_table "messages", force: :cascade do |t|
- t.integer "post_id"
- t.string "author"
- t.text "messages"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "messages", ["post_id"], name: "index_messages_on_post_id"
-
- create_table "posts", force: :cascade do |t|
- t.integer "blog_id"
- t.string "title"
- t.text "content"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "posts", ["blog_id"], name: "index_posts_on_blog_id"
-
-end
diff --git a/richardN/models/bpm/db/seeds.rb b/richardN/models/bpm/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/richardN/models/bpm/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/richardN/models/bpm/lib/assets/.keep b/richardN/models/bpm/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/bpm/lib/tasks/.keep b/richardN/models/bpm/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/bpm/log/.keep b/richardN/models/bpm/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/bpm/public/404.html b/richardN/models/bpm/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/richardN/models/bpm/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/richardN/models/bpm/public/422.html b/richardN/models/bpm/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/richardN/models/bpm/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/richardN/models/bpm/public/favicon.ico b/richardN/models/bpm/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/bpm/public/robots.txt b/richardN/models/bpm/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/richardN/models/bpm/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/richardN/models/bpm/test/controllers/.keep b/richardN/models/bpm/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/bpm/test/fixtures/.keep b/richardN/models/bpm/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/bpm/test/fixtures/blogs.yml b/richardN/models/bpm/test/fixtures/blogs.yml
deleted file mode 100644
index 2ff75a8..0000000
--- a/richardN/models/bpm/test/fixtures/blogs.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- name: MyString
- description: MyText
-
-two:
- name: MyString
- description: MyText
diff --git a/richardN/models/bpm/test/fixtures/messages.yml b/richardN/models/bpm/test/fixtures/messages.yml
deleted file mode 100644
index ebf7326..0000000
--- a/richardN/models/bpm/test/fixtures/messages.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- post_id:
- author: MyString
- messages: MyText
-
-two:
- post_id:
- author: MyString
- messages: MyText
diff --git a/richardN/models/bpm/test/fixtures/posts.yml b/richardN/models/bpm/test/fixtures/posts.yml
deleted file mode 100644
index e2dad75..0000000
--- a/richardN/models/bpm/test/fixtures/posts.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- blog_id:
- title: MyString
- content: MyText
-
-two:
- blog_id:
- title: MyString
- content: MyText
diff --git a/richardN/models/bpm/test/helpers/.keep b/richardN/models/bpm/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/bpm/test/integration/.keep b/richardN/models/bpm/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/bpm/test/mailers/.keep b/richardN/models/bpm/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/bpm/test/models/.keep b/richardN/models/bpm/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/bpm/test/models/blog_test.rb b/richardN/models/bpm/test/models/blog_test.rb
deleted file mode 100644
index 5038377..0000000
--- a/richardN/models/bpm/test/models/blog_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class BlogTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/richardN/models/bpm/test/models/message_test.rb b/richardN/models/bpm/test/models/message_test.rb
deleted file mode 100644
index 11e5db0..0000000
--- a/richardN/models/bpm/test/models/message_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class MessageTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/richardN/models/bpm/test/models/post_test.rb b/richardN/models/bpm/test/models/post_test.rb
deleted file mode 100644
index 6d9d463..0000000
--- a/richardN/models/bpm/test/models/post_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class PostTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/richardN/models/bpm/test/test_helper.rb b/richardN/models/bpm/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/richardN/models/bpm/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/richardN/models/bpm/vendor/assets/javascripts/.keep b/richardN/models/bpm/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/bpm/vendor/assets/stylesheets/.keep b/richardN/models/bpm/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/dojoNinjas/.gitignore b/richardN/models/dojoNinjas/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/richardN/models/dojoNinjas/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/richardN/models/dojoNinjas/Gemfile b/richardN/models/dojoNinjas/Gemfile
deleted file mode 100644
index ac64fba..0000000
--- a/richardN/models/dojoNinjas/Gemfile
+++ /dev/null
@@ -1,48 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
-gem 'hirb'
\ No newline at end of file
diff --git a/richardN/models/dojoNinjas/Gemfile.lock b/richardN/models/dojoNinjas/Gemfile.lock
deleted file mode 100644
index 73114af..0000000
--- a/richardN/models/dojoNinjas/Gemfile.lock
+++ /dev/null
@@ -1,172 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/richardN/models/dojoNinjas/README.rdoc b/richardN/models/dojoNinjas/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/richardN/models/dojoNinjas/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/richardN/models/dojoNinjas/Rakefile b/richardN/models/dojoNinjas/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/richardN/models/dojoNinjas/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/richardN/models/dojoNinjas/app/assets/images/.keep b/richardN/models/dojoNinjas/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/dojoNinjas/app/assets/javascripts/application.js b/richardN/models/dojoNinjas/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/richardN/models/dojoNinjas/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/richardN/models/dojoNinjas/app/assets/stylesheets/application.css b/richardN/models/dojoNinjas/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/richardN/models/dojoNinjas/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/richardN/models/dojoNinjas/app/controllers/application_controller.rb b/richardN/models/dojoNinjas/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/richardN/models/dojoNinjas/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/richardN/models/dojoNinjas/app/controllers/concerns/.keep b/richardN/models/dojoNinjas/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/dojoNinjas/app/helpers/application_helper.rb b/richardN/models/dojoNinjas/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/richardN/models/dojoNinjas/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/richardN/models/dojoNinjas/app/mailers/.keep b/richardN/models/dojoNinjas/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/dojoNinjas/app/models/.keep b/richardN/models/dojoNinjas/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/dojoNinjas/app/models/concerns/.keep b/richardN/models/dojoNinjas/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/dojoNinjas/app/models/dojo.rb b/richardN/models/dojoNinjas/app/models/dojo.rb
deleted file mode 100644
index e1a7097..0000000
--- a/richardN/models/dojoNinjas/app/models/dojo.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class Dojo < ActiveRecord::Base
- has_many :ninjas, dependent: :destroy
- validates :name, :city, :state, presence: true
- validates :state, length: {is: 2}
-end
diff --git a/richardN/models/dojoNinjas/app/models/ninja.rb b/richardN/models/dojoNinjas/app/models/ninja.rb
deleted file mode 100644
index 93518b7..0000000
--- a/richardN/models/dojoNinjas/app/models/ninja.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-class Ninja < ActiveRecord::Base
- belongs_to :dojo
- validates :first_name, :last_name, presence: true, length: { in: 2..20 }
-end
diff --git a/richardN/models/dojoNinjas/app/views/layouts/application.html.erb b/richardN/models/dojoNinjas/app/views/layouts/application.html.erb
deleted file mode 100644
index 40d7e51..0000000
--- a/richardN/models/dojoNinjas/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- DojoNinjas
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/richardN/models/dojoNinjas/bin/bundle b/richardN/models/dojoNinjas/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/richardN/models/dojoNinjas/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/richardN/models/dojoNinjas/bin/rails b/richardN/models/dojoNinjas/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/richardN/models/dojoNinjas/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/richardN/models/dojoNinjas/bin/rake b/richardN/models/dojoNinjas/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/richardN/models/dojoNinjas/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/richardN/models/dojoNinjas/bin/setup b/richardN/models/dojoNinjas/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/richardN/models/dojoNinjas/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/richardN/models/dojoNinjas/bin/spring b/richardN/models/dojoNinjas/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/richardN/models/dojoNinjas/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/richardN/models/dojoNinjas/config.ru b/richardN/models/dojoNinjas/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/richardN/models/dojoNinjas/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/richardN/models/dojoNinjas/config/application.rb b/richardN/models/dojoNinjas/config/application.rb
deleted file mode 100644
index 156a9d5..0000000
--- a/richardN/models/dojoNinjas/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module DojoNinjas
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/richardN/models/dojoNinjas/config/boot.rb b/richardN/models/dojoNinjas/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/richardN/models/dojoNinjas/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/richardN/models/dojoNinjas/config/database.yml b/richardN/models/dojoNinjas/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/richardN/models/dojoNinjas/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/richardN/models/dojoNinjas/config/environment.rb b/richardN/models/dojoNinjas/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/richardN/models/dojoNinjas/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/richardN/models/dojoNinjas/config/environments/development.rb b/richardN/models/dojoNinjas/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/richardN/models/dojoNinjas/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/richardN/models/dojoNinjas/config/environments/production.rb b/richardN/models/dojoNinjas/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/richardN/models/dojoNinjas/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/richardN/models/dojoNinjas/config/environments/test.rb b/richardN/models/dojoNinjas/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/richardN/models/dojoNinjas/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/richardN/models/dojoNinjas/config/initializers/assets.rb b/richardN/models/dojoNinjas/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/richardN/models/dojoNinjas/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/richardN/models/dojoNinjas/config/initializers/backtrace_silencers.rb b/richardN/models/dojoNinjas/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/richardN/models/dojoNinjas/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/richardN/models/dojoNinjas/config/initializers/cookies_serializer.rb b/richardN/models/dojoNinjas/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/richardN/models/dojoNinjas/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/richardN/models/dojoNinjas/config/initializers/filter_parameter_logging.rb b/richardN/models/dojoNinjas/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/richardN/models/dojoNinjas/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/richardN/models/dojoNinjas/config/initializers/inflections.rb b/richardN/models/dojoNinjas/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/richardN/models/dojoNinjas/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/richardN/models/dojoNinjas/config/initializers/mime_types.rb b/richardN/models/dojoNinjas/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/richardN/models/dojoNinjas/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/richardN/models/dojoNinjas/config/initializers/session_store.rb b/richardN/models/dojoNinjas/config/initializers/session_store.rb
deleted file mode 100644
index 66d07d9..0000000
--- a/richardN/models/dojoNinjas/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_dojoNinjas_session'
diff --git a/richardN/models/dojoNinjas/config/initializers/wrap_parameters.rb b/richardN/models/dojoNinjas/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/richardN/models/dojoNinjas/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/richardN/models/dojoNinjas/config/locales/en.yml b/richardN/models/dojoNinjas/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/richardN/models/dojoNinjas/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/richardN/models/dojoNinjas/config/routes.rb b/richardN/models/dojoNinjas/config/routes.rb
deleted file mode 100644
index 3f66539..0000000
--- a/richardN/models/dojoNinjas/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/richardN/models/dojoNinjas/config/secrets.yml b/richardN/models/dojoNinjas/config/secrets.yml
deleted file mode 100644
index bf029b0..0000000
--- a/richardN/models/dojoNinjas/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 4f6278fe1348938d1e8a8ec4e6e0f44e3eb2c13de7506de528a02af6d8be23fe215b5e7c88fc133ae0bf526e06dac80b84d2ad26bc76fd7ff2278230148ac3e6
-
-test:
- secret_key_base: 895e4a5690629ee8babfac5641a7e0dd9d7b3d770a02a9c2052c6774626698bb1a23372489f4e8771ab363c991eda997fbbc2dfcae2725d980271f1e2c167223
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/richardN/models/dojoNinjas/db/migrate/20171130165400_create_dojos.rb b/richardN/models/dojoNinjas/db/migrate/20171130165400_create_dojos.rb
deleted file mode 100644
index ece0705..0000000
--- a/richardN/models/dojoNinjas/db/migrate/20171130165400_create_dojos.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreateDojos < ActiveRecord::Migration
- def change
- create_table :dojos do |t|
- t.string :name
- t.string :city
- t.string :state
-
- t.timestamps null: false
- end
- end
-end
diff --git a/richardN/models/dojoNinjas/db/migrate/20171130170259_create_ninjas.rb b/richardN/models/dojoNinjas/db/migrate/20171130170259_create_ninjas.rb
deleted file mode 100644
index baf0162..0000000
--- a/richardN/models/dojoNinjas/db/migrate/20171130170259_create_ninjas.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreateNinjas < ActiveRecord::Migration
- def change
- create_table :ninjas do |t|
- t.references :dojo, index: true, foreign_key: true
- t.string :first_name
- t.string :last_name
-
- t.timestamps null: false
- end
- end
-end
diff --git a/richardN/models/dojoNinjas/db/schema.rb b/richardN/models/dojoNinjas/db/schema.rb
deleted file mode 100644
index e55c0cb..0000000
--- a/richardN/models/dojoNinjas/db/schema.rb
+++ /dev/null
@@ -1,34 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171130170259) do
-
- create_table "dojos", force: :cascade do |t|
- t.string "name"
- t.string "city"
- t.string "state"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- create_table "ninjas", force: :cascade do |t|
- t.integer "dojo_id"
- t.string "first_name"
- t.string "last_name"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "ninjas", ["dojo_id"], name: "index_ninjas_on_dojo_id"
-
-end
diff --git a/richardN/models/dojoNinjas/db/seeds.rb b/richardN/models/dojoNinjas/db/seeds.rb
deleted file mode 100644
index 4edb1e8..0000000
--- a/richardN/models/dojoNinjas/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/richardN/models/dojoNinjas/lib/assets/.keep b/richardN/models/dojoNinjas/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/dojoNinjas/lib/tasks/.keep b/richardN/models/dojoNinjas/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/dojoNinjas/log/.keep b/richardN/models/dojoNinjas/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/dojoNinjas/public/404.html b/richardN/models/dojoNinjas/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/richardN/models/dojoNinjas/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/richardN/models/dojoNinjas/public/422.html b/richardN/models/dojoNinjas/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/richardN/models/dojoNinjas/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
If you are the application owner check the logs for more information.
-
-
-
diff --git a/richardN/models/dojoNinjas/public/favicon.ico b/richardN/models/dojoNinjas/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/dojoNinjas/public/robots.txt b/richardN/models/dojoNinjas/public/robots.txt
deleted file mode 100644
index 3c9c7c0..0000000
--- a/richardN/models/dojoNinjas/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/richardN/models/dojoNinjas/test/controllers/.keep b/richardN/models/dojoNinjas/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/dojoNinjas/test/fixtures/.keep b/richardN/models/dojoNinjas/test/fixtures/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/dojoNinjas/test/fixtures/dojos.yml b/richardN/models/dojoNinjas/test/fixtures/dojos.yml
deleted file mode 100644
index 07bb5b1..0000000
--- a/richardN/models/dojoNinjas/test/fixtures/dojos.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- name: MyString
- city: MyString
- state: MyString
-
-two:
- name: MyString
- city: MyString
- state: MyString
diff --git a/richardN/models/dojoNinjas/test/fixtures/ninjas.yml b/richardN/models/dojoNinjas/test/fixtures/ninjas.yml
deleted file mode 100644
index f7bc7ce..0000000
--- a/richardN/models/dojoNinjas/test/fixtures/ninjas.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-
-one:
- dojo_id:
- first_name: MyString
- last_name: MyString
-
-two:
- dojo_id:
- first_name: MyString
- last_name: MyString
diff --git a/richardN/models/dojoNinjas/test/helpers/.keep b/richardN/models/dojoNinjas/test/helpers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/dojoNinjas/test/integration/.keep b/richardN/models/dojoNinjas/test/integration/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/dojoNinjas/test/mailers/.keep b/richardN/models/dojoNinjas/test/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/dojoNinjas/test/models/.keep b/richardN/models/dojoNinjas/test/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/dojoNinjas/test/models/dojo_test.rb b/richardN/models/dojoNinjas/test/models/dojo_test.rb
deleted file mode 100644
index a078f30..0000000
--- a/richardN/models/dojoNinjas/test/models/dojo_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class DojoTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/richardN/models/dojoNinjas/test/models/ninja_test.rb b/richardN/models/dojoNinjas/test/models/ninja_test.rb
deleted file mode 100644
index d21c152..0000000
--- a/richardN/models/dojoNinjas/test/models/ninja_test.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'test_helper'
-
-class NinjaTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
diff --git a/richardN/models/dojoNinjas/test/test_helper.rb b/richardN/models/dojoNinjas/test/test_helper.rb
deleted file mode 100644
index 92e39b2..0000000
--- a/richardN/models/dojoNinjas/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/richardN/models/dojoNinjas/vendor/assets/javascripts/.keep b/richardN/models/dojoNinjas/vendor/assets/javascripts/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/dojoNinjas/vendor/assets/stylesheets/.keep b/richardN/models/dojoNinjas/vendor/assets/stylesheets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/optimize/.gitignore b/richardN/models/optimize/.gitignore
deleted file mode 100644
index 050c9d9..0000000
--- a/richardN/models/optimize/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore the default SQLite database.
-/db/*.sqlite3
-/db/*.sqlite3-journal
-
-# Ignore all logfiles and tempfiles.
-/log/*
-!/log/.keep
-/tmp
diff --git a/richardN/models/optimize/Gemfile b/richardN/models/optimize/Gemfile
deleted file mode 100644
index ac64fba..0000000
--- a/richardN/models/optimize/Gemfile
+++ /dev/null
@@ -1,48 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.7'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
-gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.0'
-# bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0', group: :doc
-
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Unicorn as the app server
-# gem 'unicorn'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> in views
- gem 'web-console', '~> 2.0'
-
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
-end
-
-gem 'hirb'
\ No newline at end of file
diff --git a/richardN/models/optimize/Gemfile.lock b/richardN/models/optimize/Gemfile.lock
deleted file mode 100644
index 69988e1..0000000
--- a/richardN/models/optimize/Gemfile.lock
+++ /dev/null
@@ -1,172 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.7)
- actionview (= 4.2.7)
- activesupport (= 4.2.7)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.7)
- activesupport (= 4.2.7)
- globalid (>= 0.3.0)
- activemodel (4.2.7)
- activesupport (= 4.2.7)
- builder (~> 3.1)
- activerecord (4.2.7)
- activemodel (= 4.2.7)
- activesupport (= 4.2.7)
- arel (~> 6.0)
- activesupport (4.2.7)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.4)
- binding_of_caller (0.7.3)
- debug_inspector (>= 0.0.1)
- builder (3.2.3)
- byebug (9.1.0)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.12.2)
- concurrent-ruby (1.0.5)
- crass (1.0.3)
- debug_inspector (0.0.3)
- erubis (2.7.0)
- execjs (2.7.0)
- ffi (1.9.18)
- globalid (0.4.1)
- activesupport (>= 4.2.0)
- hirb (0.7.3)
- i18n (0.9.1)
- concurrent-ruby (~> 1.0)
- jbuilder (2.7.0)
- activesupport (>= 4.2.0)
- multi_json (>= 1.2)
- jquery-rails (4.3.1)
- rails-dom-testing (>= 1, < 3)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.6)
- loofah (2.1.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
- mail (2.7.0)
- mini_mime (>= 0.1.1)
- mini_mime (1.0.0)
- mini_portile2 (2.3.0)
- minitest (5.10.3)
- multi_json (1.12.2)
- nokogiri (1.8.1)
- mini_portile2 (~> 2.3.0)
- rack (1.6.8)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.7)
- actionmailer (= 4.2.7)
- actionpack (= 4.2.7)
- actionview (= 4.2.7)
- activejob (= 4.2.7)
- activemodel (= 4.2.7)
- activerecord (= 4.2.7)
- activesupport (= 4.2.7)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.7)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.8)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- railties (4.2.7)
- actionpack (= 4.2.7)
- activesupport (= 4.2.7)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (12.3.0)
- rb-fsevent (0.10.2)
- rb-inotify (0.9.10)
- ffi (>= 0.5.0, < 2)
- rdoc (4.3.0)
- sass (3.5.3)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.7)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- sdoc (0.4.2)
- json (~> 1.7, >= 1.7.7)
- rdoc (~> 4.0)
- spring (2.0.2)
- activesupport (>= 4.2)
- sprockets (3.7.1)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.2.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.13)
- thor (0.20.0)
- thread_safe (0.3.6)
- tilt (2.0.8)
- turbolinks (5.0.1)
- turbolinks-source (~> 5)
- turbolinks-source (5.0.3)
- tzinfo (1.2.4)
- thread_safe (~> 0.1)
- uglifier (4.0.1)
- execjs (>= 0.3.0, < 3)
- web-console (2.3.0)
- activemodel (>= 4.0)
- binding_of_caller (>= 0.7.2)
- railties (>= 4.0)
- sprockets-rails (>= 2.0, < 4.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- byebug
- coffee-rails (~> 4.1.0)
- hirb
- jbuilder (~> 2.0)
- jquery-rails
- rails (= 4.2.7)
- sass-rails (~> 5.0)
- sdoc (~> 0.4.0)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
- web-console (~> 2.0)
-
-BUNDLED WITH
- 1.16.0
diff --git a/richardN/models/optimize/README.rdoc b/richardN/models/optimize/README.rdoc
deleted file mode 100644
index dd4e97e..0000000
--- a/richardN/models/optimize/README.rdoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
-
-
-Please feel free to use a different markup language if you do not plan to run
-rake doc:app.
diff --git a/richardN/models/optimize/Rakefile b/richardN/models/optimize/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/richardN/models/optimize/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/richardN/models/optimize/app/assets/images/.keep b/richardN/models/optimize/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/optimize/app/assets/javascripts/application.js b/richardN/models/optimize/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a8..0000000
--- a/richardN/models/optimize/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/richardN/models/optimize/app/assets/stylesheets/application.css b/richardN/models/optimize/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b3..0000000
--- a/richardN/models/optimize/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/richardN/models/optimize/app/controllers/application_controller.rb b/richardN/models/optimize/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/richardN/models/optimize/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/richardN/models/optimize/app/controllers/concerns/.keep b/richardN/models/optimize/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/optimize/app/helpers/application_helper.rb b/richardN/models/optimize/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/richardN/models/optimize/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/richardN/models/optimize/app/mailers/.keep b/richardN/models/optimize/app/mailers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/optimize/app/models/.keep b/richardN/models/optimize/app/models/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/optimize/app/models/concerns/.keep b/richardN/models/optimize/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/optimize/app/models/player.rb b/richardN/models/optimize/app/models/player.rb
deleted file mode 100644
index b30fdc9..0000000
--- a/richardN/models/optimize/app/models/player.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-class Player < ActiveRecord::Base
- belongs_to :team
-end
diff --git a/richardN/models/optimize/app/models/team.rb b/richardN/models/optimize/app/models/team.rb
deleted file mode 100644
index 25bddeb..0000000
--- a/richardN/models/optimize/app/models/team.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-class Team < ActiveRecord::Base
- has_many :players
-end
diff --git a/richardN/models/optimize/app/views/layouts/application.html.erb b/richardN/models/optimize/app/views/layouts/application.html.erb
deleted file mode 100644
index 7fc9d5f..0000000
--- a/richardN/models/optimize/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- Optimize
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/richardN/models/optimize/bin/bundle b/richardN/models/optimize/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/richardN/models/optimize/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/richardN/models/optimize/bin/rails b/richardN/models/optimize/bin/rails
deleted file mode 100755
index 0138d79..0000000
--- a/richardN/models/optimize/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/richardN/models/optimize/bin/rake b/richardN/models/optimize/bin/rake
deleted file mode 100755
index d87d5f5..0000000
--- a/richardN/models/optimize/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/richardN/models/optimize/bin/setup b/richardN/models/optimize/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/richardN/models/optimize/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/richardN/models/optimize/bin/spring b/richardN/models/optimize/bin/spring
deleted file mode 100755
index fb2ec2e..0000000
--- a/richardN/models/optimize/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/richardN/models/optimize/config.ru b/richardN/models/optimize/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/richardN/models/optimize/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/richardN/models/optimize/config/application.rb b/richardN/models/optimize/config/application.rb
deleted file mode 100644
index 82f8fb1..0000000
--- a/richardN/models/optimize/config/application.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module Optimize
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
diff --git a/richardN/models/optimize/config/boot.rb b/richardN/models/optimize/config/boot.rb
deleted file mode 100644
index 6b750f0..0000000
--- a/richardN/models/optimize/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/richardN/models/optimize/config/database.yml b/richardN/models/optimize/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/richardN/models/optimize/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/richardN/models/optimize/config/environment.rb b/richardN/models/optimize/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/richardN/models/optimize/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/richardN/models/optimize/config/environments/development.rb b/richardN/models/optimize/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/richardN/models/optimize/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/richardN/models/optimize/config/environments/production.rb b/richardN/models/optimize/config/environments/production.rb
deleted file mode 100644
index 5c1b32e..0000000
--- a/richardN/models/optimize/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # Compress JavaScripts and CSS.
- config.assets.js_compressor = :uglifier
- # config.assets.css_compressor = :sass
-
- # Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/richardN/models/optimize/config/environments/test.rb b/richardN/models/optimize/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/richardN/models/optimize/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/richardN/models/optimize/config/initializers/assets.rb b/richardN/models/optimize/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/richardN/models/optimize/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/richardN/models/optimize/config/initializers/backtrace_silencers.rb b/richardN/models/optimize/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/richardN/models/optimize/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/richardN/models/optimize/config/initializers/cookies_serializer.rb b/richardN/models/optimize/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/richardN/models/optimize/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/richardN/models/optimize/config/initializers/filter_parameter_logging.rb b/richardN/models/optimize/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/richardN/models/optimize/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/richardN/models/optimize/config/initializers/inflections.rb b/richardN/models/optimize/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/richardN/models/optimize/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/richardN/models/optimize/config/initializers/mime_types.rb b/richardN/models/optimize/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/richardN/models/optimize/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/richardN/models/optimize/config/initializers/session_store.rb b/richardN/models/optimize/config/initializers/session_store.rb
deleted file mode 100644
index 7e5d399..0000000
--- a/richardN/models/optimize/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_optimize_session'
diff --git a/richardN/models/optimize/config/initializers/wrap_parameters.rb b/richardN/models/optimize/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/richardN/models/optimize/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/richardN/models/optimize/config/locales/en.yml b/richardN/models/optimize/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/richardN/models/optimize/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/richardN/models/optimize/config/routes.rb b/richardN/models/optimize/config/routes.rb
deleted file mode 100644
index 3f66539..0000000
--- a/richardN/models/optimize/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/richardN/models/optimize/config/secrets.yml b/richardN/models/optimize/config/secrets.yml
deleted file mode 100644
index fa6fdae..0000000
--- a/richardN/models/optimize/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: d95878f2cd7c8877118f44cf154d79b28925b6f084ca02bd90c64d84b08e47f01a947144f24c2fa97e5066bbad9a4c26337f7f72f4a60c613d7b414399732dac
-
-test:
- secret_key_base: a0dd9ffe293a72c2c42c7eb98153711e13fb83b0f5fcf8ea2d2048a4aacfaae8e5db067cc976a3f57699b6cd943544b6350e6250e7a812d4b3384b979997b316
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/richardN/models/optimize/db/migrate/20171203220121_create_teams.rb b/richardN/models/optimize/db/migrate/20171203220121_create_teams.rb
deleted file mode 100644
index 5f7137c..0000000
--- a/richardN/models/optimize/db/migrate/20171203220121_create_teams.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreateTeams < ActiveRecord::Migration
- def change
- create_table :teams do |t|
- t.string :name
- t.string :mascot
- t.string :stadium
-
- t.timestamps null: false
- end
- end
-end
diff --git a/richardN/models/optimize/db/migrate/20171203220131_create_players.rb b/richardN/models/optimize/db/migrate/20171203220131_create_players.rb
deleted file mode 100644
index 9949aad..0000000
--- a/richardN/models/optimize/db/migrate/20171203220131_create_players.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class CreatePlayers < ActiveRecord::Migration
- def change
- create_table :players do |t|
- t.string :name
- t.references :team, index: true, foreign_key: true
-
- t.timestamps null: false
- end
- end
-end
diff --git a/richardN/models/optimize/db/schema.rb b/richardN/models/optimize/db/schema.rb
deleted file mode 100644
index 5afea1c..0000000
--- a/richardN/models/optimize/db/schema.rb
+++ /dev/null
@@ -1,33 +0,0 @@
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema.define(version: 20171203220131) do
-
- create_table "players", force: :cascade do |t|
- t.string "name"
- t.integer "team_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- add_index "players", ["team_id"], name: "index_players_on_team_id"
-
- create_table "teams", force: :cascade do |t|
- t.string "name"
- t.string "mascot"
- t.string "stadium"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
-end
diff --git a/richardN/models/optimize/db/seeds.rb b/richardN/models/optimize/db/seeds.rb
deleted file mode 100644
index 98e69f2..0000000
--- a/richardN/models/optimize/db/seeds.rb
+++ /dev/null
@@ -1,112 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
-
-# we require 'open-uri' to request the html files
-require 'open-uri'
-teams = [
- ["Atlanta Hawks", "Skyhawk", "Philips Arena"],
- ["Boston Celtics", "Lucky the Leprechaun", "TD Garden"],
- ["Brooklyn Nets", "BrooklyKnight", "Barclays Center"],
- ["Charlotte Hornets", "Hugo the Hornet", "Spectrum Center"],
- ["Chicago Bulls", "Benny the Bull", "United Center"],
- ["Cleveland Cavaliers", "Moondog", "Quicken Loans Arena"],
- ["Dallas Mavericks", "Champ", "American Airlines Center"],
- ["Denver Nuggets", "Rocky the Mountain Lion", "Pepsi Center"],
- ["Detroit Pistons", "Hooper", "The Palace of Auburn Hills"],
- ["Golden State Warriors", "Thunder", "Oracle Arena"],
- ["Houston Rockets", "Clutch", "Toyota Center"],
- ["Indiana Pacers", "Boomer the Panther", "Bankers Life Fieldhouse"],
- ["Los Angeles Clippers", "Chuck", "Staples Center"],
- ["Los Angeles Lakers", "Jack Nicholson", "Staples Center"],
- ["Memphis Grizzlies", "Griz", "FedExForum"],
- ["Miami Heat", "Burnie", "American Airlines Arena"],
- ["Milwaukee Bucks", "Bango", "BMO Harris Bradley Center"],
- ["Minnesota Timberwolves", "Crunch the Wolf", "Target Center"],
- ["New Orleans Pelicans", "Pierre the Pelican", "Smoothie King Center"],
- ["New York Knicks", "Spike Lee", "Madison Square Garden"],
- ["Oklahoma City Thunder", "Rumble the Bison", "Chesapeake Energy Arena"],
- ["Orlando Magic", "Stuff the Magic Dragon", "Amway Center"],
- ["Philadelphia 76ers", "Franklin the Dog", "Wells Fargo Center Philadelphia"],
- ["Phoenix Suns", "The Suns Gorilla", "Talking Stick Resort Arena"],
- ["Portland Trail Blazers", "Blaze the Trail Cat", "Moda Center"],
- ["Sacramento Kings", "Slamson the Lion", "Golden 1 Center"],
- ["San Antonio Spurs", "The Coyote", "AT&T Center"],
- ["Toronto Raptors", "Raptor", "Air Canada Centre"],
- ["Utah Jazz", "Jazz Bear", "Vivint Smart Home Arena"],
- ["Washington Wizards", "G. Wiz", "Verizon Center"]
-]
-# Here, we are using the Nokogiri gem (already comes with Rails), to scrape the ESPN website for the list of players.
-# For more information on Nokogiri, you can go to their documentation or visit http://www.nokogiri.org/
-atlanta_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/atl/atlanta-hawks")).css("td.sortcell")
-boston_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/bos/boston-celtics")).css("td.sortcell")
-brooklyn_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/bkn/brooklyn-nets")).css("td.sortcell")
-charlotte_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/cha/charlotte-hornets")).css("td.sortcell")
-chicago_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/chi/chicago-bulls")).css("td.sortcell")
-cleveland_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/cle/cleveland-cavaliers")).css("td.sortcell")
-dallas_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/dal/dallas-mavericks")).css("td.sortcell")
-denver_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/den/denver-nuggets")).css("td.sortcell")
-detroit_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/det/detroit-pistons")).css("td.sortcell")
-warriors_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/gs/golden-state-warriors")).css("td.sortcell")
-houston_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/hou/houston-rockets")).css("td.sortcell")
-indiana_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/ind/indiana-pacers")).css("td.sortcell")
-clippers_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/lac/la-clippers")).css("td.sortcell")
-lakers_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/lal/los-angeles-lakers")).css("td.sortcell")
-memphis_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/mem/memphis-grizzlies")).css("td.sortcell")
-miami_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/mia/miami-heat")).css("td.sortcell")
-milwaukee_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/mil/milwaukee-bucks")).css("td.sortcell")
-minnesota_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/min/minnesota-timberwolves")).css("td.sortcell")
-nola_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/no/new-orleans-pelicans")).css("td.sortcell")
-knicks_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/ny/new-york-knicks")).css("td.sortcell")
-okc_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/okc/oklahoma-city-thunder")).css("td.sortcell")
-orlando_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/orl/orlando-magic")).css("td.sortcell")
-phili_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/phi/philadelphia-76ers")).css("td.sortcell")
-phoenix_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/phx/phoenix-suns")).css("td.sortcell")
-portland_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/por/portland-trail-blazers")).css("td.sortcell")
-sacramento_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/sac/sacramento-kings")).css("td.sortcell")
-spurs_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/sa/san-antonio-spurs")).css("td.sortcell")
-toronto_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/tor/toronto-raptors")).css("td.sortcell")
-utah_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/utah/utah-jazz")).css("td.sortcell")
-washington_players = Nokogiri::HTML(open("http://www.espn.com/nba/team/roster/_/name/wsh/washington-wizards")).css("td.sortcell")
-players = [
- atlanta_players,
- boston_players,
- brooklyn_players,
- charlotte_players,
- chicago_players,
- cleveland_players,
- dallas_players,
- denver_players,
- detroit_players,
- warriors_players,
- houston_players,
- indiana_players,
- clippers_players,
- lakers_players,
- memphis_players,
- miami_players,
- milwaukee_players,
- minnesota_players,
- nola_players,
- knicks_players,
- okc_players,
- orlando_players,
- phili_players,
- phoenix_players,
- portland_players,
- sacramento_players,
- spurs_players,
- toronto_players,
- utah_players,
- washington_players
-]
-players.each_with_index do |roster, index|
- Team.create(name: teams[index][0], mascot: teams[index][1], stadium: teams[index][2])
- roster.each do |player|
- Team.last.players.create(name: player.text)
- end
-end
diff --git a/richardN/models/optimize/ff b/richardN/models/optimize/ff
deleted file mode 100644
index fc1fe8b..0000000
--- a/richardN/models/optimize/ff
+++ /dev/null
@@ -1,37 +0,0 @@
-+----+------------------------+------------------------+------------------------+------------------------+-------------------------+
-| id | name | mascot | stadium | created_at | updated_at |
-+----+------------------------+------------------------+------------------------+------------------------+-------------------------+
-| 1 | Atlanta Hawks | Skyhawk | Philips Arena | 2017-12-03 22:05:37... | 2017-12-03 22:05:37 UTC |
-| 2 | Atlanta Hawks | Skyhawk | Philips Arena | 2017-12-03 22:07:43... | 2017-12-03 22:07:43 UTC |
-| 3 | Atlanta Hawks | Skyhawk | Philips Arena | 2017-12-03 22:11:46... | 2017-12-03 22:11:46 UTC |
-| 4 | Boston Celtics | Lucky the Leprechaun | TD Garden | 2017-12-03 22:11:47... | 2017-12-03 22:11:47 UTC |
-| 5 | Brooklyn Nets | BrooklyKnight | Barclays Center | 2017-12-03 22:11:47... | 2017-12-03 22:11:47 UTC |
-| 6 | Charlotte Hornets | Hugo the Hornet | Spectrum Center | 2017-12-03 22:11:47... | 2017-12-03 22:11:47 UTC |
-| 7 | Chicago Bulls | Benny the Bull | United Center | 2017-12-03 22:11:47... | 2017-12-03 22:11:47 UTC |
-| 8 | Cleveland Cavaliers | Moondog | Quicken Loans Arena | 2017-12-03 22:11:48... | 2017-12-03 22:11:48 UTC |
-| 9 | Dallas Mavericks | Champ | American Airlines C... | 2017-12-03 22:11:48... | 2017-12-03 22:11:48 UTC |
-| 10 | Denver Nuggets | Rocky the Mountain ... | Pepsi Center | 2017-12-03 22:11:48... | 2017-12-03 22:11:48 UTC |
-| 11 | Detroit Pistons | Hooper | The Palace of Aubur... | 2017-12-03 22:11:48... | 2017-12-03 22:11:48 UTC |
-| 12 | Golden State Warriors | Thunder | Oracle Arena | 2017-12-03 22:11:49... | 2017-12-03 22:11:49 UTC |
-| 13 | Houston Rockets | Clutch | Toyota Center | 2017-12-03 22:11:49... | 2017-12-03 22:11:49 UTC |
-| 14 | Indiana Pacers | Boomer the Panther | Bankers Life Fieldh... | 2017-12-03 22:11:49... | 2017-12-03 22:11:49 UTC |
-| 15 | Los Angeles Clippers | Chuck | Staples Center | 2017-12-03 22:11:49... | 2017-12-03 22:11:49 UTC |
-| 16 | Los Angeles Lakers | Jack Nicholson | Staples Center | 2017-12-03 22:11:50... | 2017-12-03 22:11:50 UTC |
-| 17 | Memphis Grizzlies | Griz | FedExForum | 2017-12-03 22:11:50... | 2017-12-03 22:11:50 UTC |
-| 18 | Miami Heat | Burnie | American Airlines A... | 2017-12-03 22:11:50... | 2017-12-03 22:11:50 UTC |
-| 19 | Milwaukee Bucks | Bango | BMO Harris Bradley ... | 2017-12-03 22:11:50... | 2017-12-03 22:11:50 UTC |
-| 20 | Minnesota Timberwolves | Crunch the Wolf | Target Center | 2017-12-03 22:11:51... | 2017-12-03 22:11:51 UTC |
-| 21 | New Orleans Pelicans | Pierre the Pelican | Smoothie King Center | 2017-12-03 22:11:51... | 2017-12-03 22:11:51 UTC |
-| 22 | New York Knicks | Spike Lee | Madison Square Garden | 2017-12-03 22:11:51... | 2017-12-03 22:11:51 UTC |
-| 23 | Oklahoma City Thunder | Rumble the Bison | Chesapeake Energy A... | 2017-12-03 22:11:51... | 2017-12-03 22:11:51 UTC |
-| 24 | Orlando Magic | Stuff the Magic Dragon | Amway Center | 2017-12-03 22:11:52... | 2017-12-03 22:11:52 UTC |
-| 25 | Philadelphia 76ers | Franklin the Dog | Wells Fargo Center ... | 2017-12-03 22:11:52... | 2017-12-03 22:11:52 UTC |
-| 26 | Phoenix Suns | The Suns Gorilla | Talking Stick Resor... | 2017-12-03 22:11:52... | 2017-12-03 22:11:52 UTC |
-| 27 | Portland Trail Blazers | Blaze the Trail Cat | Moda Center | 2017-12-03 22:11:53... | 2017-12-03 22:11:53 UTC |
-| 28 | Sacramento Kings | Slamson the Lion | Golden 1 Center | 2017-12-03 22:11:53... | 2017-12-03 22:11:53 UTC |
-| 29 | San Antonio Spurs | The Coyote | AT&T Center | 2017-12-03 22:11:53... | 2017-12-03 22:11:53 UTC |
-| 30 | Toronto Raptors | Raptor | Air Canada Centre | 2017-12-03 22:11:53... | 2017-12-03 22:11:53 UTC |
-| 31 | Utah Jazz | Jazz Bear | Vivint Smart Home A... | 2017-12-03 22:11:54... | 2017-12-03 22:11:54 UTC |
-| 32 | Washington Wizards | G. Wiz | Verizon Center | 2017-12-03 22:11:54... | 2017-12-03 22:11:54 UTC |
-+----+------------------------+------------------------+------------------------+------------------------+-------------------------+
-32 rows in set
diff --git a/richardN/models/optimize/lib/assets/.keep b/richardN/models/optimize/lib/assets/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/optimize/lib/tasks/.keep b/richardN/models/optimize/lib/tasks/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/optimize/log/.keep b/richardN/models/optimize/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/richardN/models/optimize/public/404.html b/richardN/models/optimize/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/richardN/models/optimize/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/richardN/models/optimize/public/422.html b/richardN/models/optimize/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/richardN/models/optimize/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.