Skip to content

Rails 6.1 support #56

Open
NEWROPE/typescript-rails
#1
@masonlouchart

Description

@masonlouchart

The last version 0.6.2.4 does not look compatible with Rails 6.1.0 released more than 2 years ago.

TypeError:
  module attributes should be defined directly on class, not singleton
# /Users/mason/.rvm/gems/ruby-3.2.1/gems/activesupport-6.1.0/lib/active_support/core_ext/module/attribute_accessors.rb:52:in `mattr_reader'
# /Users/mason/.rvm/gems/ruby-3.2.1/gems/activesupport-6.1.0/lib/active_support/core_ext/module/attribute_accessors.rb:202:in `mattr_accessor'
# /Users/mason/.rvm/gems/ruby-3.2.1/gems/typescript-rails-0.6.2.4/lib/typescript/rails/compiler.rb:7:in `singleton class'
# /Users/mason/.rvm/gems/ruby-3.2.1/gems/typescript-rails-0.6.2.4/lib/typescript/rails/compiler.rb:5:in `<module:Compiler>'
# /Users/mason/.rvm/gems/ruby-3.2.1/gems/typescript-rails-0.6.2.4/lib/typescript/rails/compiler.rb:4:in `<top (required)>'

It would be nice to have it 🙂

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @masonlouchart

      Issue actions

        Rails 6.1 support · Issue #56 · typescript-ruby/typescript-rails