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
Rickys-MacBook-Pro:Plays-Playwrights ORM Rtyer$ bundle exec rspec | |
F | |
Failures: | |
1) Play find by titile returns the Play matching the given title | |
Failure/Error: expect(Play.find_by_title('All My Sons').year).to eq(1947) | |
NoMethodError: | |
undefined method `find_by_title' for Play:Class |
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 'plays' | |
describe Play do | |
describe 'find by titile' do | |
it 'returns the Play matching the given title' do | |
expect(Play.new.find_by_title('All My Sons').year).to eq(1947) | |
end | |
end | |
end |
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
Failures: | |
1) Play find by titile returns the Play matching the given title | |
Failure/Error: expect(Play.find_by_title('All My Sons').year).to eq(1947) | |
NoMethodError: | |
undefined method `find_by_title' for Play:Class | |
# ./spec/plays_spec.rb:7:in `block (3 levels) in <top (required)>' | |
# failing test below: |
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
https://github.com/RickArora/Postgres/tree/master/Plays-Playwrights%20ORM | |
GitHub | |
RickArora/Postgres | |
going through misc sources and learning postgres. Contribute to RickArora/Postgres development by creating an account on GitHub. | |
Rickys-MacBook-Pro:Plays-Playwrights ORM Rtyer$ bundle exec rspec | |
An error occurred while loading ./spec/plays_spec.rb. | |
Failure/Error: require 'sqlite3' |
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
Rickys-MacBook-Pro:sample_app Rtyer$ bundle exec rails db:environment:set RAILS_ENV=development | |
Rickys-MacBook-Pro:sample_app Rtyer$ bundle exec rails db:migrate:reset | |
Dropped database 'db/development.sqlite3' | |
Dropped database 'db/test.sqlite3' | |
Created database 'db/development.sqlite3' | |
Created database 'db/test.sqlite3' | |
== 20191222222306 CreateUsers: migrating ====================================== | |
-- create_table(:users) | |
-> 0.0029s | |
== 20191222222306 CreateUsers: migrated (0.0032s) ============================= |
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
ip-192-168-1-34:Rails_Toy_app rickyarora$ ruby-install --latest --install-dir ~/.rbenv/versions/2.6.3 ruby 2.6.3 | |
>>> Updating ruby versions ... | |
>>> Installing ruby 2.6.3 into /Users/rickyarora/.rbenv/versions/2.6.3 ... | |
>>> Installing dependencies for ruby 2.6.3 ... | |
Updating Homebrew... | |
Warning: openssl 1.0.2t is already installed and up-to-date | |
To reinstall 1.0.2t, run `brew reinstall openssl` | |
Warning: readline 8.0.1 is already installed and up-to-date | |
To reinstall 8.0.1, run `brew reinstall readline` | |
Warning: gdbm 1.18.1 is already installed and up-to-date |
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
ip-10-24-182-45:ChefApp rickyarora$ ruby chef.rb | |
Type: | |
'a' to add a dish | |
'r' to remove a dish | |
'd' to display all dishes | |
'i' to add ingredients to a dish | |
'q' to quit the program | |
a | |
input the name of your new dish | |
fish |
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
App.js | |
const Pet = ([name, animal, breed]) => { | |
return React.createElement('div', {}, [ | |
React.createElement('h1', {}, name), | |
React.createElement('h2', {}, animal), | |
React.createElement('h2', {}, breed) | |
]); | |
}; |
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
Rickys-MacBook-Pro:enrollyork Rtyer$ heroku logs -t --app enrollyork | |
2019-03-29T14:41:24.863200+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/" host=enrollyork.herokuapp.com request_id=76b47d96-b4b5-4c7d-924c-220c3e0ebba5 fwd="199.212.64.77" dyno= connect= service= status=502 bytes= protocol=https | |
2019-03-29T14:41:25.138577+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/favicon.ico" host=enrollyork.herokuapp.com request_id=7c9246a3-ef9e-4715-baa0-fd4ce41c18c2 fwd="199.212.64.77" dyno= connect= service= status=502 bytes= protocol=https | |
2019-03-29T14:46:16.414375+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=enrollyork.herokuapp.com request_id=1c08810c-966f-4691-8772-a8c87769dcb2 fwd="199.212.64.77" dyno= connect= service= status=503 bytes= protocol=https | |
2019-03-29T14:46:16.846933+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=enrollyork.herokuap |
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
2019-03-29T14:46:44.457775+00:00 heroku[run.3861]: Awaiting client | |
2019-03-29T14:46:44.482309+00:00 heroku[run.3861]: Starting process with command `heroku logs --tail` | |
2019-03-29T14:46:44.653620+00:00 heroku[run.3861]: State changed from starting to up | |
2019-03-29T14:46:48.758996+00:00 heroku[run.3861]: State changed from up to complete | |
2019-03-29T14:46:48.747392+00:00 heroku[run.3861]: Process exited with status 127 | |
2019-03-29T15:47:27.622578+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=enrollyork.herokuapp.com request_id=bcd52fb1-df16-4bbb-8c51-55f19df2c3c0 fwd="199.212.64.77" dyno= connect= service= status=503 bytes= protocol=https | |
2019-03-29T15:47:28.134325+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=enrollyork.herokuapp.com request_id=a251b7b5-3ac4-4779-93a2-8a1e730ca037 fwd="199.212.64.77" dyno= connect= service= status=503 bytes= protocol=https | |
2019-03-29T16:08:55.571683+00:00 heroku[rout |
NewerOlder