Skip to content

Instantly share code, notes, and snippets.

@FifthSurprise
Last active August 29, 2015 14:00
Show Gist options
  • Save FifthSurprise/11260378 to your computer and use it in GitHub Desktop.
Save FifthSurprise/11260378 to your computer and use it in GitHub Desktop.
Flatiron Retrospectives
* You can run multiple instances of rails server by changing the port number: rails s -p 3001
* For learning CSS stuff - http://flukeout.github.io/
* Assume the following tables: A table of users, and a table of books.
** Outer left join is used for in the following scenario: If you had users who may have books, an outer left join would allow you to get all the users and their books, if they have them.
** Inner join would get all of the users even if they have no books and all of the books even if they have no users.
** Full outer join would be all of the users and all of the books whether they have an associated book or user.
* When :js => true when using Caybara and Javascript, you need to make sure the database is truncation instead of transaction since a separate thread is spun off during testing.
* Ruby Trivia: https://github.com/gregstallings/ruby-trivia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment