This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": 1, | |
"title": "Tutorial", | |
"created_at": "2019-09-18T05:51:05.658Z", | |
"updated_at": "2019-09-18T05:51:05.658Z", | |
"body": null | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
<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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AddBodyToArticles < ActiveRecord::Migration[5.1] | |
def change | |
add_column :articles, :body, :string | |
end | |
end |
NewerOlder