-
Open a browser
# start an instance of firefox with selenium-webdriver driver = Selenium::WebDriver.for :firefox # :chrome -> chrome # :ie -> iexplore
- Go to a specified URL
// OOP | |
class GroceryList{ | |
constructor(items){ | |
this.items = items } | |
addItem(item) { | |
this.items.push(item) | |
} | |
} | |
class GroceryItem{ | |
constructor(items){ |
Github | LinkedIn | Personal Website
heroku restart
heroku pg:reset DATABASE
(no need to change the DATABASE
)heroku run rake db:migrate
heroku run rake db:seed
(if you have seed)One liner
heroku restart; heroku pg:reset DATABASE --confirm APP-NAME; heroku run rake db:migrate