This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Ticker < ActiveRecord::Base | |
has_many :price_histories, dependent: :destroy | |
has_many :scans | |
has_and_belongs_to_many :patterns | |
has_many :opportunities | |
has_many :trades, through: :opportunities | |
def retrieve_standard_quote | |
#requests the standard quote from Yahoo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'spec_helper' | |
describe Person do | |
before do | |
let(:person) { factory(:person) } | |
end | |
describe ".create" do | |
it "should have an img_url, drinks_attribute, license, first name and last name when created" do |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head><meta charset="utf-8" /></head> | |
<body> | |
<div> <script type="text/javascript">window.PlotlyConfig = {MathJaxConfig: 'local'};</script> | |
<script type="text/javascript">/** | |
* plotly.js v2.24.1 | |
* Copyright 2012-2023, Plotly, Inc. | |
* All rights reserved. | |
* Licensed under the MIT license | |
*/ |