Good stuff! Thanks for updating it. Nice blog too, btw!
For our application, we’re going to make voters belong to Ward Bosses. Open up model/voter.erl and add an attribute called WardBossId which will tell us which Ward Boss a voter belongs to. The file should end up looking like this:
-module(Id, FirstName, LastName, Address, Notes, WardBossId]). -compile(export_all).
For our application, we’re going to make voters belong to Ward Bosses. Open up model/voter.erl and add an attribute called WardBossId which will tell us which Ward Boss a voter belongs to. The file should end up looking like this:
-module(voter, [Id, FirstName, LastName, Address, Notes, WardBossId]). -compile(export_all).