nesquena / rabl

General ruby templating with json, bson, xml, plist and msgpack support
http://blog.codepath.com/2011/06/27/building-a-platform-api-on-rails/
MIT License
3.65k stars 335 forks source link

Rails 3 Support #7

Closed nesquena closed 13 years ago

nesquena commented 13 years ago

Add a Railtie and support Rails 3 projects.

nesquena commented 13 years ago

Done here: 5ea6b94d00a21357bc55b587781a3281928ef49c

tilo commented 12 years ago

Rabl 0.5.3 does not seem to work with Rails 3.0.10

nesquena commented 12 years ago

@tilo I saw your email, found this very odd because I have an entire set of rabl integration tests that run in Rails 3.0.8 without a hitch: https://github.com/nesquena/rabl/tree/master/fixtures/rails3 . Not sure if something changed between 3.0.8 and 3.0.10 or if this is just a usage issue. Can you post example templates that weren't working and what the controller looks like?

tilo commented 12 years ago

thanks for the reply.. I'll downgrade, and try again

tilo commented 12 years ago

please check your email - probably better to do this in email until it's clear what causes this -- looks like a bug

tilo commented 12 years ago

https://github.com/tilo/RABL-bug