Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhardikjoshi committed Dec 29, 2023
1 parent 214170d commit 1f9a470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/active_graph/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
require 'rails/generators/named_base'
require 'rails/railtie'
require File.expand_path('../rails/generators/migration_helper.rb', __dir__)
Rails::Generators::GeneratedAttribute.include ActiveGraph::Generators::GeneratedAttribute
end
Rails::Generators::GeneratedAttribute.include ActiveGraph::Generators::GeneratedAttribute if defined?(Rails)

module ActiveGraph
class Railtie < ::Rails::Railtie
Expand Down

0 comments on commit 1f9a470

Please sign in to comment.