...

/

Rails Model Support

Rails Model Support

Let’s explore Rails models in this lesson.

We'll cover the following...

In general, we want our web applications to keep their information in a relational database. Order-entry systems will store orders, line items, and customer details in database tables. Even applications that normally use unstructured text, such as weblogs and news sites, often use databases as their back-end data store.

Although it might not be immediately apparent from the database queries we’ve seen so far, relational databases are designed around mathematical set theory. This is helpful from a conceptual point of view, but makes it difficult to combine relational databases with object-oriented ...