Check out example codes for "rails generate created_at time stamp manually". It will help you in understanding the concepts better.

Code Example 1

# Insert records and skip inserting any duplicates.
# Here "Eloquent Ruby" is skipped because its id is not unique.

  { id: 1, title: "Rework", author: "David" },
  { id: 1, title: "Eloquent Ruby", author: "Russ" }

Learn ReactJs, React Native from