Skip to content

Instantly share code, notes, and snippets.

a = 1
b = 1
sum = a + b
describe "1 plus 1" do
it 'equals 2' do
a = 1
b = 1
sum = a + b
expect(sum).to eq(2)
end
end
# == Schema Information
#
# Table name: episodes
#
# id :integer not null, primary key
# title :string
# description :text
# file_url :text
# original_url :text
# created_at :datetime
# == Schema Information
#
# Table name: episodes
#
# id :integer not null, primary key
# title :string
# description :text
# file_url :text
# original_url :text
# created_at :datetime
# == Schema Information
#
# Table name: episodes
#
# id :integer not null, primary key
# title :string
# description :text
# file_url :text
# original_url :text
# created_at :datetime
# == Schema Information
#
# Table name: users
#
# id :integer not null, primary key
# email :string default(""), not null
# encrypted_password :string default(""), not null
# reset_password_token :string
# reset_password_sent_at :datetime
# remember_created_at :datetime
class EmailsController < ApplicationController
def send_email
redirect_to_account if current_user.email.blank?
case params[:email].to_sym
when :rss_link
LinkMailer.rss_link(current_user).deliver_later
end
#vffaab
#vfffck
#vffbif
#vfffcm
#vfflbk
#vfffcn
#vffsdr
#vffran
#vffesb
#vffach
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1">
<title>Mike Jakobsen</title>
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/owl.carousel.css">
<link rel="stylesheet" href="css/jquery.mCustomScrollbar.min.css">