lib/schema_comments/railtie.rb in schema_comments-0.4.3 vs lib/schema_comments/railtie.rb in schema_comments-0.5.0
- old
+ new
@@ -4,9 +4,10 @@
module SchemaScomments
class Railtie < ::Rails::Railtie
rake_tasks do
SchemaComments.yaml_path = Rails.root.join("db/schema_comments.yml").to_s
+ SchemaComments.setup
require 'schema_comments/task'
end
end
end