Skip to content

Instantly share code, notes, and snippets.

View dujo-stack's full-sized avatar

omar duarte dujo-stack

View GitHub Profile
{
"id": 1,
"title": "Tutorial",
"created_at": "2019-09-18T05:51:05.658Z",
"updated_at": "2019-09-18T05:51:05.658Z",
"body": null
}
<!--
<li >
{{article.title}}
</li> -->
<div class="row" *ngFor="let article of articleslist | async">
<div class="col s12 m6">
<div class="card blue-grey darken-1">
<div class="card-content white-text">
<span class="card-title"> {{article.title}}</span>
<!-- <p>I am a very simple card. I am good at containing small bits of information.
@dujo-stack
dujo-stack / migration.rb
Last active September 24, 2019 08:17
20190924062552_add_body_to_articles.rb
class AddBodyToArticles < ActiveRecord::Migration[5.1]
def change
add_column :articles, :body, :string
end
end