質問編集履歴

1

スクリプトの記述ミス変更

2021/10/06 02:57

投稿

HisanoriSato
HisanoriSato

スコア67

test CHANGED
File without changes
test CHANGED
@@ -30,7 +30,7 @@
30
30
 
31
31
  @column_name = params[:action]
32
32
 
33
- @sheet.(@column_name}) = Time.now
33
+ @sheet.send(@column_name) = Time.now
34
34
 
35
35
  if @sheet.save
36
36