-
Notifications
You must be signed in to change notification settings - Fork 59
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
Error when trying to get data #174
Comments
Hi Yub0 certainly too late, but did you made sure to require the git version of roor in your Gemfile ? I got the same error and finally it worked with spacing the gem line indicating git source in my Gemfile.
I tested only with |
Has anyone found a solution to this? |
Seems that there no much people working on it. |
Hello all, PR's are welcome. I'm the original author of the gem. However we have currently no very active project using it (Sadly our biggest Brazilian customer using it bankrupted in the 2015 economic crisis in Brazil). Still I used it a bit to migrate data between 2 Odoo instances 2 weeks ago. Meanwhile Akretion is still very active with plugging Rails and Odoo together through our home built open source e-commerce: ShopInvader: http://shopinvader.com Shopinvader is very much based on things that have been prototyped using Apache Solr and ooor (for that Brazilian startup that bankrupted). However the approach is different as we only request on an Elastic Search datastore for read requests and we request Odoo not via ooor but via a controlled and specific ShopInvader API which as the advantage of bringing more control (and possibly security) in this ecommerce context. There is still a room to use ooor in ShopInvader when lots of customizations are done, so we are still very much interrested in maintaining ooor, I also made a gem enabling to use ooor in Liquid templates... I'm also pretty sure people using it in Rails don't make the most of it because of lack of documentation on how we attach an ooor session to a rack session for instance (hence we translate to Rails the multi-db and multi-user ORM features of Odoo)... That being said, being based in Brazil, our hourly rates are pretty affordable these days so if you need some specific things to be done in ooor, feel free to contract with us. This is absolutely not the only way to get things moving forward, but this is a safest one... |
I don't know for Jocelyn use case, but we don't use OOOR in a Rails
context, but still the classical Business in Model aproach
we don't have too much impendance mistmatch with the AR like approach you
have adopted.
So its fit for a lot of case, without too much problem, the only thing is
to make sure, to be able
to leave in the minimal dependency set of Rail 5/6.
I had very low modifications count, so we could certainly share part of the
burden, as comparing OOOR usage
in a Ruby idiomatic fashion as a real pleasure (and nice to the eye)
compared to use RPC directly.
Smooth as silk ;-)
Thank your for that.
…On Fri, Oct 4, 2019 at 3:33 PM Raphaël Valyi ***@***.***> wrote:
Hello all, PR's are welcome. I'm the original author of the gem. However
we have currently no very active project using it (Sadly our biggest
Brazilian customer using it bankrupted in the 2015 economic crisis in
Brazil). Still I used it a bit to migrate data between 2 Odoo instances 2
weeks ago. Meanwhile Akretion is still very active with plugging Rails and
Odoo together through our home built open source e-commerce: ShopInvader:
http://shopinvader.com
Shopinvader is very much based on things that have been prototyped using
Apache Solr and ooor (for that Brazilian startup that bankrupted). However
the approach is different as we only request on an Elastic Search datastore
for read requests and we request Odoo not via ooor but via a controlled and
specific ShopInvader API which as the advantage of bringing more control
(and possibly security) in this ecommerce context. There is still a room to
use ooor in ShopInvader when lots of customizations are done, so we are
still very much interrested in maintaining ooor, I also made a gem enabling
to use ooor in Liquid templates...
I'm also pretty sure people using it in Rails don't make the most of it
because of lack of documentation on how we attach an ooor session to a rack
session for instance (hence we translate to Rails the multi-db and
multi-user ORM features of Odoo)...
That being said, being based in Brasil, our hourly rates are pretty
affordable these days so if you need some specific things to be done in
ooor, feel free to contract with us. This is absolutely not the only way to
get things moving forward, but this is a safest one...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#174?email_source=notifications&email_token=AADLUV4I7UNXFOFWYKPFBF3QM5A3RA5CNFSM4FSOEKZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEALU7EY#issuecomment-538398611>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADLUV6OJGLDPMBN6MHVLNTQM5A3RANCNFSM4FSOEKZQ>
.
|
Hello,
I'm trying to get data from OOOR. He return "changed?" error.
I'm running on Rails 5
`
return :
undefined method `changed?' for nil:NilClass
when trying :
puts ProductProduct.find :last
`
config file :
development:
url: http://url:8069/xmlrpc
database: db
username: user
password: pass
bootstrap: true
thanks
The text was updated successfully, but these errors were encountered: