Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

ApplicationRecord #8

@MichaelSp

Description

@MichaelSp

In Rails 5 Models suppose to derive from ApplicationModel. But that constant is not defined in reactive-record:

V8::Error - uninitialized constant ApplicationRecord:
  therubyracer (0.12.2) lib/v8/error.rb:86:in `block in try'
  therubyracer (0.12.2) lib/v8/error.rb:83:in `try'
  therubyracer (0.12.2) lib/v8/context.rb:99:in `block in eval'
  therubyracer (0.12.2) lib/v8/context.rb:248:in `block (2 levels) in lock_scope_and_enter'
  therubyracer (0.12.2) lib/v8/context.rb:245:in `block in lock_scope_and_enter'
  therubyracer (0.12.2) lib/v8/context.rb:244:in `lock_scope_and_enter'
  therubyracer (0.12.2) lib/v8/context.rb:204:in `enter'
  therubyracer (0.12.2) lib/v8/context.rb:94:in `eval'
  reactrb (0.9.0) lib/reactive-ruby/component_loader.rb:15:in `load'

Add hint in the docs to create that ApplicationRecord in the models/plublic-folder

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions