Skip to content
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

Open
Georgi87 opened this issue May 9, 2012 · 12 comments
Open

How to get things running #1

Georgi87 opened this issue May 9, 2012 · 12 comments

Comments

@Georgi87
Copy link

Georgi87 commented May 9, 2012

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

@bwlang
Copy link
Owner

bwlang commented May 9, 2012

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.

@Georgi87
Copy link
Author

Georgi87 commented May 9, 2012

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.

@bwlang
Copy link
Owner

bwlang commented May 9, 2012

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.

@Georgi87
Copy link
Author

Georgi87 commented May 9, 2012

That would be great! Thank you!

@fleupold
Copy link

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.
Cheers.
Felix.

@johngaitens
Copy link

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?

@thedillonb
Copy link

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.

@wtfiwtz
Copy link

wtfiwtz commented May 30, 2013

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.

@thedillonb
Copy link

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?

@wtfiwtz
Copy link

wtfiwtz commented May 31, 2013

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.

@lmcalpin
Copy link

lmcalpin commented Sep 4, 2013

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.

@cooperka
Copy link

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants