$ rails g model User
belongs_to
has_one
| option = '' | |
| # keep asking | |
| while option != "Q" | |
| # show the option and ask | |
| puts ("Please select an option from th menu below:") | |
| puts ("1. List all lines") | |
| puts ("2. See stations") | |
| puts ("Q. Quit") |
| #Step 1 - Modeling | |
| #Answer 1. - Some issues I faced with my first iteration of AMAco/ | |
| #WMATA, not including basic syntax errors were: | |
| # => - In part 4, I had issue figuring out how to increment the while | |
| # => loop without using numbers. | |
| # => - Figuring out whether or not to keep the while loop after adding | |
| # => the menu option | |
| # => - and figuring out where each of my argument began and ended since |
| def deck_o_cards | |
| card_values = [2, 3, 4, 5, 6, 7, 8, 9, 10, 'J', 'Q', 'K', 'A'] | |
| suit = ['hearts', 'diamonds', 'clubs', 'spades'] | |
| # empty array to contain all of the card pairs | |
| fulldeck = [] | |
| # needed a method that would iterate over each of the elements in the cards array | |
| card_values.each do |value| | |
| # needed the same type of method to iterate over the elemets of the second array | |
| suit.each do |suit| | |
| # then each of the pairs need to be added to the empty array |
What is it: One resource (website), that is used to search, find and look up a vast array of programming, coding, development and software engineering learning resources based on several different factors.
What problem(s) is it trying to solve: When starting out as a new developer, student, hobbiest or person from a different discipline looking into or considering transitioning into tech, it is difficult to figure out not only what to learn or choose as a sub discipline but also what learning tools are available,where to find them and which ones are best for you based on you’re learning style, financial or time management situations, or what it is you’re trying to build or create. There are many different websites that tackle one or some of these issues, but none that tackle all. In addition to this, some of the solutions available require very large investments of either time and or money but there is no definitive way of measuring whether or not many of them are worth the it, at least not from the customer