-
Notifications
You must be signed in to change notification settings - Fork 26
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
How to get things running #1
Comments
Hi Georgi: I have not used this in quite a while... it should be as simple as just including the gem in your Gemfile, but I don't know if it works at all beyond Rails 2.3 If you send a patch, i'll incorporate it. |
Thanks for your answer. I tested it with Rails 2.3 and 3.2. Unfortunately none of these worked for me. Is there a rails version 2.8? I can't find one. Sorry if this question seems odd, but I didn't find a tag in the rails Repo for 2.8 and I am new to rails. |
doh... mixing up ruby 1.8 and rails 2.3 - sorry for the confusion. If i can find some time, i'll have a look at firing up a quick test project. |
That would be great! Thank you! |
Hi Brad, I am also trying to use your project. I created my own empty rails app and put the line gem 'odata_server' in the Gemfile and executed 'bundle install'. I created a model, migrated the db and started the server. Unfortunately I cannot query "/OData/OData.svc" (Routing Error) or any other pages that should be provided by the OData Gem. Don't I have to require your Gem somewhere in my code and initialize the routes? Could you please help me, or send me an example rails app? Thanks in advance. |
surprised this project hasn't been kept upto date now everyone these days seems to be jumping on the OData bandwagon. Did the outstanding problems get resolved? |
I too am surprised this project hasn't come back to life. There's a lot of new projects popping up around the OData specification. |
I started work on a Rails 3.x engine if its any use to anyone - over here... https://github.com/wtfiwtz/odata_server I was hoping to get OData working with breeze.js on Rails but its looking like a lot of work so I might go for a different option. |
That's awesome wtfiwtz. I too would really like to see it working with breeze.js as well. Are there a lot of missing pieces to getting the two work together? |
Hi thedillonb, hopefully there isn't too much more... I'll see how I go finding some time to get the odata_server gem fully working. There are some issues with the Rails path helpers and using an Isolated Engine but they may not take very long to get sorted. Breeze.js looks quite nice... I have played with persist.js and persistence.js, which are both workable, but it would be nice to have support for full client-side database tables synchronized with the server (... depending on the browser support). Breeze.js makes this look a lot easier, definitely. |
I built on the work wtfiwtz and bwlang did and made yet another fork at https://github.com/lmcalpin/odata_server. Wasn't sure if anyone was still working on this gem anymore, but if there is still anyone out there using OData with Rails that has a use for this besides me, feel free to take a look and I'll be happy to patch up anything that isn't right. |
Update several years later: https://github.com/synbioz/odata_server seems to have the most up-to-date README with setup instructions (and new features). |
Hi Brad,
thanks for this gem! I would love to use it in my project but I don't get it running. Could you provide a short example how to use it in a rails project?
Thanks very much in advance!
Stefan
The text was updated successfully, but these errors were encountered: