I face this issue when display one-to-many relationship in laravel 4
SQLSTATE[42S22]: Column not found: 1054 Unknown column
'subject_start.teacher_subject_id' in 'where clause'
(SQL: select * from `subject_start` where `subject_start`.`teacher_subject_id` = 1)
but i have reviewed the migration file and database table ,i seen this column called teach_sub_id. why laravel throw this QueryException.
Any Suggestions ?