instance method
first_setup_required?
Ruby on Rails 7.2.3
Since v7.0.10 PrivateSignature
first_setup_required?()
No documentation comment.
Source
# File actioncable/lib/rails/generators/channel/channel_generator.rb, line 95
def first_setup_required?
!root.join("app/javascript/channels/index.js").exist?
end
Defined in actioncable/lib/rails/generators/channel/channel_generator.rb line 95
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Generators::ChannelGenerator