File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
actioncable/lib/rails/generators/channel
activerecord/lib/rails/generators/active_record/model Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ def file_name
24
24
@_file_name ||= super . gsub ( /\_ channel/i , '' )
25
25
end
26
26
27
+ # FIXME: Change these files to symlinks once RubyGems 2.5.0 is required.
27
28
def generate_application_cable_files
28
29
return if self . behavior != :invoke
29
30
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ def attributes_with_index
39
39
attributes . select { |a | !a . reference? && a . has_index? }
40
40
end
41
41
42
+ # FIXME: Change this file to a symlink once RubyGems 2.5.0 is required.
42
43
def generate_application_record
43
44
if self . behavior == :invoke && !File . exist? ( 'app/models/application_record.rb' )
44
45
template 'application_record.rb' , 'app/models/application_record.rb'
You can’t perform that action at this time.
0 commit comments