-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uninitialized constant error on require "active-model" #18
Comments
Oh, there's a workaround though [2] pry(main)> require 'active-orient'
NameError: uninitialized constant ActiveModel::Serializers::Xml
from /Users/eklavya/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/active-orient-0.42/lib/base.rb:10:in `<class:Base>'
[3] pry(main)> require 'active_model/serializers'
=> true
[4] pry(main)> require 'active-orient'
=> true
[5] pry(main)> Got this from rails/activemodel-serializers-xml#8 But I wonder why has this become a dependency of |
That's because the model-records depend on several serializers: module ActiveOrient The base-class is able to process several import-formats. Personal I use it to import API-Data from the Interactive-Brokers TWS. |
I just updated base.rb to fullfill the requirement-conditions. |
Hi @topofocus I just reinstalled the gem but apparently the issue persists. I've checked the version, it's the latest one from Happy new year 😄 |
Hi,
please use the latest github-Snapshot
ie.
gem 'active-orient' ,:git => 'git://github.com/topofocus/active-orient.git'
in your gemfile.
alternativley you can clone the git and then use this copy
ie.
gem 'orientdb_time_graph', :path => '/home/topo/orientdb_time_graph'
gem 'active-orient' , :path => '/home/topo/activeorient'
this is how I am working...
The Gem itself is not actualized.
First I want to check that all tests are working using ruby 2.4.0 and the
latest release of the database.
…--> the best for 2017 for you too!
sunny (and very cold) greetings from Stuttgart
hartmut
2017-01-01 14:14 GMT+01:00 Abhinav Sharma <notifications@github.com>:
Hi @topofocus <https://github.com/topofocus>
I just reinstalled the gem but apparently the issue persists. I've checked
the version, it's the latest one from RubyGems.org - 0.42.
Happy new year 😄
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AANaMmsNdZl6oY_ZYXIm_5I7Ip1kpqPAks5rN6bLgaJpZM4LQEO8>
.
--
finanz coaching
Dr. Hartmut Bischoff
Stuttgart
( http://ficoach.de)
|
Ah, right! Seems quite sensible ;) |
Closed after releasing of Gem Version 0.6 |
Sure, it works :) |
Hi again @topofocus
Hey, last night I installed
Rails 5.0.0.1
and after that when I tried using theactive-model
gem, the repl throws the following error.I did google around and came across rails/rails#24558 apparently
ActiveModel::Serializers::Xml
has been removed fromRails5
but how dose all that related toactive-orient
is beyond me.I've already tried installing
but that doesn't seem to solve the problem. Do you have any suggestions?
The text was updated successfully, but these errors were encountered: