Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create sample app #17

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Create sample app #17

wants to merge 9 commits into from

Conversation

unasuke
Copy link
Contributor

@unasuke unasuke commented Apr 21, 2021

A working sample is important for a user.

スクリーンショット 2021-05-25 18 01 04

スクリーンショット 2021-05-25 18 00 52

@unasuke unasuke marked this pull request as ready for review May 26, 2021 01:34
@unasuke unasuke requested a review from katsyoshi May 26, 2021 01:34
Copy link
Contributor

@katsyoshi katsyoshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think ok this sample app. I commented that I point of confusion.

-- original text --
アプリの方は問題なさそうだけど、気になる点についてコメントした

source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '3.0.1'
Copy link
Contributor

@katsyoshi katsyoshi May 26, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't agree to fix the ruby version in this sample app.

-- original text --
サンプルならいらない

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@katsyoshi I agree to remove the ruby version specify from "Gemfile". But, a rails app needs "a ruby version", right?

(Gemfileからrubyのversionを消すのは構わないですが、何らかのRubyのversion指定なしにRailsって起動できましたっけ?)

@@ -0,0 +1,261 @@
PATH
Copy link
Contributor

@katsyoshi katsyoshi May 26, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why committed this file which is ignored?

-- original text --
ignore しているのに入れるの?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rails appのGemfile.lockのなので入れたいです、git ignoreしているというのは、mini_paperclipのtoplevel dirにあるGemfile.lockのことで、sample/Gemfile.lock! で無視しないようにしています。

require "rails"
# Pick the frameworks you want:
require "active_model/railtie"
require "active_job/railtie"
Copy link
Contributor

@katsyoshi katsyoshi May 26, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nits]
I seem that didn't use active_job.

-- original text --
使ってないのでは?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

使ってない確かに (rails newのoptionは全然つけていなかったので)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants