How to test Rails logger message expectation in Rails

This is a how to test Rails logger message expectation in Rails:

1
expect(Rails.logger).to receive(:info).with("some message")

Read More

Rails Active Record(Model) revierse polimorphic

It’s easy to do polymorphic associations in Ruby on Rails(Acitve Record):

  • A Picture, a Video can belong to an Article
  • A Picture can belong to either an Article

This example shows how to create an ArticleElement join model that handles the polymorphic relationship.

Read More

Hello World App by Spring Web MVC

I created Hello World App by Spring Web MVC framework.
This article is a description of sample code for Spring Web MVC.

Read More

Basic Java Grammer Tips for beginner

I read two books as follows:

This article shows some interested tips in these books.

Read More

Installation & Introduction for TensorFlow

I started to learn Machine Learning and TensorFlow.
This article shows TensorFlow tutorial codes and some description for ML term.

Read More

MNIST For ML Beginners to Learn TensorFlow

This aritcle is a memo about MNIST For ML Beginners to Learn TensorFlow.

Read More

Beginning TensorFlow at 2nd day

I started to learn Machine Learning and TensorFlow at 2nd day.
This article shows TensorFlow tutorial codes and some description for ML term.

Read More