Rails Framework is very interesting, because put layer between programmer and database, you name is ActiveRecord,
very nice library of ruby for manipulate, data, structure of table and manipulate object of database for all Database, example:MySql, Postgresql,
For me, the most interesting are the migrations, because, we can control of version of database and this is very importante, for project large.
We can to do, on the console:
rails generate migration Person.
Example Simple, but nice, with this example we can create inmmediately the script for create table on Database:
rails generate migration Person name:string address:string.
ActiveRecord is a ORM ->Object-Rol Modeling and the with more Security.