Newbie question

Hey man. Welcome! First thing, from hereonin, please put more
meaningful subject names. We get lots of noob questions. Second, what
you'd like is belongs_to association. Take a look in
activerecord::base documentation at

Learn rails:

Create a unique index for the foreign key (user_id) in the notebook table!