回答編集履歴
1
タイポ
answer
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
```ruby```
|
5
5
|
# app/model/person.rb
|
6
6
|
class Person < ActiveRecord::Base
|
7
|
-
|
7
|
+
PREFECTURE_OPTIONS = {1 => "東京", 2 => "埼玉", 3 => "千葉", 4 => "神奈川" }
|
8
8
|
```
|
9
9
|
```ruby```
|
10
10
|
# app/views/persons/_form.html.erb
|