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 api.rubyonrails.org

Blog: http://random8.zenunit.com/ Learn rails: http://sensei.zenunit.com/

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