Prev | Current Page 157 | Next

Kevin Marshall, Chad Pytel, and Jon Yurek

"Pro Active Record: Databases with Ruby and Rails"

But if you take a second to step back and
think about what migrations really provide by abstracting much of the database-specific SQL
and adding a sense of version control, you??™ll see the true advantages of speed and simplicity of
development.
By learning the simple migration DSL and using normal Ruby syntax, Active Record migrations
allow you to spend less time thinking about how to create or manage your schema and
more time actually doing it.
CHAPTER 3 ?–  SETTING UP YOUR DATABASE 57
Core Features of Active Record
Kevin??™s a strange bird. Outside of technical books like this one, the books he likes to read
most are marketing- and sales-related. He always tells us that after you??™ve read a few of those
types of books, you??™ll notice a strong theme of advice that basically boils down to one simple,
golden rule: Get to the core of what you??™ve got and focus relentlessly on it. As it turns out, it??™s
great advice for more than just marketing, so without further ado, let??™s get to the core of what
really makes Active Record a ???wow??? library.


Pages:
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169