README: fix Associations code example [skip ci]

This commit is contained in:
Jon Atack 2014-09-06 01:37:37 +02:00
parent bf4294eae1
commit fa218226d1
1 changed files with 2 additions and 2 deletions

View File

@ -233,7 +233,7 @@ Given you have these associations ...
class Employee < ActiveRecord::Base
belongs_to :supervisor
# has attribute last_name:string
# has attributes first_name:string and last_name:string
end
class Department < ActiveRecord::Base
@ -246,7 +246,7 @@ class Supervisor < ActiveRecord::Base
belongs_to :department
has_many :employees
# has attributes first_name:string and last_name:string
# has attribute last_name:string
end
```