Method: StudentListController#on_view_created
- Defined in:
- lib/student_list_controller.rb
#on_view_created ⇒ Object
20 21 22 23 24 25 26 |
# File 'lib/student_list_controller.rb', line 20 def on_view_created begin @student_list = StudentListAdv.new(StudentsListDBAdapter.new(StudentListDB.instance)) rescue Mysql2::Error::ConnectionError on_db_conn_error end end |