You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to make Eaco use my MySQL database without success.
While rails console development sometimes opens the console, most of the time it's still giving me the error message
Don't know how to look up authorized records on <Document>'s ORM (identified as <ActiveRecord::Base>). To authorize <Document> either use one of the available strategies: pg_jsonb or please define your own Document.accessible_by method. You may at one point want to move this in a new strategy, and send a pull request :-).
So what I did was
first I added /usr/local/rvm/gems/ruby-2.3.3/gems/eaco-1.0.0/lib/eaco/adapters/active_record/mysql_json.rb:
Please tell me if that code would do what it's supposed to do and maybe add it to Eaco?
I'd really like to start experimenting with this library to see how flexible it is.
The text was updated successfully, but these errors were encountered:
Hello,
I have been trying to make Eaco use my MySQL database without success.
While
rails console development
sometimes opens the console, most of the time it's still giving me the error messageSo what I did was
/usr/local/rvm/gems/ruby-2.3.3/gems/eaco-1.0.0/lib/eaco/adapters/active_record/mysql_json.rb
:/usr/local/rvm/gems/ruby-2.3.3/gems/eaco-1.0.0/lib/eaco/adapters/active_record.rb
to containPlease tell me if that code would do what it's supposed to do and maybe add it to Eaco?
I'd really like to start experimenting with this library to see how flexible it is.
The text was updated successfully, but these errors were encountered: