Marvinsky / ruby1

Hello world with ruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Ruby 1

localhost:/3000/articles/1 -mostrar -actualizar -eliminar

REST Get - Leer elementos - Mostrar el articulo Post - Crear elementos - Creamos un nuevo articulo Delete - Eliminar elementos - Eliminar el articulo Put - Modificar elementos - Modificar un archivo

REST Crear Editar Nuevo Eliminar Actualizar

HTTP GET - POST

Una tienda en linea Subir un nuevo producto - POST Hacer una nueva venta - POST Actualizar el inventario - PUT Eliminar un producto - DELETE Mostrar mi inventario - GET


Base de datos relacional : 9gag

User id_user

Imagenes => post id_images id_user

Un usuario puede tener multiples post

Gema para la autenticacion

tags

post

1 tag puede tener multiples posts 1 post puede tener multiples tags

Tabla intermedia => tagging tagging id_post =>id del articulo id_tag

Abrimos un post, vamos a sacar de la tabla tagging todos los post que tengan el mismo id

About

Hello world with ruby


Languages

Language:Ruby 72.5%Language:HTML 21.0%Language:CSS 4.0%Language:CoffeeScript 1.7%Language:JavaScript 0.9%