Silver Challenge: Flagging New Sightings

Add a new Boolean attribute to sightings, isNew. Give this attribute a defaultValue of false. Add this property to one of your created records and set it to true. Navigate to the sightings route and use the Ember Inspector in Chrome to review the data for the route. Only one sighting instance should have an isNew property set to true.

Get Front-End Web Development: The Big Nerd Ranch Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.