-
What does it mean for an application to be multi-tenant? -serves many clients from one application on one server.
-
Why would you want to build an application to be multi-tenant? -so you only have to build ONE thing that can serve many people instead of many things to serve many people
-
How do you implement multi-tenancy at the data / database level? no idea
-
How do Active Record scopes help keep tenant data segregated?
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
def execute | |
until (user_input == "q") || (@position_match == 4) | |
print "enter your guess ~> " | |
@user_input = gets.chomp.downcase | |
validator = GuessValidator.new(@user_input) | |
@turns += 1 | |
@turns_left -= 1 | |
if validator.correct_length? == false || validator.correct_letters? == false | |
puts 'Your guess must be a length of FOUR and' | |
puts "be of these colors #{'(r)ed'.red}, #{'(y)ellow'.yellow}, #{'(g)reen'.green}, #{'(b)lue'.blue}" |
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
Intro: | |
End of Death | |
"This isn't about how to live forever. Rather live indefinately." | |
Body: | |
Discuss the technologies, companies, and people that are going to make it happen. | |
Social ramifications/criticism | |
Conclusion: | |
Resources |
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
1. What's the difference between a cookie and a session? | |
2. What's serialization and how does it come into play with cookies? | |
3. Can a cookie be shared by more than one user? How/why? | |
4. What would it mean to store a shopping cart in a cookie? | |
5. What advantages/disadvantages are there between cookie-stored carts and | |
database-stored carts? |
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
Here’s a list of the find methods that the spec harness uses. | |
Please update if you find others | |
FOR CUSTOMERS: | |
find_by_last_name "Ullrich" | |
find_all_by_first_name "Sasha” | |
find_by_id | |
FOR INVOICE_ITEMS: |