Our program could attempt to fix these errors and try again or just log these errors.
You??™re on Your Way to Becoming a Legend
Throughout this chapter, we??™ve tried to lay the groundwork for you on dealing with legacy
schema in your Active Record programs. Still, the real learning will come when you get into
your applications and start getting your hands dirty with the actual issues and problems associated
with your legacy systems.
When it comes down to it, working with legacy systems in Active Record is more about
making sound design decisions and choosing what to implement in Active Record (instead of
another language or application) than it is about learning specific syntax or configuration
options. Like many things in life, the more you do it, the better you will become at making the
right decisions. Before you know it, you??™ll be a legendary Active Record developer, able to take
even the most insane of legacy schema and bend it to your will with nothing more than Ruby
code and your Active Record know-how and experience!
First, though, you??™ve got to get out there in the real world and start playing around with
Active Record.
Pages:
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424