have an ORM ◦ Predefined configuration files ◦ Neither defined structures of directories • Flexible by nature Do What You Want, Cause A Pirate Is Free... You Are A Pirate
the first sufficient match is the one that will be executed. This is true even when there is a better or more specific route definition later in the file.
a server to return a representation of a resource POST - Is used to submit data to a web server. PUT - Is used to create or update a representation of a resource on a server. DELETE - Is used to destroy a resource on a server.
do set :database, ‘sqlite3:///db/database.sqlite’ end Production environment configure :development do ActiveRecord::Base.establish_connection(ENV ['DATABASE_URL'] || 'postgres://localhost/mydb') end