Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (2)

Sign In or Sign Up now to post a comment!
  • I think a couple valid uses for mocks/stubs is the Time thing he mentioned but probably the most common use is mocking the behavior of sending and receiving data from a webservice such as Facebook for example.

  • I don't like that STI is an acceptable way of dealing with derived tables. In his example there should be a customers table that has a person_id that references people.id and idealy it would be great if Customer could still derive from Person instead of ARB.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more