File tree Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -64,8 +64,7 @@ def attributes(*names)
64
64
end
65
65
66
66
names . each do |attribute |
67
- delegate attribute , to : :model
68
- delegate "#{ attribute } =" , to : :model
67
+ delegate attribute , "#{ attribute } =" , to : :model
69
68
end
70
69
end
71
70
Original file line number Diff line number Diff line change @@ -46,8 +46,7 @@ def attributes(*arguments)
46
46
end
47
47
48
48
arguments . each do |attribute |
49
- delegate attribute , to : :model
50
- delegate "#{ attribute } =" , to : :model
49
+ delegate attribute , "#{ attribute } =" , to : :model
51
50
end
52
51
end
53
52
end
Original file line number Diff line number Diff line change @@ -18,11 +18,7 @@ def update_models
18
18
fetch_models
19
19
end
20
20
21
-
22
-
23
21
def submit ( params )
24
- #check_record_limit!(records, params)
25
-
26
22
params . each do |key , value |
27
23
if parent . persisted?
28
24
create_or_update_record ( value )
You can’t perform that action at this time.
0 commit comments